PDA

View Full Version : "1172: Definition fl.video could not be found."?


madfatter
04-08-2008, 02:25 PM
Hi,

I'm trying to add a VideoEvent.COMPLETE listener to an flv and I keep getting an error saying: "1172: Definition fl.video could not be found."
As a result I imported the video class:
import fl.video.VideoEvent;
and I also tried import fl.video.*; but the error still persists.

This seems pretty straight forward to me and I can't figure out why the compiler can't find the definition. Could it be a problem with my flash installation? I'm using Flash CS3 on a mac.

Thanks for any advice.

pschlup
05-04-2008, 09:27 PM
I had a similar issue on my Windows XP installation. I believe the error arises because your component definitions are not in their standard locations, see
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000388.html

My components are installed on F: rather than C: drive. A solution was to add the correct path the Classpath. On the XP installation of CS3 Flash:
- Select Menu Edit > Preferences...
- Select ActionScript in the list at left
- Click the ActionScript 3.0 Settings button
- The use Navigate to Folder to add the correct folder.

Hope this helps.