SWF AssetLibrary bundles processed by openfl process command only have working AS Linkages if the source SWF file is of AVM2 (AS3) type. AVM1 SWF libraries don't have AS Linkages after being processed by openfl. The same thing happens when using swf-loader typescript package.
import * as libraryAS3 from "../../../assets/login-as3.swf";
import * as libraryAS2 from "../../../assets/login-as2.swf";
...
let library_as3 = await Utilities.GetLibraryAsync(libraryAS3);
let view_as3 = library_as3.getMovieClip("com.clubpenguin.login.views.NewPlayer"); //is a MovieClip
let library_as2 = await Utilities.GetLibraryAsync(libraryAS2);
let view_as2 = library_as2.getMovieClip("com.clubpenguin.login.views.NewPlayer"); //is null
SWF AssetLibrary bundles processed by
openfl processcommand only have working AS Linkages if the source SWF file is of AVM2 (AS3) type. AVM1 SWF libraries don't have AS Linkages after being processed by openfl. The same thing happens when using swf-loader typescript package.