homepage Welcome to WebmasterWorld Guest from 174.129.80.166
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

    
Naming in AS3
dukelips




msg:3994557
 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

 

rocknbil




msg:3994575
 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.

dukelips




msg:3994695
 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

rocknbil




msg:3995022
 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.

dukelips




msg:3995736
 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved