Topic: Show current image name

Hi - I would like to know how I access the current images' name that is being displyed in SV ? I would like to build a shopping cart system and need to be able to grad the image details for the currently displyed image. Thanks.

Re: Show current image name

This code will trace the current image filename:

trace (XMLManager.getInstance().imageFileNames[ImageArea.getInstance().currentImageIndex]);
Felix Turner
SimpleViewer Support Team.

Re: Show current image name

Great thanks

big_smile

Re: Show current image name

i'd like to set up the same thing, brantwinter can you explain or show to me how you used the image filename to transfer to a shopping cart?

[url]http://www.mckayphotography.com.au[/url]

Re: Show current image name

Anyone?!

Felix can you elaborate on where the code above should go?

[url]http://www.mckayphotography.com.au[/url]

Re: Show current image name

The code above will work anywhere in the ActionScript.

Felix Turner
SimpleViewer Support Team.

Re: Show current image name

Thanks Felix.

Then for it's use....would I call the image number / name with javascript to pass to the shopping cart, or something else?

Cheers

[url]http://www.mckayphotography.com.au[/url]