Navigation for the ZIM JavaScript Canvas Framework

AboutExamplesLearnEditorCodeDocsDevsGold
ZIM SHIM
ZIM Tutorials for Adobe Animate

ZIM SHIM FOR ADOBE ANIMATE

Get the ZIM SHIM ZIP File for Adobe Animate! See TUTORIAL 01
collect Plasma Points for the Plasma Points mobile app with ZIM!

TUTORIALS    ZIP of files used

EXTRA
Put an Adobe Animate MovieClip in a Scrollable Window with ZIM
Load CodePen code into Adobe Animate - with ZIM
How to convert Adobe Animate to SVG to ZIM Blob and Squiggle
Dynamically convert an Adobe Animate shape to a ZIM path
Matching Game made with ZIM - demo inside Adobe Animate

INSTRUCTIONS

In Adobe Animate, choose: Publish Settings > More Settings > HTML/JS > Import New and import the zimshim.html template in the ZIP. Then code with ZIM in Animate! Join us on our FORUM or DISCORD for help. Below is all that is added to the regular template: Please make sure the template is updated to the latest zim_min.js 

TIPS

Here are a few things to watch out for when working with ZIM in Animate.
  1. We have loaded the ZIM version of CreateJS to help with touch screens
  2. Adobe scripts have a loop variable so set loop = zim.loop; to use loop()
  3. Use F.mouseX and F.mouseY to capture mouse positions (F is our Frame)
    This accommodates the scaling of the stage on export to HMTL 5
  4. drag() will drag parts of a MovieClip unless you drag({all:true})
  5. See the zim_full.fla for an example using a the ZIM FULL scaling mode
  6. Use this.stop() to stop the timeline MovieClip to remove its objects
  7. Use the zimshim_cjs.html template if using the Scrambler or List
  8. See the ZIM Tips for many modern ways we code in ZIM
  9. If you are new to ZIM - make sure you use ZIM Docs and ZIM Learn!