TeeSaveToFlexFile procedure
procedure TeeSaveToFlexFile(Const APanel:
TCustomTeePanel; Const FileName: WideString; AWidth, AHeight: Integer; EmbededImages: Boolean);
Unit
TeeFlexCanvas
Description
Creates a text string list from a Chart or Tree component and saves it to a Adobe Flex file with default extension MXML.
TeeSaveToFlexFile( Chart1, 'c:\mychart.mxml', 640, 480, True );
The EmbededImages parameter, when True, tells the Adobe Flex compiler to insert all images in a Chart inside the resulting compiled Flash *.swf movie.
When False, the Flash movie will load the images at runtime from the same folder the movie resides.