Hi,
I'd like to know how I can align my image in my swf.
My swf document is 550 px x 400 px.
If I include it as a plugin, I would like to align my image in the top left.
If it's a hotspot, it would be rather be align in the middle.
My swf is loading image dynamically, so I don't know in advance what is the size of the image, and I can't resize my swf document manually.
I check if my swf is load as a plugin or a hotspot by checking the first letter of my objet, and if it's a hotspot I can align my image in the middle with image.x = (stageWidth/2) and image.y = (stageHeight/2) but I'd like a better solution.
Is there a way to "crop" my swf to the size of the image ? I dont know how to access to the dimension of my swf (it's not the document
Klaus, I think you don't have the problem because you make the plugin with flex, and the dimension of the swf is not written "in hard".
(I hope my english is enough comprehensible and I apologize for all my mistakes )