PDA

View Full Version : Help Needed for a loadMovie()



Vanss472
April 21st, 2007, 01:18 PM
Hello everyone,

I’m creating this tourist website for my own interest and because I want to learn more about Flash. Everything was fine until my loadMovie() appears in the siteFinal.swf for a few seconds and then jump into my next section.

This is what I want to do: I create an introduction2 swf animation, which I want to load into the siteFinal swf. So for my introduction button I’m using the following script: on (release) {
gotoAndStop("intro");
}
This would go to another movie clip inside the siteFinal called intro_mc. In the intro_mc I create an empty movie clip and I placed it where I want my introduction2.swf to take places. So I got that functioning but the problem is that my preloader is not showing at the beginning and also the movie play for 2 or 3 seconds and go to my next section. I want the movie clip to play through.
Also I can see the images coming from the side when I play the movie siteFinal.swf, I don’t want this to happen, what can I do for this?

Pleases if someone have time to help me and advice me what to do that would be really nice of you. Pleases visit this link to download the files:

Thanks :hr:




Vanessa

graylensman
April 23rd, 2007, 12:53 AM
Vanessa, you don't have the link up.

Just from what you describe, my guess is that you don't have a stop(); command at the beginning of your code for each section. Additionally, you may not see your preloader loading if you're running your movie locally, and your content is very lean. Best way to test is to load the site onto the web, and then check it. (Flash has a bandwidth simulator, but I've never been able to work it properly. Maybe someone smarter on the forum could offer assistance.)

Vanss472
April 23rd, 2007, 12:21 PM
Hey thanks for you reply.

Here is the link if you want to take a look: siteFinal.zip (http://msu.edu/%7Emarti934/siteFinal.zip)

I do have the stop(); command at the beginning of my section. Maybe I will have to put a onClick event, but I'm not sure of this.

hope to hear from you soon, :cool:
Vanessa


Vanessa, you don't have the link up.

Just from what you describe, my guess is that you don't have a stop(); command at the beginning of your code for each section. Additionally, you may not see your preloader loading if you're running your movie locally, and your content is very lean. Best way to test is to load the site onto the web, and then check it. (Flash has a bandwidth simulator, but I've never been able to work it properly. Maybe someone smarter on the forum could offer assistance.)

manny2k
April 24th, 2007, 03:31 PM
Hi

I’ve got a hunch that you have some code in your introduction.swf that it sending your main movie timeline to frame 9 or above, not sure as you haven’t posted that one, but I would suggest you put the following code in the 1st frame of the introduction.fla , I’m no expert as I’m just learning too but it’s worth a try.

this._lockroot = true;

This will lock any reference to _root in that movie to that movie.

As for seeing the images from the side , you should add a layer above all the other layers in that movie and draw a box (no outline) to the size of the viewing pane , then right click and select mask.


Hope that is of some help

Manny2k

manny2k
April 24th, 2007, 03:42 PM
Or try putting that holder your trying to load the movie in on the main timeline and the code your using to load it in the script layer on the main timeline, ive just tried that and it plays all the way through, ( make sure you give it an instance name)