homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Naming in AS3

 12:56 am on Sep 24, 2009 (gmt 0)

can we have the same name be given to a symbol and to its instance in AS3



 1:46 am on Sep 24, 2009 (gmt 0)

Absolutely, as long as the two don't have the same scope and create problems, but it's really confusing to debug. :-) I usually let myself get away with it on simple stuff.


 6:45 am on Sep 24, 2009 (gmt 0)

Earlier when i used to work with cs3 it dint show any errors (may be i was working in as 2)

but recently we got cs4 and error:1046 pops out when the instance and symbol name are the same


 4:16 pm on Sep 24, 2009 (gmt 0)

Well, I've never had a problem with it, but a search for 1046 error Flash turns up some results that indicate I may be wrong. I have some simple Flash files doing this and no problems, but they are AS2 and older.


 4:12 pm on Sep 25, 2009 (gmt 0)

if adobe concentrates on providing a more clearer picture like MS (in development) , it will be beneficial for everyone

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved