ben, you cannot have a button inside another button...

That is why your code wont work.

paste this over your current code

m1.onRollOver = function ():Void
{
   this.gotoAndStop (20);
};
m1.onRollOut = function ():Void
{
   this.gotoAndStop (1);
};
m1.m2.onPress = function ():Void
{
   trace("HI")
   getURL ("http://www.cnn.com";, "_blank");
};

as you will see the trace("HI") will never fire because the m1 button movieClips hit area will expand to the total size of the movieClip.

rethink your setup, this will never work despite all the help in the world

have you tried that Byron, and does that work for you? I've tried it here,
and makes no difference at all...

strange that such a simple thing is so hard to solve...

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Byron
Canfield
Sent: maandag 20 maart 2006 1:18
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] movieclip actions not working

Actually try this, instead.

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


_______________________________________________
Flashcoders@chattyfig.figleaf.com
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