Link to home
Start Free TrialLog in
Avatar of duder78
duder78

asked on

scrolling content in Flash

Hey there

I'm working on a banner advertisement which loads XML content into a movieclip.  I need this movieclip to slowly scroll from bottom-to-top BUT if the user hovers the mouse over the clip i'd like it to stop.  I'd also like to add scroll-up and scroll-down buttons which scroll in either direction quicker so that they can scan the items for sale.

I'm new to Flash and just getting the XML loaded, as simple as it was, was a fairly laborious thing for me to do.  Any help would be much appreciated!
Avatar of duder78
duder78

ASKER

Here is a link to an archive will all related files.  I've got the content scrolling using an onEnterFrame event...now I just need :

1 - the content to stop when the mouse moves into the advertisement
2 - the content to start scrolling again on mouseout and finally..
3 - content scrolls up or down if up/down button is scrolled over (these buttons don't exist yet.)

Please be aware...for some reason, the content just freezes after awhile when I test within flash.  If I publish the file and view it in a browser, this freeze does not occur.  Just a heads up.

Here's the link :

Project Files
Avatar of duder78

ASKER

I've made a few attempts at implementing the scrolling but to no avail.  I tried using setInterval and couldn't get it to work properly.  Ahhhhhh.  Anyways, i've added the UP and DOWN arrows on the right side but they don't do anything.  Here's an updated link to the source files :

Project Files
ASKER CERTIFIED SOLUTION
Avatar of ChristoferDutz
ChristoferDutz
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of duder78

ASKER

That's just what I needed.  I've found that the built in tweening class in AS3 is a bit buggy...i'll definitely be using this one from now one.  Thanks alot.