Animate CC : HTML5 Canvas でパブリッシュしてiOSで mousedown を使うためのjsコード
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (createjs.Touch.isSupported()) { | |
createjs.Touch.enable(stage, true); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
もともと、Animate CC の HTML5 Canvas でパブリッシュしたHTMLをiframeタグでワードプレスに貼り付けてiOSで見ると思ったような操作ができませんでした。
・画面をタップする度に暗くなる
・mousedownが効かない
これらの不具合を解消するために、このコードをflaファイルのメインタイムラインの初めのフレームに書き込んだどころ、これらの不具合は解消されました。