I have a hard drive based project that uses loadMovie and I
need to change folders. I want to locate the .swf and .flv files in
a folder named Video, the script - loadMovie("Video/anymovie.swf",
"movie") will not load. If I locate the .swf file in the same
folder as the .exe and use loadMovie("anymovie.swf", "movie") then
the swf file can locate the .flv located in the Video folder. Is it
possible to change the folder?
jayd21, Jan 8, 2008 10:48 AM
sure, but in the path above, the 'Video' folder would be
located 'inside' the directory of the calling swf, is this where it
is or elsewhere? If the Video folder is 'outside' the current
folder, you may need to use a full path to the folder extending up
from the root drive.
I have 60 .flv videos and each is accessed by a specific .swf
file, each .swf file is accessed by a button located in the Flash
.exe. All of the files are located in the same root directory with
the flv files located in the Video folder. I want all 60 swf files
also located in the Video folder. The .exe can't access the .swf
file if it's placed in the Video folder. How do I get the .exe to
find the .swf file if it's located in the Video folder.
I've already tried that, get "Error opening URL". Just tried
my original loadMovie("Video/anymovie.swf, "movie") and now it
works!. Tried to get this to work several times over the past few
weeks, don't know why it works now.