I have on stage several symbols and a simple text element.
I want the text element to display every symbol's mouseover specific text. For ex. if I mouseover "Symbol_1" the text element should display something like "Your mouse cursor is hovering Symbol_1".
How's the code for this?
You'll need to have a mouseover event defined for each symbol instance or an element within a symbol definition. In that mouseover event, you would update the text field by referring to it this way:
sym.getComposition().getStage().$("Text1").html("Your mouse cursor is hovering over mySym1");
Hope that helps get you started!
Found Elaine's example to be more elucidative.
Thank you both.