Detecting when the movieClip finished playing

Hi...
Does anyone know how to detect when the movieclip is finish playing?
i want to play an animation that is converted into a movieclip and indicate success of that level and then after the movieclip is finished playing then i want to run a function which will bring user to the next level.
any suggestion?
THanksss

stage.addChild(play_mc);
play_mc.gotoAndPlay("startPlay");
play_mc.addEventListener( Event.ENTER_FRAME, onfrm);
function onfrm( evnt: Event ): void
                if (play_mc.currenFrame == play_mc.totalFrames )
                    play_mc.removeEventListener( Event.ENTER_FRAME, onfrm);
                    alpCount++;
                    splitWord(alpCount);
                    underlines();

Similar Messages

  • Detecting when StrobeMediaPlayback playback finished on Android + Adobe Air

    I tried both:
        NativeApplication.nativeApplication.addEventListener(Event.COMPLETE, _exitApp);
    and
        videoPlayer.addEventListener(Event.COMPLETE, _exitApp);
    in my .mxml file, but they don't seem to be invoked when the video finished playing. What am I missing?

    Hi Hiroshi,
    Thank you very much for your quick reply.
    For your information, EST (Electronic Sell-Through) is the mp4 movie which we allows the customer to download and watch offline from their device.
    We do embed AIR 3.4 in our app and you can find the app from google Playstore:
    https://play.google.com/store/apps/details?id=air.EzyMediaPlayer.Tablet&hl=en
    After doing a bit research, I found out that since AIR 3.8, Adobe has already made some changes inside DRMManager so from my understanding, any rooted Android device will receive error 3347 "The device does not meet the Flash Access server's playback device constraints".
    http://www.rapid7.com/db/vulnerabilities/adobe-air-cve-2013-3347
    So far, after I change the AIR SDK to 3.7, everything works as exptected so it will be great if you can confirm if we have the option in Flash Access to allow rooted Android device to watch DRM content or not(like we have option to allow the jailed break iOS device to watch DRM content).
    Thanks.
    Jack

  • Both Chrome and Finder seemed to freeze, so I restarted the computer. When the restart finished, I was in recovery mode. How do I get back to my regular login screen?

    Both Chrome and Finder seemed to freeze, so I restarted the computer. When the restart finished, I was in recovery mode. How do I get back to my regular login screen?
    It starts up and asks for a language. After English, it goes to the OS X Utilities screen. I have gone to disk utility and verified the disks. They both say they are okay. If I click repair, it comes back with an error saying "Live file system repair is not supported." I just want my computer back to normal! Please help! I am still in Mavericks if it matters.

    Do you have a backup? If so, in the Recovery Partition go to Disk Utility/Erase, select Mac OS Extended (Journaled), click Option GUID, and erase the disk. Then re-install the OS. Reboot and use Setup Assistant to recover your data.

  • I have Windows XP on my dell desktop-  I have uninstalled Itunes and reinstalled Itunes 10.2.5 - when the install finished i got the error 7 windows error 126 and the itunes won't open

    I have Windows XP on my dell desktop-  I have uninstalled Itunes and reinstalled Itunes 10.2.5 - when the install finished i got the error 7 windows error 126 and the itunes won't open

    I have uninstalled Itunes and reinstalled Itunes 10.2.5
    Doublechecking. Did you just uninstall iTunes, and not the related software and components?
    The 7 can be caused by damage to one of the other software components associated with iTunes (most commonly Apple Application Support). If that's what is afoot, a complete uninstall/reinstall may be of some assistance:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7

  • Hi, when the itunes finished the downloading for ios 6 , the iphone turned of and shows that i have to connect it with the itunes , i already did but still not working . please appreciate your help

    Hi, when the itunes finished the downloading for ios 6 , the iphone turned of and shows that i have to connect it with the itunes , i already did but still not working . please appreciate your help

    First make sue you are installing the 64 bit version of iTunes.
    Second make sure it is iTunes 10.7 or later.
    I would download a fresh copy of the 64 bit version of iTunes 11. After installation reboot your computer.
    Before connecting your phone reset your device. Press and hold the Home and Sleep buttons simultaneously ignoring the red slider should one appear until the Apple logo appears. Let go of the buttons and let the device restart. See if that fixes your problem.

  • Need to detect when the cursor is outside of the stage

    I need to detect when the cursor is outside of the stage. I
    have tried hitTest() but this doesn't seem to work. Someone must
    have a good solution to this one.

    What about putting either a thin invisible border just inside
    of the frame,
    or it might take 4 separate lines around the border and
    detect if they
    rollover that. Or check if the mouse x is less than 0,
    greater than the
    width, or the same for the top and bottom?
    I might have to code something like this myself in the next
    few days which
    is why it caught my attention.
    Timm
    "nudnic" <[email protected]> wrote in
    message
    news:f2g15n$j2$[email protected]..
    > Yes, I want to detect when the cursor leaves the stage
    area. Someone must
    > have found a good solution to this it has too many
    useful applications.

  • I restored my ipod, but when the process finishes, apears a message saying ihave to restore again, then i restore, and the message appears again, and again.

    I restored my ipod, but when the process finishes, apears a message saying ihave to restore again, then i restore, and the message appears again, and again.

    Maybe:
    Restore loop (being prompted to restore again after a restore successfully completes)
    Troubleshoot your USB connection. If the issue persists, out-of-date or incorrectly configured third-party security software may be causing this issue. Please follow Troubleshooting security software issues. .
    Next try placing in DFU mode and then restoring.
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    Then try restoring on another computer.
    Last, make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • HT201270 helo, my iiphone is unlock and i upgrade to 5.1 version when the upgrade finish i get this question-An update to the carrier settings for your iPhone is available. Would you like to download it now? is there a resone not to upgrade, will he becom

    helo, my iiphone is unlock and i upgrade to 5.1 version when the upgrade finish i get this question-An update to the carrier settings for your iPhone is available. Would you like to download it now? is there a resone not to upgrade, will he become lock?

    If your phone is factory unlocked, or officially unlocked by your carrier, updating will NOT re-lock the phone.  If it was unlocke by unauthorized methods, any update or restore will re-lock it.

  • Video will only return to back menu when it is finished playing

    If someone has seen enough of the videos on my DVD I would like them to be able to hit the stop button and return to directly to the menu, as it is now they can only do it when the video is finished playing. Have I missed a step in the building process somewhere?
    Any help would be appreciated.

    When the viewer presses the stop button on the DVD player, the DVD should stop playing - not go back to the menu.  To access the menu, they should be able to press the menu button on the remote.  What happens on your DVD when a viewer presses the menu button?
    -DH

  • How do I set MacBook to an external display when the plug and play doesn't recognize it?  I am trying to set my Samsung 530 LCD as a monitor but HDMI and VGA cords (and the adaptor for them) doesn't seem to work.

    I have tried everything I can find on line but they all claim that the plug and play works, and they don't for me.  I tried the mini dvi to HDMI and a HDMI cord and that was not recognized no matter which unit I rebooted first.  I found someone who said that my Macbook might be too old for the HDMI technology so I returned the cords and went to the VGA cord and adaptor.
    I tried this first with the HDMI setup:
    http://support-us.samsung.com/cyber/popup/iframe/pop_troubleshooting_fr.jsp?idx= 167919&modelname=LN40C650L1F&modelcode=&session_id=NDhJrD0DQT0Z8KRsm62yhxJxqnyPy SKhlhpB8vQ6h9Q7R2BZJGzj!-1089109758!1761676444!7501!-1!434477884!1761676348!7501 !-1!1292098185857
    Then I tried this with the VGA setup:
    http://support-us.samsung.com/cyber/popup/iframe/pop_troubleshooting_fr.jsp?idx= 167901&modelname=LN40C650L1F&modelcode=&session_id=NDhJrD0DQT0Z8KRsm62yhxJxqnyPy SKhlhpB8vQ6h9Q7R2BZJGzj!-1089109758!1761676444!7501!-1!434477884!1761676348!7501 !-1!1292098185857
    I contacted Samsung support and they said I needed to set the display settings to external display on the mac.  I went to the display settings and moved the icon to my status bar.  When I click on search for displays or whatever it says (I'm not at my Mac right now) it does nothing.
    What am I missing?

    I am using MAC OSx 10.5.8 (9L31a) as my operation system.  The TV says "No signal.  Check connected device's power, cable connection and source selection."  Seems to me that that goes in hand with what the Samsung tech said about the Mac needing to be forces to use the external display.  But how do I do that?

  • It's not showing the play or next song buttons on locks screen when the musics are played

    it's not showing the play or next song buttons on locks screen when the musics are played

    kaeandcolesmon,
    If you open the recovery drive (partition) it should only have a single folder (Recovery).
    To make sure that your not saving restore points to that drive.
    See:
    Start, Control Panel, System, System Protection tab. Make sure the D drive partition is set to OFF so that it does not save there.
    I am a volunteer. I am not an HP employee.
    To say THANK YOU, press the "thumbs up symbol" to render a KUDO. Please click Accept as Solution, if your problem is solved. You can render both Solution and KUDO.
    The Law of Effect states that positive reinforcement increases the probability of a behavior being repeated. (B.F.Skinner). You toss me KUDO and/or Solution, and I perform better.
    (2) HP DV7t i7 3160QM 2.3Ghz 8GB
    HP m9200t E8400,Win7 Pro 32 bit. 4GB RAM, ASUS 550Ti 2GB, Rosewill 630W. 1T HD SATA 3Gb/s
    Custom Asus P8P67, I7-2600k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX660 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Custom Asus P8Z77, I7-3770k, 16GB RAM, WIN7 Pro 64bit, EVGA GTX670 2GB, 750W OCZ, 1T HD SATA 6Gb/s
    Both Customs use Rosewill Blackhawk case.
    Printer -- HP OfficeJet Pro 8600 Plus

  • Batch processing and maplisteners -detecting when the maplisteners complete

    Hi
    I have a scenario.
    Get data from data source 1 and load to cache (say datasource cache) . on this cache I have set maplistener that does some transformation puts the data to another cache. I want to start another process when data transformation is complete.
    Since I have not implemented synchronous listener, I have no way to know when the transformation is complete (as we may not know when all threads for maplistener for the datasource cache completes.
    Is there is a way to find out all the tranasformation is complete. (Please note that N record/object in a datasource may form one transformed record, hence counting may not be good ide)
    It is possible to do an update a flag in each record in datasource cache and make another thread to check if all records are transformed start the process. But I would like hear from your experience if you have any other better solution, that I can leverage from coherence itself. (in otherways, If I sense some inactivity in tranformed cache, I can safely assume that the transformation process is over). Views welcome !!!!
    regards
    Ganesan

    Hi Ganesan,
    Why don't you fire off some events from the transformation threads when they finished?
    You should be able to know how many transformation operations were to be done. When you get that many events that they completed, you are done.
    Best regards,
    Robert

  • Detecting when the user is inserting a USB token

    Dear Forum,
    From a Java GUI application I'm trying to detect when a USB token (CrypToken from Marx) is inserted.
    When I run the program below with the USB token inserted it works fine. If I start the program and then inserts the USB token I keep getting a ProviderException.
    Any help is greatly appreciated.
    Kind regards,
    Morten Bruun
    The exception I get:
    java.security.ProviderException: Initialization failed
         at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:186)
         at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:76)
         at tryout.TestInsertToken.getProvider(TestInsertToken.java:38)
         at tryout.TestInsertToken.actionPerformed(TestInsertToken.java:47)
         at javax.swing.Timer.fireActionPerformed(Unknown Source)
         at javax.swing.Timer$DoPostEvent.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.security.ProviderException: slotListIndex is 0 but token only has 0slots
         at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:171)
         ... 12 moreMy test program looks like this:
    package tryout;
    import java.awt.FlowLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.security.Provider;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import javax.swing.SwingUtilities;
    import javax.swing.Timer;
    public class TestInsertToken extends JFrame implements ActionListener {
         private Timer timer;
         private JLabel label;
         TestInsertToken() {
              this.setLayout(new FlowLayout());
              this.setDefaultCloseOperation(EXIT_ON_CLOSE);
              label = new JLabel("Insert token");
              this.add(label);
              timer = new Timer(1000, this);
              timer.start();
              this.setSize(300, 200);
              this.setVisible(true);
         private Provider getProvider() {
              try {
                   return new sun.security.pkcs11.SunPKCS11("pkcs11.cfg");
              } catch (Exception e) {
                   System.out.println("Got exception: " + e.getMessage());
                   e.printStackTrace();
                   return null;
         public void actionPerformed(ActionEvent e) {
              Provider provider = getProvider();
              if(provider != null) {
                   this.label.setText("USB token detected: " + provider.getName());
                   this.timer.stop();
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        new TestInsertToken();
    }Edited by: Hr.Bruun on Nov 10, 2008 2:13 PM

    Thanks for replying, Andy!
    I know that if I point my gateway at 2013, I should be fine.  You mentioned that in this article: 
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f622ff81-0d97-44d3-9051-f22c381fe188/exchange-2010-and-um-on-exchange-2013?forum=exchangesvrunifiedmessaging
    "Once the SIP connection is pointed to 2013, it will handle both the 2013 and 2010 Mailboxes in the Dial Plan" which I found and which was helpful.
    But, in the TechNet walkthrough:
    http://technet.microsoft.com/en-us/library/dn169226(v=exchg.150).aspx 
    And the checklist too:
    http://technet.microsoft.com/en-us/library/dn169228(v=exchg.150).aspx
    It's having us move the UM enabled users before we repoint the IP gateway, which is one of the final steps. Since we're just in pilot mode right now, we'd prefer to not re-point that just yet.  Do you expect it shouldn't work?  Is TechNet wrong or
    am I misreading it or missing something else?

  • Shuffle 3g status lights off when the device is playing

    did the led fail in my ipod or does the firmware switch off the status lights when the unit has been playing for a while? mine is playing just fine right now but there's no little green light glowing by the earphone port. is this normal?

    bloodnok wrote:
    did the led fail in my ipod or does the firmware switch off the status lights when the unit has been playing for a while? mine is playing just fine right now but there's no little green light glowing by the earphone port. is this normal?
    Normal...

  • I tried the Aperture trial and liked it but did not buy it when the trial finished. a few weeks later I purchased Snow lepord and purchased Aperture Via the app store. i have not been able to use it because every time I open i get the spinning wheel of de

    I tried the Aperature trial and liked it, but did not purchase it when the trial ended. A few weeks later, i purchased snow lepord and purchased aperture via the app store. I have had not been able to use it since. Each time i open it , afer a few seconds i get the spinning wheel of death and Aperture is frozen. I have to force quit Aperture to shot down mycomputer. I have re-installed Aperture 3 times with th e same result. I have iphoto on my computer as well is this causing the problem? I want my money back!!! Can anyone help?

    You need to delete the trial & then reinstall from the boxed DVD or the Mac App Store. The files to delete are the iWork ’09 folder from the main HD > Applications; the iWork ’09 folder in HD > Library > Application Support & the individual iWork application plist files found in HD > Users > (your account) > Library > Preferences for each user.
    Yvan Koenig has written an AppleScript that removes the files. You can find it on his box.com account in for_iWork'09 > other_iWork'09 items > uninstall iWork '09.zip.

Maybe you are looking for

  • Is there a way to transfer matched and downloaded songs from my iPod to iTunes library?

    Here is the thing: I had some problem downloading some songs on itunes,they just won't start downloading and stuck at initiating process.Had been tortured by these issue for days,I tried to download these songs on my ipod.And I succeeded.So I have al

  • Import error moving components to new instance

    I am new to APEX and am attempting to move components developed in the Oracle hosting instance of APEX to our new, in-house hosted site. Everything seems to be ok until the very end of the export when I receive an error when the following is executed

  • Ipod Touch 4th Generation Question?

    I have a Ipod touch 4th Generation and i have forgotten my password. I cant go into reocvery mode because the home button doesnt work. What should i do?

  • Application saving pdf with .pdf^1 extension

    Our company has an application that saves to .pdf format. However, on one of the user's systems, whenever she saves as .pdf, the default is to save the file with a .pdf^1 extension. Has anyone encountered the ^1 in the file extension? I can't find an

  • ITunes U video playback constantly freezes

    I have 64Gb iphone 4S with plenty of free space.  iTunes U video (a Yale course in this case) constantly freezes during playback.  The video is downloaded onto the iphone, not streamed.  I do not have this problem playing the video through the video