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

帮帮忙,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


相关问答:

flex 嵌入到jsp中

flex 嵌入到jsp中的jar包,有人有吗,谢谢了
这个不用吧,自己写的程序!

需要的
flex2_tag_library_for_jsp.zip
如果您有更好的方法,是否可以告诉我

用 LCDS 就可以了。
The Tag Lib for JSP is now ......

flex 的一个很有趣的问题

[Bindable]
[Embed(source="../assets/add-row.gif")]
private var vcls:Class;

private function createcompletehandler(event:Event):void{
var img:Image=new Image();
img.sou ......

用FLex用到要崩溃...麻烦大家帮忙看个问题

在creationComplete()方法中给两个dataGrid注册鼠标电击事件:
JScript code:
this.innerUsers.addEventListener(MouseEvent.CLICK,detectInnerIsChatting);
Alert.show("A");
......

flex有什么优缺点?学习曲线大吗

如题

个人认为,如果对WEB开发有一定基础,对脚本语言有一定认识,学习曲线不会很大。

引用
个人认为,如果对WEB开发有一定基础,对脚本语言有一定认识,学习曲线不会很大。

谢谢,请问你认为客户端语言 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号