Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 114192

Re: Following Doug Winnie's Episode 19 Drag and Drop Objects

$
0
0

Based on the errors it appears you have assigned something a class name "dragMe" and are confusing that with an instance name.  The dragMe in your code is targeting an instance on the stage, not a class.

 

You should learn and try to follow naming conventions.  It will not only help you but will help others to help you as well.  Class names are normally written starting with an uppercase letter.  So in this case the class name would be DragMe (or Dragme).  The instance name of that object on the stage, which you assign in the Properties panel, could then be dragMe, or chester, or whatever else that begins with a lowercase letter.

 

What you might need to do is to right click the object in the library and choose Linkage, or Properties, and in there you want to change the Class name.  If this happens to be a class file that you created, then you will want to change that file's class name to the uppercase version.


Viewing all articles
Browse latest Browse all 114192

Trending Articles