开发者

Can I load bitmap data from the library in AS3 without specifying a class name for linkage?

I have a movie clip that holds one bitmap image, some simple AS3 to change the image displayed, and a ton of bitmaps I've imported into my library.

Currently, I swap the images by changing the bitmapData

holder.bitmapData = new test2(1,1);

but this requires me to check off 'Export for A开发者_运维百科ctionScript' in every symbol. I'd rather not go through every bitmap in the library and do this, is there some way to reference them by their library name?

Thanks, -S


'Export for ActionScript' is needed. But you don't have to do it by hand. Just write a simple JSFL script for flash

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