use the -mx flag but embed the delegate and event dispatcher in your swf. In the flash ide on frame 1 of the stage type :
mx.utils.Delegate; mx.events.EventDispatcher; and save. This forces those classes into your swf. Grant ----- Original Message ----- From: Cosmin Cimpoi [EMAIL PROTECTED] To: Open Source Flash Mailing List [email protected] Sent: 10/25/05 8:50 AM Subject: [osflash] -mx and delegate > Hello. > I am using mtasc and getting the "type error Unknown variable _parent" error > while compiling because I am also using a List component. > The reason why I don't use -mx is because I am also using the Delegate and > EventDispatcher classes. If I put in -mx those classes stop working. > Can anyone give me a hint for solving this problem? > > thanks, > cosmin > > ------------------------------------------------------------------------------------------- > Cosmin Cimpoi > Web Developer - Team Technology (OT) > ------------------------------------------------------------------------------------------- > monogroup Srl > piata unirii nr 4-5 > 400013, Cluj-Napoca, Romania > > tel. (+40) 264594667 > fax. (+40) 264594667 > mail. [EMAIL PROTECTED] > www.monogroup.ro > ------------------------------------------------------------------------------------------- > This message is confidential and intended solely for the use by the > addressee. Any use of this message by a third party is prohibited. If you > received this message in error, please contact the sender and delete the > data from any computer and data carrier. > _______________________________________________ > 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
