How to make a different hyperlink on the transition of different image

I got 3 images in a single transition, but the problem is that the first image link to work. Picture 2 and 3 link does not work.

Scripts

import flash.events.MouseEvent;
var intel: URLRequest = new URLRequest ("http://www.intel.com");
var amd:URLRequest = new URLRequest ("http://www.amd.com");
var ti: URLRequest = new URLRequest ("http://www.ti.com");

Btn1.addEventListener (MouseEvent.CLICK, click1);
btn2.addEventListener (MouseEvent.CLICK, click2);
btn3.addEventListener (MouseEvent.CLICK, click3);

function click1(event:MouseEvent):void {}
navigateToURL (intel);
}

function click2(event:MouseEvent):void {}
navigateToURL (amd);
}

function click3(event:MouseEvent):void {}
navigateToURL (ti);
}

Error

TypeError: Error #1009: cannot access a property or method of a null object reference.
at SponsorsClip_fla::Sponsors_1/frame1() [SponsorsClip_fla. Sponsors_1::Frame1:7]

I see nothing in the screenshot that convinces me that you have an instance name assigned what whatsoever.  But the image, I get a suspiscion that you don't have the buttons in frame 1, when this code runs.  The buttons must be in the framework where the code is running.

Tags: Adobe Animate

Similar Questions

  • When I start a new search of yahoo tab comes and I don't want that. How to make a different website to open?

    When I start a new search of yahoo tab comes when I start a new search yahoo tab comes and I don't want that. How to make a different website to open?

    You need to understand what you installed that changed this action to Yahoo on a blank tab, which is the default action in Firefox; and then get rid of this add-on. Then you can install an add-on that allows you to select what you want in the new tab.

    https://addons.Mozilla.org/en-us/Firefox/addon/NewTabURL/

  • How to make transparent cluster keeping only the elements inside the visible cluster?

    Hello

    Can anyone suggest me how to make transparent cluster keeping only the elements inside the cluster visible in the front panel.

    Thanks in advance,

    Vinciane

    As I said, use the space bar for what is paint. This works. Trust me.

    PS You cannot link to pictures stored on your hard drive. We don't see them. You must add them as attachments and then submit the post they get uploaded to the servers of NOR.

  • I get my email on two computers. How to make a computer out of the loop?

    I get my email on two computers. How to make a computer out of the loop without jeopardizing my Comcast email account?

    Using Outlook Express? Go to: tools | Accounts and delete the account. If you think you can it in the future, go to the properties of the account, and under the general tab, simply uncheck: include this account when receiving or synchronization.

    If you are interested, you can receive messages at a time without losing them on one.

    On both machines:

    Tools | Accounts | Mail | Properties | Advanced - Check: leave a copy of messages on the server.

    On a single computer only, make sure to delete messages after X days to satisfy your allocated space that you get from your server.

  • How to make 'Save to Desktop' save the default value instead of 'This PC'?

    How to make 'Save to Desktop' save the default value instead of 'This PC'?

    Windows 10, I guess?

  • How can I create a hyperlink in the title in first Pro CC?

    How can I create a hyperlink in the title in first Pro CC?

    How to put a clickable link on a youtube video 2014 - YouTube

    MtD

  • In CC Dramweaver Adobe how to make my Web page fill the entire window?

    In Adobe Dreamweaver CC how to make my Web page fill the entire window?

    A width of 100% CSS.


    Body {width: 100 %}}

    Nancy O.

  • How to make a web page to the size of browsers?

    How to make a web page to the size of browsers?

    Try to download the pdf file and the example in this tutorial files, which explain how to do this.

    http://www.Adobe.com/devnet/Dreamweaver/articles/bk_dwcs4_mastering_css.html

    PZ

  • How to make fonts and icons in the menus for each larger screen?

    How to make larger fonts and icons in the menus on my iMac screen?

    You can change the size of icons, arrange them in a grid and set other preferences for items on your desktop by changing the options to display on your desktop. To change your desktop view options, click on the desktop and then choose the command view > Display Options from the menu bar. You can try different settings to see which ones you like, you will immediately see the effects of your changes.

  • shows how to add a different image for my Christmas labels to halfway down the sheet

    I try to print my labels for Christmas. I use avery labels size 2 "x 4" and all of a sudden to halfway through the print job, another image is printed on the background of the sheet of labels.

    I have had it before and may not know how to solve this problem. I double checked to make sure that this additional picture is not in the bed of the scanner. How can I get rid of this unwanted addition of my labels. I also tried a different word document that has a different picture of Christmas in all sections of 10 labels and sometimes it prints correctly and sometimes he adds this piture inside cookie half as well.

    Why is my printer done? I'm wasting ink and these labels as well.

    Thanks for any help you can give me. I am including an analysis of the sheet of labels so you can see what I mean.

    GuideMe

    Welcome to the Community Forum of HP.

    It could be your template file which is trashed, in other words, your label template document itself could be the problem.  You need to maybe start over, in other words, create a new document from model to model appropriate size label size label.

    The latest version of the Avery software, which let you can indeed use, moved in recent versions of Word.  Most of each model you can buy is installed within the software:

    Avery Wizard for Microsoft® Office

    The document that results from (.doc / .docx) can be made to be put a blank label, to which you could add - manually, your little Clip Art Santas.  In fact, if you have created a blank label template (by clicking through the process of 'create' model), you can add a Clip Art or a different photo on each label.

    If for some reason, the software will not be installed in your Version of Office Word, I believe you can use the software online and then print the labels on your printer.

    =========================================================================

    You could also simply any reboots:

    Router, computer, printer - just restart everything and see if the "strangeness" clears.  It is less likely to help, but it really depends on where the problem lies.  The question might be a little communication problem between the printer and the queue of work - the printer needs to process the job once it is taken from the queue; Maybe is not read the file correctly.

    Click on the Thumbs - Up Kudos to show that you appreciate the help.

    Click on accept as Solution when the answer provides a fix or a workaround!

    Although I strive to reflect best practices of HP, I do not work for HP.

  • How to make a transformative effect ignore the line attributes?

    Hi all

    I am intermediate (at best) with Illustrator. I use CS6 on an iMac 2009.

    Could someone advise me on how to make Illustrator ignore STROKE weight/CAP/join parameters when I apply a live effect make rotate/multiple copy on a group of paths? Currently, Illustrator defines the rotation point to the extreme point of my stroke (contained in the atrributes of traits), but I want only to calculate the track structure: the coordinates of my anchor point designated.

    Screen shot 2012-10-16 at 12.04.07 PM.png

    Here are the top/right of paths with a rotation Group / 3 copies effect of 90 degrees. This view looks without problem.

    Screen shot 2012-10-16 at 12.04.24 PM.png

    This band of the top/right of the railways with the addition of a reflection / 1 copy effect of the x-axis. Still no apparent problem.

    Screen shot 2012-10-16 at 12.05.13 PM.pngScreen shot 2012-10-16 at 1.20.14 PM.png

    But this is a close to the alignment of the corner points. As shown, the transformation indeed is based on attributes of the strokes (the tip of his corner), not the actual location of the corner point.

    It does not help to apply styles different heading a corner or race alignments; that only slightly Wizz the pivot point to the Center.

    In addition, this race of a point is somewhat arbitrary. I only put it so in order to see my dynamic effects.

    Refine vertical and horizontal effects of the elements turned/copied movements won't help because this art will subsequently undergo a lot of alteration, changing money, especially in the weight of the stroke (thickness of the line maybe same variable).

    I need the skeleton of the struct to snap together precisely.

    Any solution, regardless of how roundabout, would save this project! I'd appreciate some advice.

    Assuming that you did clean:

    1. check the order of the effects and strokes: this is important if you first apply the effect, then the stroke or vice versa

    2. check that "Snap to grid of pixels" is turned on

  • How to make a bootable USB using the disc with El Capitan utilities?

    Anyone know how to make a bootable USB key using the disc with El Capitan utilities?

    Try this its worked perfectly.

    http://www.Macworld.com/article/2981585/operating-systems/how-to-make-a-bootable - os-x-10-11-el-capitan-installer-drive.h...

  • In windows 7, how to make firefox automatically starts when the computer is turned on

    In Windows 7, how to make Firefox starts automatically when I turn on the computer. Note, I ask how to do this with Windows 7, xp, not vista.

    You place a shortcut to open Firefox in the start menu > programs > startup folder.

    It is essentially the same in all versions of Windows.

  • How to make a backup copy of the emails from Inbox?

    How to make a backup copy (on a memory stick) of all e-mail messages in my Inbox?

    Hello. How to do an export of the new Webmail Outlook?

    Thank you!
    Jacqui.
  • How to make a rollover hyperlink image?

    I am using the css to make my images have a substitution effect, but how to make a link to another site? I can only link to other pages on my site.

    To create a link to other sites, you must manually enter the full URL in the LINK of the image field (in the property inspector). For example, the link should look like this-

    http://www.example.com' > click here to leave this Web site and go to the other. "

  • How to make a square patterned with the same race grounds match-up?

    I have a square that is filled with a pattern, he needs a stroke to so that it can be scalloped.  How to make the model of race and fill out the template match-up?pig.png

    You could have transformed one of the models. I try and first just apply a color background and outline of bost. Then apply the model again and not become one of them.

    Another option would be to expand the line and fill and combine the shapes, so that you don't have to deal with the construction of a complex.

Maybe you are looking for

  • Scan the network works on computer windows laptop, but will not scan on the new iMAC!

    Hi all, I just moved to iMAC pc and set up my HP Photosmart C7280 all-in-one on the mac. Everything is printing ok, but when I try to scan I get a message error and of course no sweeping. The photosmart is on a home network and still works fine on my

  • How can I get rid off in media player 11 skins?

    downloaded the two skins of microsoft, no work at all, and I want to delete them.

  • IllegalStateException when inserting in a Manager.

    Hello! I'm trying to insert a field into a thread Manager. More details: the Manager in question is in fact a RichList class - as I wrote for the devices 'preBBOS7 '. Here it is: package crapsnap; import net.rim.device.api.command.Command; import net

  • "Mast head" on my screen

    Hello everyone. I need to know what to do to get this problem resolved. I know it's easy, but I don't really know how to. I don't want to cause damage to my laptop. Please see the image uploaded if you know what I mean, ' cos I don't don't know how t

  • Transfer site to another hosting service

    Hi, I'm new with Adobe Muse and I want to transfer the site to a different provider. I also have a few other questions and general advice.I would appreciate your help to get me going. [Personal information deleted by mod. The forum suggest that you d