[haXe] Method checking
Michael Florentin
mflorentin at laerdal.dk
Thu Apr 6 14:43:03 CEST 2006
Nicolas Cannasse wrote:
> When you're using flash.StrictMovieClip, haXe is looking for
> flash/StrictMovieClip.hx which does not exists. The best then is to
> declare the interface in a different file, or to add "import
> flash.MovieClip" that will make the types declared in the
> flash/MovieClip.hx file available.
Ah! Silly me :) Thanks.
Actually, this interface solution works really good for me - it's fairly
unintrusive and I can cast back and forth between MovieClip and
StrictMovieClip whenever I want to think for myself or whenever the
compiler should think for me. Any chance that it may become part of the
official flash library so I don't have to re-implement it when the next
version of haXe is released? ;)
regards...
Michael Florentin
More information about the Haxe
mailing list