RE: [Flashcoders] fscommand Issue.

2010-12-12 Thread Cor
import flash.external.*; readout.text = ExternalInterface.call("function(){ return myGlobalJavaScriptVariable; }"); Grz, Cor van Dooren -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Omar Fouad Sent: zon

Re: [Flashcoders] fscommand Issue.

2010-12-12 Thread Omar Fouad
Anyone?? On Sun, Dec 12, 2010 at 9:01 PM, Omar Fouad wrote: > That doesn't work at all :D I already tried it... > > > On Sun, Dec 12, 2010 at 8:55 PM, Henrik Andersson > wrote: > >> Omar Fouad skriver: >> >> Hello all, >>> >>> I'm trying to call a function in JavaScript from a SWF file (AS3).

Re: [Flashcoders] fscommand Issue.

2010-12-12 Thread Omar Fouad
That doesn't work at all :D I already tried it... On Sun, Dec 12, 2010 at 8:55 PM, Henrik Andersson 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

Re: [Flashcoders] fscommand Issue.

2010-12-12 Thread Henrik Andersson
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.

[Flashcoders] fscommand Issue.

2010-12-12 Thread Omar Fouad
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 somethin

Re: [Flashcoders] RE: swf not compiling

2010-12-12 Thread Juan Pablo Califano
You've got a point. I read (but I don't know this first hand) that CS4 uses the SDK compiler. Maybe it's a modified version to accomodate the IDE needs (compiling graphics and other assets that the SDK doesn't have to deal with: think moviclips with their timelines, animations, shapes, etc). Probab

[Flashcoders] As3 startDrag on triangular shaped jigsaw piece using transparent png

2010-12-12 Thread Paul Steven
> > Making a quick jigsaw puzzle with triangular pieces and up against the clock. > Bit of a problem where the startDrag is detected when mouse over transparent > area of piece. Each piece is triangular shaped by having outer area > transparent in source png file. I see hitTest with shape flag