-
Can Mac's load movies from external folders?
I exported an HQX from my PC which works fine on my friend's Mac. However, from my main movie file which is in the root folder, it appears that I am unable to load movies that are contained inside a 'data' folder. EG) a button which opens /data/movie1.swf. Do I need to do something different for Mac users?
Thanks in advance.
-
You shouldn't need to do anything different as long as your pathing is correct.
-
It doesn't appear to be working. When I click on a button, it just loads a blank page.
This is the script I'm using:
on (release) {
loadMovieNum("\\data\\movie.swf", 0);
}
Any ideas what could be causing it?
-
Senior Member
The paths are wrong, you can't use backslash (that's PC only, and won't work on a webserver either), use forward slash /.
You don't need to escape them either.
on (release) {
loadMovieNum("/data/movie.swf", 0);
}
Sam
-
Still having no luck. Any other ideas?
I'm using this:
on (release) {
loadMovieNum("/data/movie.swf", 0);
}
Last edited by fruiter; 07-17-2003 at 04:20 PM.
-
Senior Member
If you want to load a file from a subfolder of the directory that has the projector in, then use
code: on (release) {
loadMovieNum("data/movie.swf", 0);
}
Otherwise, you're referencing the top level with the first slash.
Generally the syntax is this:
code:
. == current directory
.. == parent directory
/ == root directory when at the start of a path
Sam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|