Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MovieClip:getFrame() #214

Closed
totebo opened this issue Feb 25, 2016 · 6 comments
Closed

MovieClip:getFrame() #214

totebo opened this issue Feb 25, 2016 · 6 comments

Comments

@totebo
Copy link
Contributor

totebo commented Feb 25, 2016

This would be handy when you want to synchronize the frames on separate MovieClips, ie. a character changing direction on frame 5 should start on frame 5 in its new state.

http://giderosmobile.com/forum/discussion/6078/movieclip-frame

@AnthonyBall1966
Copy link
Contributor

Also a movie:setFrame(x) - so you could program a movie clip that was looping to skip out of the loop and continue if a specific event occurred in the main program.

@ar2rsawseen
Copy link
Member

@SinisterSoft isn't that's what gotoAndPlay/Stop is for?

@AnthonyBall1966
Copy link
Contributor

lol, yes I suppose it is - you learn something new every day! :)

@totebo
Copy link
Contributor Author

totebo commented Feb 26, 2016

Don't forget what we came here for: MovieClip:getFrame(), mm, sweet getFrame().

Another method to complete the package:

MovieClip:setPaused(bol)

To be able to stop animations when player hits pause, for instance.

@tkhnoman
Copy link
Contributor

There is MovieClip:stop and MovieClip:play, so MovieClip:setPaused(bol) is not needed i guess.

@totebo
Copy link
Contributor Author

totebo commented Mar 13, 2016

Ah yes, you're right. So then MovieClip:getFrame() is the one thing needed.

hgy29 added a commit that referenced this issue Feb 22, 2017
@hgy29 hgy29 closed this as completed Feb 22, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants