Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / September 2006



Tip: Looking for answers? Try searching our database.

setSelectedIndex not firing Change Handler

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
terrencebrown - 12 Sep 2006 22:07 GMT
Is the Change handler supposed to fire when setSelectedIndex() is called?

After adding a line of code to the
http://www.adobe.com/devnet/flash/articles/xmlconnector.html example I found
this problem. I added a button and the line to it:

on (click) {
    _parent.cbTrips.setSelectedIndex(3);
}

http://www.terrencebrown.com/XMLConnector/

I want the bound data to change but it doesn't.
Philippe Nomail - 13 Sep 2006 19:30 GMT
Hi,

Just add:
    _parent.cbTrips.dispatchEvent({type:"change"});

Philippe
http://philflash.inway.fr
Philippe Nomail - 13 Sep 2006 19:31 GMT
Hi,

Just add:
    _parent.cbTrips.dispatchEvent({type:"change"});

Philippe
http://philflash.inway.fr
Philippe Nomail - 13 Sep 2006 19:32 GMT
Hi,

Just add:
    _parent.cbTrips.dispatchEvent({type:"change"});

Philippe
http://philflash.inway.fr
forumnotifier - 13 Sep 2006 19:32 GMT
Hi,

Just add:
    _parent.cbTrips.dispatchEvent({type:"change"});

Philippe
http://philflash.inway.fr
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.