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.
create a new flash file (CallFlash.swf) and a movieclip on stage and give an instance name(mc) to it.Write actions on the 1st frame of an application:
var receiving_lc:LocalConnection = new LocalConnection();
In the Flex application:
Add Column3D.swf and CallFlash.swf
<?xml version=”1.0″ encoding=”utf-8″?>
Run the Flex application, it will show the Column3D.swf data according to the parameter you are sending.