dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: loadMovie

  1. #1
    Junior Member
    Join Date
    Oct 2002
    Posts
    4

    loadMovie

    when loading a movie into another flash movie, how do you set the location where it appears on the movie??

  2. #2
    Young Senior Member mayhem_sci's Avatar
    Join Date
    Jun 2002
    Location
    Singapore
    Posts
    282
    load it into a container mc and set the location for that mc.

  3. #3
    Junior Member
    Join Date
    Oct 2002
    Posts
    4
    i did that, but when i move the MC around it doesnt change the location of the loaded movie

  4. #4
    Young Senior Member mayhem_sci's Avatar
    Join Date
    Jun 2002
    Location
    Singapore
    Posts
    282
    i dunno, it works for me

    my experience with loadmovie is that it tends to create problem becos of the loading time. u can test whether this is so by loading a movie and then changing the _x and _y a few frames down the timeline.

  5. #5
    Junior Member
    Join Date
    Oct 2002
    Posts
    4
    i think that i am loading to somewhere different than the MC...what would the loadMovie parameters be??

  6. #6
    Young Senior Member mayhem_sci's Avatar
    Join Date
    Jun 2002
    Location
    Singapore
    Posts
    282
    what i usually do is create an empty movieclip in _root, then attach the movie to this empty clip:

    _root.createEmptyMovieClip("empty",1);
    empty.loadMovie("something.swf");
    empty._x=someNumberX;
    empty._y=someNumberY;

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