Hi Tyler
I was going through your
https://github.com/talltyler/ASTRID/tree/master/examples/FlexDemo.
Didn't know you have all that in the big zip file too.
I got the zip file and your sample now. Thanks.
I play with the scroller a bit more. I change your demo code a bit to
add a scroller.
<s:Scroller width="200" height="200">
<s:Group>
<mx:UIComponent id="container"/>
</s:Group>
</s:Scroller>
This will not work because UIComponent width and height is not set so
the scroller will not appear.
I then add code at the end of init()
//Adjust width height after we set data
container.width = window.width;
container.height = window.height;
The scroller then work as expected.
Here comes the tricky part. In your sample your window have a fix
width and height.
In our case the size depends on the html.
I tried send in 0 width and 0 height for your Window().
and get the width and height after we set the html string.
I got some number which I am not sure what it is.
Any idea what's the best way to deal with dynamic html content width
and height?
Thanks