Unable to resolve import of flash.display.Sprite

79 views
Skip to first unread message

gwfran

unread,
Feb 27, 2012, 7:56:26 PM2/27/12
to Jangaroo Users
Not sure why I'm getting this message, but when I attempt to compile
my solution via the jooc command line, I'm getting "Unable to resolve
import of flash.display.Sprite". I can compile the solution via the
flash compiler, so I'm not exactly sure why it's losing it's mind on
this particular class. The classes before it return no error.

Anyone seen this before?

Frank

unread,
Feb 28, 2012, 4:42:20 AM2/28/12
to Jangaroo Users
In contrast to "real" ActionScript, Jangaroo is not always used
with the Flash standard library. Thus you have to include jooflash.jar
in jooc's classpath. The best way to get the tools _and_ all
libraries if you do not want to use Maven (which is the easiest way
to get all needed libraries!) is to download the full Jangaroo SDK,
latest version here:
http://search.maven.org/remotecontent?filepath=net/jangaroo/jangaroo-sdk/0.9.11/jangaroo-sdk-0.9.11.zip
Hope this helps,
-Frank-

gwfran

unread,
Feb 28, 2012, 10:25:26 AM2/28/12
to Jangaroo Users
Outstanding - thanks!
Reply all
Reply to author
Forward
0 new messages