Using AS3 to play a set of frames I want and then stop

Hi everyone:
I am helping a friend with a project. I have a button that
when clicked on, it enlarges and shows content inside the button.
Now, there is more content inside this button that when clicked on,
enlarges and shows more content. I have all that working fine.
How can I create a "back" button that will play the same
frames that I created my animation in, but play them in reverse to
get the same animation but back. Is this the correct way of doing
it, or do I need to create animated transitions for the reverse
state as well.?
Rafael.

hi.
i found this while preparing to start coding a new site. I
used placeholder movieclips until I received all the final assets.
this code worked great when I had shorter test movieclips.
Now I have a 75 frame, embedded .flv that I would like it to
reverse and it chugs badly. The project is set to 30fps to match
the animation (embedded .flv).
I've encoded it at 1500kbps, which I know is ridiculous, but
they're highly texturized 3d animations. and they play fine going
forward, so I don't know why they shouldn't in reverse. Any
thoughts on how to increase the efficiency?
thanks for your help

Similar Messages

  • I have just started with apple tv. I rented and downloaded a movie from itunes on my macbook pro and tried to watch it. I got the movie up, but it only played a picture for about 3 seconds and then stopped, also no sound? What am I doing wrong?

    Please help me play a rented itunes video on apple tv. Have a pictue and movie runs for about three seconds, and then stops. No sound? But I can play any music from my library with sound?

    Is the movie still buffering? you may have a slow internet connection. Music files require far less bandwidth than movies.

  • How can I get my iPad to play just one song from my playlist and then stop automatically?

    I am a music teacher and I use the iPod on my iPad to play songs in class.  I have a long playlist of songs to choose from in each class, and I want to play just one song at a time.  I want to be able to start one song from my playlist and then walk away from my iPad and have it stop automatically when that song is over.  (I know how to make it repeat the same song over and over, but tha'ts not what I need.  I also know how to push "pause," but I don't want to have to walk away from the children to do it.) How can I make it play one song from a playlist at a time?

    I don't believe that there is a way to do that except, perhaps, creating a separate Playlist for each song.
    Suggestions for features to Apple at: http://www.apple.com/feedback/ipad.html

  • TS1424 Purchased an album one or more records does not play all the way through. A 13 minute track only plays for the first 3.05 minutes and then stops and the program locks up. Larry

    I just purchased a album and one or more of the tracks does not play all the way through. One track which is a 13 minute track will only play for the first 3 minutes. Larry

    Delete the songs from your iTunes library and redownload them by clicking "Purchased", under Quick Links at the top right of the iTunes store.
    Download past purchases:
    http://support.apple.com/kb/HT2519
    If this doesn't work contact iTunes support here:
    http://www.apple.com/support/itunes/contact/

  • I have an apple tv 3 but when i use Home Sharing from my Windows Laptop the Apple TV shows all my music on the TV but it will only play 1 or 2 songs and then stops!!! Annoying, so I have to re-start iTunes on my Laptop and it will play 1 or 2 more songs

    I have an apple tv 3 but when i use Home Sharing from my Windows Laptop the Apple TV shows all my music on the TV but it will only play 1 or 2 songs and then stops!!! Annoying, so I have to re-start iTunes on my Laptop and it will play 1 or 2 more songs then stops again!!! still annoying.
    Can anyone assist me with this issue?
    Thanks

    To downgrade, you'll need to download the previous software version here: ATV3 http://appldnld.apple.com/AppleTV/041-4361.20120605.grjot/AppleTV3,1_5.0.2_9B830 _Restore.ipsw
    ATV2: http://appldnld.apple.com/AppleTV/041-4362.20120605.t8i4U/AppleTV2,1_5.0.2_9B830 _Restore.ipsw
    Next, plug the Apple TV into your computer with a micro-usb cable (most phones today use these) and start up Itunes. It should detect the Apple TV in recovery.
    After that, hold down Option on Apple or Alt on Windows and click Restore. This should open a window that allows you to select the software update you want to apply. Select the one you downloaded earlier.
    It will then go through the restore process, which takes only a few minutes, and then you will be able to plug the Apple TV back in to your display and set it up again.
    I recently ran into a similar issue with a bunch of these things and after restoring them all to the previous software version they are working again.

  • HT201328 I have been given permission for unlocking my iphone 3 GS from Orange. I want to set up the phone for my wife to use with a new number and carrier. Do I unlock under my itunes account first or set one up for her and then unlock the phone.

    I have been given permission for unlocking my iphone 3 GS from Orange. I want to set up the phone for my wife to use with a new number and carrier. Do I unlock under my itunes account first ( I now have a new iphone on this account) or set one up for her and then unlock the phone. I am worried about upsetting the new phone.

    I would complete unlocking as is and then
    restore as new once you know the iPhone is unlocked
    Be aware Orange will process the request at their speed
    one of the reasons they usually reside at bottom of User Sat surveys
    will likely take weeks
    This may also help
    http://support.apple.com/kb/HT5014

  • Can iTunes be set to play only one song and then stop when the song is finished and not go on to play another unless commanded?

    Can iTunes be set to play only one song and then stop when the song is finished and not go on to play another unless commanded?

    If you uncheck all of the songs, they will only play if explicitly commanded. Command-click in a checkbox and they will all be unchecked. Command-clicking again will check the all again should you want to do that.

  • How to have slide show play automatic and then stop?

    How do I get my iMovie to burn to iDVD without a theme and play when inserted into a DVD player automatically once and then stop?

    (From fellow poster Mishmumken: )
    How to create a DVD in iDVD without menu (there are several options):
    1. Easy: Drop your iMovie in the autoplay box in iDVD's Map View, then set your autoplay item (your movie) to loop continously. Disadvantage: The DVD plays until you hit stop on the remote
    2. Still easy: If you don't want your (autoplay) movie to loop, you can create a black theme by replacing the background of a static theme with a black background and no content in the dropzone (text needs to be black as well). Disadvantage: The menu is still there and will play after the movie. You don't see it, but your disc keeps spinning in the player.
    3. Still quite easy but takes more time: Export the iMovie to DV tape, and then re-import using One-Step DVD.
    Disadvantage: One-Step DVD creation has been known to be not 100% reliable.
    4. (My preferred method) Easy enough but needs 3rd party software: Roxio Toast lets you burn your iMovie to DVD without menu - just drag the iMovie project to the Toast Window and click burn. Disadvantage: you'll need to spend some extra $$ for the software. In Toast, you just drop the iMovie project on the Window and click Burn.
    5. The "hard way": Postproduction with myDVDedit (freeware)
    Tools necessary: myDVDedit ( http://www.mydvdedit.com )
    • create a disc image of your iDVD project, then double-click to mount it.
    • Extract the VIDEO_TS and AUDIO_TS folders to a location of your choice. select the VIDEO_TS folder and hit Cmd + I to open the Inspector window
    • Set permissions to "read & write" and include all enclosed items; Ignore the warning.
    • Open the VIDEO_TS folder with myDVDedit. You'll find all items enclosed in your DVD in the left hand panel.
    • Select the menu (usually named VTS Menu) and delete it
    • Choose from the menu File > Test with DVD Player to see if your DVD behaves as planned.If it works save and close myDVDedit.
    • Before burning the folders to Video DVD, set permissions back to "read only", then create a disc image burnable with Disc Utility from a VIDEO_TS folder using Laine D. Lee's DVD Imager:
    http://lonestar.utsa.edu/llee/applescript/dvdimager.html
    Our resident expert, Old Toad, also recommends this: there is a 3rd export/share option that give better results.  That's to use the Share ➙ Media Browser menu option.  Then in iDVD go to the Media Browser and drag the movie into iDVD where you want it.
    Hope this helps!

  • If i factory reset my ipod touch(5th gen), can i reset it as the option 'set up as new ipod', and then i can just go into the app store/itunes store and restore my music and apps and not icloud with photos and ect?

    if i factory reset my ipod touch(5th gen), can i reset it to the option 'set up as a new ipod', and then i can just go into the app store/itunes store and log into my apple ID so i can just restore my music and apps and not icloud with photos, contacts, ect. and then later i can add contacts that i need/want instead of them restoring them from icloud?
    The reason i asked this question is because i have been wondering this a lot ever since i got an exchange on this ipod (and ive only had it for a few weeks now) because my last ipod had a lot of problems. so after i restored my ipod with my computer/itunes, i downloaded apps that i wanted, and then when i went to the storage to see how much storage was left, it said 0 bytes. i was freaking out because i didnt know how that could be, i mean, cause like, that is impossible when i just 'purchased' it, that the space was full but i looked and all my pictures were on this ipod and i already put them on my computer so i dont need them anymore thats why i wanna reset it now so there is nothing on it so i can have more space for stuff to do and download on it.
    it is updated to iOS 8 but that happened when i purchased it, so i didnt have a choice to update it even though i didnt want to update to iOS 8...
    and i hope you understand my problem..
    i would REALLY REALLY appreciate it if someone could tell me a solution to my problem!!! thank you so much!
    -sierra

    Hey Sierra, You can do just what you have stated. My question, what is your "other"? If it is over 1.5 GB you most likely have corrupt files. Doing a Restore to New, Factory restore should correct it. Just make sure you make a full backup of all information on your iPod to your computer before you restore, so you don't lose your stuff, contacts, videos, pictures, non-iTunes music, etc, use the cable and connect with your computer. Then, via cable, connect to your computer, run the Restore to new, don't use your backup. Treat this iPod as if it was your first one ever. When restore is done, set up and add what info you wish to install on this iPod. The music apps etc you purchased should be on your computer, if not you should be able to retrieve purchased apps and music from iTunes. Any music, videos, apps not purchased from iTunes will be lost to you if you do not save them to your computer or the cloud first. When your done, make a current Backup and you should good to go. Hope this helps. Good luck. Cheers.

  • At night, as soon as I plug my iphone to be recharged, my iphone starts behaving abnormaly.  It is like somebody has taken control of it.  I see the screens moving, music starts playing and then stopping, etc.

    At night, as soon as I plug my iphone to be recharged, my iphone starts behaving anomaly.  It is like somebody has taken control of it.  I see the screens moving, music starts playing and then stopping, etc.  I have noticed that several nights.  What I do is in Settings is to change  into Plane Mode, thinking that, may be if I do that, somebody that has taking control of it will not be able to download data.  Yesterday night, I was awakened by an alarm, whose setting I did not changed. When I looked over, the alarm screen changed to Settings and the Plane Mode changed alone in front of my eyes, from on to off.
    I have not observed such a situation during the day. Only when I plug the cable.
    I suspected that may be there is no Trojan installed. May be the cable, which is a spare cable, has been modified by a hacker, and it has electronics installed in the connector.  But tested with the original cable, and the behavior was the same, as described above.

    Thanks Meg for your reply.
    It could be that both cable are bad. But, anyway, you would not expect any of these manifestations, even with a bad cable. I had bad cable for my 4s, and never saw such a thing! 
    I contacted by chat the support of Apple.  They told me that this behavior could be a software problem and recommended me to do a full recover of my iphone. That meant, putting in at the factory conditions and recup all the data from the backup.  I did that, and the behavior did not change.  The backup was made with the data of my PC, not icloud.  Tomorrow will try with icloud and check if that will work. 

  • I am using an apple TV to show a slide show which is sent via WiFi from a mini computer.  The slide show repeats for a few hours and then stops and shows "no signal".  What's going on- and how do I get the show to cycle indefinitely?

    I am using an apple TV to show a slide show which is sent via WiFi from a mini computer.  The slide show repeats for a few hours and then stops and shows "no signal".  What's going on… and how do I get the show to cycle indefinitely?  (I have set the server to NEVER sleep)

    Welcome to the Apple Community.
    Have you also set the Apple TV not to sleep.

  • Whenever I go to preview a song in itunes, the song with play out for about 10 seconds and then stop. Why isn't the song previews working? How can I fix this? I tried updating my itunes and it didn't work.

    Whenever I go to preview a song in itunes, the song with play out for about 10 seconds and then stop. Why isn't the song previews working? How can I fix this? I tried updating my itunes and it didn't work. I use windows 7. Thanks!

    Try:                           
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • In Itunes store, song preview plays for only 5-10 seconds and then stops. Songs in my Itunes library play start to finish.

    In Itunes store, song preview plays for only 5-10 seconds and then stops. Songs in my Itunes library play entirely from start to finish.

    My Itunes previews have been playing fully now for the past few days. After trying every suggestion possible to fix the problem of 5-10 second previews, I took the advice on one feed to use OpenDNS for your network internet connection. There are internet sites that will instruct you how to do it. Just Google "opendns for (your operating system)". I have Windows XP and followed a video instruction at www.top-windows-tutorals.com/using-opendns.html. Afterward, close your browser and then flush the DNS Resolver cache; Start/Run, type CMD in the open field, click OK, in resulting window type ipconfig/flushdns, press return on keyboard. No guarantees, but my browser is faster and my Itunes previews are playing fully so far. But I still shudder every time I hit the preview button.

  • My iTunes will only play one song and then stops.

    In a playlist, my iTunes will play only one track and then it stops. Won't move to the next song, won't work in shuffle mode, just plays once and that's it! Any ideas? This just started a few days ago, maybe with a recent iTunes update? I'm in 11.0.3 (and of course, my AppleCare has just expired).

    Hello kitkatmac
    I would check to make sure that the songs in your playlist are check in the checkbox section. If they are not the songs will play and then stop once it is done playing like you have described.
    iTunes Help: Ways to play songs
    help://bookmark='https://help.apple.com/itunes/mac/11.0/help/index.html?localePa th=English.lproj#itns2989
    Thanks for using the Apple Support Communities.
    Regards,
    -Norm G.

  • How do I stop iPod on my iPad from automatically advancing from one song to the next in my music library or in a playlist? I want iPod to play one song and then stop.

    How do I stop iPod on my iPad 2 from automatically advancing from one song to the next in my music library or in a playlist? I want iPod to play one song and then stop until it's told to play the next song. In iTunes I can uncheck the checkmarks next to songs, but I can't see where to do that on the iPad 2.

    How to use your iPod to move your music to a new computer

Maybe you are looking for