Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Usability

  • Print
  • + Share This
Like this article? We recommend


Now open Flash and import the two JavaScript classes from the Integration Kit.

import com.macromedia.javascript.JavaScriptProxy;
import com.macromedia.javascript.JavaScriptSerializer;

Instantiate the JavaScriptProxy object and pass it two parameters. The first parameter is the local connection id that we already set in flashvars, and the second is the scope of your Flash file.

var proxy:JavaScriptProxy = new JavaScriptProxy(_root.lcId, this);

At this point, you have the foundation code that you need to move forward with Flash.

  • + Share This
  • 🔖 Save To Your Account