Hey all, basically i have an empty AS3 fla file with just the following code:
import fl.controls.CheckBox;
var cb1 = new CheckBox();
cb1.label = "Beets";
cb1.y = 10;
addChild(cb1);
But when i run it, i keep getting this error:
TypeError: Error #1009: Cannot access a property or method o开发者_如何学Pythonf a null object reference.
    at fl.controls::CheckBox/drawLayout()
    at fl.controls::LabelButton/draw()
    at fl.core::UIComponent/callLaterDispatcher()
What am i doing wrong? :S
Hey all, basically i have an empty AS3 fla file with just the following code:
Did you add to your library a checkbox component?
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论