View Full Version : LoadMovieNum? Problem
Northside
08-14-2005, 07:27 PM
I have a basic problem of basically completing a flash website which works perfectly well offline but doesn't work once uploaded.
The specific problem is that I have used one movie to make the menu system and another movie to make the individual pages. (Basically a bit like frames in a html website). So when you click on the menus buttons, they call up a different movie, using the LoadMovieNum Action script.
The problem is as soon as I upload the site, all files, .swf + .html, the menu doesn't seem to work no more.
I have checked the path names, but I have used relative path names, so that shouldn't really make a difference.
Has anyone come across this problem and if so your help would be greatly appreciated.
Thanks in advance
Richard
oldnewbie
08-15-2005, 04:20 AM
Are all files including the main .html in the same folder/directory?
Northside
08-15-2005, 09:27 AM
Yes all files are in the same directory, I uploaded the files exactly how they were when they were working offline.
This is very confusing, as there doesn't seem to be no coding problems either. What could cause a script to work while offline and not work online.
Northside
08-15-2005, 10:29 AM
Ok I been trying to work to solve this problem but I still have had no luck.
I've noticed that basically every link that is called from within the movie does not work once online. So basically I can not move between any pages.
However everything works while offline. I've tried changing the links from relative to absolute links incase that was the problem but I still have had no luck.
Any help would be greatly appreciated.
Heres the code I'm using for my links:
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(8);
}
on (release) {
loadMovieNum("page1.SWF", 1);
gotoAndPlay(16);
}
oldnewbie
08-15-2005, 12:30 PM
Why a CAP .SWF extension? Do the movies in fact load even if they don't work?
Northside
08-15-2005, 12:52 PM
The only movie that loads is the index.swf. All the other movies do not load.
I have changed the extensions to small case .swf. Still no luck.
I've noticed something new though.
Basically, when you make a flash movie, the only html file should really be the initial index. html, right? As fter the initial html file has loaded, the rest of the movies should link by the .swf files, right?
Basically the way my movies were publishing, I've been generating html & swf files for each individual movie. So I think when the website was working locally it was due to the html files linking to each other and not the actually swf files, if that makes sense?
So now I've deleted all the .html files except for the initial index.html and now it doesn't work locally aswell, basically the same problem I have online.
So with that out the way, I think the problem I have is down to the publishing of the movies themselves, they don't link to each other unless I generate a html file for each individual movie, and this system basically doesn't work online.
So the question is, what is the correct way of publishing a movie. Or maybe I have over seen another problem.
Help urgently needed.
Northside
08-15-2005, 04:28 PM
Oldnewbie, You hit the nail on the head, when you mentioned caps. The page name the index file was trying to call was PAGE1, while in the actionscript I had put page1. So I've made sure now that everything in my site is now referenced to using small letters and viola the whole damn thing works.
Thanks for the help and I officially hate flash for all the pain it has caused me in the last few days.
Im going to get a hair cut now, some food and have a bath. good bye until next time.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.