flash actionscript and load external resource

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

flash actionscript and load external resource

Post by mox »

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
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: flash actionscript and load external resource

Post by calguy1000 »

I don't know actionscript, but....

Since your accessing via http make sure that there isn't a .htaccess files in the appropriate directory that could cause the problem..... can you paste that url into the navigation bar of your browser and display the image?
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
mox
Forum Members
Forum Members
Posts: 113
Joined: Wed Feb 08, 2006 2:32 pm

Re: flash actionscript and load external resource

Post by mox »

Hi calguy1000 and thank for the response,
no there isn't .htacces and, when I try to open the image pasting the correct path in address bar, the image show up...

ok, my dubt is: there are some problem about the path becouse the page generate dynamically by php from the db create confusion to action script? but assign an absolute path I thought was the right solution...

There are something wrong somewhere else...

Any idea?
MoX
Post Reply

Return to “CMSMS Core”