Maybe perhaps your menu MovieClip is already loaded and has his onLoad Event
fired before you rollOver on your button :)
My 2 Cents.
St3fX
2008/1/20, Dwayne Neckles <[EMAIL PROTECTED]>:
>
> Any one knows why if the code below is placed on a button, the "ONLOAD"
> function doesnt work
> but the onEnterframe function does..
>
> _root.menu is a movie clip..
>
>
> on (rollOver) {
>
>
> _root.menu.onLoad = function() {
> var test = "love";
> trace("Lol");
>
> };
> _root.menu.onEnterFrame = function() {
>
> };
>
> }
>
> _________________________________________________________________
> Helping your favorite cause is as easy as instant messaging.You IM, we
> give.
>
> http://im.live.com/Messenger/IM/Home/?source=text_hotmail_join_______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders