I've been trying to get further away from the builder
environment by using a bare command line, and I think
I'm doing it au fond the same way you are like this:
(splitting up the command line for readability)
java -jar "C:/Program Files/Macromedia/Flex Builder 2 Alpha 1/Flex Framework 2 Alpha 1"/lib/asc.jar
-swf DisplayListTest,800,600,25
-import "C:/Program Files/Macromedia/Flex Builder 2 Alpha 1/Flex Framework 2 Alpha 1"/frameworks/Global.abc
-import "C:/Program Files/Macromedia/Flex Builder 2 Alpha 1/Flex Framework 2 Alpha 1"/frameworks/playerglobal.abc
DisplayListTest.as
But I'm getting errors:
[Compiler] Error #1046: Type annotation is not a compile-time constant: Tween
DisplayListTest.as, Ln 49, Col 49:
private var _x_tween:Tween;
................................................^
[Compiler] Error #1046: Type annotation is not a compile-time constant: Tween
DisplayListTest.as, Ln 50, Col 49:
private var _y_tween:Tween;
So it appears that Tween is not defined in either of the imported abc files. Where could it be?
I don't see any AS3 .as files in the Flex 2 distribution.
This .as file compiles just fine in the standalone Flex 2 alpha IDE, by the way. It's from
Tink's blog:
http://www.tink.ws/blog/as-30-displaylisttest/
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
