If your component live preview is generated by Flash, when you specify an AS2 class in the Component Definition dialog, then you can check for _global.isLivePreview in your class code. Some of the V2 components use this.
That variable is populated by Flash when your live preview is generated that way. If your live preview is a SWF that you've published, then you can just provide a variable such as this yourself. Derek Vadneau ----- Original Message ----- From: "Judah Frangipane" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> Sent: Wednesday, December 14, 2005 2:22 PM Subject: SPAM-LOW: [Flashcoders] Live Preview Woes I am working on a component that attaches a movieclip. When I drag it to the stage it attaches multiple copies of this movieclip skipping my checks and balances. But when I test the movie it works fine and only shows one instance like i designed it to. Is there anyway to find out in my component class file if the instance is on the stage or in a test movie? _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders