krisni

Members
  • Content count

    2
  • Joined

  • Last visited

About krisni

  • Rank
    Forum Newbie
  1. Using FC in Your Flex APP

    //variable declaration var chartWidth:Number; var chartHeight:Number; var strXML:String; //local Connection with flex var flash_flex:LocalConnection = new LocalConnection(); flash_flex.set_Size = function(_chartWidth:Number, _chartHeight:Number, flexXML:String) { chartWidth=_chartWidth; chartHeight=_chartHeight; strXML=flexXML; //How can I send this xml data to Line.swf? //load chart swf mc.loadMovie("Line.swf"); //close local connection flash_flex.close(); } //here connection can be made inter-domain flash_flex.allowDomain("*"); flash_flex.connect("flex_connector");
  2. Using FC in Your Flex APP

    I have found a article below,but I don't try it successful,some code below is wrong.Could anyone try it and post the right code,or other better method that embed fusioncharts in flex app? I want to use flex to get data from webservice and send the data to fusioncharts,what can i do? load a swf from outside and call its function Lets suppose you have a swf(Column3D.swf) and you don't have code(FLA) for it but you need to call its function(setDataXML) from Flex and need to send parameters. How it can be done through JAVASCRIPT <HTML> <HEAD> <TITLE>FusionCharts & JavaScript - Updating chart using setDataXML() Method</TITLE> <SCRIPT LANGUAGE=