//获取上传文件名
System.useCodePage=true;
var uploadURL:URLRequest;
var file:FileReference;
file = new FileReference();
file.addEventListener(Event.SELECT, selectHandler);
file.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
file.addEventListener(ProgressEvent.PROGRESS, progressHandler);
file.addEventListener(Event.COMPLETE, completeH
- AS3.0上传示例
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- Flash8/9结合ASP上传小结
使用file.upload可以带参数给后台的ASP程序: file.upload(_root.iisPath+"uploadFile.asp?userName="+_root.userName+"&uploadName="+_root.uploadName); 后台的uploadFile.asp:
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- 终于搞定Flash9+As3.0+Asp版的大头贴
我还是习惯用Flash而不是Flex,因此很希望能将Flex版的大头贴程序改成Flash9版的,经过N天查找资料和偶的不断摸索,Flash9+As3.0+Asp版的大头贴终于搞定,这样就可以自由地加上其它功能了。相关资料请参考以前的帖子。 ...
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- 將ByteArray 物件傳給PHP 存檔
ByteArray 物件可以透過 URLRequest 物件傳給後端 --- _btn.addEventListener(MouseEvent.MOUSE_UP, myMouseUp);function myMouseUp(e:Event){ var req:URLRequest = new URLRequest("test_request.php");
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- Flash9中的PNGEnc
package { import flash.geom.*;import flash.display.*;import flash.utils.*; public class PNGEnc { public static function encode(img:BitmapData):ByteArray { // Create output byte array ...
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- Flash9中的JPEGEncoder
package {
import flash.geom.*;
import flash.display.*;
import flash.utils.*;
public class BitString {
public var len:int = 0;
public var val:int = 0;
};
public class JPEGEncoder{
// Static table initialization
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- AS3中的PNG编码—用FLASH生成PNG
注:耗子英语水平一般,可能有写地方翻译(或许称不上翻译)的驴唇不对马嘴,但是希望大家能从这篇文章中学到一点东西:)呵呵。有纰漏的地方希望大家指正。关于PNG的编码模式,请大家自己在搜索引擎上进行查找AS3中的PNG编码! 作者:kaourantin.net 我希望各位已经使用过了AS3 ...
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- Win2000下使用Flash9
默认情况下,Win2000下是不允许安装Flash9的,为了使用Flash9再额外安装WinXP有点浪费空间,怎么办呢?
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- Flash9来了
今天从Danger(http://www.dengjie.com/)那儿看到了Flash9出来的消息,真是激动人心啊,终于可以在Flash环境内使用As3.0了。 ...
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- Flash也能P2P
这个世界真是不可思议!
Flash竟然也能P2P!!
除了文字,还能语音!!!
中国的牛人真不少呀!!!! ...
Flash竟然也能P2P!!
除了文字,还能语音!!!
中国的牛人真不少呀!!!! ...
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- 让SWF同时访问本地和网络的方法
以前要让SWF同时访问本地和网络,都要到MM(现在是AD)的站去设置很麻烦,经过摸索和查资料,原来这样也是可以的:
1、找到这个文件夹:boot disk\Documents and Settings\\Application Data\Macromedia\Flash Player\#Security
2、在其下建立一个名为&quo ...
1、找到这个文件夹:boot disk\Documents and Settings\
2、在其下建立一个名为&quo ...
我要留言To Comment 阅读全文Read All | 回复Comments() 点击Count()
- 好玩的动画
一个做得非常好玩的动画,原来FLASH8还可以这样玩呀:
abum.com/file/shadow/animations/17632.swf ...
abum.com/file/shadow/animations/17632.swf ...





