How do you configure a button to play an animated gif in adobe flash

this is an assignment for a web design class i am currently taking. the teacher provided this code for us:
function BlueplayMovie(event:MouseEvent):void
          gotoAndPlay("mighty");
     blue_btn.addEventListener(MouseEvent.CLICK, BlueplayMovie);
[where "mighty" is the name of a sample animated gif he made in class, and blue_btn is the name of his button]
i substituted the name of my animated gif for "mighty" and i also substituted the name of my button for "blue_btn", however when i test it, the button does not do anything.
i think it could be due to the fact that the code says function BlueplayMovie in the beginning, and then again at the end. I don't know what that is, or what it means. i probably have to change that to something,
does anyone have any ideas as to what i could do??
THANKS!!!

Animated gif files play on their own, you do not command them to play.  Look up the gotoAndPlay() function in the help documentation and maybe that will give you some idea of what you need to do around the code provided to have it make sense for the assignment. For someone to give you the answer here is pretty much along the lines of cheating on your assignment.

Similar Messages

  • How can you listen to music and play a game at the same time?

    How can you listen to music and play a game at the same time?
    I am playing music, by starting the Crash Baandicoot Nitro Kart 3D game it shuts off the music playing. Is there a way around this?
    It seems like this should be possible.
    Message was edited by: RuthlessVengeance
    Message was edited by: RuthlessVengeance

    Select the music play list you want to listen to and start it playing. Go back to the home screen and start the app you want to use, music will stop. Press the home button two time quickly and it will bring up a simple control for controling the music. This works for me with all of the apps I have purchased including games. Just a note you can pull up the same music control if the iPod is a sleep and locked by pressing the button three times quickly.
    Mike

  • How do I configure Soundtrack Pro2 to play audio using Digidesign 002 Rack?

    How do I configure Soundtrack Pro2 to play audio using Digidesign 002 Rack? I have no problem using Logic 8 with the 002 Rack?
    Can somebody explain the necessary process to make this work. Thanks

    Add is probably not the best choice of terminology.
    Going from memory (since I'm at home), you need to launch digiCoreAudio, then select your output in the System prefs as your digi hardware. After that you would see the digi hardware as an output in STP.

  • How do you configure a farm name in RDS 2012?

    I understand Remote Desktop Services has undergo some drastric changes.
    How do you configure a farm name in RDS 2012? Or is the concept around farm name changed in another concept?
    Although I have imported a certificate on the RDCH withe the farm name I want to use. When I click on a RemoteApp on the RD Web Access portal, it does not connect to the right farm name.
    Boudewijn Plomp, BPMi Infrastructure & Security

    You don't.  You create a collection.  A client connects to the Connection Broker and then is redirected to the collection it is connecting to.  The collection name is embedded in the connection file that the client downloads from RDWeb or
    the RDWeb feed. 
    A collection is basically at least one RDSH server (for session based desktops) or one virtual machine (virtual machine based desktops). 
    Don Geddes - SR Support Escalation Engineer - Remote Desktop Services - Printing and Imaging

  • I ordered several downloads on iTunes and one of the song says I authorized on 5 computers and that is false. How do you get the song to play?

    iTunes
    How do you get a download to play if the song says you have downloaded it on 5 computers? I don't even own 5 computers. This is my first expierience with iTunes dowloads.

    See iTunes Store: About authorization and deauthorization, http://support.apple.com/kb/HT1420
    Also check One computer using multiple iTunes Store authorizations, http://support.apple.com/kb/HT1206

  • How can you make one button preform different actions in Xcode?

    How can you make one button "preform a click" and "orderfront"? Is that possible? Because what I am doing is making a welcome window to my application for Mac OS X 10.6, and I have two buttons in that window, one says "Connect" which connects a a WebView to a url and the other button opens up the main window. So how can I a make a button do multiple things at once??

    Ah - If you are just using bindings between various objects from Interface Builder, you can reduce your application code a bit (sometimes quite a bit), but there is only so far you can go. Typically variables and routines are defined in your application that Interface Builder hooks into, so that your application code (usually Objective-C, but can be others) can use these variables and routines to determine what is happening in the user interface.
    I'm not sure how up-to-date the project code is (or what programming code you are familiar with), but you can take a look at Apple's Cocoa Application Tutorial to see what is (usually) involved in creating an application.

  • How do you get the sound to play on the tv from your macbook

    I connected my macbook to my tv using a HDMI cord. I'm trying to watch netflix but the sound plays from my macbook. How do you get the music to play from the tv instead.

    The adapter to HDMI doesn't carry sound from a MacBook earlier than the Mid 2010 models and most TVs don't have separate RCA input plugs for audio with the HDMI inputs since they expect the sound to be carried by the HDMI plug. With HDMI you'll need to use external speakers or headphone jack to RCA sound plugs connected to a stereo sound system if your TV doesn't have separate RCA input plugs for audio with the HDMI plug.

  • How can you get 2 videos to play simutenously together?

    How can you get 2 videos to play simutenously together so both are playing side by side on screen at the same time? 

    Welcome to the forum.
    As Steve observes, what you are talking about is called "PiP," or Picture in Picture.
    He has given you the basics of creating a "split-screen" PiP, and that should be exactly what you wish to do.
    For more detail, plus more ways to do PiP, I strongly recommend his book, Cool Tricks & Hot Tips for Adobe Premiere Elements 11, from Muvipix. He has an entire chapter (Chapter 10) on PiP, and many of its uses, with detailed instructions on the settings to accomplish it. Just that one chapter is worth the price of the book.
    Good luck, and happy editing,
    Hunt

  • How do you get your songs to play after you authorized the computer your on?

    how do you get your songs to play after you authorized the computer your on itunes?

    Yamipod. This is a free program that transfers music from iPod back to the computer. However, it does not transfer playcounts/ratings etc.
    Other free programs are Pod Player, SharePod and Floola.
    If it's a Mac, try Senuti or Music Rescue.

  • How can you authorise your computer to play music previously bought on another computer

    How can you authorise your computer to play music previously bought on another computer

    Open itunes, Click the word Store at the top of your computer screen, click Authorize

  • How do you configure the server in this situation?????????????

    Hi,
    We have Oracle 10.2 and Windows 2003.
    We have Oracle on Cluster (with Windows software).
    When the System are without cluster all it’s OK!!!!!!
    We have 2 Resources Cluster Group: Oracle and Applications.
    We have Oracle in Oracle cluster group.
    We have “W” Drive and a ftp program in Application cluster group.
    We have C drive in both nodes. We have installed Oracle in both nodes but we have “W” drive only associate to the Active Node because is a Cluster resource (Application cluster group).
    All days we receive text files by ftp and we put it on W Drive. This text files are readen with external tables in Oracle.
    We have a problem when oracle fails and it goes to the another node (for ex. node2) because the external tables fail because the files are on Node1 on W Drive. If we move manually Applications cluster resource to Node2 then all it is OK.
    We think to put UNC pathes instead of “W” but it’s not possible (Metalink: Note:290703.1)
    How do you configure the server in this situation?????????????
    Thanks!

    We run a similar configurations and i doubt you have a chance other then reconfigure your setup. The way we do it is to have an ftp client in our database group and periodically transfer the files a second time (not elegant but it's working).
    If that's not an option you might be able to use unc names in your ftp server and set the ftp root to a directory hosted on a disk which is part of the database group.
    Or move to unix (that's what we do now). Than you don't have to bounce your server once in a month to apply security patches...

  • How do you configure the default Webserver  and AppEX in XE(windows)?

    I'm new to XE but an old hat with Oracle Standard and Enterprise editions, Apache and AppEx (htmldb).
    What is the default webserver that comes with XE(windows) and how do you configure it? Where are the httpd config files?
    Also I read in the doco that you need to use Apache if you want to use https. Is there any doco on how to configure XE with Apache?
    Also with respect to AppEx
    where are the physcial files e.g. I can't find the following file or directories. Where is virtual directory /i/ mapped to? Where is this configured?
    http://127.0.0.1:8080/i/htmldb/builder/db_users_ctrl.gif
    regards
    Paul Platt

    Paul,
    for the Apex files see: http://daust.blogspot.com/2006/03/where-are-images-of-application.html
    For configuring the Apache as a proxy to XE:
    HTTPS with Oracle XE ?
    Re: Existing http server
    ~Dietmar.

  • How do you configure spaces in Lion?

    OK, I've found most of what I need to configure Lion but I can't find the preference panel to change the 'all spaces' view to the old style (where you see all the spaces or desktops placed on the screen in equal sizes). The new default 'mission control' view isn't as useful to me. I also don't see where to assign apps to a specific space. Finally, how do you get at the 'spaces' option for a hot corner? Where has all this moved?

    Obviously it's grown into the mission control feature... I don't care what the terms are now, I just want to know where the controls moved to.
    OK, let's try this:
    How do you configure mission control to display spaces in the old tiled format? Or whatever you call spaces/desktops now. For example, the 6 spaces I was using are still there. Apps still open where they were set to (go migration assistant!). Where do you get at the settings for this stuff now?

  • Trying to install airport 5.6 to configure old UFO airport but doesn't show up in the app utility folder. How do you configure older Airports in OS X 10.7.5??

    trying to install airport 5.6 to configure old UFO airport but doesn't show up in the app utility folder. How do you configure older Airports in OS X 10.7.5??

    David Why? wrote:
    ... How do you configure older Airports in OS X 10.7.5??
    Use the technique described in this thread: I can't install airport utility 5.6
    Though it discusses Mountain Lion, you need to follow the exact same steps for OS X 10.7.5.
    I no longer have any original AEBSs to test. You may need an even earlier version of AirPort Utility. If AirPort Utility 5.6 cannot configure yours, let me know and I will attempt to find the correct version for you. You will need to use the same "extraction" technique described above.
    Edit: If 5.6 does not work try this one: AirPort Utility 5.5.3
    Important: If you elect to drag that version to your Utilities folder, be sure to give it a unique name. I suggest "AirPort Utility 5.5.3" This is not necessary for AirPort Utility 5.6, which will retain that name on its own.

  • Very simple question, how do you configure windows 8.1 to use a SF card as the default install location for software applications?

    Very simple question, how do you configure windows 8.1 to use a SD card / external drive as the default install location for software applications? Primarily interested in apps installed from the windows store. This should be available in the settings
    charm within the windows store. This must have been overlooked in the development of windows 8.1 or is a bug.
    Regards, Bill
    * update
    I've tried modifying this key and the path:
    “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Appx”
    http://answers.microsoft.com/en-us/windows/forum/windows_8-windows_store/how-do-you-install-apps-in-windows-8-from-the/c4fbe2a8-fd3d-41c1-b9a6-6f881eed374f
    Also tried using symlinks as detailed here:
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral

    Here's some links I've used to try to figure this out:
    http://social.technet.microsoft.com/Forums/windows/en-US/2dfc0cd9-7d1b-41de-abce-e03fb6a5a383/metro-apps-not-working-in-windows-8-pro-x64-after-moving-users-and-programdata-folders?forum=w8itproinstall
    http://social.technet.microsoft.com/Forums/windows/en-US/8eee52c2-db0f-4032-8c72-7cd999e8b41a/windows-8-apps-installing-to-secondary-drive?forum=w8itprogeneral
    http://social.technet.microsoft.com/Forums/windows/de-DE/f5e33ac9-beab-4b99-b3ca-7cb5e6f415e4/how-do-you-change-metro-apps-default-install-location?forum=w8itprogeneral
    Regards, Bill
    The registry method does not work with 8.1.  I found this out the hard way.  Doing it on 8.1 will leave you reinstalling the OS if you didn't do a SRP beforehand.

Maybe you are looking for