|
From: Ali M. <ali...@gm...> - 2005-04-14 17:34:20
|
Dan, Unit testing an embedded SWF is absolutely possible. AsUnit uses LocalConnection to send data to the output panel so the panel works properly running in the IDE or a wrapper. I suspect that you're real task is going to be to come up with a reliable communication gateway through wich your forms app and SWF talk to one another. Mike Chambers wrote a good artcle about this a while ago. The article is here: http://www.macromedia.com/devnet/mx/flash/articles/stock_history03.html. Ali On 3/21/05, Dan Bunea <dan...@gm...> wrote: > =20 > Hi,=20 > =20 > I have developed a desktop application using c# (windows.forms) that > includes a Flash part (using activex). Communication with flash is made > through fscommands and dynamic properties (where I send some xml files).= =20 > =20 > I would like to be able to unit test the flash movie standalone, not only > the application, but for this I will need to catch fscommand events and b= e > able to feed xml-s to the movie from the test. Would something like this = be > possible? Can someone give me an example?=20 > =20 > Thanks,=20 > Dan |