登录     没有帐号?注册

布施网在线供佛布施网慈善点击“护国·报恩”甚深般若奥运报数系统布施网简体大藏经阅读
仁王护国网上坛城护国伽蓝阁在线祭祀如何使用般若奥运报数系统? 
查看: 737|回复: 2

Where component source files are stored

[复制链接]
发表于 2010-1-7 10:51 | 显示全部楼层 |阅读模式
The ActionScript (.as) class files (or source files) for components are installed in the following application folders for Windows 2000 or Windows XP:

User Interface components
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\User Interface\fl

FLVPlayback
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\FLVPlayback\fl\video

FLVPlaybackCaptioning
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Component Source\ActionScript 3.0\FLVPlaybackCaptioning\fl\video

For Mac OS X, the component source files are located here:

User Interface components
Macintosh HD:Applications:Adobe Flash CS3:Configuration:Component Source:ActionScript 3.0:User Interface:fl

FLVPlayback
Macintosh HD:Applications:Adobe Flash CS3:Configuration:Component Source:ActionScript 3.0:FLVPlayback:fl:video

FLVPlaybackCaptioning
Macintosh HD:Applications:Adobe Flash CS3:Configuration:Component Source:ActionScript 3.0:FLVPlaybackCaptioning:fl:video
 楼主| 发表于 2010-1-7 10:52 | 显示全部楼层
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:
Code:
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.
 楼主| 发表于 2010-1-7 10:52 | 显示全部楼层
Re: 1172: Definition fl.video could not be found.
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/...=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.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|布施网 ( 渝ICP备16011535号 )

GMT+8, 2024-11-27 17:45 , Processed in 0.159344 second(s), 17 queries .

布施网法律顾问:周治均律师 中华人民共和国律师执业证号:19020511008028

© 2001-2012 布施网

渝公网安备 50011202500140号

返回顶部