PDA

View Full Version : flex product view components


luciferonline
02-25-2008, 06:16 PM
Hey all
Just trying to switch the data feed for a flex 3 component. (catalog)

<ProductsView id="pView2" label="Digital Cameras" activate="catalog = film" catalog="{catalog}"
showEffect="Blur" hideEffect="Fade"
/>
<ProductsView id="pView2" label="Digital Cameras" activate="catalog = digital" catalog="{catalog}"
showEffect="Blur" hideEffect="Fade"
/>

this works but there is no switch back to the digital state. obviously the activate func is not going to work. I have tried on click="".
Not sure maybe I have to run an INT type script to look for any modifications inside the ProductView.mxml file.

Or is there a function that handles this type of interaction??

cheers