swf's loading off center.
by pmyers
on
Feb 12, 2007 at 7:07:32 pm
I have a swf file that i have set to load at frame 1. It loads fine and the video slider and buttons i have controlling it work fine too but the video is always loaded off center. I am not sure why it does this but I have changed the size of the video several times to try to get it to line up right but it is always off center.
Re: swf's loading off center. by pmyers on Feb 12, 2007 at 9:08:13 pm
I have created a video slider with the nomal buttons like play...... in a gray box that i have sitting on one layer on frame one. In action script I tell Flash to load a swf file and play it. I have only one frame on the timeline and only one layer. The only problem is the center of the swf is always in one of the corners. I am not sure if that helps but I am not that technical yet and this is one of my first Flash projects.
Re: swf's loading off center. by grafxflow on Feb 12, 2007 at 9:16:00 pm
Hi,
Okay I suspect you are loading the swf straight into a target layer. The best thing to do is actually create a blank movieclip in your library and place it on the stage. Then target this when loading the external swf. Then you will be able to simply move the empty movieclip on stage.
Think of it like this, wherever the empty movieclip is will be the top left of the swf file.