# Devonair's AS3 port of FLEX2 Tween Classes to FLASH 9.0 Alpha

**URL:** <https://forum.kirupa.com/t/devonairs-as3-port-of-flex2-tween-classes-to-flash-9-0-alpha/205211>\
**Category:** Uncategorized\
**Created:** [October 27, 2006, 3:22am UTC](https://forum.kirupa.com/t/devonairs-as3-port-of-flex2-tween-classes-to-flash-9-0-alpha/205211 "2006-10-27T03:22:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wlovin](https://avatars.discourse-cdn.com/v4/letter/w/c37758/32.png) [@wlovin](https://forum.kirupa.com/u/wlovin)\
**Post date:** [October 27, 2006, 3:22am UTC](https://forum.kirupa.com/t/devonairs-as3-port-of-flex2-tween-classes-to-flash-9-0-alpha/205211/1 "2006-10-27T03:22:07Z")

</div>

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):

[SIZE=1][COLOR=blue] **Error** C:\Documents and Settings…\Local Settings\Application Data\Adobe\Flash 9 Public Alpha\en\Configuration\Classes\mx\events\TweenEvent.as: Line 11: ActionScript 2.0 class scripts may only define class or interface constructs.[/COLOR][/SIZE]

TweenEvent.as is is imported by Tween.as and was copied from my Flex 2 SDK. Of course, TweenEvent.as probably isn’t AS2!! 😊…

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
