Hi, There are some migration issue if publish by Flash IDE #206

Open
cjboy1984 opened this Issue Dec 3, 2011 · 0 comments

Comments

Projects
None yet
1 participant

Following are the issue function name:
onKeyUp, onKeyPress, onKeyDown, onMouseDown, onMouseUp, onMouseMove

If you publish by Flash IDE, it will show lots of warnning like:
"Migration issue: The onRelease event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'click', callback_handler)."

@IQAndreas IQAndreas added a commit to IQAndreas-testprojects/IQAndreas-flixel that referenced this issue Dec 19, 2011

@IQAndreas IQAndreas Suggested fix for Issue #206
Using the following function names results in Migration Issue warning
from Flash Professional:
onKeyUp, onKeyPress, onKeyDown, onMouseDown, onMouseUp, onMouseMove
AdamAtomic#206

Replaced all occurances of those names with:
handleKeyUp, handleKeyPress, etc.
(I hope I got them all!)
2aeaa3e

@IQAndreas IQAndreas added a commit to IQAndreas-testprojects/IQAndreas-flixel that referenced this issue Dec 25, 2011

@IQAndreas IQAndreas Suggested fix for Issue #206
Using the following function names results in Migration Issue warning
from Flash Professional:
onKeyUp, onKeyPress, onKeyDown, onMouseDown, onMouseUp, onMouseMove
AdamAtomic#206

Replaced all occurances of those names with:
handleKeyUp, handleKeyPress, etc.
(I hope I got them all!)
3c9f307
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment