dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loading external swf's

  1. #1
    Junior Member
    Join Date
    Aug 2005
    Location
    Sudbury, Ontario, Canada
    Posts
    8

    loading external swf's

    I am using the following script

    on (release) {

    loadMovieNum("demo/load.swf", 50,);

    load.swf._x = 200;

    load.swf._y = 200;

    }

    However the position still defaults to the upper left. What am I doing wrong?

  2. #2
    Senior Member
    Join Date
    Oct 2004
    Posts
    2,049
    try loading in to a MC instead of a level.

    on(release){
    loadMovie("demo/load.swf","myTarget");
    myTarget._x = 200;
    myTarget._y = 200;
    }

  3. #3
    Junior Member
    Join Date
    Aug 2005
    Location
    Sudbury, Ontario, Canada
    Posts
    8
    Thanks for the response.

    I am just starting into actionscript and am not sure of how to configure the MC. I am unable to load it into the library as there will be multiple folders, and the swf's will be uploaded from an external source.

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