View Full Version : Externally load a swf
dilpreet
11-25-2009, 08:47 AM
Hey
i am trying to load an swf in a little rectangle and not the whole window. Just wondering if it's possible.
thanks
aseptik
11-25-2009, 09:02 AM
?????
what you mean?
regarding rectangle , are you talking about a part of the html? or a part of a flash file?
dilpreet
11-25-2009, 09:07 AM
sorry, i mean inside a flash file, i have a rectangle 300, 200 and i want the externally loaded file to come in their
tadster
11-25-2009, 02:55 PM
after you load the swf, instantiate it as a Sprite, then if your rectangle is a Sprite, simply use :
theNameOfYourRectangleSprite.addChild(yourLoadedSW FasASprite);
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.