| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Barman
|
I saw a virgin topic and just had to go for it.
Could someone please give a simple explination of what flash remoting could be used for. Ta. |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Mar 2003
Posts: 6
|
I quote Macromedia
(from their website):"Macromedia Flash Remoting MX provides the connection between Macromedia Flash and your web application server, making it fast and easy to create Rich Internet Applications. With its powerful yet simple programming model, you can easily integrate rich Macromedia Flash content with applications built using Macromedia ColdFusion MX, Microsoft .NET, Java, and SOAP-based web services." I havn't been able to try it out yet.. downloaded the demo today, as i will prob. be involved in a project that require it.... reading manual now..... /Prozail |
|
|
|
|
|
|
|
|
#3 |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
Tons of things
Here is an example http://www.irq11.com/~louie/webService/irecipe.html A PHP class lives on the server. Its function is to query a recipe database via a web service sitting in some other location. Remoting allows me to pass data to PHP and have the data type automatically converted to a PHP data type, run the functions on the server and pass back the data automatically ocnverting it from PHP data types back to Flash data types. All with about 5 lines of code in flash. |
|
|
|
|
|
#4 |
|
Barman
|
I'm sorry to be dense but what is the difference between what you're describing and using sendAndLoad().
If this is a case of just go and read www.whatever then please say. Thanks for taking the time, I'm keen but somewhat mentally challenged |
|
|
|
|
|
#5 |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
The difference is with sendAndLoad the PHP is responsible for getting the data from Flash figuring out what to do with it and doing it then getting the response into some format flash can understand and sending back. On the other flash must figure out what to do with it and create a flash data type to store the result. With remoting you can call the functions in the php class if you were in PHP passing the arguments. I guess I am having a hard time putting this into terms you can understand. Does what is below make more sense?
The PHP PHP Code:
ActionScript Code:
|
|
|
|
|
|
#6 |
|
Barman
|
Dear freddycodes,
I think I'm beginning to see a chink of light however I would like to see the actionscript. Sorry but I think you pasted the same bit. If the light bulb does go on then you will have done your good deed for the day ![]() |
|
|
|
|
|
#7 |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
Right sorry
ActionScript Code:
|
|
|
|
|
|
#8 | |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Freddy man, quit bursting my bubble! My tutorial isn't even out yet and you're outdoing it!
![]() From my upcoming tute: Quote:
![]()
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. Last edited by Jesse; 03-13-2003 at 01:32 AM.. |
|
|
|
|
|
|
#9 |
|
Master of Nothing
Join Date: Dec 2002
Location: San Diego, CA
Posts: 2,468
|
Come one now
, thats everything I wanted to say but couldn't translate into words from my over-stressed code-filled brain. |
|
|
|
|
|
#10 |
|
Administrator
Join Date: Nov 2000
Location: Australia
Posts: 8,612
|
Further to this and subject to some adaptation which will doubltessly be needed to improve it, my PHP Remoting tutorial is now online via http://www.actionscript.org/tutorial...ng/index.shtml
Enjoy!
__________________
Cheers Jesse Stratford ActionScript.org Cofounder Email: presented in this way to stop spam-bots: My email is composed of my first name (jesse) followed by my last name (stratford) followed by @ followed by actionscript.org Please don't email or PM me Flash questions, that's what the Forums are for! ![]() Please don't rely on me reading my PMs either. Email me about important stuff. |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|