Re: [Flashcoders] Flash Remoting with ...

2008-12-08 Thread poste9
http://framework.zend.com/download/amf

http://extensions.joomla.org/component/option,com_mtree/task,viewlink/link_id,4820/Itemid,35/

http://drupal.org/project/amfphp

2008/12/8 SJF <[EMAIL PROTECTED]>

> Ahoy hoy,
>
> In regards to developing *Flash sites/apps* that hook into a back end using
> *AMFPHP* protocol, can anyone shed some light on the following questions:
>
> 1) Do the following three frameworks/platforms sit in the same boat (i.e:
> do
> they do they provide the same functionality in regards to developing
> database driven web apps): Zend ,
> Joomlaand
> Drupal 
> 2) Does anyone recommend any one of these for non-proprietary, database
> driven Flash sites/apps (I'm currently using WampServer 2 and am curious if
> any of the above 3 make development easier, or are they just wrappers
> around
> something similar to WampServer).
>
> Thanks.
> SF.
> ___
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
New blog post: UTM JavaScript Library, trabalhando com classes
http://tinyurl.com/5dvasg
=
New blog post: Desenvolvimento Ágil, construindo um gerador de classes.
http://tinyurl.com/64xa2h
=
Vox Tecnologia & Grupo Comunidade de Comunicação
Rafael Lúcio 29809.099333,
http://www.postenove.com.br
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Remoting - Pulling rows from the server ...

2008-08-08 Thread Wagner Amaral
There you go
http://www.jamesward.org/census/

On Fri, Aug 8, 2008 at 1:13 PM, S0 F1 <[EMAIL PROTECTED]> wrote:
> Anyone have the link to that speed comparison test someone built in regards
> to various technologies pulling rows from a server.
>
> There was several including AJAX (+ something), AMFPHP and others that ran a
> test for accessing 5000 rows (or close number).
>
> The page (app) was a dark colour - like dark grey or black with a list of
> the various technologies down the left menu - clicking these ran the speed
> test for whatever combination of tech.
>
> Cheers.
> ___
> 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


Re: [Flashcoders] flash remoting - slow?

2007-06-14 Thread Muzak
This has nothing to do with remoting.

If the site loads slow, it's probably a connection problem.
Have the client ping the server

And you probably should try and reduce the CPU usage, which is currently rather 
high.
Reduce the video framerate to 15 fps instead of 30 and lower the keyframe 
interval.

regards,
Muzak

- Original Message - 
From: "Almin Sehic" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, June 14, 2007 11:57 PM
Subject: [Flashcoders] flash remoting - slow?


> Hello!
> I am working on a site http://www.myntlounge.com, and
> I have tested it on several browsers, different
> platforms, and it works. But the client says it takes
> a lot of time to show the content. The site preloads,
> but the video and featured pictures load very slow. I
> am using flash remoting to get data from the database
> and moviecliploader to load them. The pics ar ca. 20
> Kb (2 pics). Video is streaming progressive, 4Mb.10
> sec buffer.
> Is there anything client specific that could be a
> problem?
> Proxy, firewall, security settings?
>
> Anyone who could give me a hint, cause i am pretty
> lost, since i am not able to recreate the error
> Thanx in advance :)


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] flash remoting - slow?

2007-06-14 Thread 2lakes


it's not slow for me..
mac osx  2.4gz safari
512 adsl

cheers
ian
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Remoting for Flash CS3 AS3

2007-06-07 Thread Muzak
AMFPHP is an alternative for the 'server side' of Remoting.
Flash Remoting = Flash Remoting, it just comes in different flavors: 
Coldfusion, PHP, Java, .NET.

This doesn't change the fact that Remoting ActionScript 3 classes are missing 
(Flash Remoting Components) which were both available 
for AS1 and AS2.

regards,
Muzak

- Original Message - 
From: "greg h" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, June 06, 2007 5:52 PM
Subject: [Flashcoders] Flash Remoting for Flash CS3 AS3


> As yet Adobe has not updated Flash Remoting for Flash CS3 AS3.
>
> Following are links to 3 sources documenting how to make remoting calls in
> AS3 using 
> NetConnection.call(...)
> .
>
> NOTE:  I have not tested the following sources.  If you use any of these,
> please post back regarding your experience.
>
>
>   - AS3 Lightweight Remoting Framework
>   http://osflash.org/as3lrf
>   - AS3 Flash Remoting Example
>   http://www.oscartrelles.com/archives/as3_flash_remoting_example
>- ActionScript 3.0 Cookbook -- Chapter 21: Web Services and Flash
>   Remoting
>   http://www.oreilly.com/catalog/actscpt3ckbk/toc.html
>   Section 21.4 Calling Flash Remoting Methods
>   Section 21.5 Handling Flash Remoting Responses
>   NOTE:  These sections expand on the TOC page link above for viewing
>   first several paragraphs.
>   NOTE #2:  The Web Services Sections of this chapter use Flex 2
>   components, and are not for Flash CS3 AS3
>
>
> In addition to a recent thread here on FlashCoders where this came up
> ("Flash CS3 Prof copy: missing Tree component"), this issue was also
> discussed by developers on the Adobe forums at this link:
>
> Great Alternative To Flash Remoting - AMFPHP
> http://www.adobe.com/cfusion/webforums/forum/messageview.cfm?forumid=15&catid=250&threadid=1245196&enterthread=y
> NOTE:  Go to comments starting in thread on April 19.
>
> hth,
>
> g


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Remoting in AS2 w/ .NET

2007-04-26 Thread Muzak
Have you used Object.registerClass() ?

Object.registerClass("ClientInfo", full.namespace.to.ClientInfo);

First parameter is the .NET object type, second is the full AS2 classpath.

Also make sure the class gets compiled in the swf, so somewhere in the fla add:

import full.namespace.to.ClientInfo;
var clientInfo:ClientInfo;

regards,
Muzak


- Original Message - 
From: "Randy Tinfow" <[EMAIL PROTECTED]>
To: 
Sent: Thursday, April 26, 2007 10:21 PM
Subject: [Flashcoders] Flash Remoting in AS2 w/ .NET


.NET Code:

asoClientInfo.ASType = "ClientInfo";
asoClientInfo.Add("id", ds.Tables[0].Rows[0]["ID"]);
asoClientInfo.Add("name", ds.Tables[0].Rows[0]["Name"]);
asoClientInfo.Add("logo", ds.Tables[0].Rows[0]["Logo"]);
htReturn.Add("clientInfo", asoClientInfo);  //this is a hashtable
Flash.Return = htReturn;

I have an ActionScript class called ClientInfo that has the same
properties that are being returned here (id, name, logo).  I am trying
to assign the result as an instance of this class, like this:



function gotData(re:ResultEvent)

{
var ci:ClientInfo = ClientInfo(re.result.clientInfo);
}

But it isn't working, none of the properties are accessible.  Im not
sure if what I'm trying to do is even possible, maybe someone can shed
some light on this?



MR


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] FLASH REMOTING HELP!!!

2007-01-18 Thread John VanHorn

yes i can...

http://kevinlangdon.com/serviceCapture/

On 1/18/07, [p e r c e p t i c o n] <[EMAIL PROTECTED]> wrote:


I've been struggling with this all week and really need some help...

i'm trying to call a method in a servlet (java) and can't seen to call
that
method nor get a response back into flashi know it can be done, but
don't know the nuances of remoting enough to pull it off...can anyone
point
me in the right direction?

thanks in advance
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





--
John Van Horn
[EMAIL PROTECTED]
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Remoting - formating date

2006-09-27 Thread Ron Wheeler
It might be easy to get the server to format the date for you. Instead 
of "select *", select the fields that you want and specify the format 
for the date to be returned instead of asking for the default.


"Select *" is hardly ever a good idea since the dba might alter the 
structure of the table on the server to add some new fields without 
telling you and suddenly your "select *" gets data in a different 
sequence or offset by one or more fields.



Ron

Cathy Coggin Shapiro wrote:

I am using Flash 8 and am using Flash Remoting to call a component from
Coldfusion MX7 to display my news articles.

I'm trying to display a list of news articles. I have the list displaying
but can't seem to figure out the actionscript to get rid of the GMT time in
my date field. I am calling the record "newsdate" and putting it in the
textfield called prodPrice. Right now it displays as Fri Jan 20 00:00:00
GMT-0600 2006 and I would like it to just display as Jan 20, 2006.

