UI Event listeners in CS5


i'm trying have dropdown react changes in order update other ui objects.

 

the code use (only trying alert test purposes) :

 

var mydropdown = dropdowns.add({ stringlist: mylabels, selectedindex: 0 });

mydropdown.addeventlistener('afterupdate', function() { alert("hello"); });

nothing happens when using dropdown, whatever event use ("oninvoke", "afterupdate"...)
any idea ?
thanks

hey!

 

i think have use scriptui dialog/components because support events.

 

--

tomaxxi

http://indisnip.wordpress.com/



More discussions in InDesign Scripting


adobe

Comments

Popular posts from this blog

Hur installera Joomla på One.com - Joomla! Forum - community, help and support

removing index.php from URL address - Joomla! Forum - community, help and support

「イメージマップのアンカー名には、...」のエラーが出ないようにしたい