la funcion se encuentra en el primer fotograma del swf
Código Flex :
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" width="497" height="355">
<fx:Script>
public function ini():void{
var t:Object = new Object();
t["txt"] = "5€";
mySwf.content["createTextField"](t);
}
</fx:Script>
<mx:SWFLoader x="32" y="49" source="stoerer.swf" id="mySwf" creationComplete="ini();"/>
</s:WindowedApplication>-----
cuando hago
mySwf.content.hasOwnProperty("createTextField");
me devuelve true (no se si eso quiere decir que la funcion existe)...
y el error que me sale es esto
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at stoerer_fla::MainTimeline/createTextField()
bueno espero que me puedan ayudar...
he probado esto
http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f9c.html
y esto
http://blog.timeister.com/2009/06/24/call-function-from-flex-to-flash/
pero nada..
