View Full Version : Problem loading .swf
Ric Ellis
12-02-2002, 04:15 PM
When I load a .swf onto a level using LOAD MOVIE, replacing a movieclip instance which is on the mainstage, the .swf loads successfully but with its top left corner in the center of where the MC was. The "use center point" option is not used. (Flash 4)
All help appreciated, thank you.
I will now read through the forums and see if I can help someone
snapple
12-02-2002, 07:17 PM
Ric Ellis,
Can't you just load the swf into an MC instead ? Use an empty MC as a "container" that holds the swf, that way you can position the swf where ever you want on the stage just by moving the container MC around ???
A movie laoded will be placed in the default top left hand corner at the movies reigstration point. Stage size, bg color and frame rate will all be determined by the origional movie
snapple :)
Ric Ellis
12-02-2002, 08:24 PM
Thanks Snapple, but I have six .swf movies, each at about 120kb, if I put them all into the one MC......see what I'm sayin'.
I want to load them separately on the user's say-so, each with a preloader, nice 'n neat.
As far as I understand the user's manual, the .swf assumes the position of the MC that it replaces, not just the BG colour etc.......is this wrong???
snapple
12-02-2002, 08:39 PM
Ric Ellis,
No your right. You don't need to worry about file size. Loaded swf's replace each other so theres no problem - just have 6 buttons, that on release load each swf, into 1 main container mc, and pre-load each one seperately. Here is a good tut written by Billy T for precisely that (check out the tuts here, they are very good on this topic too), i used it :
http://www.tableau.com.au/tutorials/coverPreloader/index.html
snapple :)
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.