Groups | Blog | Home
all groups > flash actionscript > march 2004 >

flash actionscript : mc.loadMovie("c:/image.jpg") error flash <= 6


jtopland
3/12/2004 11:05:44 PM
movieclip.loadMovie(url)...

movieclip.loadMovie("http://www.site.com/image.jpg"); // this works fine
movieclip.loadMovie("c:/images/image.jpg"); // this works fine with flash 7,
but NOT with flash 6.

I'm trying to adjust my flash application to work with flash 6.
mc.loadMovie("c:/image.jpg") won't work with flash 6 if the swf file is
located on a site other than the local machine.
I've also tried typing the path in different ways, file:///C|/image.jpg. No
luck...

Any help?

Pluda
3/12/2004 11:11:50 PM
Hello!

Have tryed

mc.loadmovie("../images/image.jpg", 0);

I think this would solve your problem

Jack.
3/13/2004 12:12:56 AM
using Flash6 (MX),

str1 = "file:///G:/Flash/test.jpg";
str2 = "file:///H:/Documents/fuji.pdf";

loadMovieNum(str1,99);
loader.loadMovie(str1);

btn1.onRelease = function(){
getURL(str2);
};

tested in browser, works ok here,
AddThis Social Bookmark Button