Self Help/SlideRocket Advanced/Best Practices

Best Practices for SWF Development

Tara Clark
posted this on October 15, 2010 02:31 pm

This guide covers the general best practices for engineering SWFs compatible with SlideRocket. Make sure to adhere to the following guidelines when creating SWFs.

 

What to Do When Creating SWFs

  • Set Frame rate to 60
  • Sandbox: Keep your SWFs self-contained
  • Check your code: Open your SWF in a browser with Adobe Flash Debug player installed. If you get an ActionScript error, fix it before you upload to SlideRocket
  • Use ActionScript 3.0

 

What Not to Do When Creating SWFs

  • Reference root
  • Reference application.application
  • Intercept stage events
  • Set the "scaleMode" property on the stage. If this is a requirement, then set it to "noScale". To reference the ActionScript 3.0 Language Reference pertaining to this stage click here
  • Use Action Script 2.0
 
Topic is closed for comments