Flex——Flash Player Not Found
Are you running your Flex Application and continually getting the error below?
"Flex Builder cannot locate the required version of the Flash Player. You might need to install Flash Player 9 or reinstall Flex Builder. Do you want to try to run your application with the current version?"
Description:
This error is not a critical error and if you click on the Yes button the application will most likely run the way the you expect it. The reason this happened may have been because you recently did an express install or just an upgrade to your Flash Player.
Solution:
To get rid of this window constantly popping up you need to do one of the following:
1.Reinstall the Flash Player
Follow this link and reinstall the Flash Player. Get the latest Flash Player Debug Version
This may or may not solve the issue.
2.Put the missing file in the folder that Flex is expecting.
As you can tell Flex is looking for the dll in the folder C:\Program Files\Mozilla Firefox\plugins but if you look in that folder I would wager that the file NPSWF32.dll is not there. Where you will find the file is in the following folder C:\Windows\System32\Macromed\Flash . Simply do a copy and paste from the Macromed\Flash folder into the Firefox\plugins folder and you will eliminate the error.
3.Point Flex to another browser.
If the above method doesn't work (which it should) then you can use IE as your default browser. The way you change your default browser in Flex is by going to the menu and clicking Window >> Preferences.
This will pop-up the Flex preferences window. from within the Flex preferences window select General >> Web Browser and then change the Browser from Firefox to IE as shown in the image below.
4.Last resort reinstall Flex.
Below are two links to help you trouble shoot.
Get the latest Flash Player Debug Version
Find out what version you have.
As always Happy Flashing
< type="text/javascript"> < src="http://widgets.outbrain.com/OutbrainRater.js"
相关文档:
C#与Flash交互 (转自小磊在线)
C#与Flash交互
前段日子公司要求做一个C#与Flash交互的东西,用来C#与短信猫通讯将数据传到Flash上显示与操作的应用。
第一步C#添加组件
打开VS2005-工具-选择工具箱项-COM组件-选择Shockwave Flash Object-确定
添加好组件往场景上拖放,如果提示注册需求注册
c# 注册控件-在运行输 ......
这样的一种情况:
使用Loader去load一个swf:
var fileURL:String = “assets/test.swf”
var swfLoader:Loader = new Loader();
swfLoader.contentLoaderInfo.addEventListener(Event.COMPLETE, swfLoaded);
swfLoader.load(new URLRequest(fileURL));
function swfLoaded(evt:Event):void{
&n ......
Flex DataGrid组件
实际上,DataGrid组件是属于列表组件的,之所以单独拿出来讲解,主要是因为 DataGrid组件有着很强大的功能,也有很多扩展的应用是在开发中经常用到的。DataGrid组件是按照行和列的形式显示数据的。有几个类是只有 DataGrid组件才能使用的,包括DataGridCellEditor类、DataGridColumn类和HeaderRendere ......
这个程序是从2.0 改过来的,是网上一个程序,只是修改了一些内容,变成这种情况。这几天没有写程序,有点懒惰。于是今天又补充这种不错的应用。这个程序采用的是绘图API 最基本的绘制线,但是对其进行一些修改,使他产生上面的效果。漂亮不?呵呵,我都觉几漂亮,
作为绘图API 一个内容补充吧。
好,闲话不说。看 ......