I'm not really strong on the actionscript so any help anyone could give me
would be very much appreciated! 


Here's the function from coldfusion:





SELECT * FROM news WHERE newsID = #newsID# 


 


Here's the actionscript calling the function:

function getProductsDetails (newsID)
{
var productsDetails_pc : PendingCall =
unleashedService.getProductsDetails (newsID); productsDetails_pc.responder =
new RelayResponder (this, "getProductsDetails_Result",
"getProductsDetails_Fault");
}
function getProductsDetails_Result (re : ResultEvent)
{
this.prodTitle.text = re.result.items[0].title;
this.prodPrice.text = re.result.items[0].newsdate;
this.prodDesc.text = re.result.items[0].article;
//var myImage:String = "images/" + re.result.items[0].prodImage +
".jpg";
//this.imageHolder.contentPath = myImage;
}
function getProductsDetails_Fault (fault:FaultEvent):Void
{
trace ("error");
}


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


  

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Remoting Updater

2006-07-24 Thread Jorge Tejada

Hi, I downloades it a long time ago, but I'm pretty sure this works.

On 7/21/06, clark slater <[EMAIL PROTECTED]> wrote:


At the start of this week we purchased Flash Remoting for integration with
a
client's .NET application. When I went to download the updater from the
Adobe site I found a 404 error (what's up with the whole site anyway,
seems
totally unresponsive and often hangs my browser?!). Five days later
despite
contacting customer support by phone and email we still cannot get Adobe
to
provide access to the updater, or even acknowledge that the updater page
is
down. For $1,000.00 you would expect a timely response. Should have gone
with weborb.

So is there anyone out there who happens to have the updater for the .NET
install of Flash Remoting and is willing to share it?

Clark
www.bayinteractive.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Re: [Flashcoders] Flash Remoting Inquiry

2006-07-07 Thread Mike Boutin
Yes i believe its a scope issue also, i solved this by storing the 
callback functions at _root.



Mike BOutin

Rich Rodecker wrote:

is it a scoping issue? maybe trying delegating the click to a function
in the same scope as the service...

sendMessage.click = Delegate.create(this, onButtonClick)

function onButtonClick() {
   pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
   pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');
}

On 7/7/06, Graham Pearson <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am having an issue with flash remoting and would like to understand
what is going on so I can resolve this issue. The code below works
with the proper results.

import mx.remoting.Service;
import mx.remoting.PendingCall;
import mx.remoting.RecordSet;
import mx.remoting.debug.*;
import mx.rpc.*;
import mx.services.Log;
import mx.controls.Alert;

var siteID:String = "1000";
var gatewayServer:String = "messagegateway.localhost";
var LicenseKey:String = "7A14A28C";
var pc:PendingCall;

var smsFlashRemoting:Service = new Service("http://"; + gatewayServer +
"/flashservices/gateway", webServiceLog,
"properties.cfc.SMSMessageGateway", null, null);
pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');

function SendMessage_Result(re:ResultEvent):Void {
trace("Received Result from sendMessage_Result: " + re.result);
}

function SendMessage_Fault(fe:FaultEvent):Void {
trace("Received Error from sendMessage_Fault: " +
fe.fault.faultstring);
}

As mentioned above this code works as I get the trace statement in the
output window which is what I would expect. Now for the code which
follows I will not get the trace statement from the _result function
and the only thing that I have done is put a button on a stage to have
the user click this button to run the same Remoting Call. Below is my
code:

import mx.remoting.Service; // Import the Service Class
import mx.remoting.PendingCall; // Import the PendingCall Class
import mx.remoting.RecordSet; // Import the RecordSet Class
import mx.remoting.debug.*; // Import the Remoting Debug Class
import mx.rpc.*; // Import all of the RPC Service Classes
import mx.services.Log;
import mx.controls.Alert;

var siteID:String = "1000";
var gatewayServer:String = "messagegateway.localhost";
var LicenseKey:String = "7A14A28C";
var pc:PendingCall;

var sendMessage = new Object();
var ccObjectListener = new Object();
var webServiceLog = new Log(Log.VERBOSE);
sendMessage_btn.addEventListener("click", sendMessage);

var smsFlashRemoting:Service = new Service("http://"; + gatewayServer +
"/flashservices/gateway", webServiceLog,
"properties.cfc.SMSMessageGateway", null, null);

sendMessage.click = function() {
pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');

function SendMessage_Result(re:ResultEvent):Void {
trace("Received Result from sendMessage_Result: " + re.result);
}

function SendMessage_Fault(fe:FaultEvent):Void {
trace("Received Error from sendMessage_Fault: " +
fe.fault.faultstring);
}

}

The code with the button on the screen will never put the trace line
in the debug window. I have tried putting the fucntions for the
_Result and _Fault inside of the click function and also on the
outside. Everything that I have tried will reproduce the same results
without the trace being displayed in the output window.

Any Suggestions.

- --
Graham Pearson, System Administrator / Application Developer
Northern Indiana Educational Services Center
Mishawaka, IN 46544
Voice (866) 254-5322 or (574) 254-5210 / Fax (574) 254-0148

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFErnjArwdok4nP6d0RAvUuAJ9JcFGw1e2cGhKYKreEiLVXbqjzkgCdFK8o
hE9UiqliR3vhGhOZR/QM2vA=
=g7mS
-END PGP SIGNATURE-

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com





___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting

Re: [Flashcoders] Flash Remoting Inquiry

2006-07-07 Thread Rich Rodecker

is it a scoping issue? maybe trying delegating the click to a function
in the same scope as the service...

sendMessage.click = Delegate.create(this, onButtonClick)

function onButtonClick() {
   pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
   pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');
}

On 7/7/06, Graham Pearson <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am having an issue with flash remoting and would like to understand
what is going on so I can resolve this issue. The code below works
with the proper results.

import mx.remoting.Service;
import mx.remoting.PendingCall;
import mx.remoting.RecordSet;
import mx.remoting.debug.*;
import mx.rpc.*;
import mx.services.Log;
import mx.controls.Alert;

var siteID:String = "1000";
var gatewayServer:String = "messagegateway.localhost";
var LicenseKey:String = "7A14A28C";
var pc:PendingCall;

var smsFlashRemoting:Service = new Service("http://"; + gatewayServer +
"/flashservices/gateway", webServiceLog,
"properties.cfc.SMSMessageGateway", null, null);
pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');

function SendMessage_Result(re:ResultEvent):Void {
trace("Received Result from sendMessage_Result: " + re.result);
}

function SendMessage_Fault(fe:FaultEvent):Void {
trace("Received Error from sendMessage_Fault: " +
fe.fault.faultstring);
}

As mentioned above this code works as I get the trace statement in the
output window which is what I would expect. Now for the code which
follows I will not get the trace statement from the _result function
and the only thing that I have done is put a button on a stage to have
the user click this button to run the same Remoting Call. Below is my
code:

import mx.remoting.Service; // Import the Service Class
import mx.remoting.PendingCall; // Import the PendingCall Class
import mx.remoting.RecordSet; // Import the RecordSet Class
import mx.remoting.debug.*; // Import the Remoting Debug Class
import mx.rpc.*; // Import all of the RPC Service Classes
import mx.services.Log;
import mx.controls.Alert;

var siteID:String = "1000";
var gatewayServer:String = "messagegateway.localhost";
var LicenseKey:String = "7A14A28C";
var pc:PendingCall;

var sendMessage = new Object();
var ccObjectListener = new Object();
var webServiceLog = new Log(Log.VERBOSE);
sendMessage_btn.addEventListener("click", sendMessage);

var smsFlashRemoting:Service = new Service("http://"; + gatewayServer +
"/flashservices/gateway", webServiceLog,
"properties.cfc.SMSMessageGateway", null, null);

sendMessage.click = function() {
pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');

function SendMessage_Result(re:ResultEvent):Void {
trace("Received Result from sendMessage_Result: " + re.result);
}

function SendMessage_Fault(fe:FaultEvent):Void {
trace("Received Error from sendMessage_Fault: " +
fe.fault.faultstring);
}

}

The code with the button on the screen will never put the trace line
in the debug window. I have tried putting the fucntions for the
_Result and _Fault inside of the click function and also on the
outside. Everything that I have tried will reproduce the same results
without the trace being displayed in the output window.

Any Suggestions.

