Hi there,
I purchased the Greensock club membership mainly because I have to develop liquid size SWFs. Therefor the LiquidStage and LiquidArea seemed perfect. But working with this now for 1 week I don't fully understand the concept of these two. What I primary need is to have re-sizable SWF, where all display objects re-scale if I scale the main movie within limits of that SWF.
That works great but I have few questions:
1. I have a main SWF file which loads other exterlan SFWs in run-time (as3 with use of SWFLoader). Those are added to display list. So if I resize main SWF, the content in loaded SWFs resize too. Now I am doing it like this: I have LiquidStage and LiquidArea defined in the main SWF and I attach external SWFs to it:
_externalSwf = _swfLoader.rawContent;
addChild(_externalSwf as Sprite);
_area.attach(_externalSwf as Sprite);
Then in external SWFs I load some external images and videos. In them I also use LiquidStage and LiquidArea again in the same way when adding these images and videos... This all works, but I wonder If this is the right concept? Or can I use LiquidStage and LiquidArea only in main SWF and all the content in loaded SWFs will be resized properly if I resize main SWF?
2. If I attach any display object which has Z property set to > or < then 0 then the attach method fails, saying can not use property of null object, or something like this?
Thank you,
Jume