View Full Version : folder loading problem
hansolo
01-21-2011, 02:17 PM
to loa the movie i have folder named a folder inside the folder is swf movie named movie. The folder is not loading
error which recieve from the outpuut panel
Error opening URL 'file:///C|/Users/Usetr/Desktop/New%20folder/maths/a.swf' '
btn1.onPress = function(){
loadMovie("folder/movie.swf' ",1)
}
xdeath
01-22-2011, 12:04 AM
its kind of hard for me to tell you what to type here because i can't see your eact folder names. just go to your folders check the names you have and make sure thats exactly what you've typed in.
then it should work. without anything showing me your folder structure and were you files are were your trying to go ect...i can't really do anything.
adninjastrator
01-22-2011, 04:49 PM
I'm noticing the same things, what's typed in this post may not be what's on your machine. For example:
/New%20folder/maths/a.swf' '
the error message says the name of the folder is "New folder" (note the space in the folder name... and the file name is "a.swf" which is inside the "maths" folder.
and in
loadMovie("folder/movie.swf' ",1)
there's a apostrophy and a space after .swf.... ???
And of course there is always the pathing issue. If this .swf is to be placed on a Web page, then the path to the movie.swf needs to be relative to the location of the Web page, not the .swf itself.
Best of luck!
Adninjastrator
hansolo
01-22-2011, 06:05 PM
The 20% is used for spaces.I think ?? What was causing the error was a typing mistake.
The qoutation mark has extra one near the swf
ok cheers guys
incorrect
loadMovie("folder/movie.swf' ",1)
correct
loadMovie("folder/movie.swf",1)
SDragon029
01-23-2011, 09:49 PM
Yeah in url type paths %20 is used to represent a space that you get from pressing the spacebar. Just thought I would throw that in there as a piece of some what useful information.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.