Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / October 2004



Tip: Looking for answers? Try searching our database.

AMF/Flash Remoting Locally?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Rooster60602 - 24 Aug 2004 18:29 GMT
Can anyone point me to an application that allows local access to .NET classes
through AMF/Flash Remoting? I love MM Flash Remoting, but the EULA only allows
it to be used in a server-client scenario.  

FlashORB's upcoming v1.5 looked promising, until I learned that to distribute
my application, I'd have to cough up FIFTEEN THOUSAND DOLLARS for an OEM
license.  Questions to Midnight Coders about why their product will allow local
access when it can't be bundled with the application resulted in a vague "this
is an enabling technology for what we're planning to do next" (yeah, I don't
know what that means, either).  

I'm hoping someone knows of a product aimed at developers, with a royalty-free
licensing model similar to Flash Studio Pro (i.e. you don't have to sell your
kidney for the fees required to use their product in developing a custom
application that's going to run on more than one computer), that would allow me
to invoke .NET classes from Flash, and pass structured data objects between a
Flash GUI and .NET.  In the alternative, does anyone know where I can research
ways to pass AMF objects between flash and .NET (using my own assembly written
in C# or VB.NET, for example)?

Any and all help much appreciated!
Rooster60602 - 31 Aug 2004 15:34 GMT
anybody have some ideas?
Stephen Beattie - 02 Sep 2004 17:50 GMT
I've been trying to crack this one for a while.  In the past I've had MM's
ASP.NET remoting gateway up and running using Cassini ( a minimal .NET
server ) but I'm now thinking there could be a way to achieve the same king
of thing using PHP and AMFPHP which might overcome some of the licensing
issues.

In the same way Cassini is a .NET application to run ASP.NET pages, PHP now
ships with a command line interpreter (CLI) that can be used to run PHP
scripts outside the bounds of a web server.

I think that if I can write an HTTP server using PHP sockets and get it to
run PHP scripts, AMFPHP could be used to allow flash remoting to work on a
local computer with nothing more than PHP required!!

Of course you can add database support using SQLLite ( uses flat text files
for persistent data ) and the whole thing should ( in theory ) be portable
between computers, meaning that you could bundle it in an installer and use
the PHP HTTP server as the tier that connects your flash application to the
filesystem and OS.

Once again, there might be some licensing issues to overcome.  I did
consider using FlashORB's .NET solution but the pricing is as steep as MM's.

At the end of the day, all I want is a good way of connecting flash to the
desktop without doing XML parsing ( sockets ) or text parsing (
projector-based ActiveX style communication ).  Flash remoting is the
answer.  Just got to figure out how to do it (for free!).

Stephen

> anybody have some ideas?
Rooster60602 - 03 Sep 2004 14:18 GMT
Yeah, I'd already checked into things like OpenAMF, but I don't know the first
thing about PHP and want to get away from the browser environment...After
paying close to $1000 for Flash Remoting and checking into FlashORB (I'd heard
it had a more developer-friendly licensing agreement than Flash Remoting...NOT
true!), I've been looking very hard for something that enables AMF exchange
between Flash and .NET on a local computer without web server (FlashORB 1.5 is
supposed to enable this, but no bundling DLL with local app allowed...).   It
looks like I'll have to write some sort of wrapper that passes the data over
sockets, but don't know where I can get the specs on AMF format to do data type
conversions, etc.  Any ideas?
Rooster60602 - 12 Sep 2004 16:53 GMT
Does MM monitor this forum? You guys have any ideas?
Robert Reinhardt - 14 Sep 2004 01:56 GMT
If you're trying to load AMF data on a distributable media (CD-ROM, etc.), you
can try writing the data to a FLV file, and then loading that FLV file with
Flash Player 7. The data event(s) on the FLV file will invoke and transmit the
AMF data to your movie. I've created a component (first draft, works, but I
don't have any documentation) that can do this: takes data from your Flash
movie, saves it FLV, downloads the FLV so you can use with a Flash movie to
consume that same data.

-Robert
Stephen Beattie - 29 Oct 2004 17:49 GMT
I'm interested in how this works Robert.  Do you have an example ?

> If you're trying to load AMF data on a distributable media (CD-ROM, etc.), you
> can try writing the data to a FLV file, and then loading that FLV file with
[quoted text clipped - 5 lines]
>
>  -Robert
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.