- --
Graham Pearson, System Administrator / Application Developer
Northern Indiana Educational Services Center
Mishawaka, IN 46544
Voice (866) 254-5322 or (574) 254-5210 / Fax (574) 254-0148

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFErnjArwdok4nP6d0RAvUuAJ9JcFGw1e2cGhKYKreEiLVXbqjzkgCdFK8o
hE9UiqliR3vhGhOZR/QM2vA=
=g7mS
-END PGP SIGNATURE-

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Remoting Inquiry

2006-07-07 Thread Rich Rodecker

On 7/7/06, Graham Pearson <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am having an issue with flash remoting and would like to understand
what is going on so I can resolve this issue. The code below works
with the proper results.

import mx.remoting.Service;
import mx.remoting.PendingCall;
import mx.remoting.RecordSet;
import mx.remoting.debug.*;
import mx.rpc.*;
import mx.services.Log;
import mx.controls.Alert;

var siteID:String = "1000";
var gatewayServer:String = "messagegateway.localhost";
var LicenseKey:String = "7A14A28C";
var pc:PendingCall;

var smsFlashRemoting:Service = new Service("http://"; + gatewayServer +
"/flashservices/gateway", webServiceLog,
"properties.cfc.SMSMessageGateway", null, null);
pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');

function SendMessage_Result(re:ResultEvent):Void {
trace("Received Result from sendMessage_Result: " + re.result);
}

function SendMessage_Fault(fe:FaultEvent):Void {
trace("Received Error from sendMessage_Fault: " +
fe.fault.faultstring);
}

As mentioned above this code works as I get the trace statement in the
output window which is what I would expect. Now for the code which
follows I will not get the trace statement from the _result function
and the only thing that I have done is put a button on a stage to have
the user click this button to run the same Remoting Call. Below is my
code:

import mx.remoting.Service; // Import the Service Class
import mx.remoting.PendingCall; // Import the PendingCall Class
import mx.remoting.RecordSet; // Import the RecordSet Class
import mx.remoting.debug.*; // Import the Remoting Debug Class
import mx.rpc.*; // Import all of the RPC Service Classes
import mx.services.Log;
import mx.controls.Alert;

var siteID:String = "1000";
var gatewayServer:String = "messagegateway.localhost";
var LicenseKey:String = "7A14A28C";
var pc:PendingCall;

var sendMessage = new Object();
var ccObjectListener = new Object();
var webServiceLog = new Log(Log.VERBOSE);
sendMessage_btn.addEventListener("click", sendMessage);

var smsFlashRemoting:Service = new Service("http://"; + gatewayServer +
"/flashservices/gateway", webServiceLog,
"properties.cfc.SMSMessageGateway", null, null);

sendMessage.click = function() {
pc = smsFlashRemoting.SendMessage(siteID, LicenseKey);
pc.responder = new RelayResponder(this, 'SendMessage_Result',
'SendMessage_Fault');

function SendMessage_Result(re:ResultEvent):Void {
trace("Received Result from sendMessage_Result: " + re.result);
}

function SendMessage_Fault(fe:FaultEvent):Void {
trace("Received Error from sendMessage_Fault: " +
fe.fault.faultstring);
}

}

The code with the button on the screen will never put the trace line
in the debug window. I have tried putting the fucntions for the
_Result and _Fault inside of the click function and also on the
outside. Everything that I have tried will reproduce the same results
without the trace being displayed in the output window.

Any Suggestions.

- --
Graham Pearson, System Administrator / Application Developer
Northern Indiana Educational Services Center
Mishawaka, IN 46544
Voice (866) 254-5322 or (574) 254-5210 / Fax (574) 254-0148

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (MingW32)
Comment: GnuPT 2.6.2.1 by EQUIPMENTE.DE
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFErnjArwdok4nP6d0RAvUuAJ9JcFGw1e2cGhKYKreEiLVXbqjzkgCdFK8o
hE9UiqliR3vhGhOZR/QM2vA=
=g7mS
-END PGP SIGNATURE-

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash Remoting onStatus in Flash Player 8

2006-05-26 Thread Rui Duarte Silva
Sorry Jord, but I'll need a bit more info on how to do that. Suppose the
following code:

var _conn:Connection = new Connection();
_conn.onStatus = function(status_obj) {
trace("Something wrong has happened");
trace(status_obj.description);
}
_conn.connect(gatewayURL_str);

How would you do  what you suggested,

Thanks,

Rui Duarte Silva

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jordan L.
Chilcott
Sent: quinta-feira, 25 de Maio de 2006 11:23
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Flash Remoting onStatus in Flash Player 8

Use the Connection.call() method to call your routine with a callback to
your object. Place your onStatus and onResult methods in your callback
object. Your status information should be passed to your callback object.

jord

On May 23, 2006, at 7:19 AM, Rui Duarte Silva wrote:

> I'm having a strange problem that only occurs in Flash Player 8 and 
> above.
> Apparently when I publish to Player 8, my Connection.onStatus ceases 
> to function correctly. The method is still called, but the status 
> information (normally passed as a Object) is undefined.
>
> Any ideas on this?

--
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (253) 276-8631

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: "Building Web Sites with Macromedia Studio MX"
Author: "Building Dynamic Web Sites with Macromedia Studio MX"
Author: "Flash Professional 8: Training From the Source"
Author: "Foundation Flash 8 Video"



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Flash Remoting onStatus in Flash Player 8

2006-05-25 Thread Jordan L. Chilcott
Use the Connection.call() method to call your routine with a callback  
to your object. Place your onStatus and onResult methods in your  
callback object. Your status information should be passed to your  
callback object.


jord

On May 23, 2006, at 7:19 AM, Rui Duarte Silva wrote:

I'm having a strange problem that only occurs in Flash Player 8 and  
above.
Apparently when I publish to Player 8, my Connection.onStatus  
ceases to
function correctly. The method is still called, but the status  
information

(normally passed as a Object) is undefined.

Any ideas on this?


--
Jordan L. Chilcott, President
Interactivity Unlimited
Guelph, Ontario
-
Tel:  (519) 837-1879
eFax: (253) 276-8631

mailto:[EMAIL PROTECTED]
http://www.interactivityunlimited.com
iChat/AIM: j1chilcott

Author: "Building Web Sites with Macromedia Studio MX"
Author: "Building Dynamic Web Sites with Macromedia Studio MX"
Author: "Flash Professional 8: Training From the Source"
Author: "Foundation Flash 8 Video"



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Flash Remoting

2006-01-23 Thread John Olson
JP --

If you have used the Remoting Installer
(http://download.macromedia.com/pub/flashremoting/mx2004/components/actionsc
ript_2.0/flashremoting_comp_as20-win-en.exe), then you'll need to drag the
Remoting Class library into your document before you can use them.  When you
do it this way, you get all the remoting classes which will add more K to
your Flash SWF. 

Macromedia/Adobe also provides the source code for download as well, which
allows you to directly import the classes you need and comes with a lesser K
hit since you can import only what you need.
http://download.macromedia.com/pub/flashremoting/mx2004/components/actionscr
ipt_2.0/flashremoting_comp_sourcecode.zip

- John

-Original Message-
Message: 20
Date: Mon, 23 Jan 2006 00:14:42 -0500
From: "JP" <[EMAIL PROTECTED]>
Subject: RE: [Flashcoders] Flash Remoting
To: "'Flashcoders mailing list'" 
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;   charset="us-ascii"

 

> If you are using AS2, then you want to use import, not #include (which is
AS1).

DOH! I should have known that. Thanks!

Now I've got to go fix my Win config. The installer claims that 'remoting is
installed' and won't run again, but import mx.remoting.Services can't be
loaded and clearly is not where it's suppose to be. Ah well, that's the easy
part. Thanks again!

- jp

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


RE: [Flashcoders] Flash Remoting

2006-01-23 Thread Adrian Lynch
Not sure if this still applied, but you might need to download the class
files and put them in your class path else the import will fail.

If I'm wrong about this, could someone give a brief explanation/history of
the remoting classes?

Thanks.

Adrian

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of JP
Sent: 23 January 2006 05:15
To: 'Flashcoders mailing list'
Subject: RE: [Flashcoders] Flash Remoting




> If you are using AS2, then you want to use import, not #include (which is
AS1).

DOH! I should have known that. Thanks!

