Hello,
Following these instructions there
http://haxe.org/manual/swc I've created a little swc with haxe and try now to use it in Flash Pro.
The first thing I do in the fla's main timeline is :
import flash.display.MovieClip;
haxe.initSwc( new MovieClip() );
But when the first line of code referencing a class from the swc comes,
// create an instance of a class from the swc
var obj = new my.package.MyHaxeClassFromSwc();
I get :
1046: Type was not found or was not a compile-time constant: MyHaxeClassFromSwc.
If I try to import a class from the swc,
import my.package.MyHaxeClassFromSwc
I get :
VerifyError: Error #1014: Class my.package::MyHaxeClassFromSwc could not be found.
What am I doing wrong ?
Thanks,
Tom