Use SecureAMFChannel : SecureAMFChannel « Development « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Development » SecureAMFChannelScreenshots 
Use SecureAMFChannel
           
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300" creationComplete="init()">
    <mx:RemoteObject id="channelRO"/>
    <mx:Script>
        
            import mx.messaging.ChannelSet;
            import mx.messaging.channels.SecureAMFChannel;

            private var cs:ChannelSet

            private function init():void {

                cs = new ChannelSet();
                var chan: SecureAMFChannel = new SecureAMFChannel("secure-amf""gateway")
                chan.pollingEnabled = true;
                chan.pollingInterval = 3000;
                cs.addChannel(chan);
                channelRO.channelSet = cs;
            }
      
    </mx:Script>
</mx:Application>
    
    

   
    
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
ww__w__.__j___av_a__2s.c___o_m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.