class Cow extends MovieClip
{
    function Cow()
    {
        _alpha = 50;
    }

    function onRollOver()
    {
        trace("onRollOver");
        _alpha = 100;
    }

    function onRollOut()
    {
        trace("onRollOut");
        _alpha = 50;
    }
}


----- Original Message ----- 
From: "Sébastien Pierre" <[EMAIL PROTECTED]>
To: "Open Source Flash Mailing List" <[email protected]>
Sent: Monday, July 25, 2005 10:15 AM
Subject: [osflash] How to properly handle rollOver and rollOut in MovieClips


Hi there,

I am having a hard time trying to make pure-ActionScript movie clips
react to events, especially rollOver and rollOut events. Has anybody
got an example, compilable with MTASC, of proper event handling in a
movie clip ?

TIA,

  -- Sébastien


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org 


_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to