tom rhodes wrote:
var myContent:MovieClip = loadEvent.currentTarget.content as MovieClip;
It is never a good idea to just cast to MovieClip. Cast to the real
class of the object. Or at least an interface that you know that it will
implement.
Do note that there are complications regarding ha
urrentTarget.content);
>
>
> From: flashcoders-boun...@chattyfig.figleaf.com [
> flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Henrik Andersson [
> he...@henke37.cjb.net]
> Sent: Friday, June 04, 2010 12:39 PM
> To: Flash Coders List
> Subject:
riday, 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 l
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
Flashcoders@chattyfig.figleaf.com
http://chattyfig.f
4 matches
Mail list logo