ࡱ> Root Entryp|YrRASHp+CContents;EPage 1Symbol 1456789:<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]Root Entryp|YrRASH>ContentsEPage 1Symbol 1  !"#$%&'()*+,-./0123CPicPage CPicLayer CPicFrame CPicSprites @@@I?d<component metaDataFetched='true' schemaUrl='' schemaOperation='' sceneRootLabel='Scene 1' oldCopiedComponentPath='1'> </component> ?J/** * This layer contains some graphical elements as the background * of the chart. The idea is to show that you can easily merge * FusionGadgets with the graphic elements of your own Flash movies CPicPage CPicLayer CPicFrame CPicShapeҭs~H </component> ?5n/** * This layer contains some graphical elements as the background * of the chart. The idea is to show that you can easily merge * FusionGadgets with the graphic elements of your own Flash movies * to create exciting animated charts. */ Graphic ElementsOO?!/* * In this example, we'll show to load data stored in external XML files in the chart. * Since the chart accepts only XML Objects (and not path to XML), you'll need to load * the XML in your code and then pass the object to chart. * In this example, we've stored data in an external XML file called MyData.xml */ //Include the relevant files #include "com/fusioncharts/is/includes/LoadingFunctions.as" #include "com/fusioncharts/is/includes/AppMessages.as" //Import the required chart class. import com.fusioncharts.is.core.charts.AngularGauge; // ------------- Load XML Data for the chart -------------- // var xmlData:XML = new XML(); //Delegate the onLoad event of XML to our custom createChart function xmlData.onLoad = createChart; xmlData.load("MyData.xml"); //createChart method is called when XML has loaded function createChart(success){ if (success){ //Create the container movie clip. Note the use of _root here, as we're still //in scope of XML object. To come out of that, you may use Delegate class. var chartContainerMC:MovieClip = _root.createEmptyMovieClip("ChartHolder",1); //Now, instantiate the chart using Constructor function of the chart. var myFirstChart:AngularGauge = new AngularGauge(chartContainerMC, 1, 450, 220, 20, 15, false, false, "", "EN", "noScale"); //Convey the XML data object to chart. myFirstChart.setXMLData(xmlData); //Draw the chart myFirstChart.render(); }else{ trace("Error in loading data"); } } //Stop stop(); Actions3inerMC, 1, 450, 220, 20, 15, false, false, "", "EN"? CDocumentPagePage 1Scene 1wNDFSymbol 1MovBgM7E Symbol 1vF'hhhhhxlegacyLineSpacing0%PublishFormatProperties::htmlFileName Untitled-1"PublishHtmlProperties::StartPaused0Vector::AS3 Package Paths PublishRNWKProperties::speed256K0!PublishGifProperties::PaletteNamePublishFormatProperties::jpeg0PublishHtmlProperties::Loop1PublishProfileProperties::nameDefaultVector::Debugging Permitted0Vector::UseNetwork0"PublishQTProperties::MatchMovieDim1 PublishQTProperties::AlphaOption PublishQTProperties::LayerOption4PublishHtmlProperties::UsingDefaultAlternateFilename1PublishHtmlProperties::Units0%PublishHtmlProperties::showTagWarnMsg1Vector::External Player&PublishRNWKProperties::singleRateAudio0&PublishRNWKProperties::speedSingleISDN0$PublishPNGProperties::OptimizeColors1PublishQTProperties::Width550%PublishFormatProperties::projectorMac0'PublishFormatProperties::gifDefaultName1&PublishFormatProperties::flashFileNameUntitled-1.swfVector::Package PathsVector::Compress Movie1#PublishRNWKProperties::flashBitRate1200%PublishRNWKProperties::mediaCopyright(c) 2000PublishGifProperties::Smooth1PublishFormatProperties::html1$PublishFormatProperties::pngFileNameUntitled-1.png(PublishHtmlProperties::VerticalAlignment1PublishHtmlProperties::Quality4Vector::FireFox0"PublishRNWKProperties::exportAudio1 PublishRNWKProperties::speed384K0!PublishRNWKProperties::exportSMIL1"PublishGifProperties::DitherOption-PublishFormatProperties::generatorDefaultName1!PublishHtmlProperties::DeviceFont0Vector::Override Sounds0'PublishRNWKProperties::mediaDescription"PublishPNGProperties::FilterOptionPublishFormatProperties::gif0(PublishFormatProperties::jpegDefaultName1(PublishFormatProperties::rnwkDefaultName1*PublishFormatProperties::generatorFileNameUntitled-1.swtVector::Template02PublishHtmlProperties::VersionDetectionIfAvailable0*PublishHtmlProperties::HorizontalAlignment1"PublishHtmlProperties::DisplayMenu1Vector::Protect0Vector::Quality80PublishJpegProperties::DPI4718592PublishGifProperties::Interlace0"PublishGifProperties::DitherSolids0PublishPNGProperties::Smooth1PublishPNGProperties::BitDepth24-bit with AlphaPublishQTProperties::Flatten1#PublishFormatProperties::qtFileNameUntitled-1.movPublishRNWKProperties::speed28K1!PublishRNWKProperties::mediaTitle$PublishRNWKProperties::mediaKeywordsPublishGifProperties::Width550PublishGifProperties::Loop1PublishFormatProperties::flash1PublishJpegProperties::Quality80$PublishRNWKProperties::realVideoRate100000$PublishRNWKProperties::speedDualISDN0#PublishGifProperties::MatchMovieDim1#PublishGifProperties::PaletteOption"PublishPNGProperties::DitherOption0PublishFormatProperties::projectorMacDefaultName1'PublishFormatProperties::pngDefaultName1-PublishFormatProperties::projectorWinFileNameUntitled-1.exePublishHtmlProperties::Align0!PublishProfileProperties::version1Vector::Package Export Frame1$PublishJpegProperties::MatchMovieDim1#PublishPNGProperties::MatchMovieDim1#PublishPNGProperties::PaletteOption)PublishFormatProperties::flashDefaultName1%PublishFormatProperties::jpegFileNameUntitled-1.jpgPublishHtmlProperties::Width550PublishHtmlProperties::Height400Vector::Omit Trace Actions0Vector::Debugging Password"PublishJpegProperties::Progressive0"PublishPNGProperties::DitherSolids0#PublishQTProperties::PlayEveryFrame0PublishFormatProperties::png0PublishFormatProperties::rnwk0(PublishFormatProperties::htmlDefaultName1-PublishFormatProperties::projectorMacFileNameUntitled-1.hqx2PublishHtmlProperties::UsingDefaultContentFilename1!PublishHtmlProperties::WindowMode0'PublishHtmlProperties::TemplateFileName Default.htmlVector::TopDown0Vector::DeviceSound0PublishJpegProperties::Size0PublishGifProperties::Height400PublishPNGProperties::Interlace0"PublishFormatProperties::generator0&PublishHtmlProperties::ContentFilename(PublishHtmlProperties::AlternateFilename+PublishHtmlProperties::OwnAlternateFilenameVector::Report0PublishRNWKProperties::speed56K1PublishGifProperties::LoopCount'PublishGifProperties::TransparentOptionPublishGifProperties::MaxColors255%PublishPNGProperties::RemoveGradients0PublishQTProperties::Height400PublishFormatProperties::qt0Vector::Stream Compress7Vector::Event Format0Vector::Version8"PublishRNWKProperties::audioFormat0$PublishGifProperties::OptimizeColors10PublishFormatProperties::projectorWinDefaultName1PublishHtmlProperties::Scale0Vector::Event Compress7Vector::ActionScriptVersion2Vector::StreamUse8kSampleRate0Vector::EventUse8kSampleRate0PublishJpegProperties::Height400 PublishRNWKProperties::speed512K0%PublishGifProperties::RemoveGradients0PublishPNGProperties::Width550PublishPNGProperties::Height400&PublishFormatProperties::qtDefaultName1$PublishFormatProperties::gifFileNameUntitled-1.gif"PublishHtmlProperties::VersionInfo@8,0,0,0;7,0,0,0;6,0,0,0;5,0,0,0;4,0,0,0;3,0,0,0;2,0,0,0;1,0,0,0;Vector::Stream Format0PublishJpegProperties::Width550"PublishRNWKProperties::exportFlash1&PublishRNWKProperties::showBitrateDlog1(PublishRNWKProperties::speedCorporateLAN0"PublishRNWKProperties::mediaAuthorPublishGifProperties::Animated0&PublishGifProperties::TransparentAlpha128!PublishPNGProperties::Transparent0!PublishPNGProperties::PaletteName*PublishQTProperties::UseQTSoundCompression0PublishQTProperties::Looping0%PublishFormatProperties::defaultNames1%PublishFormatProperties::projectorWin0%PublishFormatProperties::rnwkFileNameUntitled-1.smil,PublishHtmlProperties::UsingOwnAlternateFile0PublishPNGProperties::MaxColors255%PublishQTProperties::ControllerOption0"PublishQTProperties::PausedAtStart0 CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*] h"PublishQTProperties::QTSndSettingsCQTAudioSettingsh<?xml version="1.0" encoding="UTF-16" standalone="no" ?> <mobileSettings> <contentType id="standalonePlayer" name="Standalone Player"/> <testDevices/> </mobileSettings> * to create exciting animated charts. */ Graphic ElementsOO? /* * In this example, we'll show to load data stored in external XML files in the chart. * Since the chart accepts only XML Objects (and not path to XML), you'll need to load * the XML in your code and then pass the object to chart. * In this example, we've stored data in an external XML file called MyData.xml */ //Include the relevant files #include "com/fusioncharts/is/includes/LoadingFunctions.as" #include "com/fusioncharts/is/includes/AppMessages.as" //Import the required chart class. import com.fusioncharts.is.core.charts.AngularGauge; // ------------- Load XML Data for the chart -------------- // var xmlData:XML = new XML(); //Delegate the onLoad event of XML to our custom createChart function xmlData.onLoad = createChart; xmlData.load("MyData.xml"); //createChart method is called when XML has loaded function createChart(success) { if (success) { //Create the container movie clip. Note the use of _root here, as we're still //in scope of XML object. To come out of that, you may use Delegate class. var chartContainerMC:MovieClip = _root.createEmptyMovieClip("ChartHolder", 1); //Now, instantiate the chart using Constructor function of the chart. var myFirstChart:AngularGauge = new AngularGauge(chartContainerMC, 1, 450, 220, 20, 15, false, false, "", "EN", "noScale"); //Convey the XML data object to chart. myFirstChart.setXMLData(xmlData); //Draw the chart myFirstChart.render(); } else { trace("Error in loading data"); } } //Stop stop();  Actions3? CDocumentPagePage 1Scene 1wND$FSymbol 1MovBgM7E Symbol 1vF'hhhhhxlegacyLineSpacing0!PublishGifProperties::PaletteName PublishRNWKProperties::speed256K0Vector::AS3 Package Paths"PublishHtmlProperties::StartPaused0%PublishFormatProperties::htmlFileName Untitled-1 PublishQTProperties::LayerOption PublishQTProperties::AlphaOption"PublishQTProperties::MatchMovieDim1Vector::UseNetwork0Vector::Debugging Permitted0PublishProfileProperties::nameDefaultPublishHtmlProperties::Loop1PublishFormatProperties::jpeg0PublishQTProperties::Width550$PublishPNGProperties::OptimizeColors1&PublishRNWKProperties::speedSingleISDN0&PublishRNWKProperties::singleRateAudio0Vector::External Player%PublishHtmlProperties::showTagWarnMsg1PublishHtmlProperties::Units04PublishHtmlProperties::UsingDefaultAlternateFilename1PublishGifProperties::Smooth1%PublishRNWKProperties::mediaCopyright(c) 2000#PublishRNWKProperties::flashBitRate1200Vector::Compress Movie1Vector::Package Paths&PublishFormatProperties::flashFileNameUntitled-1.swf'PublishFormatProperties::gifDefaultName1%PublishFormatProperties::projectorMac0"PublishGifProperties::DitherOption!PublishRNWKProperties::exportSMIL1 PublishRNWKProperties::speed384K0"PublishRNWKProperties::exportAudio1Vector::FireFox0PublishHtmlProperties::Quality4(PublishHtmlProperties::VerticalAlignment1$PublishFormatProperties::pngFileNameUntitled-1.pngPublishFormatProperties::html1"PublishPNGProperties::FilterOption'PublishRNWKProperties::mediaDescriptionVector::Override Sounds0!PublishHtmlProperties::DeviceFont0-PublishFormatProperties::generatorDefaultName1PublishQTProperties::Flatten1PublishPNGProperties::BitDepth24-bit with AlphaPublishPNGProperties::Smooth1"PublishGifProperties::DitherSolids0PublishGifProperties::Interlace0PublishJpegProperties::DPI4718592Vector::Quality80Vector::Protect0"PublishHtmlProperties::DisplayMenu1*PublishHtmlProperties::HorizontalAlignment12PublishHtmlProperties::VersionDetectionIfAvailable0Vector::Template0*PublishFormatProperties::generatorFileNameUntitled-1.swt(PublishFormatProperties::rnwkDefaultName1(PublishFormatProperties::jpegDefaultName1PublishFormatProperties::gif0PublishGifProperties::Loop1PublishGifProperties::Width550$PublishRNWKProperties::mediaKeywords!PublishRNWKProperties::mediaTitlePublishRNWKProperties::speed28K1#PublishFormatProperties::qtFileNameUntitled-1.mov"PublishPNGProperties::DitherOption#PublishGifProperties::PaletteOption#PublishGifProperties::MatchMovieDim1$PublishRNWKProperties::speedDualISDN0$PublishRNWKProperties::realVideoRate100000PublishJpegProperties::Quality80PublishFormatProperties::flash1#PublishPNGProperties::PaletteOption#PublishPNGProperties::MatchMovieDim1$PublishJpegProperties::MatchMovieDim1Vector::Package Export Frame1!PublishProfileProperties::version1PublishHtmlProperties::Align0-PublishFormatProperties::projectorWinFileNameUntitled-1.exe'PublishFormatProperties::pngDefaultName10PublishFormatProperties::projectorMacDefaultName1#PublishQTProperties::PlayEveryFrame0"PublishPNGProperties::DitherSolids0"PublishJpegProperties::Progressive0Vector::Debugging PasswordVector::Omit Trace Actions0PublishHtmlProperties::Height400PublishHtmlProperties::Width550%PublishFormatProperties::jpegFileNameUntitled-1.jpg)PublishFormatProperties::flashDefaultName1PublishPNGProperties::Interlace0PublishGifProperties::Height400PublishJpegProperties::Size0Vector::DeviceSound0Vector::TopDown0'PublishHtmlProperties::TemplateFileName Default.html!PublishHtmlProperties::WindowMode02PublishHtmlProperties::UsingDefaultContentFilename1-PublishFormatProperties::projectorMacFileNameUntitled-1.hqx(PublishFormatProperties::htmlDefaultName1PublishFormatProperties::rnwk0PublishFormatProperties::png0PublishQTProperties::Height400%PublishPNGProperties::RemoveGradients0PublishGifProperties::MaxColors255'PublishGifProperties::TransparentOptionPublishGifProperties::LoopCountPublishRNWKProperties::speed56K1Vector::Report0+PublishHtmlProperties::OwnAlternateFilename(PublishHtmlProperties::AlternateFilename&PublishHtmlProperties::ContentFilename"PublishFormatProperties::generator0$PublishGifProperties::OptimizeColors1"PublishRNWKProperties::audioFormat0Vector::Version8Vector::Event Format0Vector::Stream Compress7PublishFormatProperties::qt0PublishPNGProperties::Height400PublishPNGProperties::Width550%PublishGifProperties::RemoveGradients0 PublishRNWKProperties::speed512K0PublishJpegProperties::Height400Vector::EventUse8kSampleRate0Vector::StreamUse8kSampleRate0Vector::ActionScriptVersion2Vector::Event Compress7PublishHtmlProperties::Scale00PublishFormatProperties::projectorWinDefaultName1PublishQTProperties::Looping0*PublishQTProperties::UseQTSoundCompression0!PublishPNGProperties::PaletteName!PublishPNGProperties::Transparent0&PublishGifProperties::TransparentAlpha128PublishGifProperties::Animated0"PublishRNWKProperties::mediaAuthor(PublishRNWKProperties::speedCorporateLAN0&PublishRNWKProperties::showBitrateDlog1"PublishRNWKProperties::exportFlash1PublishJpegProperties::Width550Vector::Stream Format0"PublishHtmlProperties::VersionInfo@8,0,0,0;7,0,0,0;6,0,0,0;5,0,0,0;4,0,0,0;3,0,0,0;2,0,0,0;1,0,0,0;$PublishFormatProperties::gifFileNameUntitled-1.gif&PublishFormatProperties::qtDefaultName1"PublishQTProperties::PausedAtStart0%PublishQTProperties::ControllerOption0PublishPNGProperties::MaxColors255,PublishHtmlProperties::UsingOwnAlternateFile0%PublishFormatProperties::rnwkFileNameUntitled-1.smil%PublishFormatProperties::projectorWin0%PublishFormatProperties::defaultNames1 CColorDef3PfP0PHP`Px333(3f<03CH3F`3Hxf0f30ff(0f5Hf<`f@x3330333xf3d03]H3Z`3Xx3333303f3PPH33Px`33Px33Pf30f33PHff3(PHf3<x`f3Cxf3Ffff`f03f0ffx0fkHfd`f`x3f033fPH3ffxPH3fdx`3f]x3fZff0f3fPHfff`ffP0xffPxffPH3HfHxH̙n`hx3H33x`3fx`3xx`3̙kx3dfHf3x`ff0xfx0xf̙dxf]`3`f``x`px3`33x3fx3x3xx3nf`f3xffxfxfxxfkx3xfxxxxx3x333f333xfxf3fffffxxH3 HfH(H2`8x`3 `f`̙`(`0xx3xfxx x(xPx3H33x`f3x`3(x`35x3<3`33xf3 x̙3x3(x323x33f3 333(xfH3fx`ff0xf(0xf<xfCf`3fxffx̙fxf(xf5fx3ffff ff((xH3x`f0x̙PPP`3xfx̙P̙(P<x3f̙(xx`3xfxPxPd`3xfx̙PPx3f(xx3fxx3f̙xx3ff`zf*] h"PublishQTProperties::QTSndSettingsCQTAudioSettingsh<?xml version="1.0" encoding="UTF-16" standalone="no" ?> <mobileSettings> <contentType id="standalonePlayer" name="Standalone Player"/> <testDevices/> </mobileSettings>