[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

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).

[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 something?

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. Am I

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 he...@henke37.cjb.netwrote: 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

Re: [Flashcoders] fscommand Issue.

2010-12-12 Thread Omar Fouad
Anyone?? On Sun, Dec 12, 2010 at 9:01 PM, Omar Fouad omarfouad@gmail.com wrote: That doesn't work at all :D I already tried it... On Sun, Dec 12, 2010 at 8:55 PM, Henrik Andersson he...@henke37.cjb.netwrote: Omar Fouad skriver: Hello all, I'm trying to call a function in

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: