[haXe] haxe in frame > 1

Roberto Saccon rsaccon at gmail.com
Tue Jan 2 08:25:44 CET 2007


I am trying to port the javascript / flash bridge  from the dojo toolkit to
haxe and I bumped into a tricky problem. In cases ExternalInterface is not
available it uses SetVariable / GetVariable / TCallLabel trickery for
Javascript to flash communication. And there is a small movieclip with two
frames  and both frames have actions and stop() at the end so it doesn't
step forward to the next frame.

How can that be done in haxe ?  (I remember mtasc had an option to specifiy
the frame ...) And how can I make the movie stop after one frame ? The only
idea coming to my mind is trying to do it with swfmill, build the stuff for
the first frame, convert to xml representation, then compose the missing
parts manually in the xml and convert back to swf. Are there better ways to
approach this ? Will future haxe put its classes in a user-definable frame ?

regards
-- 
Roberto Saccon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.motion-twin.com/pipermail/haxe/attachments/20070102/4249629a/attachment-0001.htm


More information about the Haxe mailing list