I used this and it worked great:
http://www.tink.ws/blog/papervision3d-effects-for-flex-source

On Thu, Feb 12, 2009 at 8:23 PM, Ryan Graham <[email protected]>wrote:

> I believe so... the docs suggest you have to hack it since the registration
> point is always top left. Do a translation in the negative by half the
> component's width and height (this will get you centered), rotate it, then
> do the reverse translation to put it back in it's original spot.  This was
> working fairly reasonably for me in an ENTER_FRAME handler with an image:
>
> img.transform.matrix3D.appendTranslation(-1 * img.width / 2, -1 *
> img.height / 2, 0);
> img.transform.matrix3D.appendRotation(1, Vector3D.Y_AXIS);
> img.transform.matrix3D.appendTranslation(img.width / 2, img.height / 2, 0);
>
> That'll just rotate infinitely -- it would be up to you to turn this into a
> reusable effect...
>
> HTH,
> Ryan
>
>
> -----Original Message-----
> From: [email protected] on behalf of Russ Ferguson
> Sent: Thu 2/12/2009 4:46 PM
> To: [email protected]
> Subject: RE: [flexcoders] 3D flip effect
>
> Thanks. Im targeting air 1.5. it seems to be working but I want to
> rotate from center and not from the top left hand corner.
>
> I think it has to do with matrix3D
>
>
>
> Any thoughts?
>
> Thanks
>
> ...russ
>
>
>
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Ryan Graham
> Sent: Thursday, February 12, 2009 3:09 PM
> To: [email protected]
> Subject: RE: [flexcoders] 3D flip effect
>
>
>
> Yeah, it's possible with 3.2. As long as you are targeting FP10, check
> out the x, y, z, rotationX, rotationY, and rotationZ on DisplayObject in
> the docs...
>
>
>
> If you're targeting FP9, it's a much more manual process to organize the
> math and such...
>
>
>
> HTH,
>
> Ryan
>
>
>
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Russ Ferguson
> Sent: Thursday, February 12, 2009 12:55 PM
> To: [email protected]
> Subject: [flexcoders] 3D flip effect
>
>
>
> Hi,
>
>  Im looking to rotate a canvas in 3d space.
>  I know you can do this with gumbo but I wanted to see if you can do it
> with the 3.2 sdk.
>
>
>
> All the examples I have found rotate on a slider. Im looking to rotate
> during a transition.
>
> Thanks.
>
> ...russ
>
> This message is private and confidential. If you have received it in
> error, please notify the sender and remove it from your system.
>
>
>
>
>
>
> ------------------------------------
>
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Alternative FAQ location:
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
> Links
>
>
>
>

Reply via email to