游戏开发
Jan 24

swf?????flv???

admin , 21:36 , 游戏开发 , 评论(0) , 引用(0) , 阅读(26947) , Via 本站原创
flvplayback????????????fullScreenTakeOver : Boolean ?????true???????????????????as???
??.fullScreenTakeOver=true.
???ok??
Tags: , , ,
Nov 28

??????shareobject()??????????????????????????????????????????????????????

Flash???????????????????????????Flash??????????????????????????????????

??SharedObject??

???????SharedObject?????????????????????????????Flash?????????????????????????SharedObject???????????????????????????????????????????.sol?
?????????????????????????????????
1?getLocal(name)??? ?“name”?????????????????
2?flush????? ???????????????
3?data?????????????????????

????????????????????????????
SharedObject.getLocal(objectName [, localPath])
??objectName??????????localPath??????????

// ?????????????
var cookie:Object = SharedObject.getLocal("cookie");

??????????????cookie.sol??????????????100k???????????flash????????????????????????????flash???????SharedObject????????????SharedObject????swf??????localPath ?? "/"?
?win2k? win xp???????C:\Documents and Settings\username\Application Data\Macromedia\Flash Player\#SharedObjects (username???????)

?????????????data?????????“????”????????????????/???????????????????????????????????cookie????? SharedObject???????????SharedObject???????????cookie???????

cookie.data.name = "??";
cookie.data.password = "123456";
cookie.data.rememberPassword = true;

??????????????????????????cookie.flush()?????

????????????????????????

  1. var user_so = sharedobject.getlocal("user"); // ?????????
  2. send_btn.onRelease = function() {
  3. with (user_so) {
  4. data.name = name; //?data???flush?????????????????
  5. flush();
  6. }
  7. };

?????????????????????????????.sol???????????cookies??????

   ???????flash?????????????SharedObject.getLocal()?????path?????????????flash?????????????


Tags: ,
Nov 28
????????????????????


??????????????TrustFiles.txt       ??????????????????????

c:\
d:\
e:\
f:\

??????????????????????????????

C:\Documents and Settings\Administrator\Application Data\Macromedia\Flash Player\#Security\FlashPlayerTrust

????????????

Tags: ,
Nov 27

FMS3.5??IIS???

admin , 22:33 , 游戏开发 , 评论(0) , 引用(0) , 阅读(24817) , Via 本站原创

??????windows?????????????????FMS???????"??"????????????????????

1.??FMS3.5

http://www.adobe.com/products/flashmediainteractive/?promoid=DJDTG

???????????(?????????????????)

2.??Next??

 ?????????Apache 2.2 (??IIS???apache???)

??????????????????IIS????????Apache?????????.

3.?IIS?????

????C:\Program Files\Adobe\Flash Media Server 3.5\webroot ????????????????????8080

???iis?mime??????"smil","flv","f4v"????(??????http??flv??)

4.??fms.ini

fms.ini??????: C:\Program Files\Adobe\Flash Media Server 3.5\conf\fms.ini

??
"ADAPTOR.HOSTPORT = :1935,80"

??
"ADAPTOR.HOSTPORT = :1935,8081" (??????????????80????3???iis??????)

5.??FMS??

??????????Stop????????????Start----??????????????????WC?????

6.????

??http://localhost:8080/??????"Samples","Dynamic Stream","Interactive"????

Samples:??????RTMP,HTTP???????????

DynamicSteam:??????????????????(?:Silverlight????IIS Smooth Video Play ??????)


Interactive?????????????????????????????Flash????????

????CSDN???????????http://blog.csdn.net/yuanpan/archive/2010/04/10/5470800.aspx

Tags: ,
Nov 27
????????,?????????:
TypeError: Error #1009: ????????????????
at fl.controls::TextArea/fl.controls:TextArea::drawLayout()
at fl.controls::TextArea/fl.controls:TextArea::draw()
at fl.core::UIComponent/::callLaterDispatcher()
TypeError: Error #2007: ?? child ?????
at flash.display:DisplayObjectContainer/addChildAt()
at fl.controls::BaseButton/fl.controls:BaseButton::drawBackground()
at fl.controls::BaseButton/fl.controls:BaseButton::draw()
at fl.core::UIComponent/drawNow()
at fl.controls::ScrollBar/fl.controls:ScrollBar::draw()
at fl.controls::UIScrollBar/fl.controls:UIScrollBar::draw()
at fl.core::UIComponent/::callLaterDispatcher()
TypeError: Error #2007: ?? child ?????
at flash.display:DisplayObjectContainer/addChildAt()
at fl.controls::BaseButton/fl.controls:BaseButton::drawBackground()
at fl.controls::BaseButton/fl.controls:BaseButton::draw()
at fl.core::UIComponent/::callLaterDispatcher()
TypeError: Error #2007: ?? child ?????
at flash.display:DisplayObjectContainer/addChildAt()
at fl.controls::BaseButton/fl.controls:BaseButton::drawBackground()
at fl.controls:LabelButton/fl.controlsLabelButton::draw()
at fl.core::UIComponent/::callLaterDispatcher()




??FlashCS3???????TextArea?????????????????????????????????……
fl.controls?????????????????flashcs3??????????????????????????new???Button????Button?????new???TextInput????TextInput?????
Tags: ,
分页: 1/6 第一页 1 2 3 4 5 6 下页 最后页 [ 显示模式: 摘要 | 列表 ]