PDA

View Full Version : Loadmovie()


nimmit
04-10-2002, 02:14 PM
Up until now, to load an external SWF I have been using loadmovie and pointing it to a target.
What I have been trying to do recently is load the movie in to a level instead of a a target so that it is easier preload/unload and such like. My problem (which I'm sure is probebly quite simple!) is that it the external movie always apears in the top left corner of the screen? At which point do I say the x,y coordinates?
Any help on this would be very greatly recieved
regards
Nimmit

beadyen
04-10-2002, 02:39 PM
What I've always done is make the stage size of the movie I want to load into level (whatever) the same size as stage of the root movie it loads into.
You don't have to fill the stage of course, so any bits you leave blank will be transparent, and you'll be able to see/interact with the movie in level0 through these areas.
This has the same end result as trying to set the x and y coords of a level.

nimmit
04-10-2002, 03:03 PM
Thanks for your responce I'll try that - Does any one out there know if it is possable to set the exact position???

JRBT
04-11-2002, 04:40 PM
The best way to do it is to (as he said) make a new swf to put on top the same size as your original movie - you can make your contents have the exact position you need.

Then make a mask layer over your contents so in the event anything leaves the boundaries you've set - it will not be seen.