climbersaurus
04-26-2004, 01:31 AM
Hey everyone,
I'll get straight to the issue:
I have a scrollpane which loads up some jpegs. I basically do this by duplicating a blank MC and then loadMovie(url of jpeg).
For some odd reason, I can't trap the onRelease or onPress method of the MC, although, my trace reveals the name of the movie clip.
Here's a sample:
scrollContent.attachMovie("myMovie", "myMovie", layer);
scrollContent.myMovie.duplicateMovieClip("myMovie" + x, layer);
.
.
.
scrollContent["myMovie" + x].loadMovie(thumbs + item[x].attributes.thumb);
scrollContent["myMovie" + x].onRelease = function() {
trace('hello world');
}
I've also attached the fla source.
The images load up fine... any pointers or leads on this would be great!
Thanks in advance! I really appreciate everyone's effort on this site (it's quite amazing)
- S
I'll get straight to the issue:
I have a scrollpane which loads up some jpegs. I basically do this by duplicating a blank MC and then loadMovie(url of jpeg).
For some odd reason, I can't trap the onRelease or onPress method of the MC, although, my trace reveals the name of the movie clip.
Here's a sample:
scrollContent.attachMovie("myMovie", "myMovie", layer);
scrollContent.myMovie.duplicateMovieClip("myMovie" + x, layer);
.
.
.
scrollContent["myMovie" + x].loadMovie(thumbs + item[x].attributes.thumb);
scrollContent["myMovie" + x].onRelease = function() {
trace('hello world');
}
I've also attached the fla source.
The images load up fine... any pointers or leads on this would be great!
Thanks in advance! I really appreciate everyone's effort on this site (it's quite amazing)
- S