View Full Version : .swf file in the right place in the movie window?!
Chooku
03-21-2002, 12:17 PM
I've made a 3d sphere( globe) animation in swift3d and it's now in .swf format but how can i put it in my intro on the right place? How can i get it in there ( with import it's going to the wrong place) But if i have to put all the frames in the right place i'll be busy for years.
Do you know a faster way and how i can put it in the right place in the window?
thnx MZZL Chooku :)
eyezberg
03-21-2002, 01:37 PM
loadMovie -it into an empty clip (you need to name that clip and set it as the target for the loadMovie), so you can position and scale it like you want.
Chooku
03-21-2002, 02:51 PM
can you explain it better to me i don't understand? sorry
eyezberg
03-21-2002, 03:44 PM
In your main movie, make an empty movieclip.
Put it on the scene, name it!! (for example "container", or something..).
Then you need the loadMovie action, which you can attach to a button or place ina frame: loadMovie ("swift.swf", _root.container).. if you put this on the empty clip itself, use loadMovie ("swift.swf", this).
Then you can position this clip anywhere and scale it to any size with actionscript..
Tell me where you're having problems?
ilyaslamasse
03-21-2002, 03:47 PM
Don't worry, Chooky, for Jubby Boy will soon write a tutorial about that. Maybe.
pom 0]
upuaut8
03-22-2002, 12:44 AM
easier than that.
Select nothing on the stage.
menu option "Insert/Create new object".
Select "movie clip" from the choices.
Select the first frame of the timeline that comes up.
Choose menu option "File/Import" and select the swf that you want to import.
Go back to the main stage. Open your library, drag an instance of your new movie clip to the stage and position as you like.
-------------------
There are things that go wrong in swift and swish. They offset the object to a point that is equal to the registration point of the swf itself. That is, 0,0 on that movies stage. This seems to make no sense, but for people who use the loadMovie(); option of dynamicaly loading various swfs into their movie at run time, the offset, I believe, fixes the registration offset of the loadMovie function.
For now, use the import method I suggested above. As long as your logo's aren't huge file size it hardly matters if you import them or use the loadMovie function.
Chooku
03-22-2002, 02:14 AM
thnx a lot
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.