External swf's not loading properly, please help

Hello,

http://petemag.com/main.html

If you click on the Web link the first external swf comes up without problem and also loads another external swf in it’s masked box no problem. The problem is when you click on the buttons to the left, they should open a new external swf into the movie but instead it loads the external swf where the second movie should be. If you go to my site you will be able to see what I am talking about. I changed all of the _root to _parent in the web swf.

Any ideas?

Any help would be appreciated, thanks in advance!

P

Without knowing the structure of the web swf, it’s gonna be hard to help you. This is a path problem.

The zipped files were too large to upload here so I’ve uploaded my swf’s to my webpage and you can download them at the following links:

The Main movie is at:
http://petemag.com/main.zip

The Web.swf is at:
http://petemag.com/web.zip

Hope this helps.

Thanks!

P

Ill take a look tonight, don’t have a comp with flash right now.

Thanks alot, I really appreciate the help!

Are those the files that you currently have on your site? It seems to me that they are not quite the same. In the files that are online it looks like you load the web “mini sections” into _root.content. You should load them into _root.content.content instead.

From what I can see from the files you posted, you give the loadMovie command inside the transition movieclip (web.swf) and tell it it has to load into _parent. In this case you are thus trying to load the swf into the MC called transition, but as I said before, I don’t think they are the same files as you have online, but I could be wrong, in which case feel free to call me a ******* :slight_smile: (edit: I can’t believe that word was censored)

Let me know if the above suggestion works. If it doesn’t I guess I will have to try a little harder :slight_smile:

The files I posted were the files I use on the site. I just double checked in case I made changes and forgot.

In Web.swf you were right, originally the loadMovie was _root and not _parent. When it was _root though, the web movie would load but would then end and go into the mini section movies that I made. The only way I could get the movie to play and load properly is by changing the commands to _parent. Hence the problem that I am at now.

I tried changing all of the the _parent back to _root and also tried _root.content.content but when I do that, the mini sections dont load, only the first part of the transition movie plays and it stops at “loading.” I tried different ways of doing this, but should I change every instance of _root to _root.content.content or just in certain places? I wasn’t sure.

Thanks!

P

I can recommend you take a look at this tutorial;: http://www.actionscript.org/tutorials/beginner/paths/index.shtml

Its important you understand paths fully, read this tutorial over and over till you fully understand the concepts explained. I am sure you will be able to fix the problem yourself. Also remember that variables (such as your “section” variable) may not be accesible from all parts of your movie if you declare it inside a movieclip (from the files you gave me the variable section is contained in the transition MC (_parent.section)).

I hope this helps you…

Great. I will take a look, thanks!

I read the tutorial and I understand what it is saying somewhat. I realize that I would have to put it as _root.web.hytorc to get the first movie to work. I tried that but I am still getting the same problem.

Could this problem have something to do with the fact that I have the same movie clip “transition” in both the main and web swf? I noticed when I click on the buttons, it loads the transition from the main.swf and not the web.swf.