So I have this linear photo “slideshow” with forward and back buttons in which the photo frame resizes to fit the image, and I want to add the ability to move through the photos via the arrow keys. However, when I applied the code it advances the photo, but the border is consistently sized to the current photo -1 in the xml (if that makes sense), even thought the same function is applied to both the buttons, and the arrow keys.
The live example can be seen here http://www.bus15.com/clients/shalowitz/Flash/
I’ve also attached the FLA. Thanks in advance!
http://www.bus15.com/clients/shalowitz/Flash/shalowitz.fla
And here’s the xml:
<?xml version="1.0" encoding="UTF-8"?>
<portfolio>
<image title="" source="photos/1.jpg"/>
<image title="" source="photos/2.jpg"/>
<image title="" source="photos/3.jpg"/>
<image title="" source="photos/4.jpg"/>
<image title="" source="photos/5.jpg"/>
<image title="" source="photos/6.jpg"/>
<image title="" source="photos/7.jpg"/>
<image title="" source="photos/8.jpg"/>
<image title="" source="photos/9.jpg"/>
<image title="" source="photos/10.jpg"/>
<image title="" source="photos/11.jpg"/>
<image title="" source="photos/12.jpg"/>
<image title="" source="photos/13.jpg"/>
<image title="" source="photos/14.jpg"/>
</portfolio>