I have found the AMFPHP Remoting for Flash to be a nice alternate to Flash
Remoting, especially because it's free! AMFPHP is extremely easy to use and is
a nice tool that can be packaged in any product to be shipped. The really nice
thing about it is that the server that it is to be run off of does not require
any special software (just PHP and database software like MySQL). Therefore,
it can run on pretty much any web hosting server! The web address of AMFPHP is
http://amfphp.org. I also found a really cool example at
http://29fivedesigns.com/internet_applications/29five_helpdesk.php.
baskar_ibiz - 02 Mar 2007 07:37 GMT
hi
i tried hi
i am having flash professionl 8 and PHP 5.0,apache 2.2 server, i tried flash
remoting using AMFPHP 1.9 beta version but no values received from php and my
flash output window is not showing any error.
i have kept the amfphp folder in htdocs which contains many folders like
core,browser,services
i have kept the php file in services folder.
but its not working.
can u plz help.
thanks
bye.
29FIVE Designs - 02 Mar 2007 14:55 GMT
If you are not receiving and values from your AMFPHP browser
(http://yoururl.com/amfphp/browser), that would suggest there is a problem with
your PHP script. This browser should show you the PHP error, as it is not
passed on to Flash. Only true or false is passed on to Flash (unless you are
sending a record set).
29FIVE Designs
http://29fivedesigns.com
baskar_ibiz - 05 Mar 2007 14:50 GMT
hi
thanks for your reply.
how can i know that the connection has established or not with HelloWorld.php
var service = new Service(gatewayUrl, null, "HelloWorld");
var pc:PendingCall = service.say(sMessage);
pc.responder = new RelayResponder(this, "handleSay", null);
can i trace anything with this code that connection established or not.
thanks
bye
29FIVE Designs - 06 Mar 2007 16:26 GMT
If your AMFPHP browser is working correctly, then your linkage between Flash
and AMFPHP is wrong, as you are guessing. If you copied the Action Script code
from your AMFPHP browser then it should work. Here is my first couple of lines
of Action Script (I am using AMFPHP Version 1.2.5):
import mx.remoting.*;
import mx.rpc.*;
import mx.utils.Delegate;
import mx.remoting.debug.NetDebug;
//Change the gateway URL as needed
var gatewayUrl:String = "http://your_url/amfphp/gateway.php";
NetDebug.initialize();
service = new Service(gatewayUrl, null, "services");
And then it goes into my functions. If you are still having trouble, I would
revert to AMFPHP Version 1.2.5 because I know for a fact that it works. I
would always be hesitant about using and open source beta.
29FIVE Designs
http://29fivedesigns.com
baskar_ibiz - 27 Mar 2007 07:36 GMT
hi
flash remoting with c++ (developed using unix )is possible ?
if not is there anyother way to call a c++ function from actionscript.
thanks
29FIVE Designs - 28 Mar 2007 03:57 GMT
I honestly couldn't tell you. I don't know C++.
Sorry,
http://29fivedesigns.com/
gsmeanspro - 31 Mar 2007 12:30 GMT
Hi everybody,
I've just recently hear about amfphp and want to give a try, but
http://amfphp.org is dead. Anybody know something about the website? Is there
any place where I can download amfphp and get the support during testing?
Thanks in advance.
29FIVE Designs - 01 Apr 2007 18:09 GMT
I was able to access http://amfphp.org/. Maybe they were down for a while...
As I said above, I would recommend using AMFPHP Version 1.2.5. Also, I found
some tutorials on how to get AMFPHP all set up, working, and talking with
Flash. Here is the site: http://flashecommerce.org/tutorials.html. It is
actually a site for an entire shopping system using AMFPHP, but there are great
tutorials aside from that... If you are still unable to get to AMFPHP, let me
know and I can provide an alternate download for you.
http://29fivedesigns.com/
gsmeanspro - 02 Apr 2007 03:44 GMT
Thanks for attempt to help 29FIVE Designs. I still can't access to AMFPHP.org, however I managed to get the package. Just wanted to look at official website and get some support there if need.
japanmoran - 19 Apr 2007 18:51 GMT
Anyone know the status of the remoting classes for Flash CS3?
btlewis - 15 May 2007 15:48 GMT
Check this article out.
http://www.oscartrelles.com/archives/as3_flash_remoting_example
Seems easy enough.
cayennecode - 24 Apr 2007 17:44 GMT
Would love to know whether we'll be seeing an RDBMSResolver or alternative class introduced for CS3. How else to deserialize AMF packets?
C-Rock - 27 Apr 2007 20:07 GMT
Apparently no one thought they'd need remoting for cs3. I just wasted $1500 on
CS3, remoting is all my company does. I can't even open files with as 2.0 in
CS3 with flash remoting. I tried copying the folders to the new Adobe directory
and no luck.
Coldfusion is 10x faster than PHP is why people use flash remoting with
coldfusion. :)
Any work arounds yet or release date for remoting 9/as 3.0?
cayennecode - 28 Apr 2007 21:37 GMT
I haven't tried it yet, but on second thought I'm guessing one could just set a
datagrid dataProvider to the NetConnection result, and then work off of the
datagrid, but you'd still be missing the deltaPackets updates....aw oh well. I
can't find any info from Adobe regarding anything about data components /
dataclasses for AS3/CS3
On another note, you can use AS2 remoting classes, but you have to add them to
your Classes directory.
Check it out:
http://blog.vixiom.com/2007/04/17/actionscript-20-flash-remoting-with-flash-cs3/
yeeep - 07 May 2007 14:51 GMT
Come on Adobe, we need a NetConnection Debugger for Flash CS3. I can't make the move to CS3 without support for remoting. I use AMFPHP exclusively for remoting projects.
Dave Towers - 08 May 2007 06:16 GMT
I too use Remoting extensively and feel I've just wasted the money to upgrade
from 2004 pro to CS3. With the usual level of Actionscript support until Colin
Moock brings out his book, I can't be confident enough to begin any new
projects using the CS3 authoring environment.
Also at times the netConnection Debugger has been a lifeline to me, where is
it? A different thread questions Adobes committment to Remoting and I have to
re-iterate those concerns. I've never used the data components to resolve
returned data as I originally learnt to parse the data with AS, a process I've
continued, so I'm a bit in the dark as to what else is missing. It seems that
this new Authoring tool has been ill considered and rushed out assuming all
will embrace AS3 immediately... it can never be that way.
I wish I could get my money back!
levelfourdesigns - 08 May 2007 19:27 GMT
I to am moving over to CS3 and am extremely disappointed that flash remoting is
not built into it... I mean really adobe!!! why leave it out??? in a hurry to
make a release date? What about all those using adobe flash remoting products?
are they out of luck as many of us amfphp users are?
I have copied over my classes, it things compile correctly, but nothing
actually works right on some of my past projects... I really think adobe
should have a representative release something on this topic, otherwise a lot
of developers are wasting their money on the move.
Large projects require remoting for the most part!!!
argh...
by the way, I think I know this 29fivedesigns character... he has a cool
flash remoting helpdesk, to bad he can't use adobe CS3!!!!!
Josh Jones
www.levelfourstfront.com
Bringhurst - 11 May 2007 10:17 GMT
Originally posted by: levelfourdesigns
I too am moving over to CS3 and am extremely disappointed that flash remoting
is not built into it... I mean really adobe!!! why leave it out??? in a hurry
to make a release date? What about all those using adobe flash remoting
products? are they out of luck as many of us amfphp users are?
I have copied over my classes, it things compile correctly, but nothing
actually works right on some of my past projects... I really think adobe
should have a representative release something on this topic, otherwise a lot
of developers are wasting their money on the move.
Large projects require remoting for the most part!!!
argh...
________________________________________________________________________________
__
Ditto.
James Whitcraft
www.flashstorefronts.com
cayennecode - 11 May 2007 16:29 GMT
Remoting works just fine in AS3 guys....
...checkout your NetConnection class....
But yeah, the DataSet class, RDBMSResolver class haven't been refactored for
AS3. Making your life of easily walking through the remoting results more
difficult, as well as listening to changes in the data model. Have fun
building it !!! or like me stick with AS2 for your data driven needs.
yeeep - 08 May 2007 22:45 GMT
*Everybody* who reads this and is wondering where the hell remoting is in CS3
(or you just want an answer to Adobes commitment to remoting) post in here. The
reality is Flash 8 + AS 2.0 is *the* current tech. Developers are really
starting to push it now because of player penetration. Getting people to move
to CS3 + AS 3.0 is gonna be hard if there is to be no remoting. And this is the
kind of thing that will put me off developing full sites in Flash in the
future. Dropping things people have invested so much time in
learning/developing, who have ongoing projects in, with no word of it's future.
Flex doesn't fit the bill. Neither does ColdFusion. We need Flash Remoting!
LanceS - 08 May 2007 23:53 GMT
Adobe, WTF, I spent a ton of $$ to ugrade to CS3 and get the developer tool box
that doesn't even contain KTML which should have been the biggest piece of the
toolbox in my and evedently a lot of other peoples opinions. Now I find out the
CS3 doesn't work with remoting. Can you work a bit harder to find a way to
screw the deveoplers out there. I have been using CF for over 10 years and
over those years paying a bu?? load of cash to the various companies (Allaire,
Macromedia, Adobe) to keep the tools up and feel like I get screwed for being
loyal. Everywhere I read that there are a lot of developers out there that
feel the same way. Designers don't seem to bothered and I can see why but come
on this is BS to a big part of the market share. I go nothing against PHP but
when Adobe puts out a piece of developer software like the Developer's tool box
and half the tools are designed for PHP and not your own damn product
ColdFusion don't you think you might be shooting yourself in the foot. make it
work for both.
Now I shelf Flash CS3 because of its lack of remoting support. I will think
long and hard before spending anymore $$ on a "new and better" (lol) tool from
Adobe!
yeeep - 12 May 2007 15:07 GMT
Check the first news post on the top right here:
http://www.joshstrike.com/index3.html
I hope Adobe sorts us out.
levelfourdesigns - 12 May 2007 16:14 GMT
I know there are a lot of people out there probably already saying this, but
the fact is, remoting does not work like it should for a new version of flash
here, or at a minimum, there is very little "adobe" documentation on getting to
work correctly with CS3 as we are all use to.
I did get my extensive flash remoting system to compile correctly in CS3,
obviously still using ActionScript 2.0 though. And it was just a matter of
copying the mx classes folder.
C:\Documents and Settings\username\Local Settings\Application
Data\Macromedia\Flash 8\en\Configuration\Classes\mx
to
C:\Documents and Settings\username\Local Settings\Application Data\Adobe\Flash
CS3\en\Configuration\Classes\mx
I was able to comile an extensive AMFPHP project, and also use ServiceCapture
to track packets. I always hated the netconnection debugger they had anyway,
but if you wanted that, my understanding is just view the netconnection SWF
file and it works independently as well.
I hope that adobe does release some type of package of remoting tools like
they have in the past however. We all know AS3 has built in flash remoting
capabilities, but where is the other tools then? where are the "adobe" examples?
hope this helps someone though...
Josh Jones
www.levelfourstorefront.com
yeeep - 12 May 2007 20:41 GMT
Josh, what version of AMFPHP did you use? And did you change it for the CS3 compile?
levelfourdesigns - 13 May 2007 04:39 GMT
I am using the 1.2.5 version of amfphp, the one you can download right now. I
didn't change anything to make it work, it just needed the classes. I just
copied the folders from above and it worked for me.
You could also just open your file, go to publish settings, and point your
flash actionscript classes to that folder as well.
I just don't understand why there is not a small remoting installation program
from adobe though to do this for us AS2 folks...
Josh Jones
www.levelfourstorefront.com
gsmeanspro - 15 May 2007 06:14 GMT
Hi everybody,
Can anyone tell me what happened with www.amfphp.org? The old site seems dead and all I see now is page fulled with Google ads. Any ideas, info?
29FIVE Designs - 15 May 2007 14:33 GMT
Wow it really is gone this time. Hopefully it's just temporary.
http://29fivedesigns.com
imagine... create... innovate
levelfourdesigns - 15 May 2007 14:49 GMT
I believe amfphp's name just expired and there was some discussion else where
for some others who were willing to take it up. You can still find the files
at sourceforge.net though.
Josh Jones
www.levelfourstorefront.com
jedders - 29 May 2007 17:16 GMT
For those of you looking to move the Flash 8 Remoting Components and
NetConnection Debugger into Flash CS3. I have posted on another thread the
steps on how to set it up. This will allow you to work just as you did in Flash
8 and AS2 in Flash CS3 IDE. Otherwise, the remoting for Flash CS3 and AS3 is
now built in.
You can view the steps here.
http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=25
0&threadid=1264156&enterthread=y