This content has been marked as final. Show 3 replies
Hey Walter, it's not that your doing anything wrong :) But here's the deal, the on handlers on the parent 'banner' are overriding, or kind of 'covering up' the handlers for the banner children. This is typical, like putting a button inside a button the second button wont work, and the first or top level handlers are the only ones that receive events.
So one solution would be to leave the handlers on the parent level 'banner' MC, and add an onPress to that level, then use a hitTest method to determine which banner was clicked, kind like this:
(sound of sharp slap on forehead)
Y'know something? I haven't used ActionScript for around 4 months. It's amazing how stupid one gets. Thanks for re-teaching me.
Thanks to your reminder, I came up with an alternate solution of just using _ymouse values to set the horizontal scrolling.
LOL!!!! yeah, I wondered what was up!!! ;)
you're welcome, nice and clean scrolling algorithm there now as well :)