LInks in Flash CC after automatic transition to new scene are not working

I have a flash file containing three scenes- Scene1, Scene2 and Scene3. In Frame1 I have a loading screen animated with motion tween. I also include a function, which automatically transfer me to Scene2 after 10 sec. However after I go to Scene2 the buttons to go to Scene3 are not working. I've tried to remove Frame1 and then the buttons that are linking Scene2 and Scene3 are working, Do you have an idea where the problem might come from? Here is my code:
var loadNumber = 0;  stop();  loadingPercents.text = loadNumber.toString() + "%";   /* Countdown Timer Counts down from a specified number of seconds.  Instructions: 1. To change the length of the countdown, change the value 10 in the first line below to the number of seconds you want. */  var fl_SecondsToCountDown:Number = 10;  var fl_CountDownTimerInstance:Timer = new Timer(1000, fl_SecondsToCountDown); fl_CountDownTimerInstance.addEventListener(TimerEvent.TIMER, fl_CountDownTimerHandler); fl_CountDownTimerInstance.start();  function fl_CountDownTimerHandler(event:TimerEvent):void { trace(fl_SecondsToCountDown + " seconds"); fl_SecondsToCountDown--; loadNumber +=10; loadingPercents.text = loadNumber.toString() + "%";  }    stage.addEventListener(Event.ENTER_FRAME, fl_EnterFrameHandler);  function fl_EnterFrameHandler(event:Event):void { if (loadNumber > 99) {  gotoAndPlay(1,"Frame2"); } }
and for scene3:
import fl.motion.MotionEvent;  stop();   BackFromPrizes.addEventListener(MouseEvent.MOUSE_UP, goBackFromScene3);  function goBackFromScene3(event: MouseEvent): void {  gotoAndStop(1, "Scene2");  }
Thanks

