[SWFObject] flashVars text

Aran Rhee aran.rhee at qdc.net.au
Sun Nov 26 14:09:03 PST 2006


Peter.

Any text variable can be displayed on any timeline. You have to "target" it
correctly though.

Let's say you have a variable you pass though in flashvars called
"mymessage"

If you had a movieclip called MC1, and it had a texfield called
aDisplayField inside, you would so something like this to display it:

(on a main timeline frame)

MC1.aDisplayField  = mymessage;


Or if you were placing within your MC1 movielcip.

aDisplayField = _parent.mymessage;

// _parent goes up one level of movieclip hierarchy



BTW - This is really a basic flash question which is not swfObject related,
and you are probably better to ask these type of questions on a general
flash list, like flash coders.

Aran

> -----Original Message-----
> From: swfobject-bounces at lists.deconcept.com 
> [mailto:swfobject-bounces at lists.deconcept.com] On Behalf Of 
> Peter Zanetti
> Sent: Sunday, 26 November 2006 8:45 AM
> To: swfobject at lists.deconcept.com
> Subject: [SWFObject] flashVars text
> 
> can the flashvars text be displayed inside a movieclip or 
> only in a text box on the main timeline?
> 
> Pz
> 
> 
> _______________________________________________
> SWFObject mailing list
> SWFObject at lists.deconcept.com
> http://lists.deconcept.com/listinfo.cgi/swfobject-deconcept.com




More information about the Swfobject mailing list