This content has been marked as final.
Show 2 replies
-
1. Re: Event.COMPLETE !?
Brian Riggs Sep 28, 2010 10:49 AM (in response to DanelKirch)Here's a barebones example showing how to center the media:
Note that it uses the MediaContainer class, which takes care of responding to changes in the media's dimensions.
-
2. Re: Event.COMPLETE !?
DanelKirch Sep 28, 2010 11:59 AM (in response to DanelKirch)Thnx for the tip!
Ive been testing LayoutMetadata before too and didnt get it the way i wanted and the same in this case.
So (un)fortunately i set all x y height and width as static numbers and now i got my mediaplayer in center of root / stage. I use this class as extendable MovieClip and not as root/stage which maybe is my problem !?
Anyhow, hardcoded numbers did the flip, but isnt really what i wanted.
Thanx anyway without your help i would be sitting here surely more hours/days

