StageVideo usage from Flex Application?

Hello everyone!
I'm trying out new StageVideo class and if I add it pure AS3 project everything works perfect.
But if I try to use the same code in Flex project I get no video output, but looks like the video itself is playing ('cos I can hear the sound track).
I've tried to remove everything from mxml file to make sure nothing covers video, tried to remove all background changes and etc. (put here any other stuff that might overlay stage), but nothing helped.
Is it possible to use StageVideo from Flex app at all? May be there's some trick to it?
Can someone help? Thanks in advance!

Hello,
I guess there is no way to attach files to this post. I made the main app an Application instead of a ViewNavigatorApplication for simplicity sake. It's a basic mobile application project for an ipad, so in Flash Builder just create a basic project using that profile and drop these in. I appreciate you taking a look at it.
thx
Main.mxml
<?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"
                                                                      creationComplete="init()">
<fx:Declarations>
  <!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
                    <![CDATA[
                              private var mediaPlayer:CatVideoPlayer;
                              private function init():void
                                        var videoFile:File = File.applicationDirectory.resolvePath("preview.mp4");
                                        var videoPath:String = new File(new File(videoFile.url).nativePath).url;
                                        mediaPlayer = new CatVideoPlayer();
                                        mediaPlayer.width = 640;
                                        mediaPlayer.height = 360;
                                        addElement(mediaPlayer);
                                        mediaPlayer.source = videoPath;
                    ]]>
</fx:Script>
</s:Application>
Custom UI Component:
package
          import flash.display.Bitmap;
          import flash.display.BitmapData;
          import flash.display.Sprite;
          import flash.display.StageAlign;
          import flash.display.StageScaleMode;
          import flash.events.Event;
          import flash.events.StageVideoAvailabilityEvent;
          import flash.events.StageVideoEvent;
          import flash.geom.Rectangle;
          import flash.media.StageVideo;
          import flash.media.StageVideoAvailability;
          import flash.media.Video;
          import flash.net.NetConnection;
          import flash.net.NetStream;
          import mx.core.FlexGlobals;
          import mx.core.UIComponent;
          public class CatVideoPlayer extends UIComponent
                    private var _defaultHeight:Number = 360;
                    private var _defaultWidth:Number = 640;
                    private var _ns:NetStream;
                    private var _obj:Object;
                    private var _source:String;
                    private var _sourceChanged:Boolean;
                    private var _stageBitmap:Bitmap;
                    private var _stageVideoAv:Boolean = false;
                    private var _sv:StageVideo;
                    private var _vd:Video;
                    private var _vidMask:Sprite;
  //private var _videoStage:Sprite;
                    public function CatVideoPlayer()
                              super();
                              mouseEnabled = false;
                              addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
                    public function onCuePoint(info:Object):void
  trace("CatVideoPlayer.onCuePoint: time=" + info.time + " name=" + info.name + " type=" + info.type);
                    public function onMetaData(info:Object):void
  //trace("metadata: duration=" + info.duration + " width=" + info.width + " height=" + info.height + " framerate=" + info.framerate);
  //this.width = info.width;
  //this.height = info.height;
                    public function onPlayStatus(info:Object):void
  trace("CatVideoPlayer.onPlayStatus: " + info.data);
                    public function onXMPData(info:Object):void
  trace("CatVideoPlayer.onXMPData: " + info.data);
                    public function set source(value:String):void
                              _source = value;
                              _sourceChanged = true;
                              invalidateProperties();
                    override protected function commitProperties():void
                              super.commitProperties();
                              if (_sourceChanged)
                                        setState("showVideoPlayer");
                                        _sourceChanged = false;
                    override protected function createChildren():void
                              super.createChildren();
  trace("createChildren fired in CatVideoPlayer");
  //_videoStage = new Sprite();
  //addChild(_videoStage);
                    override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
                              super.updateDisplayList(unscaledWidth, unscaledHeight);
                     * Convert the current screen to a bitmap and mask it to show stageVideo.
                    private function convertStageToBitmap():void
                              var bitmapData:BitmapData = new BitmapData(FlexGlobals.topLevelApplication.width, FlexGlobals.topLevelApplication.height);
                              _stageBitmap = new Bitmap();
                              _vidMask = new Sprite();
                              _vidMask.graphics.beginFill(0x000000);
                              _vidMask.graphics.moveTo(0, 0);
                              _vidMask.graphics.drawRect(0, 0, _defaultWidth, _defaultHeight);
                              _vidMask.graphics.endFill();
  //bitmapData.draw(this);
                              bitmapData.draw(FlexGlobals.topLevelApplication.document);
                              _stageBitmap.bitmapData = bitmapData;
                              _stageBitmap.cacheAsBitmap = true;
                              _vidMask.cacheAsBitmap = true;
  //addChild(_vidMask);
                              _stageBitmap.mask = _vidMask;
  //addChild(_stageBitmap);
  //backgroundImg_mc.visible = false;
  //playerWindow_mc.visible = false;
  //initVideo();
                     * Handles the mouse clicks that occur on UI components.
                     * @param e
                    private function handleInterfaceClick(e:Event):void
                              e.preventDefault();
                              switch (e.target.name)
  case "playBtn_mc":
                                                  setState("showVideoPlayer");
                                                  break;
  case "closeVideo_mc":
                                                  setState("closePlayer");
                                                  break;
  default:
  //do default
                     * Plays the video using StageVideo if supported.
                    private function initVideo():void
                              var nc:NetConnection = new NetConnection();
                              nc.connect(null);
                              _ns = new NetStream(nc);
                              _obj = new Object();
                              _ns.client = _obj;
                              _ns.bufferTime = 2;
                              _ns.client = _obj;
  //_obj.onMetaData = MetaData;
  //_obj.onCuePoint = CuePoint;
                              if (_stageVideoAv)
  //use stageVideo
  trace("using stage video in CatVideoPlayer.initVideo()");
                                        _sv = stage.stageVideos[0];
                                        _sv.addEventListener(StageVideoEvent.RENDER_STATE, onRender);
                                        _sv.attachNetStream(_ns);
  else
  //fallback to video class
  trace("using normal video in CatVideoPlayer.initVideo()");
                                        _vd = new Video(_defaultWidth, _defaultHeight);
  //_vd.x = 152;
  //_vd.y = 143;
                                        addChild(_vd);
                                        _vd.attachNetStream(_ns);
  //addChild(videoUI_mc);
                              _ns.play(_source);
                    private function onAddedToStage(event:Event):void
  trace("onAddedToStage fired in CatVideoPlayer");
                              stage.scaleMode = StageScaleMode.NO_SCALE;
                              stage.align = StageAlign.TOP_LEFT;
                              stage.addEventListener(StageVideoAvailabilityEvent.STAGE_VIDEO_AVAILABILITY, onStageVideoAvailability);
                    private function onRender(e:StageVideoEvent):void
//                              if (!videoUI_mc.fsMode)
//                                        _sv.viewPort = new Rectangle(152, 143, 720, 480);
//                              else
                                        _sv.viewPort = new Rectangle(0, 0, 640, 360);
                    private function onStageVideoAvailability(e:StageVideoAvailabilityEvent):void
                              _stageVideoAv = (e.availability == StageVideoAvailability.AVAILABLE);
                              initVideo();
                     * Animate the video player's UI states.
                     * @param currentState The different states the player is in.
                    private function setState(currentState:String):void
  trace("setState fired in CatVideoPlayer");
                              switch (currentState)
  case "showVideoPlayer":
  //playBtn_mc.visible = false;
  //addChild(playerWindow_mc);
  //addChild(closeVideo_mc);
  //playerWindow_mc.visible = true;
  //closeVideo_mc.visible = true;
  //TweenLite.from(playerWindow_mc, 1, { alpha:0, onComplete:function(){ convertStageToBitmap(); } });
  //TweenLite.from(closeVideo_mc, 1, { alpha:0 });
                                                  convertStageToBitmap();
                                                  break;
  case "closePlayer":
  //removeVideoPlayer();
  //playerWindow_mc.visible = false;
  //playBtn_mc.visible = true;
                                                  break;
  default:
  //do default

Similar Messages

  • How to start Flash Media Encoder 3.2 from Flex application with run time parameters?

    Hello ,
    I'm developing the application to stream High Quality video.While streming by default camera/microphone settings the qulaity of streaming is not upto my expected level.I want to stream through Flash Media Encoder.My aim is the user login to the application.Video/audio qulaity details are retrived from shared object stored in the client machine.The login user name only gathered at run time & it will be the streaming profile name to Encoder.Once the the Encoder started the outgoing video will be come into screen to client.Please guide me How to start Flash Media Encoder 3.2 from Flex application with run time parameters(User name as  streaming name) without manually start the FME?
    Thanks in advance.
    Regards
    Sasharyuva

    Hi MarcSaphiron,
    Could you please send the samples?It will be much helpful to complete my
    job within the deadline.
    Thanks in advance.
    Regards,
    Sasharyuva

  • How to Call a AIR application from Flex Application

    Hi,
        I have Used AIR (Desktop application) in Flex Builder to Upload a File from a local path and save it it a server path.
    I need to Call this AIR(Desktop application) from my Flex Application.... i.e
    I am using a link button to send a event using Script and Forward that Desktop application  from Flex Screen
    But it doesnot load that (Desktop application)  in Screen. Only Balnk screen is loaded from path
    Here is the code
    AIR(Desktop application)
    <?xml version="1.0" encoding="utf-8"?><mx:WindowedApplication 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" creationComplete="openBrowseWindow();">
    <mx:HTTPService id="urlpath" showBusyCursor="true" useProxy="false" method="
    POST" url="http://localhost:8080/nat/FlexAction.do?method=UrlPath"result="pathresult(event)"
    fault="faultHandler(event)"
    >  
    </mx:HTTPService> 
    <mx:Script>
    <![CDATA[
    import mx.events.FileEvent; 
    import mx.rpc.events.ResultEvent; 
    import mx.rpc.events.FaultEvent; 
    import mx.utils.ObjectUtil;  
    import mx.controls.Alert;
    private  
    var openFile:File = new File() 
    private  
    function openBrowseWindow():void{openFile.addEventListener(Event.SELECT, onOpenFileComplete);
    openFile.addEventListener(Event.OPEN, load);
    openFile.browse();
    private  
    function load():void{Alert.show(
    "load"); 
    var imageTypes:FileFilter = new FileFilter("Images (*.jpg, *.jpeg, *.gif, *.png)", "*.jpg; *.jpeg; *.gif; *.png"); 
    //var textTypes:FileFilter = new FileFilter("Text Files (*.txt, *.rtf)", "*.txt; *.rtf"); 
    var allTypes:Array = new Array(imageTypes);openFile.browse(allTypes);
    private  
    function faultHandler(event:FaultEvent):void { 
    //Alert.show("Fault")Alert.show(ObjectUtil.toString(event.fault));
     private  
    function pathresult(event:ResultEvent):void{Alert.show(
    "res") 
    //Alert.show(ObjectUtil.toString(event.result));}private  
    function onOpenFileComplete(event:Event):void{ 
    //mx.controls.Alert.show("event: "+event.target.nativePath +"UR!!!"); 
    var pPath = event.target.nativePath; 
    var parameters:Object = {FlexActionType:"PATH",path:pPath};  
    // Alert.show("Image Selected from Path : "+pPath); urlpath.send(parameters);
    //Alert.show("Passed.."+parameters);}
    ]]>
    </mx:Script>
    <mx:Button click="openBrowseWindow();onOpenFileComplete(event)" name="Upload" label="Upload" x="120.5" y="10"/> 
    Here is Mxml Code for Flex Application
    <?xml version="1.0" encoding="utf-8"?><mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" xmlns="http://ns.adobe.com/air/application/1.0.M4" >
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert; 
    private function Upload():void{ 
    // CursorManager.setBusyCursor();  
    //var url:String = "HomeAction.do?method=onLoad"; 
    //var url:String = "assets/Air.swf"; 
    var url1:URLRequest = new URLRequest("assets/Air.swf");navigateToURL(url1,
    "_self"); 
    // CursorManager.removeBusyCursor(); }
    ]]>
    </mx:Script>
    <mx:LinkButton id="up" click="Upload()" x="295" y="215" label="UpLoad"/>
    In this code i forward using s url to Open tat  Desktop application but a blank screen appears with out the proper output...
    Please Help me in this to forward AIR from Flex Screen..
    Thanks in Advance
    With Regards
    Gopinath.A
    Software Developer
    First Internet Systems Pvt. Ltd.,
    Chennai

    try this
    http://www.leonardofranca.com/index.php/2009/09/17/launching-an-installed-air-application- from-the-browser/
    regards
    Leonardo França
    Adobe Certified Expert Flex 3 with AIR
    Adobe Certified Expert Rich Internet Application Specialist v1.0
    Adobe Certified Expert Flash CS3 Professional
    Certified Professional Adobe Flex 2 Developer
    Adobe Certified Professional Flash MX 2004 Developer
    http://www.leonardofranca.com
    http://twitter/leofederal
    Manager AUGDF - Adobe User Group do Distrito Federal
    http://www.augdf.com.br
    http://twitter/augdf

  • Accessing HttpService proxy from Flex Application

    Hello,
         I am new to flex development.  I had a question about configuring HttpService proxy access from my flex client to my BlazeDS server.  From the examples, I can define my HttpService in my flex application as:
    <mx:HTTPService id="srv"
                              destination="catalog"
                              useProxy="true"/>
    I understand that I need to define my http service definition in the proxy-services.xml file in the BlazeDS deployment.  So the BlazeDS deployment is on a different host to the client.  How does the flex client access the HttpService definition and how to contact the server?  Is the proxy-services.xml file deployed with the client?  My current development environment is Flashbuilder 4.  Do I need to install the proxy-services.xml file in my Flashbuilder project?  Thanks in advance.
    --Marco

    how did you get it, how were you able to set the location of you blazeds server? i know with remoteObjects we can use channelset.

  • Help in printing from flex application

    Hi Guys,
    I am working from last few days with the printing via flex application, i face some issues while printing if any have suggestion or help it would be great..
    1. Print which i got is not clear, like fonts are little fuzz or blur like.
    2. Is printing via flex application is like the same as we print from MS WORD ?.
    3. Choosing Flex for printing purpose like labels or A4 paper is right choice or not ?
    Please comment!!
    Thanks in advance,
    Himanshu

    I went first to the Apple Store and tried an App and did not work had to inter the IP which I know  is correct. What I was looking for is someone that is using the 7210 with the Iphone and what App they are using. I may have something else going on.
    Thank you for the response.
    Dee

  • How to call SKYPE from Flex application ?

    The basic idea is this. I've got Flex application, to simplify the problem, let's say it's phonebook.
    Data in this phone book is pulled from SQL server and telephone numers are changing daily.
    I'm choosing a person, and I have button - CALL CONTACT ...
    How to link this button to his current telephone number to call this number via SKYPE ?
    There is such a way if you have HTML site - http://www.skype.com/intl/en-gb/business/features/calling/buttons/
    Have you any idea how to make such button in Flash / Flex ??

    navigateToURL() ? http://livedocs.adobe.com/flex/3/langref/flash/net/package.html#navigateToURL%28%29
    However, it looks like the Skype HTML has some form of JavaScript involved.  If it's doing something special you may be Out of luck.

  • Calling a Help window from Flex application

    I am trying to enable a button in a Flex application to launch a Help window. The Help window should connect to our web server and load our HTML Help.
    I am unable to find any documentation on how to do this, except maybe something about creating an HTML wrapper. I am very new to Flex. Can someone please point me in the right direction? Thanks!

    Assuming that you want to open this content in a browser window, you might check out the navigateToURL function: http://livedocs.adobe.com/flex/3/langref/flash/net/package.html#navigateToURL()
    HTH
    Randy Nielsen
    Flex Documentation Manager
    http://livedocs.adobe.com/flex/3/html/url_requests_4.html

  • How to send non-latin unicode characters from Flex application to a web service?

    Hi,
    I am creating an XML containing data entered by user into a TextInput. The XML is sent then to HTTPService.
    I've tried this
    var xml : XML = <title>{_title}</title>;
    and this
    var xml : XML = new XML("<title>" + _title + "</title>");
    _title variable is filled with string taken from TextInput.
    When user enters non-latin characters (e.g. russian) the web service responds that XML contains characters that are not UTF-8.
    I run a sniffer and found that non-printable characters are sent to the web service like
    <title>����</title>
    How can I encode non-latin characters to UTF-8?
    I have an idea to use ByteArray and pair of functions readMultiByte / writeMultiByte (to write in current character set and read UTF-8) but I need to determine the current character set Flex (or TextInput) is using.
    Can anyone help convert the characters?
    Thanks in advance,
    best regards,
    Sergey.

    Found tha answer myself: set System.useCodePage to false

  • Creating an xdp file from flex/java application

    Hi,
    I have an application in Flex 4  and As 3.When I click a button in flex application I have to generate a file in java with
    extension xdp.When I try this locally(Run as java application) the file is generating  correctly.When i compile the applic
    ation and try it, the file is not writing correctly.Do someone have any idea about creating an xdp file from flex application?
    i am using blazeds to connect java and flex4.When i opens the file in notepad the file is writing correctly.There is only problem in openig an xdp file...
    please help me.

    specifically:
    Runtime.getRuntime().exec("filename.exe")

  • Publish video to flex ios application from flex app in flash builder 4.6

    Hi, i am publishing my live video stream from flex application like this
    ns_out.publish("livestream", "live");
    and receiving it from flex mobile (IOS) application
    ns_in.receiveVideo(true);
    ns_in.play("liveStream");
    but i am not receiving yet anything on my simulator, but in mean while when i publish my video from flash media live encoder, my flex ios application runs it smoothy..:)
    I  am using Adobe Flash Builder for this development..
    Any help is appreciated!
    Thanks

    yes!!!!!!!!!
    I got the answer, i need to encode video into H.264 format and then publish.
    cheers!!!!!!!!!!!!

  • Problem accessing Webservices from Flex

    Hi All,
    I have created a Webservice in Abap and configured it using
    SOAMANAGER transaction. I am able to succesfully test the Web serivice which I have created in 'Soamanager ' transaction.
    But when I am calling this Webservice from Flex application I am getting an error as " FAULT : faultCode:WSDLError faultString:'Runtime exception Error #1009' faultDetail:'null' "
    We tried calling the Webservice  outside SAP from the FLex application, it is working fine.
    Please let me know how to rectify this error . It's an urgent requirement.
    Thanks and regards,
    Uma.

    hi
      when you create your destinations for your webservices in the SOAMANAGER-> Destination Template
      you would be providing wsdl url and destination , and in the below you can
      find the username and pwd that need to set , you need to select the radio buttons with logon tickets ,
    username , password , there , re-check the username and pwd by selecting the radio button with selecting the
    radio button username password ,  and even check the webservice in the WSNAVIGATOR , whether its working
    fine , and other thing is  there is situation where your webservice may work fine inthe wsnavigator  even then there would
    be some problem inthe webservice , even check this scenario.
    Thanks

  • Display & run a Flex Application in NW7

    Hi @ all,
    i´ve developed a FlexApplication to read the Bex Analyser favourites to a Flextree an now im trying to display this application in our NW7 portal. The application is connected to SAP throu a BSP-application.
    With clicking one node of the tree i want to open an sapWorkbook with, for example tcode RRMXP and a WBID = xyz.
    How to manage this problem?
    In flex i have the workbookID and the transactionCode, but how to send them to SAPSystem and after that opening a workbook with excel?

    Hi Daniel,
    You can Export content from flex application using JSP file on your N/W server also.
    The Flow for this would be, collect the required content in HTML Table format string.
    then pass this string as parameter to a JSP page which will open an excel sheet and copy your content to it.
    You can also apply table formatting using usual html tags.
    Plz find some code snippets for your reference :
    Suppose on on click of node you have called for an method which is written in your ActionScript part of Flex Application.
    viz. loadContentInExcel(para1,para2)
    Definition for this method would be like :
    private function loadContentInExcel(para1:String, para2:String):void {
                   //Pass the htmltable in a variable so that it can be delivered
                   //to the backend script
                   var variables:URLVariables = new URLVariables();
                   variables.htmltable     = convertContentToHTMLTable(para1,para2);
                   //Setup a new request and make sure that we are
                   //sending the data through a post
                   var u:URLRequest = new URLRequest("http://XXX.XX.X.XXX:YYYYY/Test_Excel/main.jsp");
                   /* In Above Line Replace XXX.XX.X.XXX:YYYYY with <Host IP>:<Port>  */
                   u.data = variables; //Pass the variables
                   u.method = URLRequestMethod.POST; //Don't forget that we need to send as POST
                   //Navigate to the script
                navigateToURL(u);
    private function convertContentToHTMLTable(para1:String, para2:String):String {
                 //Set default values
                 var font:String = 'ARIAL';
                 var size:String = '10';
                 var str:String = '';
                 var style:String = 'style="font-family:'+font+';font-size:'+size+'pt;"';                    
                 str = "<table border=1><tbody>";
                 str+="<tr width=\""+100+"\">";
                 str += "<td width=\""+100+"\" "+style+">"+"<B>"+"TransactionCode : "+"</B>"+"</td>";
                 str += "<td width=\""+100+"\" "+style+">"+para1+"</td>";
                 str += "</tr>";
                 str+="<tr width=\""+100+"\">";
                 str += "<td width=\""+100+"\" "+style+">"+"<B>"+"WorkbookID : "+"</B>"+"</td>";
                 str += "<td width=\""+100+"\" "+style+">"+para2+"</td>";
                 str += "</tr>";
                 str+="</tbody></table>";
                 return str;
    In main.jsp page mention content type as application/vnd.ms-excel.
    In body tag mention out.println(request.getParameter("htmltable").
    Hope this will help you..
    Regards,
    Vivek

  • Flex application not working when deployed run from Server

    Hi,
    I have Flex application which takes a parameter from user, makes a web-service call and returns the message.
    This application is running perfectly when I launch from IDE.
    But when I copy the files from bin-release to server and launch it, it gives me no result.
    In the crossdomain file on the server which hosts web-service, I have added the my host IP in the
    allow-access-from domain tag.
    In the initialization method of the application I load crossdomain using following code:
        Security.allowDomain("remoteservername");
        Security.loadPolicyFile("http://remoteservername/crossdomain.xml");
        var request:URLRequest = new URLRequest("http://remoteservername/crossdomain.xml");
        var loader:URLLoader = new URLLoader();
        loader.load(request);
    Is there a way I can debug application when running from server?
    Please give me some pointer to solve this problem.
    Thank you.
    Chintan

    Alex thanks for reply
    The URL for the app is http://<some_IP>/flex_app
    <some_IP> is added in crossdomain.
    Also we have outbound IP's and of these are also added in the crossdomain file.
    This is the current content of crossdomain file:
    <cross-domain-policy>
    <site-control permitted-cross-domain-policies="master-only"/>
    <allow-access-from domain="<some_IP>"/>
    <allow-access-from domain="<outbound_IP1>"/>
    <allow-access-from domain="<outbound_IP2>"/>
    <allow-access-from domain="<outbound_IP3>"/>
    <allow-http-request-headers-from domain="<outbound_IP1>" headers="SOAPAction"/>
    <allow-http-request-headers-from domain="<outbound_IP2>" headers="SOAPAction"/>
    <allow-http-request-headers-from domain="<outbound_IP3>" headers="SOAPAction"/>
    </cross-domain-policy>
    App runs perfectly fine when launched from Flex Builder.

  • How to access internal table data from webdynpro to Flex application.

    Hi Connoisseur
    The data transfer from Abap WebDeypro to flex island works well. I followed , there is an example from Thomas Jung (by the way as always Great Work) and  Karthikeyan Venkatesan (Infosys) but this example covers simple type only.
    There is no example with complex types like arrayCollection which handle the transfer of data from flex to WebDynpro.
    i tried to do pass internal table value  to flex-datagrid.but its not work.
    i would like to know
    1.how to access internal table data from webdynpro to Flex application.
    2.how to pass the internal table to flex-datagrid.
    2.how to pass dynamically in ADOBE flex.
    3. how to do Flex is receiving the wd context data?
    4. how can we update WD context with FLEX data.
    Ple give me sample example and step by step procedure.
    Regards
    laxmikanth

    Hi Laxmikanth,
    Please refer this...
    Flash island: update complex type from flex
    Cheers..
    kris.

  • Can you call external exe file from Flex Air Application like notepad.exe

    Im trying to make my Air Application open an External exe file anyone know if this can be done?

    Hi,
    If you want to share code between a flex app and AIR, you
    could isolate the common bits as a swc file and link to the swc
    from both the flex and air project.
    Also, you could have the flex mxml file and air mxml file
    load the same module (which has the same stuff as your original
    flex application) using ModuleLoader.
    Or, you could even load the swf of your flex application
    using SWFLoader in your air mxml file.
    Basically, check out creating flex libraries, modules and
    runtime loading of swfs.

Maybe you are looking for

  • File sharing 10.5 (PPC) with 10.9 Mavericks

    Hi, I'm interested in a new macbook air, however I need to ensure that is will network with file sharing to my G5 Power Mac (PPC). This is to transfer files. movies, photos,backup stuff etc . . . Obviously I can use target mode, and other methods But

  • Steps to be followed in Export/Import

    Can anyone help me out defining the exact steps to be followed in exporting and importing the ODI objects? I have exported the master and work repository. I created a new master repository by importing the zip file. I can see the architecture neatly

  • Combine purchase orders on one delivery

    Hello, I´ve a problem to combine purchase order positions from different purchase orders together on one single delivery. This should be similar the order combination indicator in customer orders. In the moment I get the Handling Units pack data in t

  • Help with Formula

    Hey, I'm trying to figure out a forumla that I don't know if it's even possible to do. In column C I am posting the current days date (ex. May 20, 2009). In column D I am wanting to post another date X amount of days from column C. So for example my

  • HTML (Editor) region should scroll vertical only

    Hi, I have a HTML Editor . I want to restrict the width of it. I mean I want vertical scroll only, not horrizontal. For long sentences,it should go to next line after limit . Thnx in adv.