-
FLASH 8: Unable to set alignment?
actually i wanna to load some jpeg images from external path, using
Code:
myinstance.loadMovie("image1.jpg");
its working file; but the problem is that; the loaded image is not in center or not well aligned;
CAN any one help me here to findout how to set alignment after loading a external swf, or image.
Thanks in Advance.
-
The image is going to load at 0, 0 (typically top left corner) of your movie. Rather than setting the alignment, you change the x and y of the object it's loaded into. Something like:
Code:
myinstance._x=100;
myinstance._y=100;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|