A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Multiple Movies

  1. #1
    Junior Member
    Join Date
    Jul 2007
    Posts
    2

    Multiple Movies

    Hello,

    Flash CS3:

    I want to have a column of nine buttons on the left side of the stage. When the user clicks on button, the desired .FLV movie plays on the right side of the stage (progressive streaming).

    Questions:
    I know this must be sloppy but for a newbie is it easier to make 9 different labels on the timeline, one for each movie and have the playhead jump to a .FLV component for each movie?

    It must be easier to have the buttons reference a location on the server (www.mywebsite.com/videos/sample.flv) and using one label. I cannot figure out the code to save my life!

    I have a background in Director but I'm completely lost with Action Scripting (so far).

    In a perfect world, some one would point me to a script in which all I have to do is change the name of the button, video and location of the video on the server.

    Do i have to unload or clear memory every time a new button is clicked and video accessed?

    Do all the video have to be the same size?

    Thanks in advance

  2. #2
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Here's an F8 fla with buttons and loads the first flv when the movie loads.
    Attached Files Attached Files

  3. #3
    Junior Member
    Join Date
    Jul 2007
    Posts
    2
    Thanks VERY much for the effort!

    I got it to work but I'm sure I'll have some questions..

    why action script 2.0 instead of 3?

    thanks again!

  4. #4
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    I barely get by with AS 1 as it is.

    If you have questions, just ask in this thread again so I'll see it.

    The commented out code in the other frame will just play one after the other flv's, no buttons needed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center