A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: _x = _width

Threaded View

  1. #1
    Registered User
    Join Date
    Mar 2001

    _x = _width


    i am trying to load a number of external swf's into a parent movie the tricky bit is I want them to line up on the x axis regardless of width (height is the same on all)

    so if movie 1 is 300px wide i want movie 2 to be placed at _x=300 the movies loaded in will vary in size so if i can get it to read the ._width of the previous movie, i will only have to update the child swf's

    at the moment i have them loading into empty mc's on the stage, but when i set the _x of the clip to the_width of the previous movie it returns 0 (zero)

    is it because the script is called before the external movie is loaded, they are only small. if so how do i get round that?

    Last edited by 3quid; 10-13-2004 at 05:42 PM.

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