if the code you showed fails (and it's executing), you have no scene named "Scene2".
btw, "Scene2" is not the same as "Scene 2" or "scene2 or "scene 2", which would all be common typos.

Similar Messages

  • After upgrading my ipad2 my apps are not working

    I have recently upgraded my IPAD 2 after a long time.. but,after upgrade apps are not working!!!

    Na!!! I restored factory settings.. now not able to copy aaps from itunes to IPAD

  • Facebook messenger, link loading and preview, and messages in general on facebook are not working for me all of a sudden. Work fine on IE, what's up?

    I can't access messages, the page blanks, the chat windows will not appear, and I can't post link previews to my wall or any other wall.

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • After updating to Mavericks, my reminders are not working?

    I have update my system OS to Mavericks and my old reminders are stopped working, why this happened?
    how to resolve it? why my reminders stopped?

    Back up all data.
    In the iCloud preference pane, uncheck the box marked Calendars & Reminders if it's checked. You may get an alert that one or more calendars will be deleted from your computer. Confirm. The calendars won't be deleted from iCloud. Leave the preference pane open.
    Quit Reminders if it's running, and also quit Calendar or iCal.
    Triple-click the line below on this page to select it:  
    ~/Library/Calendars/Calendar Cache  
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a file named "Calendar Cache" selected.
    Move the selected file to the Trash. There may be one or two other files in the same folder with names that begin in "Calendar Cache". If so, delete those files too.
    If you unchecked the box in the iCloud preference pane, check it again and close the preference pane.
    Launch Reminders and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • I tried playing a you tube video, but received a message prompt to download the latest version of Adobe Flash Player. The link to Adobe stated that there are issues with MAC OS X 10.7 and Flash Player 10.3. The new version did not download. Any Suggestion

    I tried playing a you tube video, but received a message prompt to download the latest version of Adobe Flash Player. The link to Adobe stated that there are issues with MAC OS X 10.7 and Flash Player 10.3. The new version did not download. Any Suggestion

    Hi Seattle
    From Adobe site only!
    flashplayer11_b1_install_mac_071311.dmg
    Works fine.
    Cheers Tomi

  • My flash links are not working when it is www request

    Dear Friends,
    We have done one application for the mobiles..in that we have used flash xml menu. In my xml menu i have mentioned the urls with www. request.
    When its http://www.xyz.com menu links are not working.
    If its http://xyz.com  my menu links are working fine. Can you please suggest me once how can i achive this.

    How did you fix it?

  • Installation of Flash stops after 30% complete, plugins and java are enabled in the browser and all browsers are closed.

    installation of Flash stops after 30% complete, plugins and java are enabled in the browser and all browsers are closed.

    Hi,
    I'm assuming you're machine is OS X (please include this in the future, avoids assumptions).  Are you using anti-virus software, if so, if you stop/exit the anti-virus software, does the installation proceed?
    If not, or if the installation still does not proceed after stopping the anti-virus software, please try the offline installer, posted at the bottom of the Installation problems | Flash Player | Macpage, in the 'Still having problems' section.
    Maria

  • My new mags won't download even though my subscription is up to date. After 2 weeks of frustration I still am clueless. Can anyone help? I am set to automatic uploads when new mags are available and still nothing. So frustrating when I have paid for them.

    My new mags won't download even though my subscriptions are up to date. After 2 weeks of frustration I still am clueless. Can anyone help? I am set to automatic uploads when new mags are available and still nothing. So frustrating when I have paid for them.

    Maybe you do not have enough space on iPad.

  • After updating My iPad 2 to iOS 5.1.1 , my newly installed apps are not working.

    After updating My iPad 2 to iOS 5.1.1 , my newly installed apps are  not working . When I try to open the app the screen just flashes and then nothing happens. Built in apps works fine . Please help

    I realize that installing apps is not the problem. Installing another app from the app store is a recommended troubleshooting tip from Apple if all of the third party apps will not open. It resets your iTunes authorization when you install the app because you have to enter your password.
    If you didn't install another app try it. Read this support article as well.
    iOS: Troubleshooting applications purchased for the App Store
    Try this as well. Quit all apps, reset the iPad.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps.
    Reset the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
    If that doesn't work - sign out of your account, restart the iPad and then sign in again.
    Settings>Store>Apple ID. Tap your ID and sign out. Restart the iPad.
    Go back to Settings>Store>Sign in and then see if the apps will launch.

  • After Security updation of Windows 7 in Boot Camp (Mac Book Pro with Retina Display) on 13-Nov-2013, Windows 7 Desktop Gadgets are not working properly.

    After Security updation of Windows 7 in Boot Camp (Mac Book Pro with Retina Display) on 13-Nov-2013, Windows 7 Desktop Gadgets are not working properly.
    This is boot camp problem, because in other normal notebooks (e.g. SONY VAIO, Lenovo with Windows 7) the gadgets are working normally.
    I am attaching the screen shot of Desktop Gadgets and Security updates of Windows 7.
    Kindly solve this issue ASAP.
    Shailendra Gupta
    <edited by host>

    You are not addressing Apple, but a community of unpaid volunteers. So ASAP won't cut it. Also, you should refrain from posting personal information (like your email address) in the body of your comments, as this is part of the community usage guidelines.
    Have you reinstalled the latest Boot Camp Windows 7 drivers, just in case Microsoft overwrote some of them during the Windows 7 security update?
    If you want to communicate issues with Apple about Boot Camp and OS X, click on the link. Just don't hold your breath on receiving a response.

  • Links are not working...

    I recently created a wedding website for my wedding videos and after I upload my site the buttons/links at the top of the page are not working... I had my site all laid out at one point and everything was fine. But using the templates I was having issues moving picture placeholders so I recreated my pages from a blank page in that template category. After I recreated my pages i uploaded my page and the buttons dont work... Any ideas? Here is the URL for my site.
    www.bellsandbridesfilms.com
    ANy advice would be appreciated.

    Your links are working for me: Welcome/Packages/Montage/Samples/Contact. Clear your browser's cache, quit the browser and restart it and enter your URL again. If that doesn't help, post back with the specific page and link that's not working.
    By the way, browsers convert spaces in page names to “%20.” To avoid these symbols, replace the spaces by an underscore when the page name or site name includes a space. For example, here:
    http://www.bellsandbridesfilms.com/Bells%20and%20Brides%20Films.html
    to:
    http://www.bellsandbridesfilms.com/Bellsand_BridesFilms.html

  • Links in the webview are not working.

    Hello Everybody,
    I am showing data in the webview using one custom html page. In this custom html page , I am using css to make the font better and then passing my required data in the respective tabs. In one this tag i.e. description tag, I am passing the description html data in that links are also present. WebVIew is showing the data in page correctly but links present in that page are not working. When I am clicking on those links, they are not getting open in the webview.
    I am working on this issue from two days but no solution I found.
    Is there anything , I am missing?
    Can anyone here, help me out?
    Pandit

    Hi Satake,
    Sorry for the late response.. I was out for some days...
    Actually , there was presence of target= {blank}, but I removed it from that html string as per your advice but didn't work.
    The html page which I am showing in the webview is custom webview , I mean it's a html template and I am passing description data in one description tag.. and that description data is having that link that is not opening after clicking on it.
    On the other hand , if I passed only html data without html template file then it is working fine.
    Is there any problem in my html template page which is a custom page? Or I need to add any property in the description tag to enable the links?
    Pandit

  • Time Machine options are not working. I am unable to schedule automatic backups.

    Time Machine options are not working. I am unable to schedule automatic backups.  The On-Off button is grayed out. I can perform a backup manually.

    Thanks for responding.  I have an external disk with plenty of room.  It is used only for backup of my computer.  I get a backup by clicking on the Time Machine icon at the top of the page and select "Back Up Now."  When I click on Time Machine Preferences, there is a box labeled "Options" which allows me to exclude items from backup and notify after old backups are deleted.  There is no option to schedule a backup.  The "OFF/ON" box is gray.  For "Next Backup:" it says "Automatic backups off."  I would like to turn it on.

  • Regarding after updating my iphone4 with itunes in laptop after completing,when iam trying to use apps on my iphone4 they are not working

    Hi everybody,
    From last week when iam syncing my iphone with my laptop and updating songs or apps iam facing some problems.
    1) While iam trying to update my iphone with itunes for updating songs.First in library in itunes i will remove old songs and will update new songs,then after syncing with itunes my iphone4 it must show in music only new songs not old songs.but for me both mix it showing for me old and new songs.I tried in manual option also then also it showing same mix songs.please tell me how to over come this problem.I tried my removing update backup also then also it is not showing any advantage in it.
    2) Another problem is while iam updating my iphone4 with itunes it automatically sync the apps also but after completing the update when iam trying to use apps in my iphone they are not working.
    Please help me how to solve from these problems.

    No NAS other than an Apple one includes native support for AFP. They all use an open source package called Netatalk that is junk. Many years ago Apple deprecated the old security modules that Netatalk uses.
    The easiest solution is to hack up Lion so that it will connect with the old security protocol. Do a search for "lion dhx2" or something like that. Another option is to update your NAS to a version of Netatalk that includes support for DHX2. That is easier said than done. Netatlk isn't as "open" as other open source packages.

  • CSS transition 'left' for ':before' block not work

    CSS transition 'left' for ':before' block not work.
    Some css rules:
    http://www.screencast.com/t/f2MaN5TRpY
    Video of working in firefox:
    http://www.screencast.com/t/YMBKR77kAQ
    Video of working in google chrome:
    http://www.screencast.com/t/yOc8tN7yZcA

    Is it just the left property that doesn't work?
    I found an old bug from 2010 where transition was first made to apply to generated content, but I don't know the details of which properties were tested: [https://bugzilla.mozilla.org/show_bug.cgi?id=555627 555627 – CSS Transition Cannot Be Applied to :before/:after insertions].

Maybe you are looking for

  • Pages can't open Pages09 documents from MobileMe

    I have a number of files created with Pages '09 on my iDisk. When the files are downloaded with GoodReader they appear as Folders, and Pages-iPad can't open them. Is there a way to open Pages documents stored on iDisk with iPad? Regards

  • Problem when trying to add a master-detail

    Hi all. I have customize a list in sharepoint with infopath. Now I want to add the master detail to this form. If I add a Web Part, from the list, no problems... I can create a filter between them and the master details works perfect. The problem of

  • LDAP oid 11g

    11g rdbms comes with oid ldap? i have to setup oracle net services with that, any notes to setup with 11g would help.

  • Spaces switching problem

    Hi Guys! Please help me. I have 4 desktop open in spaces with each assigned a keyboard shortcut of ⌘+1 for desktop 1, ⌘+2 for desktop 2...and so on. Whenever I hit ⌘+2, it switch to desktop 3...and hitting ⌘+3 switch me to desktop 2. So weird. To mak

  • Office for Mac 2011,  Exchange Password Problem

    My Outlook exchange password keeps locking on Office for Mac 2011.  Has anyone seen this? My IT department, who typically supports PC,  cannot figure this out