Now I've got to go fix my Win config. The installer claims that 'remoting is
installed' and won't run again, but import mx.remoting.Services can't be
loaded and clearly is not where it's suppose to be. Ah well, that's the easy
part. Thanks again!

- jp

___
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


RE: [Flashcoders] Flash Remoting

2006-01-22 Thread JP
 

> If you are using AS2, then you want to use import, not #include (which is
AS1).

DOH! I should have known that. Thanks!

Now I've got to go fix my Win config. The installer claims that 'remoting is
installed' and won't run again, but import mx.remoting.Services can't be
loaded and clearly is not where it's suppose to be. Ah well, that's the easy
part. Thanks again!

- jp

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


Re: [Flashcoders] Flash Remoting

2006-01-22 Thread Grant Cox
If you are using AS2, then you want to use import, not #include (which 
is AS1).


import mx.remoting.Service;
import mx.services.Log;
import mx.remoting.debug.NetDebug;

Regards,
Grant Cox


JP wrote:


I'm running into very odd issues with the installation of Flash remoting
components for AS2 on both Windows and OSX using Flash MX 2004.

1. In both cases, using #include "NetServices.as" or "NetDebug.as" produces
a 'file not found' compiler error.
2. After reading through a bunch of Tec notes, I discovered that those two
files needed to be placed into the include directory. After that, Flash
found the files, but...
3. Suddenly the compiler spit out 20+ warnings about improper import paths
defined in these files.

import mx.remoting.degug. <-- place filename here


I started madly shuffling files around to their correct paths (on the OSX
version), but now I'm getting 20+ messages from within the component files
when including NetDebug or NetServices:

**Error** Volume:Users:jpowers:Library:Application Support:Macromedia:
Flash MX 2004:en:Configuration:Include:NetDebug.as: Line 10: Classes may
only be defined 
in external ActionScript 2.0 class scripts.

intrinsic class mx.remoting.debug.NetDebug extends Object

or

[snip] Syntax error. import mx.remoting.debug.events.NetDebugTrace;
[snip] Syntax error. static public function
getNetDebug():mx.remoting.debug.NetDebug

Can anyone tell me how I can sort this out? I'm stumped.

-jp

___
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


Re: [Flashcoders] Flash Remoting

2006-01-22 Thread Chris Velevitch
On Windows, did you run the AS2 Remoting Components installer?

I only use Windows, so I can't help you with Mac.


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] [Flash Remoting MX]->null

2006-01-17 Thread Adrian Lynch
ColdFusion sometimes errors with a null point exception. This might eb the
remoting equivalent.

Ade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Chris
Velevitch
Sent: 17 January 2006 06:35
To: Flashcoders mailing list
Subject: [Flashcoders] [Flash Remoting MX]->null


What does:-

 [Flash Remoting MX]->null

in the coldfusion server Flash Remoting log mean?


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au

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


Re: [Flashcoders] Flash Remoting and CF

2005-12-21 Thread Matt Ganz
it's what i did.

within flash, i'd create either a generic object or an associative
array and i'd pass that entire object in my remoting call. the method
in my cfc is set up to accept this arg and the first thing that it
does is loop over it and passes those values along to my database.

and going back i'd do the same thing. i used structs and passed it
back to flash where i'd loop over the result and then going about
using those values where needed.

i used the netconnection debugger to view the back and forth and it
gave me a real nice visual display of the structure of my data.

hth.

On 12/21/05, Sam Shrefler <[EMAIL PROTECTED]> wrote:
> I was wondering what other people's practices were when using Flash Remoting
> and Coldfusion together with respect to passing values.
>
> Usually, I create an Object in flash ( usually containing all the arguments
> I want to pass to flash, for example: all the values of a form ) and it
> remoting converts those valuse to arguments used in my cfc.
>
> When going from CF (say i'm initializing a form and getting a bunch of data
> from my cfc )... I'll usually create a struct in cf that contains all the
> information and pass it back to flash.
>
> Does this seem to common to what other people do?
>
> Thanks
>
> Sam
> ___
> 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


Re: [Flashcoders] Flash Remoting and CF

2005-12-21 Thread Nick McNeill

That is exactly how my company does it. Seems to work the best for us.
Nick McNeill
Intellistrand

On Dec 21, 2005, at 8:14 AM, Sam Shrefler wrote:

I was wondering what other people's practices were when using Flash  
Remoting

and Coldfusion together with respect to passing values.

Usually, I create an Object in flash ( usually containing all the  
arguments
I want to pass to flash, for example: all the values of a form )  
and it

remoting converts those valuse to arguments used in my cfc.

When going from CF (say i'm initializing a form and getting a bunch  
of data
from my cfc )... I'll usually create a struct in cf that contains  
all the

information and pass it back to flash.

Does this seem to common to what other people do?

Thanks

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


SPAM and virus protection provided by Intellistrand



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


RE: [Flashcoders] Flash Remoting with ASP.NET

2005-11-30 Thread Kevin Mulvihill
You need to set up correct directory permissions for the ASP.NET machine and
also establish the directory as a web application.

Go to the LiveDocs for Flash Remoting .NET at
http://livedocs.macromedia.com/flashremoting/mx2004/using_flash_remoting/wwh
elp/wwhimpl/js/html/wwhelp.htm and read the "Setting Up a Flash Remoting
ASP.NET Application" section.

Kevin 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf 
> Of Judah Frangipane
> Sent: Tuesday, November 29, 2005 1:37 PM
> To: Flashcoders mailing list
> Subject: [Flashcoders] Flash Remoting with ASP.NET
> 
> I had a project setup running Flash Remoting with ASP.NET. We 
> are working with another company and they backed up and 
> cleaned the root directory of the site. I went into the 
> backup and restored my files and now I no longer receive any 
> sort of feedback from Flash Remoting calls. 
> Not a onResult or an onFault event are triggered. My aspx 
> pages work fine.
> 
> Is there anyway to test Flash Remoting is working? Or does 
> this sound familiar to anyone?
> 
> Judah Frangipane
> ___
> 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


Re: [Flashcoders] Flash Remoting with ASP.NET

2005-11-29 Thread Johan Lopes
Are you using NetConnection Debugger?

If not, you'll find it in > Window > Other Panels > NetConnection
Debugger or as a separate SWF in here: .

Use the NetConnection Debugger to see if your App is making a call to
your gateway.aspx page.

That's a good starting point to get things up and running.

HTH,

/Johan

On 11/29/05, Judah Frangipane <[EMAIL PROTECTED]> wrote:
> I had a project setup running Flash Remoting with ASP.NET. We are
> working with another company and they backed up and cleaned the root
> directory of the site. I went into the backup and restored my files and
> now I no longer receive any sort of feedback from Flash Remoting calls.
> Not a onResult or an onFault event are triggered. My aspx pages work fine.
>
> Is there anyway to test Flash Remoting is working? Or does this sound
> familiar to anyone?
>
> Judah Frangipane
> ___
> 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


Re: [Flashcoders] Flash Remoting, NAT problem

2005-11-28 Thread Johan Lopes
Hi Jorge,

This could be a long shot but...

Make sure your Flash remoting Server is bound to an IP address? By
default it bounds to your localhost/127.0.0.1.

Find your frconfig.txt and make sure you put your internal network IP
address (192.168.0.x) in the right place. Otherwise, it'll only work
as a development server and take requests from Localhost only!



# Flash Remoting MX for .NET  -  Configuration File
# Each configuration property should begin on a new line using a key =
value format.
#
SN= YOUR SERIAL NUMBER
IP= YOUR IP
Log Level=Error
Log File Size=1048576



HTH,

/Johan

On 11/27/05, Jorge Tejada <[EMAIL PROTECTED]> wrote:
> Hi everybody, We have a Windows 2000 Server with CFMX7 installed, We are
> doing NAT to it from a Linux Server, because it is on our internal networtk,
> everything was fine, but when we test flash remoting it didn't work, what
> are we doing wrong?.
>
> Regards
>
> Jorge Carlos
> ___
> 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


Re: [Flashcoders] Flash Remoting Question

2005-11-16 Thread John Barton
I think that part of the confusion here is the lack of distinction between
the gateway and the server-side scripts it is communicating with.  The
gateway is a server-side application that translates AMF binary messages
from a Flash client.  The gateway provides the ability to call scripts in
various languages, depending upon what kind of gateway it is (AMFPHP,
FlashOrb, etc. support different languages).  It is important to note that
the gateway is entirely separate from the scripts that it is calling.

