PDA

View Full Version : Devonair's AS3 port of FLEX2 Tween Classes to FLASH 9.0 Alpha....



wlovin
October 27th, 2006, 12:22 AM
Thanks to Devonair and Senocular for pointing me in the right direction as per porting the Flex 2 Tween classes to AS3 Flash 9.0 Public Alpha...

I *think* I got the all files moved properly and all references to the mx_internal namespace and unresolvable includes commented out, but on compiling I get (among many others):

**Error** C:\Documents and Settings\...\Local Settings\Application Data\Adobe\Flash 9 Public Alpha\en\Configuration\Classes\mx\events\TweenEven t.as: Line 11: ActionScript 2.0 class scripts may only define class or interface constructs.

TweenEvent.as is is imported by Tween.as and was copied from my Flex 2 SDK. Of course, TweenEvent.as probably isn't AS2!! :blush:...

What does this error mean in this context?

Alternately, if anyone other than Devonair has actually transmuted the Flex 2.0 Tween class to Flash 9.0 PA and could give me a few more details I'd be grateful...

TIA - wlovin

devonair
October 27th, 2006, 04:25 AM
Hey, wlovin..

I actually have the classes I "made" (well, altered) available for download.. here's (http://www.onebyonedesign.com/downloads/mx.zip) a direct link.. just put the mx package in your classpath, and have fun.. Still it's just a quick fix for playing around. I wouldn't do any serious work with this..

wlovin
October 27th, 2006, 09:59 AM
We've got an AS2 kiosk app in Flash 7 we're running on Linux, so we're really interested in AS3/Flash 9/Flex 2 for the next version.

As you, know, the performance increase attributable to Flash 9 and AS3 is massive: Flash 9 Beta gives us roughly 2x improvement, and from what we've seen ASVM2 gives us another 3x on top of that - all from the same junk processor platform we're deploying now..

So for us, we are just "playing around" - until Macdobe ships real product.

Once again, thanks for the link!

wlovin

Rezmason
March 17th, 2007, 02:55 AM
I would like to know whether there are any other classes in the mx package (like that Tween class) that are worth trying to implement under Flash 9 AS3 Preview.

I know investigating this sounds like a waste of time. But from the looks of things, there are 665 classes in the mx package (compared to only 71 in mx.effects), so it's unlikely in my opinion that the tween and easing classes are the only gems.