Yes, I have to use a "webpath" like http:// ... , I´ve already solved the problem.
And if you think better, it makes sense. Before that, all my images were generated through a php script that I passed to the MovieClip loader as a http url + the id of the image to render. As the flash app runs on client, it just can´t use a filesystem path like this script were using to locate the images, I have to feed it a relative or absolute webpath. Now, I´m feeding it an absolute webpath ( http://localhost/website/data/albuns) to the albuns "root dir" + the album code (which is the dir of the album itself) + the image file name.jpg. But the best thing to allow better flexibility would be to detect the current domain the app is running. I know there´s a global var in php for that and a way to do that in flash.. could anyone enlight my mind? Thanks for the reply! Marcelo. On 5/18/06, Mikko Törmälä <[EMAIL PROTECTED]> wrote:
I think you need to change the url to a relative path. instead of having flash try to open : D:/cconline3.1/servidor/htdocs/website/app/webroot/data/albuns/77c550e6b3171fe7e28d97ef9cec52ca/view/DSC00009.JPG change it to: /data/albuns/77c550e6b3171fe7e28d97ef9cec52ca/view/DSC00009.JPG assuming the flash app is in the webroot folder. If you run the flash app through the webserver local paths wont work. Regards, Mikko Törmälä > My app, in my test enviroment (which runs at localhost:8080) used to load > images that were output by a php script. Now, I´m trying to load the > image > directly from the file system. I´m giving a MovieClipLoader the following > url: > D:/cconline3.1/servidor/htdocs/website/app/webroot/data/albuns/77c550e6b3171fe7e28d97ef9cec52ca/view/DSC00009.JPG, > > and, even though the file exists, MovieClipLoader just doesn´t load it! > Weird! What could be happening? Its being played in Flash Player 8 and > the > swf is version 7. > > Thanks in advance, _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
_______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com