For example, I routinely use the same AMFPHP gateway to make calls to
various other servers running a diverse set of languages like Java, PHP,
Perl and Python (it supports .NET also).  Not being a .NET guy either, I do
(hopefully) know something about programming.

The beauty of Remoting is that it allows for passing of complex data types,
not simply name/value pairs, as it with LoadVars.  For example, using
Remoting you can call scripts on a server that can return objects, arrays
and even entire record sets.  This has the added advantage that there is no
need to serialize/deserialize the data for complex types.  That process,
which you would normally have to write in AS, is handled directly by the
Flash Player, saving you additional code and increasing performance.

Therefore, there is no need to continue wasting time thinking in terms of
how do I get my data which is native to X server-side language into Flash
using url-encoded name/value pairs and spend that time creating flexible
object-oriented server-side code that can power your HTML and Flash
applications.  So, to really answer your question about what specific type
of script need to be used to transfer data to Flash using Remoting, it
depends on how your code is structured.  If you write your server-side code
in a manner in which the data is separate from the presentation, then you
should be able to call any script that returns data of a type that Flash can
interpret.

-jb


On 11/16/05 7:32 PM, "hank williams" <[EMAIL PROTECTED]> wrote:

> unfortunately I am not a .NET guy, so I dont know anything about asp pages.
> 
> But the answer to your question really relates to the remoting
> gateway. Different remoting gateways allow you to connect to different
> types of languages. I think I mentioned flashOrb in a prior email
> because they advertise supporting .NET. If you go to their website you
> can find out what languages they support.
> 
> Regards
> Hank
> 
> On 11/16/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
>> Hank,
>> 
>> Sorry, I should have been a little more specific.
>> 
>> After you create the "Remoting" connection. On the server side, what
>> kinds of scripts can be run? Can any script run to return variables to
>> flash?
>> 
>> My reason for asking is as follows:
>> 
>> If I have a program that is an address book. I create the remoting link
>> to the server. If on the server I have a database of variables I need to
>> get to the flash application. What kind of script can/should be used to
>> transfer the data. I was not looking for specifics, more just a general
>> idea. I have several ASP scripts I have used to transfer data to html
>> applications. Can they be used or is there a specific type of script
>> that needs to be used to transfer the data.
>> 
>> Al
>> 
>> hank williams wrote:
>> 
>>> When you ask "what kind of script" do you mean on the server side or
>>> within flash?
>>> 
>>> Within flash, you just use the remoting classes and its really just
>>> like calling a function that is actually on the server.
>>> 
>>> On the server side you just create functions that take parameters and
>>> return values. These functions are called by the flash client and the
>>> results are returned to the flash client. The functions can be written
>>> in a myriad of languages.
>>> 
>>> If I am not getting to what you are asking let me know and I will give
>>> it another shot.
>>> 
>>> Regards
>>> Hank
>>> 
>>> On 11/16/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
>>> 
>>> 
 Hey Hank,
 
 I have a question for you. After the connection in Remoting is created,
 what type of script do I use to transfer variables to and from flash? Do
 I just use any type of standard communication script? Or must to be
 something specialized?
 
 Al
 
 hank williams wrote:
 
 
 
> On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> 
> 
> 
> 
>> Hi Guys,
>> 
>> The site will be hosted on a Windows server, and will quite heavily us
>> .NET components, so putting it onto a linux server isn't really an
>> option.
>> 
>> The problem I am quite simply having is that I find flash remoting
>> confusing. I have been working with actionscript for about 3 years now,
>> and understand it fully. I just don't understand how to form packets and
>> transfer them between flash and the remoting software. The only
>> programming I have ever done is in actionscript so I real

Re: [Flashcoders] Flash Remoting Question

2005-11-16 Thread Muzak
>From the docs:
http://livedocs.macromedia.com/flashremoting/mx2004/index.html
http://livedocs.macromedia.com/flashremoting/mx2004/using_flash_remoting/wwhelp/wwhimpl/js/html/wwhelp.htm

.NET:
Macromedia Flash Remoting for Microsoft .NET is an ASP.NET web application that 
enables Flash applications to access and invoke 
ASP.NET pages, ADO.NET data, web services, and assemblies from ActionScript.

Java:
You can use Flash Remoting from ActionScript in a Flash application to call 
public methods on Java objects running in Java 
application servers. Flash Remoting supports the following types of Java 
objects:
- JavaBeans (stateful)
- Java classes (stateless)
- Enterprise JavaBeans (stateless session, stateful session, and entity beans)
- Java servlets and Java Server Pages (JSPs)
- Java Management Extensions (JMX) MBeans; available in Macromedia JRun 4 only
Macromedia JRun 4 also lets you call functions on server-side ActionScript, 
which can in turn call methods on server-side Java 
objects.

ColdFusion:
To use Macromedia Flash Remoting for Flash MX 2004 ActionScript 2.0 with 
Macromedia ColdFusion MX, you build ColdFusion pages or 
ColdFusion components (CFCs). In ColdFusion pages, you use the Flash variable 
scope to interact with Flash applications. ColdFusion 
components provide native support for Flash interactions. In addition, you can 
use ColdFusion's server-side ActionScript 
functionality, which lets you query databases and perform HTTP operations in 
ActionScript files on the server.

regards,
Muzak

- Original Message - 
From: "hank williams" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Thursday, November 17, 2005 4:32 AM
Subject: Re: [Flashcoders] Flash Remoting Question


unfortunately I am not a .NET guy, so I dont know anything about asp pages.

But the answer to your question really relates to the remoting
gateway. Different remoting gateways allow you to connect to different
types of languages. I think I mentioned flashOrb in a prior email
because they advertise supporting .NET. If you go to their website you
can find out what languages they support.

Regards
Hank

On 11/16/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> Hank,
>
> Sorry, I should have been a little more specific.
>
> After you create the "Remoting" connection. On the server side, what
> kinds of scripts can be run? Can any script run to return variables to
> flash?
>
> My reason for asking is as follows:
>
> If I have a program that is an address book. I create the remoting link
> to the server. If on the server I have a database of variables I need to
> get to the flash application. What kind of script can/should be used to
> transfer the data. I was not looking for specifics, more just a general
> idea. I have several ASP scripts I have used to transfer data to html
> applications. Can they be used or is there a specific type of script
> that needs to be used to transfer the data.
>
> Al
>
> hank williams wrote:
>
> >When you ask "what kind of script" do you mean on the server side or
> >within flash?
> >
> >Within flash, you just use the remoting classes and its really just
> >like calling a function that is actually on the server.
> >
> >On the server side you just create functions that take parameters and
> >return values. These functions are called by the flash client and the
> >results are returned to the flash client. The functions can be written
> >in a myriad of languages.
> >
> >If I am not getting to what you are asking let me know and I will give
> >it another shot.
> >
> >Regards
> >Hank
> >
> >On 11/16/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Hey Hank,
> >>
> >>I have a question for you. After the connection in Remoting is created,
> >>what type of script do I use to transfer variables to and from flash? Do
> >>I just use any type of standard communication script? Or must to be
> >>something specialized?
> >>
> >>Al
> >>
> >>hank williams wrote:
> >>
> >>
> >>
> >>>On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> >>>>Hi Guys,
> >>>>
> >>>>The site will be hosted on a Windows server, and will quite heavily us
> >>>>.NET components, so putting it onto a linux server isn't really an option.
> >>>>
> >>>>The problem I am quite simply having is that I find flash remoting
> >>>>confusing. I have been working with actionscript for about 3 years now,
> >>>>and understand it fully. 

Re: [Flashcoders] Flash Remoting Question

2005-11-16 Thread hank williams
unfortunately I am not a .NET guy, so I dont know anything about asp pages.

But the answer to your question really relates to the remoting
gateway. Different remoting gateways allow you to connect to different
types of languages. I think I mentioned flashOrb in a prior email
because they advertise supporting .NET. If you go to their website you
can find out what languages they support.

Regards
Hank

