dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: LoadMovie

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    21
    Hi people, i'm trying to load an external .swf file but it just ain't working right.

    Does anyone know the actionscript code to load an .swf in the main movie on certain coordinats. Like the movie has to load 100 pixels from the left and 50 pixels from the right. Does anyone know the actionscript code for this?

  2. #2
    Create MC instance name myMC.

    place this on button
    Code:
    on (release) {
        loadMovie("myflashfile.swf", "myMC");
    }
    Than position myMC anywhere u want

    If loading on level: first position content of myflashfile.fla on 50X100 (or where u want it to show)
    than
    Code:
    on (release) {
        loadMovieNum("myflashfile.swf", 1);
    }

  3. #3
    Junior Member
    Join Date
    Apr 2002
    Posts
    21
    Thanx, that helped.

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