;

PDA

Click to See Complete Forum and Search --> : Aligning A Loaded Movie


rhoe
03-31-2005, 03:04 AM
Maybe somebody can help me, I need to change the position and depth of a swf movie that I have loaded into the main swf file. At the moment it plays on the top layer in the corner, and I canīt find any controls which refer to the positioning of a loaded swf.
If anyone has any bright ideas, or other ways of acheiving the same result, Iīd love to know.
Hoe

necromanthus
03-31-2005, 03:45 AM
Create a rectangle (same size with the loaded SWF).
Convert it to movieclip and rename it holder.
Important note: the center of this movieclip must be the left upper corner !
Set the desired position and depth (see "Views / List of Shapes)") for this movieclip.
Set this script for the main timeline (the ROOT):
holder.loadMovie("whatever.swf");
stop();

that's all
;)