________________________________
From: Valentin Schmidt <[email protected]>
To: Flash Coders List <[email protected]>
Sent: Mon, March 8, 2010 1:48:18 PM
Subject: Re: [Flashcoders] swf doesn't work the same online

> Hi; I built a swf that works the way I want it in Flash, but when I
> upload it, it acts differently! I built buttons in as3 like this:

your code is corrupted:

>         function onRollOutHandler(e:MouseEvent)
>         {
>             if (e.currentTarget.name == ' Home ') 
>             {
>                 Navigation(' Home ', 'index', 235, 0x0e778a);
>         }

the IF statement is not closed!

No, the if statements were closed. I just edited some stuff out and missed 
that. The code works perfectly well in the swf in my Flash, and that's what 
confuses me.
John

cheers,
valentin
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



      
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to