PDA

View Full Version : Right CLICK ...


aktell
11-16-2009, 05:12 AM
Hi there,

In one of the scripts I found this code, and I was wondering if there is anything else available in FLEX 3 / AS 3 to be used instead of the 'View Source code' ? just any other possibility! Utilizing the right 'CLICk' menu in a Flex 3 Application!


<mx:Script>
<![CDATA[
import com.adobe.viewsource.ViewSource;

private function init():void {
var srcUrl:String = Application.application.parameters.srcUrl;
ViewSource.addMenuItem(this, srcUrl);
}
]]>
</mx:Script>

Peter Cowling
11-16-2009, 07:10 PM
Check out Lord of Duct's (if anyone does not know, he's a member here, and posts mainly on the as3 forum) right-click class. It is available via his google code project, but here is his blog post entry (http://www.lordofduct.com/). I have not tried it yet, but it looks very cool.