Pause movie after loading, then play after playing another clip

Hi,
This is the set up so far. Loader1, is playing till home.swf is loaded. I am using the loadClip function for it. onLoadProgress plays the first bit of Loader1.
What I want to do is within onLoadInit() = function(_mc:MovieClip) {
_root.ldr1.addEventListener("played", function() {_mc.gotoAndPlay(1);});            // add listener to Loader 1
_mc.stop();                                                               
_mc._alpha = 0;
_root.ldr1.gotoAndPlay("strt");                                        //plays second bit of loader
In the last frame within ldr1, I am dispatching the "played" event.
this.dispatchEvent({type:"played", target: this});
The problem is that it is not playing the function. Also _mc.stop(); is not stopping the loaded file. It keeps playing, though _mc._alpha is working fine.
What am I doing wrong?? How can I make sure the event is being dispatched?? Home.swf ( the _mc being loaded), is within a separate movieclip, over the loader.
Is it possible to do this?? Any help will be greatly appreciated.
Thanks

Ok I figured out what I was doing wrong. All the code was perfectly fine, except the event name within dispatchEvent should be in ' ' instead of " "...same for addEventListener.
The main problem was that I had placed EventDispatcher.initialize(this); in the wrong frame. It has to be in the first frame of the clip apparently. That fixed it. Let me know if there are any queries...though I believe this is simple enough..now..:)

