-
inherited definition in namespace public ??
Hi,
I am making a keyboard in flash so players can enter their name. I made a symbol for a key and in that symbol is a textfield called ´letter´.
Now I can use the instance name of the key symbol to place the right character on the keybutton:
this.letter.text = this.name;
This works fine. But when i place more than 5 key instances, I get this message:
1152: A conflict exists with inherited definition flash.display:DisplayObject.y in namespace public.
What does this mean and how can i solve this? It's so strange that it only happens with more than 5 instances.
By the way: the message comes 3 times: mentioning DisplayObject.x, DisplayObject.y and DisplayObject.z
Last edited by thomastaris; 09-16-2014 at 09:14 AM.
-
.
Hi,
By all accounts it seesm it clashes with another name, or possibly a built in class name
-
Oh wow, how stupid of me. x, y and z are used for positioning. I gave the instances uppercase names now and everything works.
Thanks Fruitbeard!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|