On 11/16/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> Hank,
>
> Sorry, I should have been a little more specific.
>
> After you create the "Remoting" connection. On the server side, what
> kinds of scripts can be run? Can any script run to return variables to
> flash?
>
> My reason for asking is as follows:
>
> If I have a program that is an address book. I create the remoting link
> to the server. If on the server I have a database of variables I need to
> get to the flash application. What kind of script can/should be used to
> transfer the data. I was not looking for specifics, more just a general
> idea. I have several ASP scripts I have used to transfer data to html
> applications. Can they be used or is there a specific type of script
> that needs to be used to transfer the data.
>
> Al
>
> hank williams wrote:
>
> >When you ask "what kind of script" do you mean on the server side or
> >within flash?
> >
> >Within flash, you just use the remoting classes and its really just
> >like calling a function that is actually on the server.
> >
> >On the server side you just create functions that take parameters and
> >return values. These functions are called by the flash client and the
> >results are returned to the flash client. The functions can be written
> >in a myriad of languages.
> >
> >If I am not getting to what you are asking let me know and I will give
> >it another shot.
> >
> >Regards
> >Hank
> >
> >On 11/16/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Hey Hank,
> >>
> >>I have a question for you. After the connection in Remoting is created,
> >>what type of script do I use to transfer variables to and from flash? Do
> >>I just use any type of standard communication script? Or must to be
> >>something specialized?
> >>
> >>Al
> >>
> >>hank williams wrote:
> >>
> >>
> >>
> >>>On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>
> >>>
> Hi Guys,
> 
> The site will be hosted on a Windows server, and will quite heavily us
> .NET components, so putting it onto a linux server isn't really an option.
> 
> The problem I am quite simply having is that I find flash remoting
> confusing. I have been working with actionscript for about 3 years now,
> and understand it fully. I just don't understand how to form packets and
> transfer them between flash and the remoting software. The only
> programming I have ever done is in actionscript so I really don't know
> any other language which I guess makes it more difficult.
> 
> I have looked at OpenAMF however it doesn't run on Windows.
> 
> 
> 
> 
> >>>Yes it does. OpenAMF is a java technology which will run wherever java
> >>>does - which is everywhere. The problem is that it is for *java* not
> >>>.NET. You seem to need .NET so OpenAMF is out.
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> I didn't understand the purpose of FlashOrb.
> 
> 
> 
> 
> >>>It sounds more like you dont understand the purpose of remoting. So
> >>>let me try to explain.
> >>>
> >>>Remoting is just a way to make calls to "remote procedures" on servers
> >>>
> >>>
> >>>from the flash client. Different remoting technologies support
> >>
> >>
> >>>different server side systems. In order to do remoting, you need a
> >>>gateway that sits between your server side system, and the internet.
> >>>This gateway recieves function calls from flash, and returns the
> >>>result of the function call to flash. So in order to use remoting, you
> >>>must have code written on the server side which queries the database
> >>>or does whatever you need to get done. So you must have code you wish
> >>>to access in some .NET compatible language such as C#. All remoting
> >>>does is let you access that code.
> >>>
> >>>Server side systems include:
> >>>
> >>>Java
> >>>.NET
> >>>PHP
> >>>
> >>>If you were using php I would suggest AMFPHP. This would allow you to
> >>>call php functions on your server from within flash.
> >>>
> >>>Since you are using .NET, I would suggest flashORB, which is just like
> >>>all the other remoting gateways, but the standard edition is free, and
> >>>it supports .NET. On their home page it says:
> >>>--
> >>>Free Standard Edition for .NET includes support for Flash Remoting
> >>>10.20.05
> >>>The release of Beta 3 marks an important milestone in the history of
> >>>Flash Remoting for .NET. The free Standard Edition of the product
> >>>provides Flash Remoting support.
> >>>--
> >>>

Re: [Flashcoders] Flash Remoting Question

2005-11-16 Thread Al Veldhuis

Hank,

Sorry, I should have been a little more specific.

After you create the "Remoting" connection. On the server side, what 
kinds of scripts can be run? Can any script run to return variables to 
flash?


My reason for asking is as follows:

If I have a program that is an address book. I create the remoting link 
to the server. If on the server I have a database of variables I need to 
get to the flash application. What kind of script can/should be used to 
transfer the data. I was not looking for specifics, more just a general 
idea. I have several ASP scripts I have used to transfer data to html 
applications. Can they be used or is there a specific type of script 
that needs to be used to transfer the data.


Al

hank williams wrote:


When you ask "what kind of script" do you mean on the server side or
within flash?

Within flash, you just use the remoting classes and its really just
like calling a function that is actually on the server.

On the server side you just create functions that take parameters and
return values. These functions are called by the flash client and the
results are returned to the flash client. The functions can be written
in a myriad of languages.

If I am not getting to what you are asking let me know and I will give
it another shot.

Regards
Hank

On 11/16/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
 


Hey Hank,

I have a question for you. After the connection in Remoting is created,
what type of script do I use to transfer variables to and from flash? Do
I just use any type of standard communication script? Or must to be
something specialized?

Al

hank williams wrote:

   


On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:


 


Hi Guys,

The site will be hosted on a Windows server, and will quite heavily us
.NET components, so putting it onto a linux server isn't really an option.

The problem I am quite simply having is that I find flash remoting
confusing. I have been working with actionscript for about 3 years now,
and understand it fully. I just don't understand how to form packets and
transfer them between flash and the remoting software. The only
programming I have ever done is in actionscript so I really don't know
any other language which I guess makes it more difficult.

I have looked at OpenAMF however it doesn't run on Windows.


   


Yes it does. OpenAMF is a java technology which will run wherever java
does - which is everywhere. The problem is that it is for *java* not
.NET. You seem to need .NET so OpenAMF is out.




 


I didn't understand the purpose of FlashOrb.


   


It sounds more like you dont understand the purpose of remoting. So
let me try to explain.

Remoting is just a way to make calls to "remote procedures" on servers
 


from the flash client. Different remoting technologies support
   


different server side systems. In order to do remoting, you need a
gateway that sits between your server side system, and the internet.
This gateway recieves function calls from flash, and returns the
result of the function call to flash. So in order to use remoting, you
must have code written on the server side which queries the database
or does whatever you need to get done. So you must have code you wish
to access in some .NET compatible language such as C#. All remoting
does is let you access that code.

Server side systems include:

Java
.NET
PHP

If you were using php I would suggest AMFPHP. This would allow you to
call php functions on your server from within flash.

Since you are using .NET, I would suggest flashORB, which is just like
all the other remoting gateways, but the standard edition is free, and
it supports .NET. On their home page it says:
--
Free Standard Edition for .NET includes support for Flash Remoting
10.20.05
The release of Beta 3 marks an important milestone in the history of
Flash Remoting for .NET. The free Standard Edition of the product
provides Flash Remoting support.
--

Once you get remoting set up it is exceedingly simple and powerful.
Any function which you wish to access from flash can be accessed via a
function call.

I have never heard of the company and the product you referenced, but
I did go to their website. I cant say it wont work for you, but the
remoting mechanism is much more mainstream and therefore, I think, a
safer bet.

Regards
Hank
___
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

 




_

Re: [Flashcoders] Flash Remoting Question

2005-11-16 Thread hank williams
When you ask "what kind of script" do you mean on the server side or
within flash?

Within flash, you just use the remoting classes and its really just
like calling a function that is actually on the server.

On the server side you just create functions that take parameters and
return values. These functions are called by the flash client and the
results are returned to the flash client. The functions can be written
in a myriad of languages.

If I am not getting to what you are asking let me know and I will give
it another shot.

Regards
Hank