Similar Messages

  • Devices appear in itunes after loading then disappear after a few minutes. How do I rediscover my devices?

    My devices all disappear after a few minutes. How do I rediscover them?

    You may have a bad track pad sensor.
    http://blog.w3conversions.com/2006/04/faulty-trackpad-sensor-in-powerbook/
    Do NOT open the computer and detach the sensor. There’s no reason to. Here is the complete method for disabling the sensor:
    Move (do not delete) the following extensions to a different location (a new folder outside the extensions folder). You’ll find them in your system/extensions folder:
    * IOI2CControllerPMU.kext
    * IOI2CLM7x.kext
    * AppleLM7x.kext
    * Extensions.kextcache
    * Extensions.mkext
    Once moved, restart, and that little sensor will be disabled.

  • Mac won't boot, starts with white apple screen and spinning wheel. Also has grey loading bar which disappears after loaded then stays at white apple screen.

    Mac won't boot, starts with white apple screen and spinning wheel. Also has grey loading bar which disappears after loaded then stays at white apple screen.

    Hi cybertoof,
    Welcome to Apple Support Communities.
    It sounds like you're seeing a startup issue with your Mac, it's booting to a gray screen with an Apple logo. Try the suggestions in the article linked below, they will resolve most issues related to starting up your Mac.
    Mac OS X: Gray screen appears during startup
    http://support.apple.com/kb/TS2570
    I hope this helps.
    -Jason

  • I rented a movie from itunes then it stop playing

    i rented a movie. it started to download after a couple minutes we could start playing it. then after awhile it stop playing.

    It depends on your internet connection. Check www.speedtest.net
    6mbps is required for instant HD rentals. You can switch to SD in the settings

  • Playback pauses and ipod freezes then unfreezes after 20 seconds

    Description of the issue:
    When playing continuously song after song, the ipod freezes and music stops about 5 seconds in to most songs.  After about 20 seconds, playback resumes and the ipod is responsive again.
    Symptoms:
    Only happens after one song ends and the next one begins.
    Doesn't happen every time
    iPod freezes and won't accept commands from the click wheel.
    Troubleshooting: Reset has not resolved the issue.
    Background:  Worked fine before last night, when I added some more files to my itunes library by convering them from wma to AAC.  I received the message during synch that itunes couldn't copy all the files from itunes, since there's not enough room on the ipod. 
    Once I get home today, I'll try reformatting, etc.

    Try a restore.
    See: How to restore the iPod to factory settings.
    What account are referring to? iTunes music store?

  • As im recording videos on Photo Booth, my movements seem late. then when i play back the video, the sound comes in really late. how do i fix this?

    theres like a 5 second delay from when i say something to when the sound of my voice actually comes in when i play back movies in photobooth.i tried restarting my computer and even turning on *auto flip new items. when i turn that on the problem is fixed for only one video. when i try to record the next one its back to the delay. is there anyway to trouble shoot this? or do i have to take my mac to the apple store. to top it all off ive only had my computer for 5 days. help please !!!!

    I had the same problem since my moutain lion update, too.
    I fixed it in the following way.
    -Search for utilities on the HELP option on the top taskbar
    - Go to utilities and open your audio-midi-setup.
    - check your input and output properties
    - Change input and output 44100khz and 16-BIT for both.(these are the most common properties)
    my sound and video are not ouf sync in photo booth anymore.
    let me know if it works for you!
    cheers

  • Nokia N8 how much SDRAM after load OS?

    any body known in Nokia N8 how much free SDRAM after load OS?
    + after load OS and open contacts and Messages
    nokia we want good working devices and not cheat!!!
    The modification C6-00 to C6-01 it's only fix your errors... wy we must pay again for your errors???

    kman00 wrote:
    Just restarted the phone a couple of minutes ago, I have 135MB ram free out of 251MB, I'm quit happy with it, I can open bunch of apps I need at the same time and never have a problem. I don't leave apps open if I don't need them. Oh and I have 3 full windows.
    thanks a lot - you are happy men, becouse on C6-00 nokia f.. us.  and we have free only 20MB after restart OS and always has not enough sdram memory promblems... but nokia say that we not understand and we must be happy with 20MB free then one simple app like contact get from free 5MB
    nokia we want good working devices and not cheat!!!
    The modification C6-00 to C6-01 it's only fix your errors... wy we must pay again for your errors???

  • I'm getting the rainbow wheel when I try tp pen in internet page (Safari). The page half loads then appears to freeze with the rianbow wheel.  I get the same result when I try to stream a movie from NETFLIX.  Freezes up rather than plays (after loading).

    I get the rainbow wheel when I try to open an internet page. It loads halfway, then freezes, with the rainbow wheel whirring around. Smae thing happens when I try to stream a movie on Netflix.  The movie loads, then the wheel shows up and the screen freezes.  Same thing when I try a DVD, it takes the disc, but won't play when I hit on PLAY.
    I am repair permissions, and all that I can do, but I am a novice.  Any help would be greatly appreciated because I spend big bucks and drive 40 miles to get Apple help.
    Sharon in the woods of Idaho

    Welcome to Apple Support Communities.
    If your profile info is up to date, you probably have a 2006 or 2007 MacBook with a CoreDuo or Core2Duo.
    It probably came with 512MB or 1GB RAM memory and a 60, 80, or 120GB hard drive.
    You're still running OS X Tiger, 10.4.
    Your DVD drive may be dirty or wearing out.
    For specifics about your computer, click on the  Apple Logo in the menu bar, then About This Mac, and More Info... to find details.)
    You may be running short of hard disk space. You should have at least 10% free, or 10 to 15GB free for best performance. Less than that, and your hard disk is spending lots of time searching for places to store data.
    Complex web pages and sites like Facebook and Twitter, and pages using Adobe Flash, and high-bandwidth applications like video streaming from NetFlix can all cause your computer to run slowly, and the fan to run at high speed, because the processor is working hard. Conversely, email is not terribly resource-intensive, and probably still works pretty well.
    Several things can each provide a small performance increase (listed in no particular order):
    Adding more RAM memory. Upgrade to 2Gb to give your programs a bit of 'breathing room', especially if you are running more than one program at a time.
    Erasing the hard drive and reinstalling the current operating system and programs from scratch. This erases all your existing programs and data. Unless you have backups and program discs, you lose everything currently stored on it.
    Installing a higher capacity, faster hard disk, say 250GB or 320GB will give your programs and data more space, and perhaps faster access if you replace the factory 5400rpm drive with a 7200 rpm drive. If your current hard disk is nearly full (less than 10% free space), the drive has to 'thrash' to free space to store information. 
    Upgrading the operating system to OS X 10.5 Leopard or OS X 10.6 Snow Leopard. Both are discontinued OS X versions, still available to order directly from Apple, but not likely found on a store shelf any longer. An upgrade to OS X 10.7 Lion might not be possible for your MacBook (details here: http://www.apple.com/macosx/how-to-buy/), and Lion would likely cause a further slowdown, because honestly, Lion is optimized for newer, faster dual-core or quad-core computers with fast video chipsets and 4GB or more of RAM.
    A faster internet connection, for example: I switched internet providers to get a 3.0Mb DSL connection (up from a 512Mb connection) for an extra $10 per month, and saw downloads and internet browsing speeds increase dramatically.  With the slower connection, it was not possible to watch video.
    Will all of these upgrades together get you close to the performance of the latest MacBook Air or MacBook Pros? NO!
    Ultimately, you have a 4- or 5-year-old computer, and spending up to several hundred dollars for upgrades might not be a worthwhile investment for you, versus applying that much money toward the cost of a new(er) Mac, and perhaps passing your MacBook on to a friend, child, or grandchild who needs mainly email capability.
    If a brand new Apple is not in the budget, consider a refurbished Mac from the Apple Store online. These are reliable computers from 'last year's models' and have the same 1-year Applecare warranty as a brand new model, and often sell at a discount of 10 to 30 percent of the price when the model was introduced.
    I'm using a mid-2007 MacBook, purchased as a refurb from Apple in late 2007. It came with 1GB RAM, a 120GB 5400 rpm hard drive, and OS X 10.4 Tiger. Over the years, I've upgraded it twice. Firs to 2GB, then to 4GB RAM, to a 320GB drive, then to a 500GB 7200 rpm hard drive, and to OS X 10.5 Leopard, and then to OS X 10.6 Snow Leopard. Rather than one more round of upgrades to OS X 10.7 Lion, I'm saving for a newer MacBook Pro or MacBook Air at some time in the future.

  • TS1702 I played HayDay on my iPhone until the app shut down very shortly after loading.  Then repeated that all on my iPad with same results, even though I am signing in through the Game Center.  Why doesn't the app stay open so I can play this enjoyable

    I played HayDay on my iPhone 4 to level 26-29 or so, then it didn't stay loaded when returning to play. Same scenario with iPad at level 26 even when signed in through Game Center.  Why does the game quit within a few seconds after loading?

    Never mind. I've did a hard reboot no matter how hard I pressed the power button. Thank goodness!!!

  • TS1362 Purchase a movie, down loaded it. But when I play it back it freezes after 10 minutes.

    Purchase a movie, down loaded it.  But when I play it back it freezes after 10 minutes of playing. What can I do to fix the problem?

    I'd report the problem to the iTunes Store. 
    Log in to the Store. Click on "Account" in your Quick Links. When you're in your Account information screen, go down to Purchase History and click "See all".
    Find the item that is not playing properly. If you can't see "Report a Problem" next to the item, click the "Report a problem" button. Now click the "Report a Problem" link next to the item.

  • I get home after buying my ipad mini play with it for a bit then try to sync my songs, movies and photos on and it syncs fine. I then look back at the ipad and seem to find on the top right saying " not charging "

    I get home after buying my ipad mini play with it for a bit then try to sync my songs, movies and photos on and it syncs fine. I then look back at the ipad and seem to find on the top right saying " not charging ". I read other forms and people also struggeling with the same problem. My computer dose'nt have enough power. There must be another way for me to get to charge my ipad mini from my computer. It works fine charging it in an outlet. any ideas??!

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    How to Save and Prolong the battery life of your new ipad
    https://discussions.apple.com/thread/4480944?tstart=0
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    iPhone, iPod, Using the iPad Charger
    http://support.apple.com/kb/HT4327
    Install and use Battery Doctor HD
    http://itunes.apple.com/tw/app/battery-doctor-hd/id459702901?mt=8
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • My current os x is 10.9.5, using final cut express vers. 4.0.1.  I have imported .mov clips created with a older mac os x (lion) and converted them to import into fce. after doing this as well as putting clips on the fce timeline when playing back t.h

    My current os x is 10.9.5, using final cut express vers. 4.0.1.  I have imported .mov clips created on a older mac os x (lion) and when I wanted to import them into fce, a quicktime conversion window opened up and converted them (I haven't experienced this in the past). I then imported the converted quicktime clips into my fce project.  After doing this I took selected clips and put those edited clips on the fce timeline.  When playing the video back in the fce timeline,I noticed
    1) the video wasn't playing back smoothly like the original content
    2) when looking at the timecode reading of the timeline, the timecode was sputtering as well as the video and audio.  I exported to quicktime just to see if that was consistent, it was.
    When I play the converted quicktime content independently of fce,  it plays normally (no sputtering of timecode, video and audio.  Need help to resolve the sputtering playback of converted video content in the fce timeline.  I've never experienced this before.  Any suggestions?

    When you say you converted the clips before importing them into FCE, did you convert to AIC or DV and do the converted clips match your FCE Sequence settings exactly?  If not, go back and convert the original files again, using the intended Sequence settings as a guide.
    -DH

  • After loading the new OS now my songs do not play correctly. Titles are wrong on songs and it just doesn't play certain songs in random play or even if you select them individually. What's up? Kind of frustrating!!!

    After loading the new OS my songs do not play correctly, is anyone else having this issue? Titles are wrong on songs and it just doesn’t play certain songs in random play or even if you select them individually. What’s up? Kind of frustrating!!!

    I had the same issue.  In fact I posted it yesterday, but didn't get any replies.  I physically synched my phone to PC iTunes.  on the PC, under the phone/music tab, I unchecked the synch music box and then the apply button to remove all of the music from my phone.  Then once that synch finished, I went back and selected all music, and synch music and apply to put it back on to the phone.  So far, I haven't had an issue again, but I also haven't listened very long.  Hope this helps!

  • Firefox 4 wont load page completely or play videos on youtube after clearing cache

    Firefox 4 wont load page completely or play videos on youtube and ive noticed its always after clearing cache. after a while it will start working properly but its kind of annoying. Know what the problem is?

    oh, there is still a pending issue with youtube unfortunately. I can play videos individually but if I click on a video that is part of a playlist it lags and then goes to a blank space where the video should be. Is that a flash player issue? So, I can play videos individually but not playlists.
    Any word on that would be awesome
    Thanks again
    E

  • I bought a movie on iTunes and it plays half the movie and stops. I can not get it to play after it stops. What can I do to get it to play the rest of the movie?

    I bought a movie on iTunes and it plays half the movie and stops. I can not get it to play after it stops. What can I do to get it to play the rest of the movie?

    Hi, Jjenjen30. 
    Thanks for the question and I believe we have a solution.  The best option would be to delete the movie that is giving you an issue and redownload it via the iTunes store past purchase option.  I have included a couple articles that will show you how to process these steps.
    Deleting files from the iTunes library and your computer
    http://support.apple.com/kb/ht3842
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    http://support.apple.com/kb/ht2519
    If this does not resolve the issue, then iTunes might need to be notified to let them know there is a problem with the content.  I have included the steps on how to let them know.
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBookstore purchase
    http://support.apple.com/kb/HT1933
    Cheers,
    Jason H.

Maybe you are looking for