hmmm reading your answer I think the question wasnt has hard as i thought . thanks for your help STEFX!. LOL
> Date: Sun, 20 Jan 2008 22:44:24 +0100 > From: [EMAIL PROTECTED] > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashcoders] running an action when a movieclip loads up > > 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 > > Flashcoders@chattyfig.figleaf.com > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > _______________________________________________ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders _________________________________________________________________ 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 Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders