Connecting Tech Pros Worldwide Forums | Help | Site Map

import flash.external.ExternalInterface error

Newbie
 
Join Date: Jul 2009
Posts: 13
#1: Oct 15 '09
import flash.external.ExternalInterface;
after compile this error occurs

**Error** Symbol=Menu_Buttons, layer=Layer 12, frame=1:Line 1: Syntax error.
import flash.external.ExternalInterface;

Total ActionScript Errors: 1 Reported Errors: 1



gopan's Avatar
Member
 
Join Date: Apr 2009
Location: Kochi (COK), India
Posts: 41
#2: 1 Week Ago

re: import flash.external.ExternalInterface error


I don't understand where you are using ExternalInterface....

Usually itz required when you call JavaScript in the container HTML or otherwise to call ActionScript function from JavaScript...

You must write a Document class and import the ExternalInterface to it...
Reply

Tags
import flash.external