http://www.google.nl/search?hl=nl&q=actionscript+interpreter&meta=



On 2/16/07, Michael Mudge <[EMAIL PROTECTED]> wrote:

As far as I know, you can't do this.  The Flash player is basically a
virtual machine (runs compiled code); it does not have a compiler, so it
can't take text-code and turn it into compiled code.  One possibility is
breaking up that string, dummy, in to "_root.aaa", "text" and "abc".
Then you can do this:

eval("_root.aaa")["text"] = "abc"

- Michael Mudge

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Berkay Unal
> Sent: Thursday, February 15, 2007 6:38 PM
> To: [FlashCoders]
> Subject: [Flashcoders] Evaluate string as actionscript?
>
>
> Hi Coders,
>
> I have a string variable called dummy. i want to evalute it
> so that the textfield on _root will have a value of "abc". I
> cannot made it with eval. How can i do that?
>
> Here is the sample.
>
> dummy = "_root.aaa.text= \"abc\""
>
> Thanks
> --
> Berkay UNAL
> [EMAIL PROTECTED] _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/> flashcoders
>
>
> Brought to you by Fig Leaf Software
> Premier
> Authorized Adobe Consulting and Training
> http://www.figleaf.com > http://training.figleaf.com
>

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to