Hi all - I have a flash that sets itself up with :
Stage.scaleMode = "noScale";
Then reads in variables from an xml and positions objects, including a textbox for image titles called imageTitle_txt which uses a container called image_mc for size purposes and says this :
imageTitle_txt._x = image_mc._x + 3;
imageTitle_txt._y = image_mc._y + 3;
imageTitle_txt._width = image_mc._width - 6;
imageTitle_txt._height = image_mc._height - 6;
imageTitle_txt.swapDepths = 10000;
imageTitle_txt.autoSize = imageTitles;
The problem is, though I can set which side it appears on using imageTitles (which is set to be "left" "center" or "right", if it's on left or right it starts off slightly inset. Then once I resize the window slightly it jumps right upto the edge where it should be. Or worse, at runtime it appears in the slightly inset position but sort of chopped up But still snaps to the right place on window resizing
Any thoughts?
_________________________________
Leozack
Stage.scaleMode = "noScale";
Then reads in variables from an xml and positions objects, including a textbox for image titles called imageTitle_txt which uses a container called image_mc for size purposes and says this :
imageTitle_txt._x = image_mc._x + 3;
imageTitle_txt._y = image_mc._y + 3;
imageTitle_txt._width = image_mc._width - 6;
imageTitle_txt._height = image_mc._height - 6;
imageTitle_txt.swapDepths = 10000;
imageTitle_txt.autoSize = imageTitles;
The problem is, though I can set which side it appears on using imageTitles (which is set to be "left" "center" or "right", if it's on left or right it starts off slightly inset. Then once I resize the window slightly it jumps right upto the edge where it should be. Or worse, at runtime it appears in the slightly inset position but sort of chopped up But still snaps to the right place on window resizing
Any thoughts?
_________________________________
Leozack
Code:
MakeUniverse($infinity,1,42);