A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Load Movie in Particular Positon

  1. #1
    Junior Member
    Join Date
    Mar 2002
    Posts
    9
    How do I load a movie in a particular position?

    For example, I have several buttons - each button
    will load a different movie, but I want each different
    movie to load in one particular area on the page.

  2. #2
    always for rent
    Join Date
    Oct 2000
    Location
    Seattle
    Posts
    307
    load the movie into a target that is in the desired position.

    jeremy

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Posts
    9
    So I need to create a movie clip of
    each movie so that when the user
    clicks a button it always loads the
    movie clip in the same place on the
    page?

    Sorry for the dumb questions

  4. #4
    Junior Member
    Join Date
    Jan 2001
    Posts
    14
    Are you targeting movie clips or loading external movies? If you are loading external movies, you can load them into a "targeted" movie clip "holder" (just a movie clip thats empty) instance positioned where you want them on the stage.

  5. #5
    Junior Member
    Join Date
    Jan 2001
    Posts
    1
    You can leave the first frame of each of your movie clips blank. Place each movie where you want it on the stage (you won't see it, only a tiny circle appears because first frame is blank), then name each movie instance. You can then use your buttons to call each movie instance and they will appear where you placed them. I hope this is what you are looking for.

  6. #6
    Junior Member
    Join Date
    Mar 2002
    Posts
    9

    I currently have seperate individual movies for
    each one. I have a "holder" movie clip (or an
    intro movie area / placeholder). In this "placeholder"
    is where I would like each seperate movie to
    locate itself. It sounds like that's what your
    talking about, but how does it know where to go?

  7. #7
    Junior Member
    Join Date
    Jan 2001
    Posts
    14
    loadMovie ("yourmovie.swf", "_root.movieholdername");

    Is this what your looking for? Load the external movie (yourmovie.swf) into the targeted holder (movieholdername). Make sure you give the holder an instance name on the stage.

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