|
From: mattperr on 17 Apr 2008 19:26 Hi, I builded this dynamic gallery page that display the pictures using an UI Loader component. When I test the movie in Flash the gallery loads and displays the external picture with no problems. However, once the html and SWF file are upoladed on line you can see everything correctly but the clickable thumbnails won`t open any picture. In the FTP I`m keeping the same exact path as my directory. The code says btn1.addEventListener(MouseEvent.CLICK, ldr1) function ldr1 (e:Event) { my_ldr.source = "PICTURES/FASHION/fashion1.jpg"; } So, I have a PICTURES folder in the same directory as the SWF and HTML document and inside of it I have the FASHION folder containing the pictures called "fashion1", "fashion2", and so forth... I can send more code if necessary. It seems a pretty straightforward process and it should work, but I can gigure out why is not working. Anybody have any idea why? Here` s the website in progress http://www.erinbarry.co.uk/staging/home.html
From: rritchey on 18 Apr 2008 11:14 I see in the directory tree of your web host that all of your jpg's have all caps for their extensions (fashion1.JPG not fashion1.jpg). If you change the path in the Flash or change the filenames this will work. Often, your local computer OS doesn't care about caps vs no-caps, whereas web servers often do care, and in this instance your web server does. To test this, if you put "http://www.erinbarry.co.uk/staging/PICTURES/FASHION/fashion1.jpg" into the browser path you get a "404 Not Found" error. If you change it to "http://www.erinbarry.co.uk/staging/PICTURES/FASHION/fashion1.JPG" you get the image.
From: mattperr on 18 Apr 2008 11:48 Rritchey, you are the man!!! Thanks a lot! Matteo
|
Pages: 1 Prev: Help with Transitions Next: Constant error message, Need Help! |