Sunday, June 17, 2012

[Action Script] Help! I've somehow locked a classname June,2012

Hi everyone. I'm trying to link library objects with classnames, and i've run into a problem.

I created a library symbol (we'll call it myObject) and i exported it for actionscript, so it's class is myObject too.

however, i forgot that i'd created this thing, and i ended up creating it again, resulting in "myObject copy"


Anyway, the second version was superior, and it was more what i wanted, so i figured i'd just get rid of the first one, and replace it with the second. I deleted "myObject", and renamed "myObject copy" to "myObject".

But now, i'm unable to export this object for actionscript. When i attempt to do so (classname myObject) it gives me the following error:

"Please enter a unique classname that is not associated with other library symbols"

As far as i can tell, what this means is that the original myObject isn't deleted properly, and is somehow still reserving that classname for itself. Since deleting it, i have saved and reloaded the .fla, in the hopes that would clear it out, but it did not.

This problem will not be easy to work around, as i'd have to change a whole naming convention and redo a lot of work, to accomodate a different name. I need to unlock that class name so i can use it properly.

does anyone know how ?
Help! I've somehow locked a classname

Related Post



0 comments: