°ï°ïæ,FlexÈçºÎÆÁ±ÎÓÒ¼ü,лл
ÍøÉÏÓкܶàFlexÆÁ±ÎÓÒ¼ü,µ«ÊÇÎÒ¾ÍÊÇ¿´²»¶®,Ò²Äܲ»³öÀ´,лл¸÷λÅóÓѰï°ïæ,Íò·Ö¸Ðл,
Ï£Íû´úÂëÉÏдһÏÂ×¢½â,ÎÒÒ²ÏëÖªµÀÔÀíÊÇʲô,¸Ðл
ÔõôûÓиßÊÖ¹ýÀ´°ï°ïæѽ,Íò·Ö¸Ðлѽ
ÄãºÃ,ÎÒÕÕ×ÅÕâ¸ö×öÁË
2, ÐÞ¸ÄFLEXµÄMXML
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="init()" mouseOver="getMouseTarget(event)" >
private var mouseTarget:DisplayObject;
function init()
{
ExternalInterface.addCallback("openRightClick", openRightClick);
}
function getMouseTarget(event:MenuEvent):void
{
mouseTarget = DisplayObject(event.target);
}
function openRightClick():void
{
var e:MouseEvent = new MouseEvent(MouseEvent.MOUSE_DOWN, true, false, mouseTarget.mouseX, mouseTarget.mouseY);
mouseTarget.dispatchEvent(e);
}
function showMouseEvent(event)
{
if(event.buttonDown == true)
Alert.show("Left");
else
Alert.show("Right");
}
¾ÍÊÇÕâ¸öÖÐÀϱ¨´íÎó <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" initialize="init()" mouseOver="getMouseTarget(event)" >
´íÎóÈçÏÂ:flash.evengts.mouseeventÀàÐÍÖµµÄÒþÊ½Ç¿ÖÆÖ¸ÁîµÄÄ¿±êÊÇ·ÇÏà¹ØÀàÐÍmx.events:menue
Ïà¹ØÎÊ´ð£º
ÔÚflashÖкÜÈÝÒ×ÄÜʵÏÖ°ÙÒ¶´°Ð§¹û£¬²»ÖªµÀflexÖÐÄÜ·ñͬÑùʵÏÖ¸ÃЧ¹û£¿
flexÖÐÃ²ËÆ²»ÐУ¬
air¿ÉÒÔ
mark
°ÙÒ¶´°ÊǶà¸öÍøÒ³ÔÚͬһ¸öÒ³ÃæÇл»Âð£¿
ÒýÓÃ
effects\Blinds.as
JScript code
package effec ......
flex ǶÈëµ½jspÖеÄjar°ü£¬ÓÐÈËÓÐÂð£¬Ð»Ð»ÁË
Õâ¸ö²»Óðɣ¬×Ô¼ºÐ´µÄ³ÌÐò£¡
ÐèÒªµÄ
flex2_tag_library_for_jsp.zip
Èç¹ûÄúÓиüºÃµÄ·½·¨£¬ÊÇ·ñ¿ÉÒÔ¸æËßÎÒ
Óà LCDS ¾Í¿ÉÒÔÁË¡£
The Tag Lib for JSP is now ......
[Bindable]
[Embed(source="../assets/add-row.gif")]
private var vcls:Class;
private function createcompletehandler(event:Event):void{
var img:Image=new Image();
img.sou ......
ÎÒÊǽ«Í¼Æ¬µÄsource×÷Ϊ²ÎÊý´«µ½flahµÄ£¬µ«Êǵ±Í¼Æ¬µÄÃû³ÆÊÇÓ¢ÎÄÊǾÍÏÔʾÕý³££¬ÊÇÖÐÎÄʱ¾ÍÏÔʾ²»³öÀ´£¬ÇëÎÊÕâ¸öÎÊÌâÔõô½â¾öÄØ£¿´ó¼Ò¸øµãÒâ¼û£¬Ð»Ð»£¡
ÄÜÌù³öÀ´Ïà¹Ø´úÂëÂð?
Èç¹û½öÊÇÔÚflexÖÐ ´«µÝ,Ó¦¸ÃûÓÐÎ ......