Flex 호출 QQ 코드

1976 단어 Flex
Flex 호출 QQ 코드를 공유하려면:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      minWidth="955" minHeight="600">
 <fx:Declarations>
  <!-- Place non-visual elements (e.g., services, value objects) here -->
 </fx:Declarations>
 
 <fx:Script>  
  <![CDATA[
   import flash.net.*;   
   protected function image1_mouseDownHandler(event:MouseEvent):void   
   {    
    //   as   ,    。   
    navigateToURL(new URLRequest("http://wpa.qq.com/msgrd?v=3&uin=354150263&site=qq&menu=yes"),"_blank");  
   }  
  ]]> 
 </fx:Script>
  <mx:Image source="http://wpa.qq.com/pa?p=2:354150263:41" toolTip="    " x="324" y="178" mouseDown="image1_mouseDownHandler(event)"/>
</s:Application>

 

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
 <fx:Declarations>
  <!-- Place non-visual elements (e.g., services, value objects) here -->
 </fx:Declarations>
 <fx:Script>  
  <![CDATA[
   import flash.net.*;   
   protected function image1_mouseDownHandler(event:MouseEvent):void   
   {    
    //   as   ,     。   
    navigateToURL(new URLRequest('tencent://message/?uin=    &Site=    &Menu=yes'),'_blank');  
   }  
  ]]> 
 </fx:Script>
  <mx:Image source="http://wpa.qq.com/pa?p=1:354150263:7" toolTip="    " x="324" y="178" mouseDown="image1_mouseDownHandler(event)"/>
</s:Application>

좋은 웹페이지 즐겨찾기