Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Decreas size of external movie file???

Status
Not open for further replies.

HuggerFanta

Technical User
Apr 22, 2002
87
0
0
SE
Hello!
I have problems with resizing movies (video) in a flash project.

i have an external movie containing the Video, imported with the following code:

_root.createEmptyMovieClip("movie", 2);
loadMovie("AnnonsFilm.swf", "movie");

now I whant tihs EmptyMovieClip to be played in a bigger "window", when user click the resize button for bigger view. Is there any easy way to handle this???

Thanks for all help!!
HuggerFanta --------------------------------------
Kind regards;
HuggerFanta
 
Try scaling up the "movie" holder clip after the external movie is loaded in...

_root.movie._xscale = 125; // Or more...
_root.movie._yscale = 125; Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
OK!
This realy worked, but how do I center it on screen??? --------------------------------------
Kind regards;
HuggerFanta
 
Play with the "movie" x & y positions...

_root.movie._x = 125; // relative to the top-left corner (0,0)
_root.movie._y = 250; Regards,

oldman3.gif


Don't worry, if my reply is wrong, BillWatson will clean it up for me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top