views:

11

answers:

0

I'm writing an AIR app which should display other swf's. These clips aren't as3-enabled and loading as AVM1Movies. I need not to communicate with them, only to place on stage inside of some Sprite-based hierarchy. There is no problem with static clips, and no problem with some interactive ones (with functionality like "click to expand - click to shrink"). But on some clips, draggable items are sticking to upper-left corner (they are dragging as supposed in stand-alone player and even in empty AIR app).

So, the question is: how to not break AVM1 clips loaded into AVM2? Which tricks and workarounds do exist?

Edit: I decompiled some problematic swf's and found that they depend on Stage.width and Stage.height. Changing that to constant fixes them. So, its stage size that breaks - AVM1 gets that as zero. Now the problem is - how to ensure that Stage for AVM1 is non-zero size?

related questions