0 Replies Latest reply on Nov 19, 2010 5:35 PM by FlexFanatic

    Plot chart- embbeding a custom swf file

    FlexFanatic

      I'm currently using the plot chart element to display dynamic from a MySQL database. I decided I wanted to use a custom embedded swf file. The issue I'm running into is the way the swf file looks. Is there a way keep the original size (width/height) and not have to look deformed? Adjusting the radius only makes the swf "fatter".

       

      Here is the code that I'm using:

       

         <mx:series>
          <mx:PlotSeries
           id="plot"
           xField="xfieldname"
           yField="yfieldname"
           radius ="45"
           itemRenderer="@Embed(source='file:/C:/images/movie.swf')" 
           showDataEffect="slideUp"
          
           />
         
         </mx:series>
        </mx:PlotChart>