contextView.addChild(...) crash !
Hi,
I'm trying to use for the first time RL, I have read some tuts before and now I want to give it a try by myself.
My problem is that on my only one command I try to add a view like this:
contextView.addChild(new Home());
A the runtime I always have the same error:
Error: addChild() is not available in this class. Instead, use addElement() or modify the skin, if you have one.
It seems I can't use the addChild method on the contextView command property.
Any idea why ?
Thanks
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by bali33 on 23 Nov, 2011 02:08 PM
Sorry, I just fount the solution !
Ondina D.F. closed this discussion on 24 Nov, 2011 11:45 AM.