I'm interested in seeing how you have this python-flash setup. can you show me your testing src files just so I could see how you have this all set up????? would be much appreciated..
smith ai829(温飞飞) wrote: > you did not call the right function > > On 4/7/06, *ai829 (温飞飞)* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > TestMethod > FlashCall > the function name is not the same > > > On 4/7/06, *Mirco Furlan (Visionee)* < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > Here is the AS function (log is a variable associated with a > dynamic > textfield): > > function callPython(){ > var ret = ExternalInterface.call("TestMethod","param1","param2"); > log += ("\nresponse: "+ret); > } > > and here is the python code: > > def FlashCall(self,evt): > """Riceve una chiamata dal flash di tipo call""" > print "FlashCall", evt.request > ret = "<object><property id='message'><string>Ciao > baby</string></property></object>" > self.movie.SetReturnValue(ret) > > It's arrive correctly the xml of the flash call, but flash > never receive the > return value. The 'ret' value is ever null. > > > paste the actionscript and the python code > > > On 4/6/06, Mirco Furlan (Visionee) < [EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]> > wrote: > I'm trying for the first time to bring up a simple example of > communication > between python and flash using ExternalInterface class. Use > wxPython as host > application. I can't have a 'call' action to capture a result > back. > Seems the SetResultValue() function not properly working... I > don't see any > error, but the result in flash is ever null. > Someone had the same problem? > > > _______________________________________________ > osflash mailing list > [email protected] <mailto:[email protected]> > http://osflash.org/mailman/listinfo/osflash_osflash.org > > > _______________________________________________ > osflash mailing list > [email protected] <mailto:[email protected]> > http://osflash.org/mailman/listinfo/osflash_osflash.org > <http://osflash.org/mailman/listinfo/osflash_osflash.org> > > > >------------------------------------------------------------------------ > >_______________________________________________ >osflash mailing list >[email protected] >http://osflash.org/mailman/listinfo/osflash_osflash.org > >
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
