Posts: 63
Name: Ryan E
Location: Windsor Ontario
|
I have a logo that is being imported dynamically into a flash file.
when the logo loads i use this script to center the logo depending on the stage size and the logo size.
var center_x = (Stage.width/2)-(_level0.title_page.image_holder._width/2);
var center_y = (Stage.height/2)-(_level0.title_page.image_holder._height/2);
_level0.title_page.image_holder._x=center_x;
_level0.title_page.image_holder._y=center_y;
if the logo runs this center script above it doesnt play the motion tween. and the logo appears that is is at 10% opacity.
but if i remove the center script it plays the motion tween fine and
the logo fades in and then fade out after 5 seconds. but the logo is also not in the center of the movieclip.
if anyone has a solution or what the problem may be it would help a lot.
Thanks.
|