PDA

View Full Version : I知 in a trouble!!


arn
12-11-2005, 04:05 PM
Hi,
In my latest project I need to load and play several demo files in my flash movie/player. I cannot edit those demo swf files as they are exported into swf format from some other application. The problem is the demo files have some sort of scrolling in them which affect the movie clip they are loaded in and the whole player starts scrolling along with loaded file. I think that is because of some sort of coding in those demo files. All I want is to stop my movie clips from scrolling because of the loaded files.

Here is an example to see (http://www.asifrnaqvi.com/stuff/example/). The demo swf (demo1.swf) is loaded into a movieclip (loader) and you can see how the player/movieclip is scrolling along with the movie!

I壇 really appreciate if someone could tell me how to stop loaded swf files to affect the player from the script within them or simply from that annoying scroll.

Thanx

cancerinform
12-11-2005, 04:40 PM
It is a path problem. In your parent movie add this script calling the movieclip, in which you load your demo files.
nameofmovieclip._lockroot=true;

arn
12-11-2005, 09:02 PM
It is a path problem. In your parent movie add this script calling the movieclip, in which you load your demo files.
nameofmovieclip._lockroot=true;

Where do I need to ad this bit ... on the main timeline?? It doesn't seem working or may be I'm not doing it correctly.

Thanks

cancerinform
12-11-2005, 09:08 PM
That has to be placed on the main timeline before loading your movies. of course the you have to put the name of the movieclip, which I don't know.

MichaelxxOA
12-12-2005, 10:01 PM
if that doesn't work you could use the less efficient method of positioning the movieclip where you want it to stay every frame, but again make this a last resort.

-Michael

cancerinform
12-13-2005, 12:30 AM
Well,

you may have to post your files. By the way we are neighbours. I am in Davis.:)