PDA

View Full Version : capture value from List component


jameskeane
05-25-2006, 11:11 AM
Hi all,

i'm desperate. I've got my dynamic xml populating my List component fine. However, depending on what the value returnedis, i want flash to load an external .swf file.

so, if the value seen in the List component is "Brochure" i need flash to call Brochure.swf.

Please help guys. i'm really struggling with this one.


thanks in advance,
James

:confused: :confused:

jameskeane
05-25-2006, 12:04 PM
ok, so i've made some progress, using this code:

trace(product.getItemAt(0))

i now see a value listed in the output window.

What code do i now need to use this value to launch my .swf?

thanks!

kgaard
05-25-2006, 06:44 PM
can you post your code? I'd need to know how you're getting the returned value in order to help..