This content has been marked as final.
Show 5 replies
-
1. Re: Works locally but not remotely
kglad Jun 7, 2007 10:03 PM (in response to mr._newt)that code wouldn't work on anywhere: there are unmatched quotes. -
2. Re: Works locally but not remotely
Will Y. Jun 8, 2007 6:24 AM (in response to mr._newt)whoops, the code that does work locally is:
randomNum = Math.round(Math.random()*15);
loadMovie(randomNum+".jpg", this.blank);
the question I can't solve is how to get it to work on my company's server.
thanks
will -
3. Re: Works locally but not remotely
kglad Jun 8, 2007 6:33 AM (in response to mr._newt)comment out that code. hardcode one jpeg to load and test. does that work?
if yes, copy and paste the code that works and copy and paste the code that fails.
if not, your path may be wrong or your jpegs may be corrupted. to check which, enter the path/file name of one of the jpegs in your browser window. if it loads, the path in your swf is wrong. if it doesn't load you may have the wrong path in your browser and in flash, or your jpg is corrupt. -
4. Re: Works locally but not remotely
Will Y. Jun 8, 2007 7:31 AM (in response to mr._newt)it ended up being a path issue. thanks for your help!
best
will -
5. Re: Works locally but not remotely
kglad Jun 8, 2007 7:49 AM (in response to mr._newt)you're welcome.