Topic: fix position the caption to the botom centre of the screen

I am currently looking at how to centre the caption box to the bottom centre of the unscaled gallery (can be re-sized by the browser)

I can see the X Y setting in the images.as file, i have also set the width of the caption to 800;

    //position caption
        mCaption_mc.txtCaption._width = 800;
        mCaption_mc.txtCaption._height = Math.min(mCaption_mc.txtCaption.textHeight+ Options.captionPadding,mLoader_mc._height - Options.captionPadding);
       
        var w:Number = Stage.width;
        var h:Number = Stage.height;;
        if (Options.pcvStageWidth != null) w = Options.pcvStageWidth;
        if (Options.pcvStageHeight != null) h = Options.pcvStageHeight;       
       
        mCaption_mc._x = 20;
        mCaption_mc._y = Math.floor (h  - mCaption_mc._height - 10);


now this bit of code is taken from the Main.as script for the position of mInstruct_mc (the instructions MC), as it is close to what I wish to achieve I took and modded the script from there and renamed the MC to mCaption_mc.

am i missing something to work out the stage width and height? I am not getting the desired effect.

Thanks

Re: fix position the caption to the botom centre of the screen

Does anyone know a simple way to get the caption aligned to the bottom of the movie?