ÔÚFLEXÖеÄstageÒÔ¼°È«ÆÁÏà¹ØÄÚÈÝ
ÏÖÔÚÎÒÃÇÏÈ¿´¿´´úÂë,ÏÂÃæµÄ´úÂë×°ÔÚcreationCompleteʼþÖе÷ÓÃinit()À´Æô¶¯È«ÆÁ.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
creationComplete="init()"
>
<mx:Script>
<![CDATA[
private function init():void{
stage.displayState = StageDisplayState.FULL_SCREEN;
}
]]>
</mx:Script>
</mx:Application>
ÏÖÔÚ±£´æÔËÐÐÒ»ÏÂswf,È´ÓÐTypeError..ÏêϸÐÅÏ¢ÈçÏÂ
view plain
copy to clipboard
print
?
Main Thread (Suspended: TypeError: Error #1009: ÎÞ·¨·ÃÎʿնÔÏóÒýÓõÄÊôÐÔ»ò·½·¨¡£)
swf_fullscreen/init
swf_fullscreen/___swf_fullscreen_Application1_creationComplete
flash.events::EventDispatcher/dispatchEventFunction [no source]
flash.events::EventDispatcher/dispatchEvent [no source]
mx.core::UIComponent/dispatchEvent
mx.core::UIComponent/set initialized
mx.managers::LayoutManager/doPhasedInstantiation
Function/http://adobe.com/AS3/2006/builtin::apply [no source]
mx.core::UIComponent/callLaterDispatcher2
mx.core::UIComponent/callLaterDispatcher
Main Thread (Suspended: TypeError: Error #1009: ÎÞ·¨·ÃÎʿնÔÏóÒýÓõÄÊôÐÔ»ò·½·¨¡£) swf_fullscreen/init swf_fullscreen/___swf_fullscreen_Application1_creationComplete flash.events::EventDispatcher/dispatchEventFunction [no source] flash.events::EventDispatcher/dispatchEvent [no source] mx.core::UIComponent/dispatchEvent mx.core::UIComponent/set
Ïà¹ØÎĵµ£º
http://www.cnblogs.com/beniao/category/190537.html
WebORB for .NET £º http://www.cnblogs.com/beniao/category/190537.html
Õâ¸öÍøÒ³Ò²ÓзǿÉÊÓ»¯×é¼þ¡¢Êý¾Ý¿ÉÊÓ»¯×é¼þ¡¢´òÓ¡×é¼þÒÔ¼°ÐÐΪЧ¹û×齨µÈ:http://examples.adobe.com/flex3/componentexplorer/explorer.html ......
ת£ºhttp://hi.baidu.com/qinpanke/blog/item/39745a834df933a50cf4d2fc.html
********************************************************************************************************
Ò»Çж¼ÔÚ´úÂëÖУ¬ÎÞÐè¶àÑÔ¡£ÐèҪעÒâµÄÊÇ£º
'_self'´ú±íÔÚ±¾´°¿ÚÖдò¿ª
'_blank'´ú±íÔÚºǫ́д°¿ÚÖдò¿ª
******************* ......
Flexʼþ»úÖÆ
Flexʼþ»úÖÆÊǹ۲ìÕßģʽ£¬¼´Ê×ÏÈҪע²áʼþ£¬Ê¼þ·Ö·¢ºóͨ¹ýʼþÏìÓ¦º¯Êý½øÐд¦Àí¡£
ÀýÈçÔÚAS3ÖУº
button.addEventListener(“click”,onClick);//Ïòbutton×¢²áÒ»¸öclickʼþ
internal function onClick(evt:MouseEvent):void{txt.text=“click a button!”;}//ʼþÏìÓ¦º¯Êý
ÄÇÃ ......
public function submit():void{
//ÒªÇëÇóµÄURL
var request:URLRequest = new URLRequest("
http://localhost:8086/test.do
") ;
var load:URLLoader = new URLLoader() ;
//URL²ÎÊý
& ......
--Ó¢ÎÄ
mxmlc -locale=en_US -allow-source-path-overlap=true
-include-resource-bundles=mf,collections,containers,controls,core,effects,formatters,logging,SharedResources,skins,states,styles,validators
-source-path=D:/UBAS_HOME/ClientCode/demo/client/code/MainFrame/assets/locale/en_US
-output=E:/ ......