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 / January 2005



Tip: Looking for answers? Try searching our database.

Explanation

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
nelson4183 - 22 Jan 2005 02:59 GMT
Hi,

I'm new to this FlashRemoting and Flash in particular.  I am quite skilled
with ASP .Net and C#, however.  Can someone explain to me the real purpose of
flash remoting?  I went through a tutorial that basically sent params to the
page_load event of an aspx.cs page and then returned a string to my form on
Flash.  To me, that seems like an awful lot of work just to display some simple
text.  I can't imagine how I would handle a full site that way.

I guess I just don't understand the purpose fully.  Basically, I want a user
interface in the nice sleek design of Flash so I can add animation and such to
my buttons and whatever, but would really like to do my coding through ASP
.Net.  Am I barking up the wrong tree here?  What is really the best solution
for this?  I currently have a small website and created some flash animation
(exported it to HTML and copied it into my form.)  Works great!!  But I'm
looking to handle click events and the whole shibang!!

Can someone say something?  Maybe even give me a link to a site that uses
flash remoting?  Or tell me I'm smokin' crack or something.

Thanks...
maliko50 - 23 Jan 2005 03:25 GMT
Flash Remoting lets you access Java or .NET code from within a flash movie.
Your user interface layer is created with Flash and then from actionscript (the
language of Flash) you can call code on your application server. This is
powerful because your Java or .NET code can easily interact with databases and
return data to a flash client.  This is what Flash Remoting does. It connects
your sleek and fancy flash front end with data from your backend databases. At
least thats what  I use it for!
RusD - 24 Jan 2005 13:37 GMT
> Flash Remoting lets you access Java or .NET code from within a flash movie.
> Your user interface layer is created with Flash and then from actionscript (the
[quoted text clipped - 3 lines]
> your sleek and fancy flash front end with data from your backend databases. At
> least thats what  I use it for!

Flash Remoting is rather expensive thing to be used in flash movies.
Flash movie has alternative ways to get data, using LoadVars or XML.Load
 for example.
The only purpose to use Flash Remoting is using it with Flash
Communication Server, becouse FCS can get external data from web-site
for example, only via Flash Remoting.
nelson4183 - 23 Jan 2005 15:52 GMT
Cool.  That's pretty much the answer I was looking for, and this is really what
I plan to do.  In my current example tutorial I did from this site, I have a
text field and button.  The user enters their name and clicks the button, which
then fires events in flash and calls my aspx page passing a parameter.  In my
Page_Load event in .Net I check for parameters, concatenate a string and return
it to flash to be displayed.  It works.  Now, is there a way to call classes or
particular functions created in .Net?

Like, say I want to click a Login button.  Is there a way to call the Login
event in .Net "Directly"? or do I have to pass a parameter (say <login>) to the
Page_Load event and use a switch statement to determine which button was
clicked on the Flash UI.

I guess what is best-practice?  The tough part about learning this stuff is I
never really see how the "real world" uses Flash for development.  So
sometimes, I am unsure about best-practice or the common way of doing things.

Thanks again in advance.
maliko50 - 23 Jan 2005 22:06 GMT
Yes, you can call functions directly in your .NET or Java code. It seems like
you might want to pick up a book on Remoting to get aquainted with how it
works. Otherwise, this messageboard turns into a tutorial. Look into Flash
Remoting: The Definitive Guide or Complete Flash Remoting at amazon.com. Good
luck!
 
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.