Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loader component question

Status
Not open for further replies.

jamiebettles

Technical User
Dec 15, 2005
23
DE
Hi there,

I've searched the forum and can't seem to get the answer to a simple question...
I'm using the loader component which is perfect for what i'm trying to do and in this case suits the task better than createEmptyMovieClip. My question is, does the jpeg or .swf i'm loading HAVE to be in the same folder on the server as the main .swf file? It would be a great help if i could use actionscript to give the loader a link on the server to where the image is i want to load, is this possible?
I tried

myLoader.contentPath = "
and

diashow="loadMovie("this.myloader",diashow);

but both dont load the .swf. Thanks in advance for any suggestions,

jamie
 
cant replicate the problem

i just dragged a loader component onto the stage and in the parameters panel set the content path to a full url and all worked as it should

if you are setting this in the panel do not add "" around the url
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top