Skip to main content
Inspiring
May 9, 2006
Question

need correct script

  • May 9, 2006
  • 2 replies
  • 398 views
I am trying to scroll a graphic that will scroll continuously only while the button is pressed. I can't seem to find the right code to make it work.
I have an up button and a down button to move the graphic.
The graphic is set up as a frame by frame animation so
I am trying to use on enter frame, then on press, next frame (or previous frame depending on which button)
Can someone help me with the correct way to set the code up?
Thanks a lot.
Ken
This topic has been closed for replies.

2 replies

kglad
Community Expert
Community Expert
May 9, 2006
you must convert your graphic to a movieclip.
kglad
Community Expert
Community Expert
May 9, 2006
try:

NevermyndAuthor
Inspiring
May 9, 2006
Kglad

Thanks. RIght now the the graphic to scroll is just a graphic. Do I need to convert it to a movie clip and give it an instance name and insert that into your supplied code in place of "yourgraphic"