StageVideo not visible until orientation change
Hello,
I'm trying to show a video on iOS using AIR. I copied to code from some samples I found but I got very wierd results.
I wrote the code and ran it a few times, the first few times the video worked fine, then when I ran it again, for no aparent reason, I coudln't see the video anymore, but I could still hear it. After many checks I noticed that if I change the device's orientation I can see the video again, even if I return to the original orientation. It's like the video or stage doesn't refresh so the video is not visible and the orientation change somehow causes it to refresh and work again.
I found that if I change the stage alignment after setting the StageVideo's viewport it works fine again, but this seems like a strange patch..
Did anyone encounter this behvaiour and knows what causes it and how to fix it?
Thanks
