Web Design Resources & Tutorials to help you design the best website!
So Here is How you can add a link to the ContextMenu in Flash Player 10 for Flex 4, Now The Example is pretty straight forward and simple. However, I have not figured yet a purpose or what the use for it could be. To test the example, right click on the image. Click on Copy Link Location, go to the Browser Bar and Paste and You will see the URL of the link which would be to this site.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="library:adobe/flex/halo" xmlns="http://ns.adobe.com/mxml/2009" xmlns:ns="library:adobe/flex/gumbo" xmlns:local="*" backgroundColor="0xFFFFFF" xmlns:ui="flash.ui.*" xmlns:net="flash.net.*"> <mx:Image source="@Embed('assets/1.jpg')"> <mx:contextMenu> <ui:ContextMenu> <ui:link> <net:URLRequest url="http://sherifabdou.com"/> </ui:link> </ui:ContextMenu> </mx:contextMenu> </mx:Image> </mx:Application>

2 Responses to Creating a Link to the Context Menu In Flash Player 10 for Flex 4 (Gumbo)
Fredericton Designers » Blog Archive » Creating a Link to the Context Menu In Flash Player 10 for Flex 4 (Gumbo)
September 10th, 2008 at 11:40 pm
[...] Link to the original site [...]
Creating a Link to the Context Menu In Flash Player 10 for Flex 4 (Gumbo) « Rich Internet Applications
September 11th, 2008 at 11:43 am
[...] Source [...]