°ï°ïæ,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µÄaddEventListener ÀïÃ溯Êý²»ÄÜ´ø²ÎÊý°¡¡£
ÎÒÏÖÔڵŦÄÜÊÇÕâÑù¡£¡£
ÔÚ·þÎñÆ÷¶ËµÃµ½Ò»¸öArrayCollection ,È»ºó±éÀúÕâ¸öÊý×飬£¬È»ºóÔÚ¶¯Ì¬´´½¨button,buttonµÄclick¸ù¾ÝArrayCollection ÀïÃæ¶ÔÏóµÄid,ä¯ÀÀ¶ÔÏ ......
flex ǶÈëµ½jspÖеÄjar°ü£¬ÓÐÈËÓÐÂð£¬Ð»Ð»ÁË
Õâ¸ö²»Óðɣ¬×Ô¼ºÐ´µÄ³ÌÐò£¡
ÐèÒªµÄ
flex2_tag_library_for_jsp.zip
Èç¹ûÄúÓиüºÃµÄ·½·¨£¬ÊÇ·ñ¿ÉÒÔ¸æËßÎÒ
Óà LCDS ¾Í¿ÉÒÔÁË¡£
The Tag Lib for JSP is now ......
ÒªÇ󿪷¢Èí¼þ£º Flex builder 3.
ÒªÇó£º×öÒ»¸öÖйú²ËÍâÂòµê¶©²ÍµÄÍøÕ¾¡£
Á÷³Ì£ºÍâ¹Û²»ÐèÒª×öµÄºÜºÃ¿´£¬ºÜÆÕͨ¾ÍÐС£
¹Ë¿Í´ò¿ªÍøÕ¾£¬ÍøÕ¾ÏÔʾ²Ëµ¥ºÍ¼Û¸ñ£¬Ñ¡ÔñÁËÒªµãµÄ²Ë£¬µã²ËµÄ½á¹û ......
¼±ÕУºÕÐƸְλ£ºJAVA/flex¿ª·¢¹¤³Ìʦ(¶®²ÆÎñ×îÓÅ£©
1.´óר»òÒÔÉÏѧÀú£¬1ÄêÒÔÉϼÆËã»ú±à³Ì»òÏà¹Ø¹¤×÷¾Ñé¡£
2.¾«Í¨JAVAÓïÑÔSERVLET¿ª·¢£¬ÓÐJSP/J2EEÏîÄ¿¿ª·¢¾Ñé¡£
......