import flash.external.*;
readout.text = ExternalInterface.call("function(){ return
myGlobalJavaScriptVariable; }");
Grz,
Cor van Dooren
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Omar Fouad
Sent: zondag 12 december 2010 20:56
To: Flash Coders List
Subject: Re: [Flashcoders] fscommand Issue.
Anyone??
On Sun, Dec 12, 2010 at 9:01 PM, Omar Fouad <[email protected]> wrote:
> That doesn't work at all :D I already tried it...
>
>
> On Sun, Dec 12, 2010 at 8:55 PM, Henrik Andersson
> <[email protected]>wrote:
>
>> Omar Fouad skriver:
>>
>> Hello all,
>>>
>>> I'm trying to call a function in JavaScript from a SWF file (AS3).
>>> fscommand("start", "1");
>>> This function works fine. However, when I pass a variable to the
>>> fscommand
>>> parameters argument, JavaScript doesn't work:
>>> fscommand("start", myString); // this doesn't work.
>>>
>>> Am I missing something?
>>>
>>>
>> How about the ExternalInterface class?
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>
>
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 10.0.1170 / Virus Database: 426/3306 - Release Date: 12/09/10
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders