How can I import a video and play on Flash with a click of a button?

Basically I want to create a set of animation sequences on Maya and import them to Flash as avi or flv and then play the movie clip after a button is clicked, how can I do this?
My idea is to create a multiple choice interactive game where the user has to select the right choices to get to the right ending which is why I need to know how to link buttons to movie clips and be able to stop them at the right time with more buttons and text being displayed for the next set of movie clips. 
Also after the video is done being played do I just put a stop(); at the end of the Actionscript so the video stops and the choices (text) appear on the screen for the next video sequences?
I know how to link a button to a scene or frame but I don't know how to link a button to a video or many video/movie clips....
Thank you
Also I may have other questions just pop into my head so if I edit and repeat a lot I'm sorry...

Thanks but what if the clips are long and quite big in size?
Put all he files separately from flash in the same folder as your swf and let the FlvPlayback Component load them when needed.
Can I play a movieclip basically by the press of a button???
Yes
and does it have to be flv or can it be avi?
you can use flv or f4v (f4v is recommended if the files are really long (+10 Minutes) no avi, mov or other container

Similar Messages

  • In Windows how can I save a video just played by Flash Player?

    In Windows how can I save a video just played by Flash Player?

    This is what I ended up doing.  I put the FLVPlayback inside a movieclip and put this on the first frame:
    stop();
    var vidTime:Number=0;
    on the frame that the video plays on I have the video and a close button (which is a movieclip) and I put the following script:
    if(vidTime>0)
        htMeasVid.seek(vidTime);
    close_btn.addEventListener(Event.ENTER_FRAME, seekCount);
    close_btn.addEventListener(MouseEvent.MOUSE_UP, closeBtnUp);
    function seekCount(e:Event):void
         vidTime=htMeasVid.playheadTime;
    function closeBtnUp(e:MouseEvent):void
        e.currentTarget.parent.play();
    on the following frame I have this code:
    close_btn.removeEventListener(Event.ENTER_FRAME, seekCount);
    htMeasVid.stop();
    and then on the last frame I have this:
    gotoAndStop(2);
    so that it doesn't reset the vidTime variable to 0.
    Thanks again for the help.

  • How can I import playlists, ratings, and play counts from an old iTunes library into a new one?

    After reading countless threads re: how to get the iTunes artwork screensaver to work, I decided to delete my iTunes library file and reimport all of music which resulted in fixing the iTunes artwork screensaver.  Unfortunately (and expectedly), my playlists, playcounts, and other information were lost with the creation of a new library.  Is there any way to import the playlists, ratings and play counts for my music from an old library file to my current one?  I realize this may be complex, but I'm up for the task.
    Thanks in advance,
    B

    I can't begin to describe how frustrating the screensaver issue has been for me (and I suspect countless others, judging by the number of threads on the topic). 
    I took your advice, though, just to test it.  After backing up my current library.itl, I copied and pasted the old .itl file into its place.  As expected the playlists, play counts, etc were instantly restored.  And now the screensaver fails to work with the dreaded error 'No iTunes artwork found' which makes me think it IS an issue with the old library file.  The only work around I've seen so far is to rebuild the library (which I did). 
    I'm afraid I'm going to be forced into choosing either a working screen saver or all my itunes data.  Very frustrating indeed.
    Here's a link to the 'definitive' fix for the screensaver, if you're interested.
    https://discussions.apple.com/thread/3695200?start=0&tstart=0
    Thanks again,
    B

  • I have a mac mini (without sd/sdhc card slot) and a sony cx160e camcorder and i want to import 50p video files, but i don't want to convert my video's. How can i import my video's?

    i have a mac mini (without sd/sdhc card slot) and a sony cx160e camcorder and i want to import 50p video files, but i don't want to convert my video's. How can i import my video's?

    Connect the camera to the computer with a USB cable and use the camera as the card reader. Make sure the camera is in playback mode.

  • 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 can I delete the video and keep the Audio  in a few frames using Imovie 11

    How can I delete the video and keep the Audio  in a few frames using Imovie 11?

    I've met the problem too before. but i solved it with  Audio Converter Mac instead of iMovie. If you have similar situation that just want to keep audio but not video, and if your file format is not workable in iMovie, you can use the Audio Converter for help too. it can easily help to extract audio soundtrack from any video format. Or if you need to convert one audio format to another, it is a good choice too, because it supports many common audio output formats.
    <Link Edited By Host>

  • How can I listen to itunes and play a game at the same time on my ipad 4?

    How can I listen to itunes and play a game at the same time on my ipad 4? This means I need to run 2 apps at the same time itunes and my game.  The game has its own sound control so I can turn off its sound while i listen to itunes tracks.  But I don't know how to set it up so the ipad does both.

    Anytime you open an app that has a persistant sound stream - a movie, a podcast, some games - it will overide the music app's stream. nothiong you can do to change it.

  • 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 can I import youtube videos to iMac mediathek ?

    How can I import youtube videos to iMac mediathek ?

    The problem with this question is that Youtube forbids downloads according to their terms unless there is a download option offered, so, in order not to violate the terms of these forums, we are not allowed to discuss such matters.

  • How can I sent my video and foto from iPhone to iPad ????

    How can I sent my video and foto from iPhone to iPad ????,

    Hi Dimi129,
    You can use Photo Stream to sync the photos and videos or you can use an app like DropBox: When you open the app in iPhone/iPad you can upload your Camera Roll to your DropBox folder (you need a DropBox Account) and later, in your iPad/iPhone, you can open the app again and download what you need.
    Greetings,

  • I took all my video with my iPhone turned the wrong way. When I view it on my pc it's turned on its side. How can I rotate the video and crop it?

    I took all my video with my iPhone turned the wrong way. When I view it on my pc it's turned on its side. How can I rotate the video and crop it?

    Try plugging it into a computer with iTunes opened. If you see anything that says restore, say no.
    Sometimes these issues resolve themselves when you connect the device to iTunes.
    What happens when you hold the home and sleep/wake button? I know it doesn't work, but does it shut off at all?

  • Imovie09 copies videos but doesn't import. how can I import my videos into imovie?

    imovie09 copies videos but doesn't import. how can I import my videos into imovie?

    Can you tell us what you actually mean by "iMovie09 copies videos but doesn't import"?
    If you have got your video into iMovie then it has imported it.Are you able to see your video in the Event Browser?

  • How can I import a .swf file in Adobe Flash CS4?

    Hi,
    How can I import a .swf file in Adobe Flash CS4?
    Thanks.

    you can use file/import but that would be a mistake.
    you should "load" your swf, not import it.
    if you want to load it and need help, are you using as2 or as3?

  • How can I open MWS (Maple) and WXM (wxMaxima) files directly by click on their links, without necessity to save them on my computer? Thanks in advance.

    How can I open MWS (Maple) and WXM (wxMaxima) files directly by click on their links, without necessity to save them on my computer? The links are present at a htm file.
    In the Internet Explorer it works. Mozilla isn't even able to recognize these applications to enable me to select a regime of their handling.

    hello TurZ, please set media.windows-media-foundation.enabled back to its default value and turn '''media.play-stand-alone''' to '''false '''instead.

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

Maybe you are looking for

  • Remote App won't list songs when sorted by artist

    I'm using the Remote App to control my iTunes running on my PC with Windows XP, it mostly runs fantastic and I love it!  One small and annoying problem though, when I search my library by artist and select an artist, it won't list any songs.  I am al

  • Multiple ports on single node cannot communicate

    I am a Sr. Tech Architect from SBC that it evaluating your product for utilization in our enterprise online order application in combination with the Solarmetric Kodo product. I was able to install and utilize your application and line command, sampl

  • Mail 2.1.1 recieves but doesn't send mail and gives no error message?

    I've an issue with mail on an I-Mac with 2 gig intel core duo running O/S 10.4.9 and mail app version 2.1.1. I was using the machine at my studio for a studio manager. I downsized the studio and gave that machine to my parents who have been using an

  • Error message when dragging bookmarks to trash

    When I try to delete a bookmark item by dragging it to the trash, I get this error message in Finder: "The item "Xxxxxx" can't be moved to the Trash because it can't be deleted." Well, yes it can be deleted - because despite the message, it is indeed

  • [Solved] Resolution/Text size changed after installing Catalyst

    I just installed the proprietary catalyst driver from the unofficial repositories and followed the wiki to successfully install the driver, however upon reboot, the text size(within all the terminals) appears to be twice the size of the regular size.