I'm loading a simple swf with nothing but a button labeled ghm into a scrollpane.
I have a sound component on the timeline along with the scrollpane.
I want the buttons inside of the scrollpane to control the sound component but I'm not even getting a trace to work so something is up.
I have this code on the timeline of the movie clip which has a scrollpane:
ActionScript Code:
this.jingleList.jingleButtons.ghm.onRelease = function() {
trace("this works");
//soundPlayer.doPlay();
};
this referring to the movie clip that houses the scrollpane.
jingleList is the instance name of the scrollpane.
jingleButtons is the name of the loaded swf file
ghm is the instance name of the button inside of the jingleButtons swf
I've also tried
this.jingleList.content.jingleButtons.ghm...etc but that doesn't work either
What am I missing?
Thanks