all groups > flash (macromedia) > july 2003 >
You're in the

flash (macromedia)

group:

Load Movie From Harddisk


Load Movie From Harddisk jeffrey krist
7/18/2003 10:22:41 PM
flash (macromedia):
Hi,

i have a problem. I have a code in SwfA:

loadMovieNum("C:\test.swf", 1);

in test.swf(SwfB) do I have:

System.security.allowDomain("mysite.com");


When I run SwfA locally, I see SwfB.
When I run SwfA on the web, I don't see SwfB

Other people does it see, but I don't (and a few other people also not).
I'am sure that the Path to SwfB is true.
How is this possible?

greetzz Jeffrey Krist , The Netherlands

Re: Load Movie From Harddisk Shane Elliott
7/18/2003 10:27:04 PM
You should never use an absolute path such as C:\ to access a local file.
Use the URL formatted call to your local drive.

loadMovieNum ( "file://c:/test.swf", 1);

This will target the C drive of whoever is playing the movie. Of course the
test.swf file will have to be on their local computer in the C drive for
this to work.

--
Shane Elliott
www.timberfish.com


[quoted text, click to view]

AddThis Social Bookmark Button