A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Loading swf. inside swf.

  1. #1
    Junior Member
    Join Date
    Jun 2000
    Posts
    21

    Loading swf. inside swf. question?

    when loading a swf. inside an swf. how do I tell the X_ Y_ location for the movie to load at?

    It seems to load by default at x:0 y:0

    Thanks in advance.
    Last edited by delusional; 11-18-2003 at 01:53 PM.

  2. #2
    I'm not a vegetarian
    Join Date
    Sep 2001
    Posts
    498
    yes 0, 0 is default. move your holding clip if you want it somewhere else.
    give me all your lentils

  3. #3
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Or if loading on levels, set the coordinates from whitin the "to be loaded movie" itself, with the following on it's first frame...

    this._x = 150; // offset from top-left corner (0,0)
    this._y = 50; // offset from top-left corner (0,0)

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