Have you set these values in your project?
import flash.display.StageAlign;
import flash.display.StageScaleMode;
stage.align = StageAlign.TOP_LEFT;
stage.scaleMode = StageScaleMode.NO_SCALE;
On Thu, 21 Jan 2010 14:11:28 -0800, Casey Corcoran <[email protected]>
wrote:
Rob thanks for the pointer, I really appreciate it. One question since I
don't have a spare moment to try it yet and I'm going to be up all night...
Will "providing a clipping window" remove the dependencies on the stage? My
issue is that I want to have an area (or window) and control all the 3d
inside it based on it's own parameters. When I used the default stage-based
stuff I had things that were scaling up/down based on the size of the
browser window/swf. I can't have that since the 3d elements are used in 2d
layouts.
Hope I'm making sense... Thanks for all your work on A3D and the support
here, I really appreciate it!!
Casey Corcoran
------------------------------------------------------
Interactive Design & Development
[email protected]
On Thu, Jan 21, 2010 at 4:58 PM, Rob Bateman <[email protected]> wrote:
Hey Casey
the size of the view in Away3DLite and Away3D is controlled by the clipping
property. If you take a look at the following post, you should see how this
is set to provide a clipping window for your view:
http://groups.google.com/group/away3d-dev/browse_thread/thread/c66b57326c190ac0/68b1b5a2835d7385
try it out - the one difference with Lite is that you have to control
masking of the viewport yourself - although i'm sure this won't be the case
for very long
hth!
Rob
On Thu, Jan 21, 2010 at 8:31 PM, Casey Corcoran <[email protected]>wrote:
Looks like no one is biting on my earlier post and I really need to get
this figured out for a deadline. If you can just get me pointed in the right
direction I'll send you $20 via paypal or if some actual coding needs to be
done (Modifying Clipping, View3D, etc) we can figure that out too. I would
normally figure this out myself but I'm working on too many other things to
do the appropriate research etc. My earlier post is below in case you missed
it.
Thanks!
Casey Corcoran
------------------------------------------------------
Interactive Design & Development
[email protected]
On Thu, Jan 21, 2010 at 12:22 PM, caseyc <[email protected]>wrote:
Sorry for the n00b question but I'm confused. I'm using Away3D lite
for the first time on a project, for "card" type effects, coverflow,
flipping, etc etc. I basically just need to create 3d views/widgets
that stand on their own, not a 3d environment.
I'm confused as how to set up a standalone view that has it's own
width/height/x/y and does not rely on the stage. I've been able to do
a few things with the default set up, but they are scaled based on
stage dimensions (this is in a "noscale" environment)
Ideally I just want to have a view with the origin at the center of a
size I define. The end product would work something like this:
http://caseyc.pastebin.com/m1a7da202
Then for a usage example:
http://caseyc.pastebin.com/m2cbf7bfd
The examples linked are not working for me, I don't see the plane and
I'm not sure why?
--
Rob Bateman
Flash Development & Consultancy
[email protected]
www.infiniteturtles.co.uk
www.away3d.com