I'm definitely publishing to FP10 and I completely understand the blind troubleshooting.
The stage.align is being set beforehand through our framework.
As for creating a sample fla that would be kinda tough since I have multiple .swfs loading in.
I can share the code and a link to a test location :
This is the function that gets called before we initialize the actual main swf. So basically it sets up "The Sock Magic"
public function preinitialize():void
{
// TweenMax stuff
TweenPlugin.activate( [ AutoAlphaPlugin, TintPlugin, RemoveTintPlugin, FrameLabelPlugin, FramePlugin, ColorTransformPlugin, ColorMatrixFilterPlugin, EndArrayPlugin, TransformAroundPointPlugin, ShortRotationPlugin ] );
//Positioning
this._positionContainers();
this._createLiquidStage();
}
then I call the containers and set their initial position
private function _positionContainers( $event:Event=null ):void
{
Bedrock.logger.debug( "STAGE WIDTH : " + this.stage.stageWidth + " AND STAGE HEIGHT : " + this.stage.stageHeight );
var mcPreloaderContainer = Bedrock.api.getContainer( "preloader" );
mcPreloaderContainer.x = ( this.stage.stageWidth / 2 );
mcPreloaderContainer.y = ( this.stage.stageHeight / 2 );
var mcContentContainer = Bedrock.api.getContainer( "content" );
mcContentContainer.x = ( this.stage.stageWidth / 2 );
mcContentContainer.y = ( this.stage.stageHeight / 2 );
var mcFooterContainer = Bedrock.api.getContainer( "footer" );
mcFooterContainer.y = this.stage.stageHeight;
var mcFooterContentContainer = Bedrock.api.getContainer( "footerContent" );
mcFooterContentContainer.y = this.stage.stageHeight;
var mcNavigationContainer = Bedrock.api.getContainer( "navigation" );
mcNavigationContainer.y = 0;
var mcHeaderContainer = Bedrock.api.getContainer( "header" );
mcHeaderContainer.y = 0;
}
Then the LiquidStage gets built out
private function _createLiquidStage():void
{
this._objLiquidStage = new LiquidStage( this.stage, 1024, 768, 1024, 768 );
this._objLiquidStage.attach( Bedrock.api.getContainer( "preloader" ), this._objLiquidStage.CENTER );
this._objLiquidStage.attach( Bedrock.api.getContainer( "content" ), this._objLiquidStage.CENTER );
this._objLiquidStage.attach( Bedrock.api.getContainer( "footer" ), this._objLiquidStage.BOTTOM_LEFT );
this._objLiquidStage.attach( Bedrock.api.getContainer( "footerContent" ), this._objLiquidStage.BOTTOM_CENTER );
this._objLiquidStage.attach( Bedrock.api.getContainer( "navigation" ), this._objLiquidStage.TOP_CENTER );
this._objLiquidStage.attach( Bedrock.api.getContainer( "header" ), this._objLiquidStage.TOP_LEFT );
var objLiquidBackgroundArea:LiquidArea = new LiquidArea( this, 0, 0, 1024, 768, 0x313f19, 1024, 768 );
objLiquidBackgroundArea.preview = false;
objLiquidBackgroundArea.attach( Bedrock.api.getContainer( "background" ), { scaleMode:ScaleMode.PROPORTIONAL_OUTSIDE } );
var objLiquidHeaderArea:LiquidArea = new LiquidArea( this, 0, 0, 1024, 135, 0x313f19, 1024, 135 );
objLiquidHeaderArea.preview = false;
objLiquidHeaderArea.attach( Bedrock.api.getContainer( "header" ), { scaleMode:ScaleMode.WIDTH_ONLY, vAlign:AlignMode.TOP});
}
Again this works all fine and dandy in the IDE and when run locally in FP.
I have a location where I have been testing but I would prefer to keep the location off the books if you will. What would be the best way to get you that info?