PDA

View Full Version : Only 2 images load


mpettitt
10-05-2006, 05:12 AM
I've written the attached script - it is supposed to load images selected in the XML file, and display them, with a nice animation, and the appropriate link, in the Flash output.
It is intended for SOLO deployment, but doesn't appear to be affected by this, as the same problem happens in SOLO and proxied deployment.

Basically, only the last two images are loading. It isn't a problem with the images themselves, as I've tried changing the order of them in the XML file, and still the two that are mentioned last are the only ones loaded.

The debugger comes up with a timeout, and sometimes claims they are already loaded, but they never appear.

Suggestions?

mpettitt
10-09-2006, 01:06 AM
Nobody has any ideas?

I was hoping it was just something simple that I wasn't seeing due to staring at it for too long - the weird part is that the previous version, which loaded larger images, worked fine. The main changes were the image sizes and positions.

senshi
10-09-2006, 04:05 AM
Hello mpettitt,
I could reproduce your image-bug at home.
As a simple solution, you could replace:

<image src="$path{'image[1]/@url'}" />

with:

<image datapath="image[1]/@url" />


That worked for me.
(It might be a problem with data-binding and so on...I don't really know...)

Best regards,
André

mpettitt
10-10-2006, 07:46 AM
Wonderful!

How strange that it works for some but not all with the other method though.

Working perfectly now, thank you!