On 11/16/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> Hey Hank,
>
> I have a question for you. After the connection in Remoting is created,
> what type of script do I use to transfer variables to and from flash? Do
> I just use any type of standard communication script? Or must to be
> something specialized?
>
> Al
>
> hank williams wrote:
>
> >On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> >
> >
> >>Hi Guys,
> >>
> >>The site will be hosted on a Windows server, and will quite heavily us
> >>.NET components, so putting it onto a linux server isn't really an option.
> >>
> >>The problem I am quite simply having is that I find flash remoting
> >>confusing. I have been working with actionscript for about 3 years now,
> >>and understand it fully. I just don't understand how to form packets and
> >>transfer them between flash and the remoting software. The only
> >>programming I have ever done is in actionscript so I really don't know
> >>any other language which I guess makes it more difficult.
> >>
> >>I have looked at OpenAMF however it doesn't run on Windows.
> >>
> >>
> >
> >Yes it does. OpenAMF is a java technology which will run wherever java
> >does - which is everywhere. The problem is that it is for *java* not
> >.NET. You seem to need .NET so OpenAMF is out.
> >
> >
> >
> >
> >>I didn't understand the purpose of FlashOrb.
> >>
> >>
> >
> >It sounds more like you dont understand the purpose of remoting. So
> >let me try to explain.
> >
> >Remoting is just a way to make calls to "remote procedures" on servers
> >from the flash client. Different remoting technologies support
> >different server side systems. In order to do remoting, you need a
> >gateway that sits between your server side system, and the internet.
> >This gateway recieves function calls from flash, and returns the
> >result of the function call to flash. So in order to use remoting, you
> >must have code written on the server side which queries the database
> >or does whatever you need to get done. So you must have code you wish
> >to access in some .NET compatible language such as C#. All remoting
> >does is let you access that code.
> >
> >Server side systems include:
> >
> >Java
> >.NET
> >PHP
> >
> >If you were using php I would suggest AMFPHP. This would allow you to
> >call php functions on your server from within flash.
> >
> >Since you are using .NET, I would suggest flashORB, which is just like
> >all the other remoting gateways, but the standard edition is free, and
> >it supports .NET. On their home page it says:
> >--
> >Free Standard Edition for .NET includes support for Flash Remoting
> >10.20.05
> >The release of Beta 3 marks an important milestone in the history of
> >Flash Remoting for .NET. The free Standard Edition of the product
> >provides Flash Remoting support.
> >--
> >
> >Once you get remoting set up it is exceedingly simple and powerful.
> >Any function which you wish to access from flash can be accessed via a
> >function call.
> >
> >I have never heard of the company and the product you referenced, but
> >I did go to their website. I cant say it wont work for you, but the
> >remoting mechanism is much more mainstream and therefore, I think, a
> >safer bet.
> >
> >Regards
> >Hank
> >___
> >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


Re: [Flashcoders] Flash Remoting Question

2005-11-16 Thread Al Veldhuis

Hey Hank,

I have a question for you. After the connection in Remoting is created, 
what type of script do I use to transfer variables to and from flash? Do 
I just use any type of standard communication script? Or must to be 
something specialized?


Al

hank williams wrote:


On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
 


Hi Guys,

The site will be hosted on a Windows server, and will quite heavily us
.NET components, so putting it onto a linux server isn't really an option.

The problem I am quite simply having is that I find flash remoting
confusing. I have been working with actionscript for about 3 years now,
and understand it fully. I just don't understand how to form packets and
transfer them between flash and the remoting software. The only
programming I have ever done is in actionscript so I really don't know
any other language which I guess makes it more difficult.

I have looked at OpenAMF however it doesn't run on Windows.
   



Yes it does. OpenAMF is a java technology which will run wherever java
does - which is everywhere. The problem is that it is for *java* not
.NET. You seem to need .NET so OpenAMF is out.


 


I didn't understand the purpose of FlashOrb.
   



It sounds more like you dont understand the purpose of remoting. So
let me try to explain.

Remoting is just a way to make calls to "remote procedures" on servers
from the flash client. Different remoting technologies support
different server side systems. In order to do remoting, you need a
gateway that sits between your server side system, and the internet.
This gateway recieves function calls from flash, and returns the
result of the function call to flash. So in order to use remoting, you
must have code written on the server side which queries the database
or does whatever you need to get done. So you must have code you wish
to access in some .NET compatible language such as C#. All remoting
does is let you access that code.

Server side systems include:

Java
.NET
PHP

If you were using php I would suggest AMFPHP. This would allow you to
call php functions on your server from within flash.

Since you are using .NET, I would suggest flashORB, which is just like
all the other remoting gateways, but the standard edition is free, and
it supports .NET. On their home page it says:
--
Free Standard Edition for .NET includes support for Flash Remoting
10.20.05
The release of Beta 3 marks an important milestone in the history of
Flash Remoting for .NET. The free Standard Edition of the product
provides Flash Remoting support.
--

Once you get remoting set up it is exceedingly simple and powerful.
Any function which you wish to access from flash can be accessed via a
function call.

I have never heard of the company and the product you referenced, but
I did go to their website. I cant say it wont work for you, but the
remoting mechanism is much more mainstream and therefore, I think, a
safer bet.

Regards
Hank
___
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


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread hank williams
 Is flashOrb the only remoting for .NET?

I believe the official macromedia remoting gateway supports .NET, but
it is something like $1000. Coldfusion might support .NET also. I am
not sure.

But FlashOrb might be the only free way to do it. My knowledge about
this is a little thin since I am a Java guy, not a .NET guy.

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


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread Al Veldhuis

Hey Martin,

Actually Hank explained remoting quite well and I understand it a little 
better now. Still a bit confusing, but now that I know how it works a 
little better, I should be able to give it another try with renewed 
vigor. (grin)


Al

Martin Wood wrote:



The problem I am quite simply having is that I find flash remoting 
confusing. I have been working with actionscript for about 3 years 
now, and understand it fully. I just don't understand how to form 
packets and transfer them between flash and the remoting software. 
The only programming I have ever done is in actionscript so I really 
don't know any other language which I guess makes it more difficult.



You dont form packets, you send objects. Thats the beauty of it, with 
the remoting connector installed on the server you dont have to 
convert data into packets, or strings or xml.


its like xml-rpc without the xml. :)

martin
___
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


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread Al Veldhuis

Hi Hank,

Thank-you for the explanation of Remoting. I think I understand it a 
little better now. I believe that may be the reason I was having so many 
difficulties. I was thinking it was a way to connect to a database using 
commands from flash. Now it turns out it was actually opposite than what 
I thought. That makes some of the work I have done make a little more 
sense. I always thought that remoting was just a gateway and flash did 
all the work. That would probably be why everything I have tried hasn't 
worked. Now that I understand it a little better, I am going to give it 
a whirl again.


My primary goal is to take a access database (Now a MS SQL database) and 
make it accessible to our sales reps online. It is just for data entry 
more than anything else. It will let the sales guys enter their sales 
orders in the field.


Just for the record. I went through the training that was available on 
the flashlink solutions website. Their product was pretty darn simple to 
use. It was pretty basic actionscript to make it run. My manager made 
the plunge and we purchased a copy to use for the project so I am kinda 
bound to it for this project. But, I am going to take another swing at 
remoting after this project is done. Is flashOrb the only remoting for .NET?


Regards,
Al

hank williams wrote:


On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
 


Hi Guys,

The site will be hosted on a Windows server, and will quite heavily us
.NET components, so putting it onto a linux server isn't really an option.

The problem I am quite simply having is that I find flash remoting
confusing. I have been working with actionscript for about 3 years now,
and understand it fully. I just don't understand how to form packets and
transfer them between flash and the remoting software. The only
programming I have ever done is in actionscript so I really don't know
any other language which I guess makes it more difficult.

I have looked at OpenAMF however it doesn't run on Windows.
   



Yes it does. OpenAMF is a java technology which will run wherever java
does - which is everywhere. The problem is that it is for *java* not
.NET. You seem to need .NET so OpenAMF is out.


 


I didn't understand the purpose of FlashOrb.
   



It sounds more like you dont understand the purpose of remoting. So
let me try to explain.

Remoting is just a way to make calls to "remote procedures" on servers
from the flash client. Different remoting technologies support
different server side systems. In order to do remoting, you need a
gateway that sits between your server side system, and the internet.
This gateway recieves function calls from flash, and returns the
result of the function call to flash. So in order to use remoting, you
must have code written on the server side which queries the database
or does whatever you need to get done. So you must have code you wish
to access in some .NET compatible language such as C#. All remoting
does is let you access that code.

Server side systems include:

Java
.NET
PHP

If you were using php I would suggest AMFPHP. This would allow you to
call php functions on your server from within flash.

Since you are using .NET, I would suggest flashORB, which is just like
all the other remoting gateways, but the standard edition is free, and
it supports .NET. On their home page it says:
--
Free Standard Edition for .NET includes support for Flash Remoting
10.20.05
The release of Beta 3 marks an important milestone in the history of
Flash Remoting for .NET. The free Standard Edition of the product
provides Flash Remoting support.
--

Once you get remoting set up it is exceedingly simple and powerful.
Any function which you wish to access from flash can be accessed via a
function call.

I have never heard of the company and the product you referenced, but
I did go to their website. I cant say it wont work for you, but the
remoting mechanism is much more mainstream and therefore, I think, a
safer bet.

