File > Publish Settings On the Flash tab, next to ActionScript 3.0, click: Settings
Disable the "Automatically declare.." option.

regards,
Muzak

----- Original Message ----- From: "Johan Nyberg" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, January 25, 2008 10:26 AM
Subject: [Flashcoders] Errors in Flex when not declaring objects in theDocument 
Class


Hi, I've started using Flex as a code editor for coding Flash. But I have a problem. Flex keeps screaming error when I don't declare objects (MovieClips and Sprites) on the stage. But in the Document Class you shouldn't declare these - they are automatically declared in the internal namespace. When I declare them, I get a conflict in Flash saying:

1151: A conflict exists with definition hiddenPictures_mc in namespace internal.

If anybody has a solution to this problem, it would be greatly appreciated!


Regards,

Johan Nyberg

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to