I’m creating a bunch of movieclips, associating a sound object with them, and then updating them with a progress bar, like so:
var theClip:MovieClip = new MovieClip;
theClip.track = new Sound;
[load sound from URL pseudocode here]
theClip.track.addEventListener (ProgressEvent.PROGRESS, onLoadProgress);
function onLoadProgress (e:ProgressEvent):void {
e.target [some reference???]
How do I reference the movieClip the sound is a child of? e.target refers to the sound object; e.target.parent returns an error. And you can’t assign properties to sound objects.