A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Opening a movie

  1. #1
    Junior Member
    Join Date
    Feb 2007
    Posts
    4

    Opening a movie

    Hey all,

    I ceated a movie, that has a play and stop button. How do I get this movie to open up on the screen (its a flash website) when a button is pushed on the website?

    2.) Is there a way to make the movie moveable so once its on the screen you can drag it?

    3.) Or this might be harder but getting the movie to open in a flash pop up>? IS that possible?

  2. #2
    Hey Timmy!!! walsher's Avatar
    Join Date
    Jan 2005
    Location
    Latrobe, PA
    Posts
    1,899
    Howdy, well there are a couple of ways to achieve this.
    1). Would be to make it a movieCLip and put it on the stage with its _visible set to flase. Then when you press the button it turns to true

    2). Make it a swf file and use loadMovie to bring the file into in the main swf file.

    3). Would use the attachMovie method. This is when you keep you movieclip in the library and when you press the button it will make a copy of the library object and put it on the stage.

    As for moving it you'd want to look up startDrag() in the Help files.

    I believe you could publish the movie seperately as an html file and use getURL("file name.html", "_blank");

  3. #3
    Junior Member
    Join Date
    Feb 2007
    Posts
    4

    thanks

    thanks walsher ill try those

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