Regards
Hank
___
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


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread hank williams
On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> Hi Guys,
>
> The site will be hosted on a Windows server, and will quite heavily us
> .NET components, so putting it onto a linux server isn't really an option.
>
> The problem I am quite simply having is that I find flash remoting
> confusing. I have been working with actionscript for about 3 years now,
> and understand it fully. I just don't understand how to form packets and
> transfer them between flash and the remoting software. The only
> programming I have ever done is in actionscript so I really don't know
> any other language which I guess makes it more difficult.
>
> I have looked at OpenAMF however it doesn't run on Windows.

Yes it does. OpenAMF is a java technology which will run wherever java
does - which is everywhere. The problem is that it is for *java* not
.NET. You seem to need .NET so OpenAMF is out.


>I didn't understand the purpose of FlashOrb.

It sounds more like you dont understand the purpose of remoting. So
let me try to explain.

Remoting is just a way to make calls to "remote procedures" on servers
from the flash client. Different remoting technologies support
different server side systems. In order to do remoting, you need a
gateway that sits between your server side system, and the internet.
This gateway recieves function calls from flash, and returns the
result of the function call to flash. So in order to use remoting, you
must have code written on the server side which queries the database
or does whatever you need to get done. So you must have code you wish
to access in some .NET compatible language such as C#. All remoting
does is let you access that code.

Server side systems include:

Java
.NET
PHP

If you were using php I would suggest AMFPHP. This would allow you to
call php functions on your server from within flash.

Since you are using .NET, I would suggest flashORB, which is just like
all the other remoting gateways, but the standard edition is free, and
it supports .NET. On their home page it says:
--
Free Standard Edition for .NET includes support for Flash Remoting
10.20.05
The release of Beta 3 marks an important milestone in the history of
Flash Remoting for .NET. The free Standard Edition of the product
provides Flash Remoting support.
--

Once you get remoting set up it is exceedingly simple and powerful.
Any function which you wish to access from flash can be accessed via a
function call.

I have never heard of the company and the product you referenced, but
I did go to their website. I cant say it wont work for you, but the
remoting mechanism is much more mainstream and therefore, I think, a
safer bet.

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


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread Martin Wood


The problem I am quite simply having is that I find flash remoting 
confusing. I have been working with actionscript for about 3 years now, 
and understand it fully. I just don't understand how to form packets and 
transfer them between flash and the remoting software. The only 
programming I have ever done is in actionscript so I really don't know 
any other language which I guess makes it more difficult.


You dont form packets, you send objects. Thats the beauty of it, with 
the remoting connector installed on the server you dont have to convert 
data into packets, or strings or xml.


its like xml-rpc without the xml. :)

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


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread Dustin Krysak

What are you using for a serverside language? php? Asp? .net?

I prefer amfphp. I am pretty new to actionscript, and with a little  
tinkering I got the connections working pretty easily. However I am  
having a bit of a hard time dealing with the result sets. But that is  
due to my lack of experience. And that is an entirely different post.


d
On 13-Nov-05, at 6:30 PM, Al Veldhuis wrote:


Hello,

I have a question. I am reasonably experienced in Flash and  
Actionscripting,

and I have recently tried to learn Flash Remoting. I find it extremely
confusing at times to use. I have kinda given up.

So I started searching for an alternative to Flash Remoting, and I  
came

accoss a site that sells software called Emissary. The site is
flashlinksolutions.com . Does  
anyone out
there know anything about this company and their software? It looks  
like it
does what I am looking for, but I am not sure. If anyone has any  
experience
with this product, please let me know as I don't want to drop $50  
and find

out it isn't what I am looking for.

Or does anyone know of any less confusing, (And Cheaper) Flash  
remoting

software?

Al Veldhuis
___
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


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread Isak Wiström

Try out AMFPHP -> http://www.amfphp.org it's free and works great.

Chris Velevitch wrote:


On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
 


Hello,

I have a question. I am reasonably experienced in Flash and Actionscripting,
and I have recently tried to learn Flash Remoting. I find it extremely
confusing at times to use. I have kinda given up.
   



I use Flash Remoting for AS2 with Coldfusion all the time. It's very
straight forward. What seems to be the problem?


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
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


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread Chris Velevitch
On 11/14/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a question. I am reasonably experienced in Flash and Actionscripting,
> and I have recently tried to learn Flash Remoting. I find it extremely
> confusing at times to use. I have kinda given up.

I use Flash Remoting for AS2 with Coldfusion all the time. It's very
straight forward. What seems to be the problem?


Chris
--
Chris Velevitch
Manager - Sydney Flash Platform Developers Group
www.flashdev.org.au
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread hank williams
Sam
I dont think he said he was using cold fusion. He said he was good at
actionscript, which of course is not related to cold fusion. He also
said he was looking for something cheaper. Of course if he does
already have cold fusion, then that is definitely cheaper than using
something else, and CF is well documented.

Al
I am not sure what you have already tried working with. There are a
variety of solutions for flash remoting from macromedia's product, to
openAMF which is open source and free, to flashorb which is not open
source but some version of which is free.

OpenAMF is not well documented, and it presumes java expertise.
Flashorb seems to be backed by a company that has done more
documentation, but I dont hear many people talking about it. AMFPHP is
another open source project that is excellent for PHP users. It is the
base from which openAMF came but it seems to be better supported.

What language are you using on the server side?

Regards
Hank

On 11/14/05, Sam Shrefler <[EMAIL PROTECTED]> wrote:
> Al:
>  If you are using Coldfusion, I would suggest trying to figure out Flash
> remoting. SInce it's already built in, its free (w/cf) and is an excellent
> product.
>
>  On 11/13/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I have a question. I am reasonably experienced in Flash and
> > Actionscripting,
> > and I have recently tried to learn Flash Remoting. I find it extremely
> > confusing at times to use. I have kinda given up.
> >
> > So I started searching for an alternative to Flash Remoting, and I came
> > accoss a site that sells software called Emissary. The site is
> > flashlinksolutions.com  <
> > http://flashlinksolutions.com/>. Does anyone out
> > there know anything about this company and their software? It looks like
> > it
> > does what I am looking for, but I am not sure. If anyone has any
> > experience
> > with this product, please let me know as I don't want to drop $50 and find
> > out it isn't what I am looking for.
> >
> > Or does anyone know of any less confusing, (And Cheaper) Flash remoting
> > software?
> >
> > Al Veldhuis
> > ___
> > 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


Re: [Flashcoders] Flash Remoting Question

2005-11-14 Thread Sam Shrefler
Al:
 If you are using Coldfusion, I would suggest trying to figure out Flash
remoting. SInce it's already built in, its free (w/cf) and is an excellent
product.

 On 11/13/05, Al Veldhuis <[EMAIL PROTECTED]> wrote:
>
> Hello,
>
> I have a question. I am reasonably experienced in Flash and
> Actionscripting,
> and I have recently tried to learn Flash Remoting. I find it extremely
> confusing at times to use. I have kinda given up.
>
> So I started searching for an alternative to Flash Remoting, and I came
> accoss a site that sells software called Emissary. The site is
> flashlinksolutions.com  <
> http://flashlinksolutions.com/>. Does anyone out
> there know anything about this company and their software? It looks like
> it
> does what I am looking for, but I am not sure. If anyone has any
> experience
> with this product, please let me know as I don't want to drop $50 and find
> out it isn't what I am looking for.
>
> Or does anyone know of any less confusing, (And Cheaper) Flash remoting
> software?
>
> Al Veldhuis
> ___
> 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


Re: [Flashcoders] Flash remoting - when is the service call made?

2005-11-09 Thread JesterXL
It's when you call the service.  However, since Flash is single-threaded, it 
won't get returned until after you've created your RelayResponder, which is 
a good thing.


- Original Message - 
From: "Judah Frangipane" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" 
Sent: Wednesday, November 09, 2005 12:13 PM
Subject: [Flashcoders] Flash remoting - when is the service call made?


We are using flash remoting and I am trying to figure out when the call
is getting made. Is it at the time that I call the service method or
after I create the Relay Responder object? Does the pending call object
get and hold the data until a relay responder has been created or after
it has been created?

// call service
var temp_pc:PendingCall = myService.readDirectory(dirPath);

// create a responder.
temp_pc.responder = new RelayResponder(this, "gotMilk", "gotFault");

function gotMilk( re:mx.rpc.ResultEvent ):Void {
// do stuff
}
___
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