I have this photo gallery that zooms into the selected picture using
var transitionProps:Object = {type:photo, direction:0, duration:1, easing:Strong.easeOut};
TransitionManager.start(thisMC, transitionProps);
I have also set the thing to programatically show a caption in the lower left corner of the screen, using text pulled from an Array (photocaptions)
var kyapp:TextField = new TextField;
kyapp.autoSize=TextFieldAutoSize.RIGHT;
kyapp.text=photocaptions[phid];
Some of the combinations of picture proportion / caption cause the caption text to overlap the picture, which is something expected and doesn’t throw the thing off aesthetically in my opinion. I actually want the caption to overlap the picture sometimes.
The thing is that the TransitionManager messes up the effect. When the photo and the caption are created, the TextField is in a level lower than the pic, but when the transition kicks in, it gets obscured, with the picture ending in front of everything after the transition is done.
How can I keep things in their place -caption in front, pic in back- and still have the pic transition? Any thoughts? Appreciate anyone’s kind help.