易截截图软件、单文件、免安装、纯绿色、仅160KB

在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


相关文档:

flex学习起步

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 ......

flex tree 自动显示横向滚动条

mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:cmp="com.render.*"
    height="100%" width="100%" paddingTop="0" paddingBottom="0" paddingLeft="0" paddingRight="0">
    <cmp:AutoSizeTree
&n ......

flex学习 导航

几种导航选项卡
  <?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical">
<mx:ButtonBar dataProvider="myPages">
</mx:ButtonBar>
<mx:ToggleButtonBar dataProvider="myPages">
</mx:ToggleButto ......

flex与asp.net互操作系统,基于Socket的网络连接

Flash/Flex也支持基于Socket的网络连接 ,服务器端可以是C++,VB,C#,Java等任一语言开发。监听一个网络端口便可以接收到Flash/Flex开发的客户端的连接。     
     ActionScript 3.0提供了通过Socket连接的方式与服务器端通信。这点是超越传统B/S结构的重要特征。这样使得网 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号