Actually try this, instead.

m1.onRollOver = function(){
        delete this.onRollOver;
        //this.play();
        this.gotoAndStop(20);
}

-- 
Byron "Barn" Canfield


> Thanks for your help, but have you actually tried it? When I paste your
> code, it does not make a difference at all, the m2 button still does not
> launch a url when clicked.
>
> again, here's a link to a fla. See if you can get that to work...
> http://www.citogrid.com/v3/images/fla/whynot.fla
>
> thx,
> Ben
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Byron
> Canfield
> Sent: maandag 20 maart 2006 0:33
> To: [email protected]
> Subject: RE: [Flashcoders] movieclip actions not working
>
> Your first button event handler has already intercepted the mouse event.
> The button event handler nested inside is therefore ignored entirely.
>
> For your first button event:
>
> m1.onRollOver = function() {
>       gotoAndStop(20);
>       //or play();
>         this.enabled = false;
> }
> --
> Byron "Barn" Canfield
>
>
>>> stop action on frame 1
>>
>> stop();
>> m1.onRollOver = function() {
>>      gotoAndStop(20);
>>      //or play();
>> }
>>
>>
>>> stop action on frame 20
>>
>> stop();
>> m2.onRelease = function() {
>>      getURL("http://www.website.com";, "_blank");
>> }
>>
>
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to