How to PROGRAM a button symbol inside a Clip with the code snipplets

I have a clip

Breast of the clip are three button symbols

I added code snippets to go to a web page and go to a scene

Neither of the code snippet works on nested button symbols.

I have to add to the code snippet to create the button symbols work in the film clips?

You will need to know as soon as POSSIBLE!

Thank you

is - this code:

B2.addEventListener (MouseEvent.CLICK, fl_ClickToGoToWebPage_7);

function fl_ClickToGoToWebPage_7(event:MouseEvent):void

{

navigateToURL (new URLRequest ("http://www.adobe.com"), '_blank');

}

on the movieclip (which contains b2) timeline?

If so, what do you see when you test with the following added tracing instructions and clicking b2:

trace (B2, this.currentFrame);

B2.addEventListener (MouseEvent.CLICK, fl_ClickToGoToWebPage_7);

function fl_ClickToGoToWebPage_7(event:MouseEvent):void

{

trace ('clicked', this.currentFrame);

navigateToURL (new URLRequest ("http://www.adobe.com"), '_blank');

}

Tags: Adobe Animate

Similar Questions

  • How can I search all subjects in my guide? and if this is not possible, how do I get books have not not subjects with the same name?

    How can I search all subjects in my guide? and if this is not possible, how do I get books have not not subjects with the same name?

    "People need be able to find these without having to look inside each book TOC.

    Sorry, but I'm not a big fan or user of this sensitive arrangement "New kid on the block. Therefore, it may be that I am simply misunderstanding because I do not regularly use it. Of what you say, it seems to me that if you (or more precisely your users) are not able to click on the right side, where he says 'Getting Started' or 'List of Email Campaign' and see these topics open and view the content with search terms highlighted?

    Regarding the "bookmarks", those that are normally visible by the user and will be not viewable unless the name of the bookmark appears also as text within the topic. Although, if the two are different, you could probably get there by adding the name of the bookmark as a keyword search in the properties of the section.

    In any case, I feel that at this point, I can just be frustrating you and you may need someone else to try to help that probably better understand the issue.

    Sorry, I was not able to help.

    See you soon... Rick

  • I have a Macbook Pro which is not a hard drive.  How to install Adobe Photoshop elements 11 that came with the Epson scanner, I bought.  I registered S/N, and I can't find the free download anywhere alone trials.

    I have a Macbook Pro which is not a hard drive.  How to install Adobe Photoshop elements 11 that came with the Epson scanner, I bought.  I registered S/N, and I can't find the free download anywhere alone trials.

    Downloads available:

    Download and installation help links Adobe

    Help download and installation to Prodesigntools links can be found on the most linked pages.  They are essential; especially steps 1, 2 and 3.  If you click on a link that does not have these listed steps, open a second window by using the link to Lightroom 3 to see these "important Instructions".

  • How to fix the error with the code: 0xe7210001 failed to load powrprof, object: cls

    Hello

    Dose anyone know how to fix the error with the code: 0xe7210001, message: unable to load powrprof, object: CLSD-no-it is found;
    OR: Fingerprintsoftware OR error: replicas THotkey.exe message window and the computer freezes

    Maleware scanned and virus, also in safe mode, found no infection, reinstalled driver fingerprint, but nothing has changed.

    grateful for the help!

    Hello

    > message: unable to load powrprof, object: CLSD-no-it is found;
    In my view, this would mean that there is a problem with Toshiba Power Saver
    What laptop Toshiba, you have exactly?

    Maybe reinstall Power Saver could help. You can find it on the official website of Toshiba.

  • How can you check if you have a problem with the ghost attack

    How can you check if you have a problem with the ghost attack.

    My ISP (Virgin) sent me a letter saying I could have an attack on my apps by the phantom virus.

    How is this true and what can do

    The XcodeGhost malware affects the apps, mainly Chinese, created using a red version of Xcode.  It is not a 'virus '.  (Look at the difference between computer viruses and malware).  Remove the Apple listed here and get updated with the latest versions of the App Store.

  • Does anyone know how to open an old MS Word document file with the .ltr file extension?

    original title: file extension

    Does anyone know how to open an old MS Word document file with the .ltr file extension?  I would appreciate your help.  Thank you.

    If it's a Word document, why not just use Word to open it?

  • How to import in the video editor of first elements 13 clips with the tag structure or the person, location and the structure of the event organizer?

    How to import in the video editor of first elements 13 clips with the tag structure or the person, location and the structure of the event organizer?

    senior50

    On what computer operating system is your first items 13 running? And you have updated 13 to 13.1 still using Help Menu/implementation of an open project? If this isn't the case, please consider this.

    Now to your question immediately.

    I would consider placing your files for organizing items (person, place or event) in albums that you create in the organizer of items for each. Then,

    (a) the content of the album of the opening of the first elements add multimedia/Organizer.

    or

    (b) by selecting your album in the elements Organizer, select the photos in the album you want, then right click anywhere in a selection and Edit with Premiere elements editor selection?

    Have you been there and done that yet?

    Please examine, consider, give more details, and we can then decide what.

    Thank you.

    RTA

  • How can I use a vector image to stretch with the background in Muse master pages?

    How can I use a vector image to stretch with the background in Muse master pages?

    Click on the 'Fill' text not the drop-down arrow.

  • How can I replace the same clips with the same interval of time (same settings)?

    Dear Adobe Premiere CS5 Forum,

    I have the following problem, and I would look forward to receiving solutions:

    As I couldn't cut my video with clips in avi codecs (it is very difficult to cut in avi codecs, except that you have a very fast computer), I converted my raw clips in lower codecs. Then I cut my video in low quality codecs. My video is now ready to export.

    But before I want to export my video, I need to replace all the clips in avi codes so that my video is in good quality.

    Now the problem:

    How can I replace the clips (poor quality video codec codec avi), in order to have the same clips in a different codec always the same interval of time. I want the replaced clip immediately have the same interval of time.

    For example: a raw whole clip takes 2 minutes. But just a part / interval of the clip (from 01:00 minute 01:10 minutes) is shown in the video. Now I want to replace this clip with the same clip in avi codec. But it must be the same interval (from 01:00 minute 01:10 minutes).

    I tried to replace a clip. But they each have a different time interval (the lower quality clip is from 01:00 to 01:10 minutes and if I would like to replace the same clip in avi codec is the time interval between 0:00 to 0:10 minutes).

    How can I replace the clip with the same interval of time?

    Thanks in advance

    Leonardo

    Hold down the Alt + Shift; It is Shift that maintains the reference timecode. In addition, this will work only if your proxy clips contains timecode. If they all start to 00:00:00:00, this will not work for you.

  • How to program a pop-up video and gray on the bottom?

    How do I program a pop-up video and gray on the bottom? Examples at:

    http://3.x-particles.com/gallery/

    Scroll the video thumbnails and click on one. I just want the video and VCR controls, not links to Twitter, etc.

    Guidance gratefully received.

    They seem to use this one: Magnific Popup: Responsive jQuery Lightbox Plugin

    This page contains all the information you need to create the same thing.

  • Button inside a clip controlling the main timeline

    Hello-

    I have a clip on the main stage - inside that movie clip is a button - I want that button to contol a function on the main timeline.

    example: the Script button

    closeAll_btn.addEventListener (MouseEvent.MOUSE_DOWN, goCloseAll);

    function goCloseAll(e:MouseEvent):void {}


    * do not know what to put here to activate "closeAllOpenMovieClips" on the main stage *


    }

    example: main stadium Timeline Script

    function closeAllOpenMovieClips (): void {}
    trek_mc.gotoAndStop (1);
    lost_arts_mc.gotoAndStop (1);
    rain_mc.gotoAndStop (1);
    vintage_mc.gotoAndStop (1);
    }


    do not know if I need a script more on chronology of main stadium that comes "from function."

    Thank you - Ben L

    If the button is in part 2, then the event listener so that it must be well on frame 2... or you could make the button visible/invisible betrween frames 1 and 2).

    But if you want to head back to your original approach...

    closeAll_btn.addEventListener (MouseEvent.MOUSE_DOWN, goCloseAll);

    function goCloseAll(e:MouseEvent):void {}

    MovieClip (root) .closeAllOpenMovieClips ();

    }

  • How to use a button in a movie clip to go to the root?

    Hi, I am new to flash and AS3 and need help to get my buttons.

    I made a script to the file I'm working with who has 2 movieclips to buttons. I want this button and load the image in a UILoader (problemLoader_mc) that I placed on the stage on the main timeline (chronology which contains WeekBar_mc). The problem is that I don't know how to get to the root of the file to start a new directory to tell my function to load the image I want. I tried several approaches, including:

    MovieClip (root).problemLoader_mc.source = problemArray [0]
    MovieClip (parent).problemLoader_mc.source = problemArray [0]
    root.problemLoader_mc.source = problemArray [0]
    parent.problemLoader_mc.source = problemArray [0]
    (root as MovieClip).problemLoader_mc.source = problemArray [0]


    If anyone can help me with this, I would be very happy, I'm banging my head against a wall for the moment. (Also, please excuse my vague descriptions, I'm still learning the official terminology).

    Here is the code that I wrote which relates to this problem:

    I have a mental block for the reasoning of the things regarding the allocation of the listener to an object two mc far the main timeline while having the function on the main timeline, so I can play with it my own for awhile. One thing you don't have but had to pay the same attention to the assignment of problemArray [0] in that function, I assume also lives in the root.

    But here's what I would do at the moment.

    Take all the code except the table and plant it in the scenario where the lives of WEEK1btn, modify as follows...

    WEEK1_btn.addEventListener (MouseEvent.CLICK, pload1);

    function pload1(event:Event)
    {
    . ProblemLoader_mc.source (this.parent.parent) of MovieClip = MovieClip (this.parent.parent) .problemArray [0];
    }

    I've not used root myself yet, so I'm not comfortable giving you a solution it is trying.

  • How to make a button by default if it hit the ENTER key

    Hello

    Currently (may be the default behavior), then press on enter after entering the text of research, for example, does not work. In general, I get the following error message:

    ERR-1777: Page 33 provided no page at junction. Report this error to the administrator of your application.

    How to run the code associated with a button (as a default) when the INPUT is affected.

    Appreciate your time and help with this.


    Concerning
    SS

    Hello

    You need an unconditional branch that subjects with the same value you request GO button.

    Your error message because you do not have an unconditional branch.

    See you soon

    Ben

  • How to make a button calculate field of text on the same page?

    I have a button called "Generating the Hash" and I want to calculate a text field and display them on the same page with the results of a simple sql query:

    Select "P" | substr (Sys_guid (), 1, 10) of double;

    It's a hard thing to do?

    Process page.

  • How can I add/use item "FileChooser" on or with the scene generator

    Hello... I'm still new to javafx nd my English is not very, please bare with me... I tried to implement a simple application that manages personal contacts. I started using scene to help with user interface generator... I was planning on adding file picker for profile picture downloads, but I just can't find it anywhere on the scene generator

    How to be able to use the item "FileChooser?

    Scene generator is just a tool for creating layout, does not write the code for you.

    To use a 'FileChooser' element, you must write the code.

    This is a file picker associated by the dynamic behavior of a program, not the layout of the program.

    There is sample code in the tutorial of Oracle: file picker

    http://docs.Oracle.com/JavaFX/2/ui_controls/file-chooser.htm

    1. in stage Builder create a button with text "open a file".

    2. Select your button.

    3. in the code pane, enter a name for the onAction event handler.

    4. have you scene Builder generates a skeleton of code and save it in a file.

    5. open the skeleton code and place the following code in the generated on the stub method of action;

    Element 'FileChooser' element 'FileChooser' = new FileChooser();
    fileChooser.setTitle ("open a file");
    File = fileChooser.showOpenDialog (null); You can pass a reference of the scene here, if you wanted to.

    If (file! = null) / / do something interesting with the file.

    6. compile and run your application.

    7. click the open file button.

    8. a "FileChooser" item is open.

    9 choose a file.

    10. your program will do something interesting with the file.

Maybe you are looking for