var myContent:MovieClip = loadEvent.currentTarget.content as MovieClip; ...
then later... myContent.myVar = something; On 4 June 2010 18:46, Lehr, Theodore <[email protected]> wrote: > What would it's instance name be? > > my last line is: > > addChild(loadEvent.currentTarget.content); > > ________________________________________ > From: [email protected] [ > [email protected]] On Behalf Of Henrik Andersson [ > [email protected]] > Sent: Friday, June 04, 2010 12:39 PM > To: Flash Coders List > Subject: Re: [Flashcoders] setting variable > > Lehr, Theodore wrote: > > So I am loading a swf - How can I set a value of a variable in that swf > from the parent? > > Same as if it was a mc that you hadn't loaded separately. > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ > Flashcoders mailing list > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

