flex 超链接的实现
转:http://hi.baidu.com/qinpanke/blog/item/39745a834df933a50cf4d2fc.html
********************************************************************************************************
一切都在代码中,无需多言。需要注意的是:
'_self'代表在本窗口中打开
'_blank'代表在后台新窗口中打开
********************************************************************************************************
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" creationComplete="initApp()"
layout="absolute"
width="278"
height="244">
<mx:Script>
<![CDATA[
internal function initApp():void{
var str:String = "<a target='_blank' href='http://hi.baidu.com/173000/'>点击超级链接</a>";
link.htmlText = str;
}
internal function openUrl():void{
navigateToURL(new URLRequest("http://hi.baidu.com/173000/"), "_blank");
}
]]>
</mx:Script>
<mx:Button x="72" y="117" label="点击超级链接" fontSize="13" id="link2" click="openUrl()"/>
<mx:Text id="link" text="xcopy" x="72" y="47" fontSize="13"/>
</mx:Application>
另外一个例子:
<mx:LinkButton label="***"
click="
相关文档:
废话不说,直接代码部分代码摘抄自网上,在此想原作者表示感谢
1、服务端 uploadFile.ashx
<%@ WebHandler Language="VB" Class="UploadFile" %>
Imports System
Imports System.Web
Imports System.Web.HttpServerUtility
Imports System.IO
Imports System.Web.HttpRequest
Public Class UploadFile : Impl ......
最近项目需要运用到FLEX,但GOOGLE一下发现可用的资料实在太少了。
找了好久发现google code上在这个还不错,还有很多东西可以好好研究研究
http://code.google.com/p/as3gif/
下面的例子是将动态GIF绑定到SPRITE上
package com.render
{
import flash.display.Sprite;
import flash.events.IOErr ......
Flex拖拽-List内部拖拽
关键字: flex, flex拖拽, list
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="creationHandler();">
<mx:Script>
<![CDATA[
import mx.utils.ObjectUtil;
i ......
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 ......