I work on a project in which we use a lot of SWF files. So I am using AssetLibrary to load and use movie clips. I create bundles with “openfl process”. But I encounter a problem with multiple inheritance in FLA file. I have configured a file with some movie clips :
- One clip « ClipOne » which is configured to inherit directly from MovieClip
- One clip « ClipTwo » which inherits from « ScriptedClip » which inherits from MovieClip
When I log the result of « getMovieClip » I have a little problem :
var test = library.getMovieClip("ClipOne") ; trace(test) ; > [object ClipOne] var test = library.getMovieClip("ClipTwo") ; trace(test) ; > [object ScriptedClip]
Which is not really nice since we need to know which class is created. Do you have a solution about this ?
Second thing :
We have multiple swf files with same anim names ex : “AnimAttack”. When we process a swf file, it create a bundle with all classes in it with all class in package “package ;”. But if we have multiple movie clips with same names in different bundles, it can create conflicts.