PDA

View Full Version : Learning Actionscript 3



Garfty
June 8th, 2008, 02:29 PM
Hi all,

Currently learning Actionscript 3 from this wonderful book, however i've reached the point where i would like to start experimenting with new things.

So i started to develope the OOP navigation bar, this seems easy and a walk in the park, so i've done this only to keep getting the same 2 errors.

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

5000: The class 'Main' must subclass 'flash.display.MovieClip' since it is linked to a library symbol of that type.

I have downloaded the file from the LAS3 site with the test code for this project and compared them very closely, however there is not difference, I have even used my code in the test file and that version still works as expected but my version still displays the errors.

I have even copied over the movieclip I have created and that also works. I can not see what is wrong.

Deleting the ASO files also does nothing.

I have attached my project for anyone who is willing to take a look, and I will be online all night for anyone who is willing to help.

Thank you

snickelfritz
June 8th, 2008, 07:03 PM
Changed _label to _blable, and the file works.
Dunno where the "_label" conflict was coming from.

Garfty
June 9th, 2008, 01:04 PM
Changed _label to _blable, and the file works.
Dunno where the "_label" conflict was coming from.

No idea, if you go to http://www.learningactionscript3.com/

and in the OOP section of the downloads it's there, It's bugging me, because i don't know if it's a glitch with Flash or me

Garfty
June 9th, 2008, 01:06 PM
Thank you by the way =]

maexchen
July 21st, 2008, 05:55 PM
comment the variable, wich produces the error out.

like in this case: //public var _label:TextField;

this worked for me. don't know why......