Create a SharedObject : SharedObject « Data Model « 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 » Data Model » SharedObjectScreenshots 
Create a SharedObject
         


<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

    <mx:Script>
        
            import flash.net.navigateToURL;

            private function goToURL() void
            {
                navigateToURLnew URLRequestnewUrl.text ), target.selectedItem as String );
            }
      
    </mx:Script>

    <mx:TextInput id="newUrl" top="10" left="10" right="10" text="http://www.google.com/" />
    <mx:ComboBox id="target" top="40" left="10" dataProvider="{ [ '_blank', '_self' ] }" />
    <mx:Button label="Go" left="10" top="70" click="goToURL()" />

</mx:Application>
    

   
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Use SharedObject to transfer dataUse SharedObject to transfer data
2.Access a SharedObject Between Multiple Flash ApplicationsAccess a SharedObject Between Multiple Flash Applications
3.Optimize a Runtime Shared LibraryOptimize a Runtime Shared Library
w__w_w___.__j__a_v_a___2___s._co_m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.