Button with null graphics context
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
jeash |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
I'm using NME to export to HTML5 and I tried adding a SimpleButton to the scene.
I'm loading the button with nme.Assets, I double-check the location of my PNG and I tried :
"var buttonIcon = new jeash.display.
buttonIcon.name = "buttonIcon";
this.button = new jeash.display.
this.button.name = "continue";"
But when I load my page, I get "uncaught exception: [SimpleButton name=continue id=NXAA2KKB-
I use an alert to show this.button.
Where is the missing graphic ?
Thanks
I just looked up jeash.display. SimpleButton. hx and I noticed there is no override of the function jeashGetGraphics(). So it uses the DisplayObject implementation, which returns always null.
Did I miss something or is it a bug ?