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

OnEnterFrame not working on low FPS flashes? #141

Open
DelSystem32 opened this issue Sep 29, 2015 · 2 comments
Open

OnEnterFrame not working on low FPS flashes? #141

DelSystem32 opened this issue Sep 29, 2015 · 2 comments

Comments

@DelSystem32
Copy link
Contributor

I add a callback to the root movie in my LWFObject like so:

lwf.AddMovieEventHandler(lwf.rootMovie.instanceId, enterFrame:OEF);

This OEF method is called fine if the swf was exported at 3 FPS or higher. At a frame rate of 3 it is called three times per second as it should. But if I set the FPS to 2 or 1 in my FLA project the OEF method is called once and then never again.

@splhack
Copy link
Contributor

splhack commented Oct 9, 2015

How about calling LWF.SetFrameSkip API?

lwf.SetFrameSkip(false);

@DelSystem32
Copy link
Contributor Author

It doesn't work, I've tried calling lwf.SetFrameSkip(false); right after Load() and it still just stops animating. Right now LWF doesn't support 1 or 2 FPS flashes.

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

2 participants