Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

go next frame behaviour help!!

Status
Not open for further replies.

cnattress

Programmer
Apr 13, 2003
4
GB
hi,

ive got 30 or so scores and need to create a button to get from frame to frame. Ive tried doing this but, whenever i click on a frame it goes back to the start??

Can anyone help!

Cheers,

Craig UK
 
I am not clear on exactly what you mean.. If I understand your question correctly you are just looking to click a button to move between frames to different sprites?

Are you placing your sprites on the score spanning across multiple frames? (ie- sprite one spans from frame 1-10, sprite 2 spans from 11-20..etc)

If so- one method would be to use "markers"
You could use sometihng like-

on mousedown
go to frame "*****" ( * represent your marker name )
end
-----------------------------------------------------
als0-Make sure you are using

on exitFrame me
go to the frame
end
(to keep the play head from looping)

Not sure if this will help but here it is anyway..

good luck, Red
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top