From: thomas m. <tho...@gm...> - 2006-08-23 16:48:48
|
hi well my code and the code in any test method of Test classes do just that so thats why I didn't understand the errors ... and they don't happen when I am compiling agaisnt the intrisics and loading the library at runtime so I thouhgt i was not a problem of view hierarchy which hopefully I assimilated now :) On 8/23/06, Ray Chuan <rc...@gm...> wrote: > > 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 > > ------------------------------------------------------------------------- > 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 > -- ---------------------------------------------------------- Thomas Mery en concert : Septembre 20/09 OPA - Paris Octobre 14/10 Limoges 15/10 --- 16/10 --- 17/10 Toulouse 18/10 --- 19/10 Bordeaux 20/10 --- 21/10 Reims Novembre 10/11 Macon http://www.myspace.com/thomasmery http://www.thomas-mery.net ---------------------------------------------------------- |