Re: [Flashcoders] Re: Swf File Use as Interface for Executable

2008-12-22 Thread Steve Mathews
I currently work on an application that is winforms .NET (C#) that the UI is
in-part a Flash swf. We use f-in-box
(http://www.f-in-box.com/)http://www.f-in-box.com/ as
the wrapper and send/receive quite a bit of data between the forms and the
swf. We currently have a mixture of using ExternalInterface calls and a
socket connection. We implemented the external interface first and found
that in some cases it's performance was a bit slow, but it does offer the
advantage of synchronous calls, so we (so far) have only
migrated performance critical calls to a socket connection. For the most
part this scenario works really good and I can easily see doing an entire
app this way.

Steve


On Sun, Dec 21, 2008 at 7:14 PM, Juan Pablo Califano 
califa010.flashcod...@gmail.com wrote:

 PS:

 You might want to check out these links:

 http://osflash.org/ext_howto
 http://osflash.org/pipermail/osflash_osflash.org/2005-August/002274.html


 Cheers
 Juan Pablo Califano


 2008/12/21 Juan Pablo Califano califa010.flashcod...@gmail.com

  Hi
 
  Maybe this helps...
 
  Some time ago I run a swf from a .NET app (winforms). I used some wrapper
  manager code that used C++ code to load a flash player instance. It was
 an
  AS 2 swf, though, don't know if it'll work for AS 3.
 
  I took the .NET code from a demo posted here, but I just tried the link
 and
  it seems to be broken (I'm posting it; maybe it's temporarily down):
 
  http://icube.freezope.org/extinter/index.htm
 
 
  Anyway, if you want you can take a look at the code I used. The relevant
  part is here (the code itself is C#, but I'm sure you'll get the idea):
 
 
 
 http://code.google.com/p/as2-class-exporter/source/browse/trunk/ASClassExporter/src/EIFlash/EIFlash.cs
 
 
 
 http://code.google.com/p/as2-class-exporter/source/browse/trunk/ASClassExporter/src/EIFlash/AxShockwaveFlashObjects.cs
 
 
  You can find the .dlls used here:
 
 
 
 http://code.google.com/p/as2-class-exporter/source/browse/#svn/trunk/AS2_ClassExporter_Front/bin/Release
 
  (stdole.dll, ShockwaveFlashObjects.dll, AxShockwaveFlashObjects.dll)
 
  Cheers
  Juan Pablo Califano
 
 
  2008/12/21 Kelly Snyder ksnyder1...@hotmail.com
 
 
  My intention is to run this from a compiled C++ application on a Windows
  desktop - so sockets and servers should not come into play.  I will look
 at
  my options for using COM with C++; if I remember correctly, this was how
 it
  used to be done in Actionscript 2.
 
  Thanks,
  Kelly
  _
  Life on your PC is safer, easier, and more enjoyable with Windows
 Vista(R).
 
 
 http://clk.atdmt.com/MRT/go/127032870/direct/01/___
   Flashcoders mailing list
  Flashcoders@chattyfig.figleaf.com
  http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 
 
 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Re: Swf File Use as Interface for Executable

2008-12-21 Thread Kelly Snyder

My intention is to run this from a compiled C++ application on a Windows 
desktop - so sockets and servers should not come into play.  I will look at my 
options for using COM with C++; if I remember correctly, this was how it used 
to be done in Actionscript 2.
 
Thanks,
Kelly
_
Life on your PC is safer, easier, and more enjoyable with Windows Vista®. 
http://clk.atdmt.com/MRT/go/127032870/direct/01/___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Re: Swf File Use as Interface for Executable

2008-12-21 Thread Juan Pablo Califano
Hi

Maybe this helps...

Some time ago I run a swf from a .NET app (winforms). I used some wrapper
manager code that used C++ code to load a flash player instance. It was an
AS 2 swf, though, don't know if it'll work for AS 3.

I took the .NET code from a demo posted here, but I just tried the link and
it seems to be broken (I'm posting it; maybe it's temporarily down):

http://icube.freezope.org/extinter/index.htm


Anyway, if you want you can take a look at the code I used. The relevant
part is here (the code itself is C#, but I'm sure you'll get the idea):

http://code.google.com/p/as2-class-exporter/source/browse/trunk/ASClassExporter/src/EIFlash/EIFlash.cs

http://code.google.com/p/as2-class-exporter/source/browse/trunk/ASClassExporter/src/EIFlash/AxShockwaveFlashObjects.cs


You can find the .dlls used here:

http://code.google.com/p/as2-class-exporter/source/browse/#svn/trunk/AS2_ClassExporter_Front/bin/Release

(stdole.dll, ShockwaveFlashObjects.dll, AxShockwaveFlashObjects.dll)

Cheers
Juan Pablo Califano


2008/12/21 Kelly Snyder ksnyder1...@hotmail.com


 My intention is to run this from a compiled C++ application on a Windows
 desktop - so sockets and servers should not come into play.  I will look at
 my options for using COM with C++; if I remember correctly, this was how it
 used to be done in Actionscript 2.

 Thanks,
 Kelly
 _
 Life on your PC is safer, easier, and more enjoyable with Windows Vista(R).

 http://clk.atdmt.com/MRT/go/127032870/direct/01/___
  Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders