This content has been marked as final. Show 8 replies
that would work IF your swf is in parent folder of Notation.
Thanks for the quick reply, kglad. Love your site!
Unfortunately though when I tried your suggestion it didn't fix the problem. I got the error message:
5001: The name of package 'Notation' does not reflect the location of this file. Please change the package definition's name inside this file, or move the file. /Users/markgoodes/Documents/Flash CS3 Projects/Notation/editField.as
I really wish the message would tell us which change was required instead of making us guess.
sometimes that message is erroneously generated. i haven't figured out a pattern, but simply copying and pasting code from one fla to a new one that's saved in the same folder, i've found will remedy the error message.
if you have trouble here's zip file with your code working:
Works! I thought it might be a Flash bug. Not that Flash tech support would ever admit it.
Thanks kglad. You've got me coding now.
PS Do you know of a good resource for information on setting up files and paths?
i'm not sure what you mean, by setting up files and paths, but that is an advanced actionscipt topic. there is an o'reilly book (actionscript 3.0 design patterns) that deals with this topic.
there are, at least, two free chapters available on the internet. i found them using google.