Hi Alex,
How do you know compiler didn't compile it? << i did
make some dummy swf from flash9 and it works, but when
i use swf from compiler it doesnt work
but i have solve it
the command on flash(predefined template) should be
change into:
import flash.events.*;
var donePlaying:Event = new Event("chapter1",true);
this.dispatchEvent(chapter1);
Thanks a bunch :)
great community!
--- Alex Harui <[EMAIL PROTECTED]> wrote:
> How do you know compiler didn't compile it? Maybe
> you're not listening
> to the right object.
>
>
>
> Please post some code.
>
>
>
> ________________________________
>
> From: [email protected]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Ary
> Sent: Tuesday, August 28, 2007 7:44 AM
> To: [email protected]
> Subject: [flexcoders] Flex Module (Apache Problem)
>
>
>
> Hi,
>
> im using Flex module (mxmlc) to write a swf file
> from
> a predefined swf file
>
> i put this command into one of the frame on the
> predefined swf, so i can detect the event on the
> flex
> import flash.events.*;
> dispatchEvent(new Event("chapter1"));
>
> but when i compiled the new swf, flex cant detect
> the
> event, in other words compiler eliminate the
> command?
> have anyone experienced this before?
>
> thanks in advance
> ary.
>
>
__________________________________________________________
> Luggage? GPS? Comic books?
> Check out fitting gifts for grads at Yahoo! Search
>
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz
>
<http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz>
>
>
>
>
>
____________________________________________________________________________________Ready
for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/