Help with layer of Action & buttons

I have a flash banner which contains "clickTAG" instructions in the actions layer (above). Also on this layer, I put the invisible button that the user clicks on to invoke the "clickTAG". My question is, can I have a button on the layer actions? Should be on a separate layer? The button will work if it is?

Thanks in advance,

Beginner in Flash

you assign your button a unique instance in the properties panel name, for example btn1.   in your code, you reference btn1:

AS2:

{btn1.onRelease = Function ()}

No matter what

}

AS3:

Btn1.addEventListener (MouseEvent.Click, f);

function f(e:MouseEvent):void {}

No matter what

}

Is the name of the instance (in this example btn1) which allows flash to tie one on stage clash with the code.  It's not ' matter which layer is the button in and it doesn't matter which layer the code is in.

Tags: Adobe Animate

Similar Questions

  • Navigation of the page with the dynamic action button.

    Hi all

    I use apex 4.2.6 on windows 8.1

    I create a button with the dynamic action.

    When the end user, click on the button, I want to access a page.

    How to do this?

    I created a branch of this button to access the page 10 on SUBMIT AFTER TREATMENT CALCULATION VALIDATION.

    but no navigation happens.

    they code plsql works well that is put into the dynamic action, but the page is not navigate.

    kindly guide me.

    Kind regards.

    Maahjoor wrote:

    I create a button with the dynamic action.

    When the end user, click on the button, I want to access a page.

    How to do this?

    I created a branch of this button to access the page 10 on SUBMIT AFTER TREATMENT CALCULATION VALIDATION.

    but no navigation happens.

    they code plsql works well that is put into the dynamic action, but the page is not navigate.

    If you want to run the PL/SQL code and creates a branch to another page, why do you use a dynamic action? The easiest way to do this is the button send page, the PL/SQL to run as a process after submit (potentially conditional, click on the button) and the page navigation to achieve using a plug (once again, perhaps conditional on the button that is clicked).

  • Need help with layer masks

    Hey,.

    I'm trying to follow the tutorial of Rainbow shards from this site: http://blog.signalnoise.com/category/tutorials/

    And I can't understand what to do step 6: I selected the forms below to apply a layer mask to the layer of color '

    Basically, this is the picture in the tutorial:

    i_shardtut_5.jpg

    After a rainbow gradient & a layer masks, this is the result:

    i_shardtut_6.jpg

    Here's my version (sketched) I'm hoping to do the same with:

    Picture1.jpg

    I need assistance with layer masks, I know what they are about but not much about their topic.

    See you soon

    Or convert the layer to a smart object and a clipping mask, the top layer (command-alt-g). Edit: Sorry, I forgot that it is the Windows Forum.

  • help with flash as2 hyperlink button

    Hi, this should be very easy to do, but I can't do with my current file. I can link the as1 or as3, but for some reason, this as2 won't let me link. Help, please! It's too complicated to explain in the text the problem here then please download my flash file and see what I'm trying to do. don't worry, no viruses!

    It is created on a mac and compressed. view my file flash here: http://www.nafline.com/prototype/dev/header_white3.fla.zip [about 13 MB, sorry, don't know why it is so great, even though I deleted unnecessary things everything]

    in my file, you will see there are 2 buttons, 1 has a link using (liberation). I want to be able to connect. If you try to test the swf movie, the link does not work. I tried on (click) and mouseEvent and no work. =((

    Thanks for the help!

    Thank you so much Ned. I didn't add the link and the identifier causes the ACE does not have to work. stupid of me.

    I thought that the linkage identifier / were required in order to call the ACE but I guess that is not. I removed the button property and added the ACE in the layer actions on the mainMovie and it works great! It is online at nafline.com.

    Thanks Ned!

  • Flash beginner needs help with Movie Clips/Action script

    HI -.

    I'm having a problem with my video clips playing simultaneously and cannot, for the life of me, know what I did wrong. I'm new to flash so I can I have created something wrong but this is what I have so far:

    11 layers, total: 1 layer with 10 buttons, each button with the following actionscript code:


    on (release) {}
    gotoAndPlay (85);
    }


    When the number changes with regard to keyframes, the next film is about.

    I have 10 films, total, but they are only video clips, mainly photo slideshow with audio, does everything in the library.

    The problem occurs when I click on the second or third button. Not only the movie I selected starts to play, but all previous clips are as well, he has completely blurred all the sounds. I don't know what Miss me in action script, as my Action layer has a stop command to this topic at each keyframe where there is a new clip to play.

    I tried to add a stopAllSounds command, but I'm afraid that does nothing because it is not an "audio file" in itself playing in the timeline panel.

    I'm at the end of my rope and really need help to understand this one. My project is hanging in the balance on this point, I wrote everything correctly and it works beautifully.

    Help, please!

    Thank you
    Caroline

    Start your sounds in frame 2 and place stopAllSounds() on each keyframe where begins a movieclip.

  • Need help with the simple action

    I want to create an action in Photoshop when I return in the next layer and goe later in the previous layer, using shortcuts:

    ALT +]

    [Alt +]

    However, I am Danish and my keyboard using Alt + 9 to create a [ ]

    So I can't create my action... perhaps a kind soul could record this action and post it here?

    (You can also send to me, if that's easier. My address is kasperhviid Insert the @ here gmail.com)

    Hey Kasper,

    Always happy to help a developer to other actions...

    http://Noel.ProDigitalSoftware.com/ForumPosts/For_Kasper.zip

    Recorded in Photoshop CC.  Let me know if you need saved in an older version.

    -Christmas

  • Need help with AS3 on Radio button Quiz

    I am trying to set up a quiz question multiple choice of radio button, but I have problems with some of the ACE and hoped that some of you could help me. I'm fairly new to ActionScript, but I'm trying to pick up quickly. The code is listed below. The lines of errors have been increased in size.

    Import fl.controls.RadioButtonGroup;


    var radioGroup1:RadioButtonGroup = new RadioButtonGroup ("QuestionC1");

    var totalScore:int = 0;

    var totalCorrect:int = 0;

    var totalWrong:int = 0;


    cpr1a.label = "" Complete a resuscitation ";"

    cpr1b.label = "" cardio a resuscitation ";"

    cpr1c.label = "" cardio a Revival ";"

    cpr1d.label = "" Complete a Revival ";"


    cpr1a. Group = radioGroup1;

    cpr1b. Group = radioGroup1;

    cpr1c. Group = radioGroup1;

    cpr1d. Group = radioGroup1;


    submit_btn.addEventListener (MouseEvent.CLICK, submitClick);


    function submitClick (MouseEvent): void {}

    If (radioGroup1.selection == null) { }

    return;

    }

    If (radioGroup1.selection.label == "Cardio a resuscitation") { }

    status_txt.text is radioGroup1.selection.label + "is correct!";

    totalCorrect ++;

    score_txt.text = "Correct number:" + String (totalCorrect) + "\n"; "."

    score_txt.appendText ("wrong number:" + String (totalWrong));

    }else{

    status_txt.text is radioGroup1.selection.label + "is incorrect. I'm sorry. » ;

    totalWrong ++;

    score_txt.text = "Correct number:" + String (totalCorrect) + "\n"; "."

    score_txt.appendText ("wrong number:" + String (totalWrong));

    }

    }

    I don't see where this error could occur except perhaps for a case where a radio AS2 is used because it seems that they do not have a group property, but an AS3 radio button.  Make sure that your publication of Flash settings are set to use AS3.  AS3 errors normally have error numbers that also made the mistake that you mentioned ring of a scenario of AS2.

    Here is a link to the file that I made based on your code that works very well and does not display the errors you mention.  It is a CS3 file.

    http://www.nedwebs.com/Flash/AS3_Radios.fla

  • Help with basic tutorial - creation button

    Following the basic tutorial in Director 11 (pages 9-10) to create a new button, the tool button does not react as described in steps 4 and 5. The button tool creates a 'flash' and does not have the 'type' available button. If all right, I'm missing something basic, but it does not resemble the key "" which was included in the cast member tutorial. Not sure if there is a problem with the button tool or something that prevents me from creating a similar button with the given distribution. Thanks for any help.

    Hi Rick,

    I suggest you select "classic" on the toolbar and try again. Flash components are a PITA. Do not use until you really know how to use ;-)

    HTH,

    Udo

  • Help with Javascript for the button Delete

    Hi, Im new JavaScript and have my code works partially, but the trouble with a nested if-then-else statement.

    I have a page element, P4_COUNT, and if its value is 0, the button Delete will allow the user to delete the record. If the number is > 0, a message should appear stating that the record cannot be deleted. That's what I have so far and it works, but the first ELSE is misplaced. This code is the URL target for my button remove.

    JavaScript:var response; response = confirm ("are you sure you want to delete this POC?'");
    If {(response)
    If (document.getElementById('P4_COUNT').value == 0) {}
    doSubmit ('DELETE');
    }
    }
    else {-this other fires when the user hits cancel on the first question above not what I want, I want another one here who said only: "removal cancelled '"}
    -This one should only be fired if p4_count is not equal to 0
    var answer2;
    answer2 = confirm ('you cannot remove this POC, that this POC is associated with a RIF.');
    If {(answer2)
    Alert ('cancelled deletion');
    }
    else {}
    Alert ('cancelled deletion');
    }
    }


    The above should follow this logic:

    Are you sure you want to delete this POC?
    Yes - if p4_count = 0 then
    delete the record
    on the other
    second line: cannot delete this record
    OK - prompt removal cancelled
    Cancel - prompt removal cancelled
    end if;
    Cancel - prompt removal cancelled


    Help, please. Thank you, Laura

    Published by: user8936524 on May 10, 2010 14:14

    Hello

    Try if it works. I didn't test it

    javascript:if($v('P4_COUNT')*1==0){
    var answer=confirm('Are you certain you want to delete this POC?');
    if(answer){doSubmit('DELETE');}
    else{alert('Deletion Cancelled');}
    }else{alert('You may not delete this POC, as this POC is associated to an FRR.');}
    

    BR, Jari

  • Help with a conditional action in C8

    Well, I'm trying to customize my Quiz results screen because I don't like the default navigation for the buttons to continue and resume the Quiz. So, I created two buttons using Smart shapes: one to resume the Quiz and one to continue. I moved the default button to continue out of the scene, since you can't delete it from the slide.

    When, when the learner can see the results, I want one of two things. If they did not pass the test (100%), I want only the recovery button to appear and to continue button, OCD and PlayBar is hidden. If they did the test, I want only that they see the continue button and recovery buttons to be hidden.

    (Some background on why I'm doing this: I have two places quiz questions in my project.) The first set of questions is intended only for the commitment and I so if the learner doesn't lack them no matter the value 0 points. The other set of questions is actually a series of boxes to click where the learner must complete certain tasks based on what they have learned. If I leave the default Retake Quiz results slide button, Captivate will take the learner all the way back to the first set of questions since you can only have 1 quiz per project.)

    So, I created a conditional, tip action to be executed on Enter to the Quiz results slide. It's the first time I tried this, and I must be missing something because when I publish the action proposed is not run properly. It is only to show the button continue, no matter what the score. I can't know if I use the wrong variable if I implemented wrong decisions, or if I should use the "Else" section (I have no idea of what Else is used to). "

    Screenshots below.

    AdvancedAction1.PNG

    AdvancedAction2.PNG

    AdvancedAction3.PNG

    Sorry, I did not in another thread on this subject? Do not disable the button continue, it is essential for the features of the slide to score, and that's what you're dragging it off the stage. Ditto for the button back. Why not hide one behind the other, at least to solve part of the problem.

    I may be wrong, maybe it was someone else. But I proposed to make the button continue invisible to the user and put a picture of model on top to make it look like a button. And make sure that the visible image.

    Then, you use the variable system badly IMO. cpQuizInfoQuizPassPercent is a static value that you specify as a criterion in the Quiz settings. You don't need to use cpInfoPercentage?

    System variables in Captivate 6 - Captivate blog

  • HELP with animation for the buttons (I tried to search for days for solution)

    Hellooo

    I tried to watch the discussions here for a solution, but I can not find... can someone help me please?

    I design a website in flash8... now, I created a few buttons and I want that when I click the button stars will fly on their part and there will be a sound... I have already created the animation of the separately-star and it's in the library, I also sound file... I just don't remember how put everything together... can someone please remind me what to do step by step so When I press the button that the stars will fly directly from the button and the sound will play? pleaseeeeeeeee, it's very very important to me... I'd be grateful < 3

    in your library, double-click your button.  Select the image down, and in the properties panel, select your sound and assign its sync to the event.  then drag your animation to your library on the stage.

  • Request for help with page apex a button popup.

    Apex 3.2/Solaris 10

    I try to open a page of the apex (report) in a pop-up window when a button is pressed after the plethora of examples in the forum.

    I applied what follows in "Edit Page buttons" to one of the 'attributes of button' and 'Target URL' is trying to open my report (page 14) in a pop-up window.

    javascript.popupURL ('f? p = & APP_ID.:14: & SESSION.) ") ;
    JavaScript.popup2 ('f? p = & APP_ID.:14: & SESSION.) ") ;
    Window.Open ('f? p = & APP_ID.:14: & SESSION.) ") ;

    I have also implemented the conditional branch for this button in order to mitigate the error 'page not found - restart the application.

    The window.open variant does not. The javascript 2. variants open the page, but in the same window (no popup).

    also, I read that to fill my pop-up report (it should), a Window.Close (); should be somehow associated with a close button on the popup page. Specifically, where this code is placed?

    Thank you!

    Paul

    Paul:

    Specify the URL as

    JavaScript:popupURL('f?p=&APP_ID.:14:&session.');

    Instead of

    javascript.popupURL('f?p=&APP_ID.:14:&SESSION.');

    CITY

  • Need help with dynamic Action through 4 items

    Hello everyone.

    I'm having some trouble trying to comp with dynamic action that will turn on or display a select list item when a value is set for the four elements of the Radio button group.

    P1_SELCT_LIST

    P1_RADIO_GROUP_1

    P1_RADIO_GROUP_2

    P1_RADIO_GROUP_3

    P1_RADIO_GROUP_4

    So once all four Radio groups are not null, I want the select View list item.

    Any help with this would be great.

    I'm on Apex 4.2.0.00.27

    Hello

    You can create the following action:

    Event: click on

    Selection type: jQuery selector

    jQuery selector: radio

    condition:

    $v ('P1_RADIO_GROUP_1')! == ''

    &&

    $v ('P1_RADIO_GROUP_2')! == ''

    &&

    $v ('P1_RADIO_GROUP_3')! == ''

    &&

    $v ('P1_RADIO_GROUP_4')! == ''

    Then add a real Action as follows:

    ACtion: show

    Fires when the result of the event is: true

    Fire on the page loading: No. (uncheck)

    Assigned to elements, selection type: product (s)

    Product (s): P1_SELECT

    Also add an Action to false as follows:

    ACtion: hide

    Fires when the result of the event is: false

    Fire on the page loading: YES (check)

    Assigned to elements, selection type: product (s)

    Product (s): P1_SELECT

    Kind regards

    Vincent

    http://vincentdeelen.blogspot.com

  • Help with dynamic Action with pl/sql and Javascript

    Hi all
    I'm a little hard with the following and I was wondering if someone can help me.
    My test app is here:
    http://apex.oracle.com/pls/apex/f?p=32581
    
    workspace: Leppard
    Login: guest
    pw: app_1000
    
    Tab: DB Link (page 19)
    I have a list of unique selection on the page that queries a table in my diagram.

    This is the flow that works, but not the user experience I want:
    User clicks on the button Create Page 19 > the next page, page 20, appears as a popup window > user enters the name of the link = "MyLink" (or other) and one unit number, i.e. 1234 (or other) > user clicks 'Create using process' button > success message > user closed the window to return to the page 19 > user clicks LOV refresh to refresh the list of selection so that the new value is displayed.

    That's what I'm aiming for: user clicks on the button Create Page 19 > the next page, page 20, appears as a popup window > user enters the name of the link = "MyLink" (or other) and one unit number, i.e. 1234 (or other) > user clicks button "create using the DA ' > dynamic action is called running pl/sql closes the popup window and refreshes the list of selection on page 19.

    I know that I have some problems with my dynamic action. First of all, the pl/sql is not yet recognize the values that I enter the fields in item on page 20. I created a first pl/sql "null;" to force these items in session state, but it does not work for me and the pl/sql just inserts a null value into my table. Secondly, I can't get javascript to fire code to refresh the list of selection on page 19. The code I use in the DA is the same thing as what is behind the button refresh LOV, so I am confident that the code works, I just can't get this fire click the button "create using the DA" on page 20.

    Sorry if this is confusing - I can clarify if necessary, let me know. Thanks in advance. Of course I'm still learning...

    John

    Published by: John K. on May 30, 2013 19:28

    I modified your DA as follows.

    In real Action of DA,.

    1 Seq 10, I added the element page 20 Page points to submit and return Pagenames. You forgot to add items here
    2 Seq 20, I changed your simple code to insert. Simple code just insert
    3 Seq 30, I added the new code to close the window and reload the window open.

    Thank you
    Lacombe

  • How to bind the ACTIONS/help for a newly created button?

    I created a button to open a window pop up and display the same information if you click ACTIONS and then to HELP on a report/interactive form however, I find myself with a white pop-up screen

    I under the Action when the button is clicked

    action = URL redirection
    validation = YES

    URL =

    JavaScript:popupURL('wwv_flow_utilities.show_ir_help?p_app_id=101&p_worksheet_id=3&p_lang=en');

    any ideas?

    Thanks in advance for the help.

    Why not make your button click on fetch the IR Help menu link on-the-fly and use it

    Change your action buttons to redirect URLS

    JavaScript: Window.Location.href is $('_#apexir_ACTIONSMENU_a.dhtmlSubMenuN[title="Help"]').attr ('href');.

    Or even the following would

    JavaScript:popupURL ('wwv_flow_utilities.show_ir_help? p_app_id ='+ $v ('pFlowId') ' + ' & p_worksheet_id = ' + $("div_#apexir_DATA_PANEL_table.apexir_WORKSHEET_DATA').attr ('id'))

    It also has the advantage that there is no demand or worksheet_id hardcode in the URL.

Maybe you are looking for

  • Satellite A110-103 - 2 GB RAM - gaming performance optimization - SOLUTION

    Hello For those of you who have 2 GB of RAM installed on the laptop and want to play games like f.e.a.r.2 PROJECT ORIGIN, it's performance that I have tested on my Toshiba Satellite A110-103! If you want to add 2 GB of RAM or more to your laptop plea

  • Failure ID: U08B90-0007-X-QFJWJ-619603

    Failure ID: U08B90-0007-X-QFJWJ-619603Product ID: C9K69UT #ABAModel: HP ProBook 4540 s When I turn on my computer, it loads to a gray screen saying "didn't find any boot image, computer laptop stops." There is a blue button that says 'OK' in this sen

  • Windows XP repair. __

    I'm trying to repair my operating system to Windows XP, but I get a screen asking the administrators password. When I first installed it a few years, I have install no password of qa.

  • Application size seems to be too large

    Hell all - I have a question about the size of my BB application. I searched the forums but did not find anything relevant. In addition, since it is quite specific to my application, I thought I'd ask anyway. Background: That's what I have in my appl

  • WLC - server DHCP (Override) and

    Hi guys,. A little confused. If I want my wireless clients to a DHCP address on my business DHCP servers, I need to click the Overrides button, for the WLC to act as a relay agent or the docs say that this happens by default? Can someone pls confirm,