From: Ray C. <rc...@gm...> - 2006-08-23 16:37:46
|
Hi, this means that you're trying to display a "orphaned" view. See http://osflash.org/actionstep/documentation/views#hierarchy for more information. In ActionStep (or maybe Cocoa too), there are 2 types of views: a root view (ASRootWindowView) and a normal view (NSView). A root view can be displayed by itself, but a normal view can't. It needs to be inserted under a root view or another normal view (setSubview). So to fix the error, create a window. var wnd:NSWindow = ... wnd.contentView().setSubview(yourview); On 8/24/06, thomas mery <tho...@gm...> wrote: > hi all, > > posting again ... > > When I am running the actionstep cases (ASTest...) I am using as2lib and SOS > to do my tracing. > > I get a lot of : > > 18:09:33.473 org.actionstep.NSView.mcBoundsHolder():337 - > NSException( > NSException: > Cannot access bounds holder movieclip until NSView is inserted into view > hierarchy., > NSDictionary( > NSView=>NSView(frame=NSRect(origin=NSPoint(x=0, y=0), > size=NSSize(width=2000, height=2000)), > bounds=NSRect(origin=NSPoint(x=0, y=0), > size=NSSize(width=2000, height=2000)) clip=undefined) > ) > ) > > when the app starts and I have to say I don't get it ... > > it doesnt happen when loading the library with the Loader and compiling > agaisnt the instrinsics classes > > help appreciated (I kniow this has come up before but could not find the > post to the list :( ) > > thomas > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > actionstep-core mailing list > act...@li... > https://lists.sourceforge.net/lists/listinfo/actionstep-core > > > -- Cheers, Ray Chuan |