it didn't work with SomeFreakinCoolWayToDOIt, so i modified the width of the loaded swf, added 400 px, and now it's rendering well... so .... what's going on there?
On May 21, 2:09 pm, Fabrice3D <[email protected]> wrote: > you need to take in account the container of the loaded swf. > > look at this example, using rects top/left a la flash, may be less > confusinghttp://groups.google.com/group/away3d-dev/browse_thread/thread/b194a0... > > --> the "SomeFreakinCoolWayToDOIt" part is what you need > > Fabrice > > On May 21, 2010, at 12:40 PM, claudiul25 wrote: > > > > > i have the same issue with view and clipping > > > i have a swf, containing 3d, it views fine. > > > i load this swf into an interface, at position (300, 200). in the 3d > > swf, the view.x = this.x + 500/2 ; view.y = this.y + > > > 300/2; and the clipping is rectangle with min, max coordinates set > > alright(-500/2, -300/2, 500/2, 300/2) > > > i undestand that the view is related to stage, so that's why i set the > > view's coordinates in relation to it's parent > > > coordinates (the 3d swf being loaded in the interface) > > > when it loads, the view is being chopped without reason. and i've made > > a test to move the view inside the 3d swf, and when it > > > reaches a certain point it vanishes... > > > so... i don't know what's wrong. > > > p.s - i'm using the latest 3.5 version of away3d, > > >http://away3d-dev.googlegroups.com/web/standaloneView.JPG?gda=fKxm3kQ... > > >http://away3d-dev.googlegroups.com/web/interfaceView.JPG?gda=hBuVWkMA...
