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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

loading a jpg from below the webroot 1

Status
Not open for further replies.

timtom

Programmer
Jul 12, 2001
78
GB
hi,
have been making a movie loading a bunch of images using loadMovie(mypic.jpg)

I haven't had a problem in development - but when I go to move the site live there's a bit of a problem. The actual images to be loaded are in a folder below the webroot (in D://images/ rather than in D://inetput/ etc.

by using loadMovie(../../mypic.jpg) I can go back to the folder - but no further.

Can anyone help?
These images definitely can't be moved.
Why can't flash access jpgs below the webroot? Is it a permissions thing?

Thanks for any help you can give me.
Cheers,
Sarah
 
It's probably a permissions thing. Remember that Flash runs client-side, not server-side. So it can't use anything that isn't accessable by the client.
 
thanks redrob,
that sounds exactly right. we've temporarily got around this by loading aspx pages into flash which themselves read the images and output them as a jpg stream. this is ok for the moment, but it's hardly efficient.

looking to the future, is there any flash 2004 server side capability which might be able to solve our problem?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top