In FlexBuilder, in the Project properties (right click the project select properties), set the required Flash Player to 10 in the
Flex Compiler tab.
By default FlexBuilder compiles to Flash 9, which doesn't have the new 3D stuff.
regards,
Muzak
----- Original Message -----
From: "Omar Fouad" <[email protected]>
To: "Flash Coders List" <[email protected]>
Sent: Saturday, April 11, 2009 10:51 PM
Subject: [Flashcoders] rotationX not working In Flex actionscript Projects
Hi all,
Since I switched to Mac now, I am using Flex Builder for my ActionScript
Projects, I've got the latest Flex SDK 3.2 (I think that is the latest) and
edited the flex_config xml file. I've added the playerglobal swc file to the
build path of Flex for Auto Completion and all.
Here is the problem: it seems that the specific FP 10 new properties as .z,
.rotationX, .rotationY and .rotationZ are not recognized by the compiler.
mc.rotationX = 45; // this is not working as it is ignored.
Using Tweener:
Tweener.addTween(mc, { rotationX:45, time:1}); // throws "Property rotationX
not found on [object name ] and there is no default value"
Is there anything wrong I am doing in flex?
Thanks for the support.
Cordially.
--
Omar M. Fouad - Adobe Flashâ„¢ Platform Developer
www.omar-fouad.net
Cellular: (+20) 1011.88.534
Mail: [email protected]
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders