Without SWFMill, no. Try this:
createEmptyMovieClip("test_mc", 0);
test_mc.__proto__ = Cow.prototype;
That should do it.
----- Original Message -----
From: "Sébastien Pierre" <[EMAIL PROTECTED]>
To: "Open Source Flash Mailing List" <[email protected]>
Sent: Monday, July 25, 2005 11:05 AM
Subject: Re: [osflash] How to properly handle rollOver and rollOut
inMovieClips
Le 25 juil. 05 à 16:32, JesterXL a écrit :
> class Cow extends MovieClip
> {
> function Cow()
> {
> _alpha = 50;
> }
>
> function onRollOver()
> {
> trace("onRollOver");
> _alpha = 100;
> }
>
> function onRollOut()
> {
> trace("onRollOut");
> _alpha = 50;
> }
> }
>
This would be great, but sadly I can't get to properly instantiate my
own specialized MovieClips with MTASC... Do you have a complete
working example that does so ?
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