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 wont open any picture. In the FTP I
m keeping the same exact path as my directory.
Heres` the code for each button (thumbnail):
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
btn1.addEventListener(MouseEvent.CLICK, ldr1)
function ldr1 (e:Event) {
my_ldr.source = “PICTURES/FASHION/fashion1.jpg”;
}