flash actionscript and load external resource
Posted: Fri Jan 11, 2008 2:52 pm
Hi,
I have a little problem:
when I embed a flash movie wich, in turn via actionscript, load some external jpeg, the movie is on but the image don't show up inside it; I try all the possible manner to point at the image, relative and absolute path.
I try to recreate the directories structures and, with a normal html, all works but in cmsms don't.
the action script, siplified, in the movie:
var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
mc.onRelease = function():Void {
getURL("http://MySite/uploads/images/opere/0001-0050/0001.jpg", "_blank");
}
var image:MovieClip = mc.createEmptyMovieClip("image", mc.getNextHighestDepth());
image.loadMovie("http://MySite/uploads/images/opere/0001-0050/0001.jpg");
the movie is inside a page, the page call the movie right but the movie call the jpeg wrong
I made many different test, but without any result
Any help is appreciated
MoX
I have a little problem:
when I embed a flash movie wich, in turn via actionscript, load some external jpeg, the movie is on but the image don't show up inside it; I try all the possible manner to point at the image, relative and absolute path.
I try to recreate the directories structures and, with a normal html, all works but in cmsms don't.
the action script, siplified, in the movie:
var mc:MovieClip = this.createEmptyMovieClip("mc", this.getNextHighestDepth());
mc.onRelease = function():Void {
getURL("http://MySite/uploads/images/opere/0001-0050/0001.jpg", "_blank");
}
var image:MovieClip = mc.createEmptyMovieClip("image", mc.getNextHighestDepth());
image.loadMovie("http://MySite/uploads/images/opere/0001-0050/0001.jpg");
the movie is inside a page, the page call the movie right but the movie call the jpeg wrong
I made many different test, but without any result
Any help is appreciated
MoX