I like the Delegate from DynamicFlash better. It
passes in the function that invokes the event so you can unregister the event
easily, this way you can avoid using mx stuff all together.
- Tangent
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Richter
Sent: Thursday, February 09, 2006 10:45 AM
To: 'Open Source Flash Mailing List'
Subject: Re: [osflash] MTASC and Delegate
thanks, that did the trick!
Hi Stefan,
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Stéphane Bebrone
Sent: 09 February 2006 15:23
To: Open Source Flash Mailing List
Subject: Re: [osflash] MTASC and Delegate
You must specify the mx classpath location in your command line to compil.
For ie:
mtasc.exe -cp "D:\documents and settings\Shaoken\Local Settings\Application Data\Macromedia\Flash 8\en\Configuration\Classes"
Cheers,
2006/2/9, Stefan Richter <[EMAIL PROTECTED]>:I am sure this has come up before:can someone tell me through whcih hoop I have to jump in order to get Delegate into my MTASC compiled swf?Right now I compile using -mx and I have gotimport mx.utils.Delegate;at the top of my class yet thisvar foo = mx.utils.Delegate;triggerstype error Unknown class mx.utils.Delegate
Why is that and how can I fix it? Eventdispatcher does the same. Flash compiles it fine.
Thx
Stefan
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
Regards,
Stéphane Bebrone
--------------------------
Flash | ASP.NET | Web Developer
http://weblog.shaoken.be
--------------------------
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
