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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Load movie questions

Status
Not open for further replies.

TFfan

Programmer
Jan 18, 2002
192
CA
I have a site that loads a swf, but that's all it does. It puts it right in the middle of my site. I was able to get it to go where I wanted by moving it around on its own stage; however, is there an easier way to do this? For instance, is there a script that allows me to edit the position of the swf from the main movie (ie. in the loadmovie script/layer)?

Similarily, do I have to apply the mask layer to the swf file or can I use a mask on the layer where the swf is loaded into?

The first two question are just for practical reasons (I have got it to work how I want it to, by manipulating the swf file itself with a mask etc), but my real sticking point is that when I call in the swf file, it makes other layers translucent. My site calls in cars.swf, the swf loads in and then I have a text layer above the loadmovie layer, but the text looks like it has an alpha modifier on it. Needless to say it really doesn't.

I guess my final question is that how can I control the layer of the swf I'm bringing into a movie? I have the location-layer set to 1 (in the loadmovie code) and I have tried other numbers, but to no avail.

Any ideas?
 
I'm not totaly sure I understand what your meaning but here goes.
Loading a movie into level 1 will cover your entier movie in level 0 (your main movie) so you need to have the background of the loaded movie the same as the main movie (in level 0). If you want to have control of the position where you load other movies then you can load them into a movie clip on your main movie. This option is in the loadmovieNum ie. level or target.

As for where to put the mask, I always put mine on the movie that I'm loading.

Not sure if I've answered your question or not, bit tired and looking forward to the weekend...... funkymonk B-)

rod@sameplanet.co.uk
[almost there]

********************
 
Now I'm more confused.

My loaded swf file comes in, but the problem isn't that is covers any layer in my main movie, but that it makes layers that should be on top and opaque, translucent (even though alpha=100). I can see the swf right through anything that is on top of it.

How do I change the level of my main movie to 1 and the swf to 0?
 
If you want them switched then why not load the original into the one you are now trying to load.

That would flip the levels most definitely... if that is an option for you. Regards,
TulsaJeff

cd_tektips.gif
 
of course this may not be an option if you have most of the structural content already contained in your original and only need to load the other one very temporarily.

Just an idea... Regards,
TulsaJeff

cd_tektips.gif
 
Yeah, that's the problem, it's only a transitory screen.

Thanks anyway.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top