can we have the same name be given to a symbol and to its instance in AS3
rocknbil
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
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
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
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