Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Flash Remoting And .net



Hi all,I am Olivier and i am new in the forum.I would like to know why it's difficult to have a documentationfor Flash remoting.net on the internet.I don't want to pay to use Remoting, and i don't know ifthe product is free or not at adobe.What the best product , concil me to use with flash and .NET (c#)Fluorine ? or the macromedia's product ?Thank's for you answer.Olivier



Adobe > Flash Remoting
Posted on: 07/12/2007 05:09:51 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Suggest A Good Tutorial For CFMX And Flash Remoting Using Remoting Component Classes?
Does anyone know of a good tutorial that will take me through the v2.0 way of utilizing remoting through the Flash Pro remoting component classes (or the RemotingConnector component - either/or)? It seems like the docs are inconsistent in their variable naming from one section to another so its hard to tell what each object placeholders and properties correlate through out the process in their descriptions and examples.

Im thinking a tutorial is more geared to learning this new style than the docs are at this point . . . .

Flash Remoting Weird Issue / I'm New To Remoting
Hello All, I'm new to remoting and I'm having some issues. I started with the Macromedia Tutorial and called HelloWorld.cfc and everything was great. So I started a project and I've got logging in and creating a new user working great but now i'm trying to save some data and i can't get it to work. Basically, if you log in, you are not able to use the 'addscore' function. No errors get returned, but no results get returned either. If you skip the log in, you can add your score just fine. So my question is, do i have to 'reset' something or why won't one function work after a different one has been called?

I know this may be confusing, so as may questions as you need. I really appreciate any help.

Unable To Load Remoting Classes After Installing AS2 Remoting Components
hi, I have a problem, after i've installed the AS2 Remoting components, I ran a syntax check on the code below and got these messages =>
**Error** C:Inetpubwwwrootgraciousimageservicescms.as: Line 16: The class 'mx.remoting.Service' could not be loaded.
service = new Service("http://localhost/gi/gateway.php", null, "user", null, new RelayResponder(this, "onLoginResult", "onLoginFault"));

**Error** C:Inetpubwwwrootgraciousimageservicescms.as: Line 19: The class 'mx.rpc.ResultEvent' could not be loaded.
function onLoginResult(res:ResultEvent){

**Error** C:Inetpubwwwrootgraciousimageservicescms.as: Line 22: The class 'mx.rpc.FaultEvent' could not be loaded.
function onLoginFault(fault:FaultEvent){

**Error** C:Inetpubwwwrootgraciousimageservicescms.as: Line 25: The class 'mx.remoting.Service' could not be loaded.
}

**Error** C:Inetpubwwwrootgraciousimageservicescms.as: Line 16: There is no method with the name 'Service'.
service = new Service("http://localhost/gi/gateway.php", null, "user", null, new RelayResponder(this, "onLoginResult", "onLoginFault"));

**Error** C:Inetpubwwwrootgraciousimageservicescms.as: Line 25: The class 'mx.rpc.RelayResponder' could not be loaded.
}

**Error** C:Inetpubwwwrootgraciousimageservicescms.as: Line 16: There is no method with the name 'RelayResponder'.
service = new Service("http://localhost/gi/gateway.php", null, "user", null, new RelayResponder(this, "onLoginResult", "onLoginFault"));
code:
import mx.remoting.Service;
import mx.rpc.RelayResponder;
import mx.rpc.ResultEvent;
import mx.rpc.FaultEvent;

class cms extends GForm{
private var service;
function cms(){
//start debugger
mx.remoting.debug.NetDebug.initialize();
}
function initUI():Void{
childForms.loginForm.addEventListener("login", this);
}
function login(evtObj:Object){
service = new Service("http://localhost/gi/gateway.php", null, "user", null, new RelayResponder(this, "onLoginResult", "onLoginFault"));
service.verifyUser(evtObj.credentials.UID, evtObj.credentials.Password);
}
function onLoginResult(res:ResultEvent){
trace(res.Name+" "+res.accessLevel);
}
function onLoginFault(fault:FaultEvent){
trace(fault.fault.faultString);
}
}
Basically, I cannot import any of the remoting classes, i looked into the First Run/Classes folder and was unable to locate any of the remoting classes except for the Debug package

The remoting functions work fine with Remoting Version1 but I need to use the forms functionality and I have no idea how to include the version1 remoting scripts into the classes

I've uninstalled the Remoting Components as well as Flash and reinstalled them but the problem persists!!

[F8 & Remoting] Simple Question Dealing With Remoting
Ok I'll post my code and explain, this is using flash remoting and amfphp

main.fla / main.swf

Code:
// ==============================
// SETUP
// ==============================
var rootId:Number = 0;
var itemArrayCall:itemsClass = new itemsClass();
trace (itemArrayCall.getItemsList(rootId));
stop();
itemsClass.as

Code:
// ==============================
// IMPORTS
// ==============================
import mx.remoting.*;
import mx.rpc.*;
import mx.utils.Delegate;
import mx.remoting.debug.NetDebug;
// ==============================
// CLASS CONSTRUCTOR
// ==============================
class itemsClass {
// Gateway
private var gatewayUrl:String = "http://xfuzion.local/%7Exfuzion/finalproject/flashservices/amfphp/gateway.php";
// Service
private var service:Service;
// == SETUP FUNCTION
function itemsClass() {
NetDebug.initialize();
this.service = new Service(this.gatewayUrl, null, "itemsClass");
}
// == getItemsList FUNCTION
function getItemsList(rootId) {
var pc:PendingCall = service.getItemsList(rootId);
pc.responder = new RelayResponder(this, "handleGetItemsList", "handleRemotingError");
return "It will return these values but will not initialize the net debugger AT all or anything";
}
// == RESULT HANDLER FUNCTION
function handleGetItemsList(re:ResultEvent) {
return "it worked";
}
// == ERROR HANDLER FUNCTION
function handleRemotingError(fault:FaultEvent):Void {
NetDebug.trace({level:"None", message:"Error: "+fault.fault.faultstring});
}
}
My problem is the fact the class works, everything works inside of it EXCEPT the remoting. It wont even initialize or run the NetDebug and it's bugging me because I have no way to debug this because of it.

Any help on why it isn't transfering or whatever would be very useful.

I get NO output errors at all, so all the MX components are on the stage correctly and amfphp is set up perfectly fine ( this whole thing works fine if I use it inline rather than class ).

Thanks!

No Remoting Template After Installing Remoting
I installed Remoting for Flash yesterday and am a Certified Dummy in this area. I have only had ColdFusion installed for a few days now and in study using Ben Forta & Raymond Camden's Macromedia book "ColdFusion MX7 - Web Application Construction Kit, chapter 26 addresses Flash Remoting using Flash MX 2004. I have Flash 8 (and all of Studio 8). I downloaded and installed Flash Remoting and it showed up on my "Add-Remove Software" as a separate program, successfully installed. The book tells me to start Flash and choose File>New from Template and select Remoting. It is not there and I don't know how to generate it. I am sure this is a simple step for many of you.
Would you please help me? I have made it to chapter 26 in this book and made most of the coldfusion pages work so far, but I can't get past this without Flash Remoting.
Thanks ahead of time,
Mike

Flash Remoting
G'Day all,

Everytihing I read tells me that I need Cold Fusion MX to be able to use web services however I'm not convinced. Does anyone have a real life example of Flash Remoting to a web service that does not use Cold Fusion? and if so can they give me a few pointers?

Flash Remoting & Ado.net
Hi, As Im wanted to learn more about using serverside scripting with flash, and found out about the "flash remoting" and dreamweaver mx, I installed dreamweaver mx. So I opend the tute called "Introduction to Flash Remoting for .NET Tutorial > Creating the ADO.NET data binding", and it all looks very simple and practic. But what I dont understand is the database connection thing. As it appears ,I dont see any database files that the "asp.net" saves the data to. My previos and first attempt in serverside scripting was writing and reading to and from an Acces database trou asp and flash. This is the first time I hear about this "asp.net" thing, so I wonder if anyone can make it clear for me about how it works, and what files are included. Does it make flash store and read data to a singel asp file?

Flash Remoting
Must I upgrade my Coldfusion server to MX before I can use flash remoting? I just bought ColdFusion 5 for one or two months only. Can I integrate with coldfusion 5 instead and how do i do it?

Flash Remoting For .net
I have used flash remoting for coldfusion and it is a really cool tool, but I cannot believe they are charging almost a thousand dollers for the .net version??? and you have to install a dll on the server which sucks!,

I wrote an app that will query a database in flash using asp, and it's not that much slower than using flash remoting for .net. in fact I would much rather take a small speed decrease, than have to install a $1000 DLL????

what is everyone elses thoughts on this?

What Is Flash Remoting MX?
Hello Flash Gurus.

I am evaluating Flash Remoting Technology and I am thoroughly confused about what exactly Macromedia is selling in the package "Flash Remoting MX" which costs nearly $1000.

I download the 'free trial' and I get a 6 meg WAR file (after install) with docs, examples, and Flash Player. Can this really be what comes in that giant box for $1000? No Flash MX included? No JRun? How come I can download 'Flash Remoting Components' totally free? How does that differ from 'Flash Remoting MX'???

I am very confused and would appreciate someone clearing the confusion. Thanks!
-E

Flash Remoting ---HELP
Hi,

Where can i download flashgateway.jar? I know macromedia have package this file on their JRUN 4 product but i only need this file to run my j2ee apps deployed in apache server...anyone have this jar file kindly send it to me.

thanks,
mutant

About Flash Remoting
whats the difference between the flash remoting evaluation and flash remoting full version ?

thanks!

Flash Remoting
Hello, im having a few problems when i try to connect to a database by using flash remoting . This is what my NetConnection Debugger says.
Any ideas are gonna be a help.


MethodName: "/1/onStatus"
ResponseURI: (undefined)
Parameters (object #2)
.....code: "SERVER.PROCESSING"
.....description: "Could not find installable ISAM."
.....details: " at FlashGateway.Delegates.LibraryServiceAdapter.Invok eService(ActionContext action)
at FlashGateway.Delegates.ServiceCommander.InvokeAdap ter(ActionContext flashContext)
at FlashGateway.Delegates.ServiceFilter.preInvoke(Act ionContext flashContext)"
.....level: "error"
.....type: "System.Data.OleDb.OleDbException"

Flash Remoting MX
Where can I download The trial version of Flash Remoting MX other than at Macromedia? I'm trying to sign in at the macromedia site,
without succes. (They use Flash remoting for that ironically)

thxs

Help With Flash Remoting.
Hello,
I'm having trouble with flash remoting. Specifically with integrating flash, php and my SQL. Ok so flash uses php to get data from mysql and it returns the data to flash. Now I can get this to work just fine when all three are called from the same server. But what I want to do is serve the swf document off of my schools website and have it access mysql from my laptop. For the life of me I can't get it to work. I've been trying multible ways and even used different remoting addons. I am able to Run a php page from my school account that access' my laptop but when I add a flash front end to it, no data appears.

Please help

Flash Remoting And .Net
Hi

can anyone tell me about using Flash Remoting with .Net? My boss and I have both been researching Flash Remoting with mind to purchasing a copy, but she seems to think that it is used mainly with .Net (which we haven't upgraded to yet). My impressions from what I've read is that it can be used to integrate flash with a number of web technologies including j2ee, asp and xml based soap services, is the emphasis in integrating it with .Net, or is this a myth?

Also, is it possible to use it to directly intergrate a flash movie with a SQL database using remoting? I read somewhere that this is only possible using the firefly components, is this right?

Thanks

Flash Remoting
I have a website at www.theselfpromoter.com. This website uses coldfusion and flash remoting components. If you go to the contact form and then go to the search database feature (randomizer) data will not be retreived from the database. However if you close the website out then go to the search database feature all the data gets retrieved, but if you send me an e-mail through the contact page I won't recieve it. Any suggestions? By the way, both pages use the #include NetServices.as and #include NetDebugger.as.

Flash Remoting(help)
Hi,

I'm new to Remoting... I've just finished the site where I'm using Flash Remoting for accesing a database. Strange thing that it works on my computer when I run it on my local ColdFusion server and does not work when I publish the site. Here is the code that I think is creating a problem:

#include "NetServices.as"
if (inited == null) {
inited = true;
NetServices.setDefaultGatewayURL("http://www.urbanlc.com/flashservices/gateway");
gateway_conn = NetServices.createGatewayConnection();
myService = gateway_conn.getService("http://www.urbanlc.com/html", this);
}

On my machine it runs just fine and does what it should. However, on my machine the domain name is changed to "UrbanProductions"(the site folder that sits in wwwroot of my server), so the same code looks like this:

#include "NetServices.as"
if (inited == null) {
inited = true;
NetServices.setDefaultGatewayURL("http://localhost:8500/flashservices/gateway");
gateway_conn = NetServices.createGatewayConnection();
myService = gateway_conn.getService("UrbanProductions/html", this);
}

If anyone had the same problem before or knows what I'm doing wrong, please help b/c I'm running out of ideas.

Thanks for your time,
Peter

HELP - Flash Remoting
Ok I am starting the whole java flash remoting thing. I have the remoting components, jrun4, and flashmx04.

So I got flash talking to java but i dont know how to send variables to java? I thought:

flashconnection.javaFunction(var_to_send);

would work, but it doesnt. I am trying to change a variable that is declared in the java class, why wont this work?

Flash Remoting
Hello everyone,

well, i am burned out, tired, and well frustrated to the max.

i have been reading so much on actionscript 2.0 and flash remoting. so far what i have found out is that there are several ways to communicate to a mysql database using flash.

1. flash remoting w/actionscript 1.0
2. flash remoting w/actionscript 2.0
3. flash remoting w/flash components
4. amfphp
5. plenty more

i am so confused, that i no longer know which way is up or down. i have successfully installed XAMPP and tested amfphp's gateway. the Flash debugger says everything is cool.

but, i am still at a lost. what i would like to find is someone who can help me do the following with the very least amount of code and explanation (i am not sure if my brain can handle much more input ).

i have:
1. several flash buttons
2. datagrid component w/dataprovider

i would like to have:
1. my flash button prompt me for a number
2. go to mysql database & retrive a record (one row of information)
3. assign information to my dataprovider
4. display the information in my datagrid

wow, this seems simple, but boy oh boy is there alot of info out there.

thx in advance
Hector

Flash Remoting
Hello all! I am very new to actionscript so I need some desperate help. What i trying to do is this. I want to pull records from a database for which I am doing successfully using flash remting. My problem is this. I want to loop over those records in flash and display one record at a time every 30 seconds. I want the data to fade in, display for 30 seconds and then fade out then so on and so on. Then when all records have been shown...start over again. ANyone who can help with this code would save my butt. Thanks in advance!

Flash Remoting
HEllo,
How can we get data from database using web service and show it in Flash.
I wanted to check conditions and show data accordingly.

Flash Remoting
Hi,

I have recently changed a portion our existing application from sendAndload to flash remoting. Now when the CF server is getting started only a portion of the data to be loaded( data from some of the tables are getting omitted), will get loaded to the flash screen. If I cancel the screen and load again I will get the full data. Can any one help?
Imran Hashmi
www.visionstudio.co.uk
www.seo-professional.co.uk 0044-7969012441

How Do I Get Flash Remoting
hey does any one know any way how i can get flash remoting on my server
i'm intrested in using it

thanks

Flash Remoting With ASP.NET
Greetings all.

I am attempting to evaluate Flash Remoting with MX2004 and I am having a problem.

My application works fine as long as the URL for my connection gateway uses LocalHost.

When I put in the computer name I get a NetConnection.Call.Badversion error in the NetConnection Debugger.

Can anyone help me?

Flash MX 2004 Professional
Flash MX 2004 Remoting Components (unlicensed)

Flash Remoting
erhm.. since you guys don't have a Flash Remoting section I couldn't find any better place to fit this Q..

I've been doing some experiments with Flash Remoting today and got into a dead-end..

to shorten the problem as much is possible - I have a php-class with a method "retrieveJPEGInfo" which receives a variable $file from Flash... and that method is supposed to return an array with data such as Author, Title and Comments (the same stuff you can set/read by right-clicking a jpeg). I'm using exif_read_data to retrieve all data found in the jpeg file.. after that I sort the needed data out into variables:

PHP Code:



$exif_data = exif_read_data($file, 0, true); 
$title = $exif_data["IFD0"]["Title"]; 
$author = $exif_data["IDF0"]["Author"]; 
$comment = $exif_data["IFD0"]["Comments"]; 




this *is* working just fine coz when I create another php file in the same directory and echo these variables they show the exact same values as I have in my jpeg.

the problem is coming when I return these variables back to Flash.. I'm only getting the first letter in the variable.. so if my comment in the jpeg is "My dog" I'm only getting "M" as a return-value.. (but it is showing "My dog" when I test it with my debug-php-file)

any ideas what I'm doing wrong?

ty,
Alex

Flash Remoting .Net
anyone have resource of tutorials regarding Flash Remoting.Net ?

What Is Flash Remoting?
I've been reading the docs at Adobe and I can't figure out what Flash Remoting would do to better my Flash applications. In fact, I can't tell what it is really.

I usually store everything in MySQL and use PHP scripts with LoadVars() objects to get data in and out of Flash. This works fine for my RIAs.

How can Flash Remoting change this for the better and what am I not seeing about this technology? Please help, thanks.

Oh and don't be afraid to go into detail, I really want to understand this. Give examples, give benchmarks, give anything. Thanks again.

Selfminded

Flash Remoting
This is more of a simple flash question, but I hope someone here has run into this before:

I am running CFMX 7 and Flash Professional 8. I am trying to create a dynamic flash counter that displays the number of hits on a specific page. I don't want to create a new .swf file for every counter that is created, so I'm attempting to do something like counter.swf?counterid=123. I need to pass the counter id variable through the loadVariables function in flash so the swf connects to data.cfm?counterid=123 dynamically. Then I can run a query to add a tick to the counter through the data.cfm file and display the updated counter.simple

The problem I'm running into is this:

loadVariables("http://server.com/counter/data.cfm?counterid=123", _root);

I need the "counterid=123" to automatically update to the counterid=xxx in the .swf?counterid=xxx.

I know how to tell Coldfusion to parse part of a URL, but in ActionScript, how would I tell it to parse the #counterid# to pull the counterid from the .swf?counterid=123?

Flash Remoting?
Do I need the Flash Remoting software to flash remote? I will be building a flash web site that will connect to a db, probablly SQL via ASP.NET.

I have been to the Adobe/Macromedia site and see where I can download Remoting components for Flash MX 2004 Prof. But I am unclear as to whether or not I need the Flash Remoting software.

Can anyone advise me on this?

Flash Remoting
Hi I've successfully connected the flash and asp.net in mx 2004. The following code is used.


Quote:




// for flash remoting
#include "NetServices.as"
// for flash debugging
#include "NetDebug.as"

// init function
function init()
{
if(this.inited != undefined)
{
return;
}
else
{
this.inited = true;
NetServices.setDefaultGatewayUrl("http://192.168.0.29/FlashRM/FlashRemo.aspx");
gatewayConnection = NetServices.createGatewayConnection();

var services = "FlashRemotingTest";
flashService = gatewayConnection.getService(services, this);
}

}

//init the remoting
init();

//use the flashservice object and then the filename of the .netpage in this case webform1.aspx looks like this
function webform1(username, password){
flashService.webform1(username, password);
}

//then make one function for the result of the funtion login this is the function where the result will retun to
function webform1_Result(result){
lblResult.text = result;
//trace("result");
}

// then make the last function for the remoting this one is for the exception if it uccurs
function webform1_Status(error){
lblResult.text = error.description;
//trace(error.description);
}




But the same script doesnt work in Flash 8. I need to implement it in flash 8 .
Could anyone help me?

Thanks in advance...

Flash 8 Remoting
How can we call functions declare in aspx files from flash .can anybody give example to show me how it will work.please urgent.

Flash Remoting Help
Can anybody tell me how can I call my .net dll in flash using flash remoting.

http://livedocs.macromedia.com/flash...singFRNET6.htm

Here is example by macromedia liveDocs but whenever I used this code and run my flash application It doesnot show me any output.
I think we can not call function declare in class from flash.
can anybody help me.
Here is my attached file

Flash Remoting For .NET
Hi I am using Flash 8 and asp.net . I have build application using trial version of flash remoting now I am interested in buying licenced version can anybody assist me what does it mean by 2 cpu licence ,4 cpu licence and 1 cpu licence or can i use trial version. please help me

Haris

Flash Remoting With Php
hi

i am having flash profeesionl 8 and PHP 5.0,apache 2.2 server, i tried flash remoting using AMFPHP 1.9 beta version but no values received from php and my flash output window is not showing any error.


i have kept the amfphp folder in htdocs which contains many folders like core,browser,services

i have kept the php file in services folder.

but its not working.

can anyone help.

thanks

bye.

Flash Remoting Using CS3 And AS2
I am using Flash CS3 and Actionscript 2. So I have run into a problem getting it to work. But I have read some posts online how you need to copy the .as file and install the components from flash 8 to get it to work. But they say it can work.

I want to use ColdFusion with Flash. I have read about Flash Remoting but do not want to use the DataGrid. I want to query my database and display the recordset data in Flash.


I was able to get the remoting components and classes installed. Not sure if I put them in the right place. Went to the class path in the publish settings. Now it finds the NetServices.as file. But here is the error I am getting with source below it.

Classes may only be defined in external ActionScript 2.0 class scripts.
class mx.remoting.NetServices extends Object

The problem is it is written in action script 1. It won't let me change the class path in the publish settings. if I change it to AS2 it lets me change the path but I get this error because the context is wrong. If you have the CF WACK book it is chapter 26 Flash remoting.

Now i tried a new approach. Instead of this:

#include "NetServices.as"
#include "DataGlue.as"

I tried this:
import mx.remoting.NetService
import mx.remoting.debug.NetDebug

Now I get the following error.
The class 'mx.remoting.NetServices' needs to be defined in a file whose relative path is 'mx
emotingNetServices.as'.

The code in the NetServices.as file is this:
class mx.remoting.NetServices extends Object

Anyone have any ideas? The more I read online how to get this to work, the more I get confused. I have copied and moved .as files in every way I can image. And also changed class paths in the preferences and in the publish settings.

Flash Remoting For AS 3.0?
In the past I have used amfphp

http://www.amfphp.org/

I don't think this will work anymore as I THINK it was written only for AS 2.0

Are there any open-source flash remoting ... things out there?

AMF.NET 3.0 Flash Remoting
Has anyone used this ?

If so, can you tell me why it doesn't support conditionals.

I can call a method from C# with it from outside a condition like this:

//implementation code at top of file

but if I do

if(a=1)
{
//implementation
}

nothing happens. any help greatly appreciated!

Flash Remoting Using Xml
hi
i need example for transferring data from java to flash using an xml file (the xml file needs to be created with java)
i'm using eclipse (jdom for xml stuff)
flash cs3
openamf (for flash remoting)
thnx

As3 Flash Remoting
hi

I have flash remoting working fine alongside Coldfusion 8 and AS3.
I can retrive information and manipulate it in Actionscript, so that side works fine.

However, im trying to send an argument back to the Coldfusion CFC, but i keep getting this error when trying to send an array to Coldfusion

Unknown object type tag (17)

I have hunted online for this error and havent found a solution.

Im hoping someone could shed some light on this for me?

Flash Remoting In AS 3
Hi, I have been trying to convert a AS 2 remoting testing file to AS 3, but I am stuck, and I hope that I can find help here.
Flash 8(actionscript 2.0)

ActionScript Code:
import mx.remoting.Service;
import mx.services.Log;
import mx.rpc.RelayResponder;
import mx.rpc.FaultEvent;
import mx.rpc.ResultEvent;
import mx.remoting.PendingCall;
import mx.remoting.RecordSet;
import mx.remoting.DataGlue;

// Connect to the Gateway
// Establish the Service
var myService: Service = new Service( "http://localhost/flashservices/gateway", new Log (Log.DEBUG), "cfcs.getTest", null, null);
//path to the cfc localhost/cfcs/GetTest.cfc

//Test the Connection
function getTestConn(){
//Create a PendingCall object
var getTestConn_pc:PendingCall = myService.getTestConn();
//Use the responder property to handle the success for failure

testConn_pc.responder = new RelayResponder(this, "getTestConn_Result","getTestConn_Fault");
}
//Handle the Success
function getTestConn_Result(re:ResultEvent){
trace(re.result);
}
//Handle the Failure
function getTestConn_Fault(fault:FaultEvent):Void{
trace("error");
}
// Start Application
getTestConn();

ColdFusoin CFC

Code:
<cfcomponent displayName="getTest">
<!-- Establish a Flash Remoting Connection -->
<cffunction name="getTestConn" access="remote" returnType="string" output="true">
<cfreturn "....connection successful">
</cffunction>
</cfcomponent>
Trace panel


ActionScript Code:
9/18 20:20:38 [INFO] : Creating Service for cfcs.getTest
9/18 20:20:38 [INFO] : Creating gateway connection for [url]http://localhost/flashservices/gateway[/url]
9/18 20:20:38 [INFO] : Successfully created Service
9/18 20:20:38 [INFO] : Invoking getTestConn on cfcs.getTest
9/18 20:20:44 [INFO] : cfcs.getTest.getTestConn() returned "....connection successful"



Now using Flash CS 3 with actionscript 3 (using the same CFC)


ActionScript Code:
import flash.net.*;

var myservice:NetConnection = new NetConnection();
myservice.connect("http://localhost/flashservices/gateway");

var responder:Responder = new Responder(onResult, onFault);

function onResult(responder:Object):void{
trace(responder);
}

function onFault(responder:Object):void{
trace(responder);

}

myservice.call("cfcs.getTest", responder);

I can't seem to trace anything with the code, and the debugger in flash CS 3 does not work

I do get it the output window "[object Object]" so I think that I am indeed connecting to the gateway, but my tracing object does not seem to be working.

I am hoping that somebody can explain to me how I can upgrade my AS 2 remoting test to use AS 3 with the flash.net package?

Thanks so much for taking the time to read this, and hopefully me as well.

Thanks,
Johnny

How Can I Do Flash Remoting With Asp.net C#
Hi,

How Can i do Flash Remoting with Asp.net C#

Flash Remoting As2 Or 3
Hey everyone I am having trouble doing anything with flash remoting. I want to do anything like "hello world" and see it on my web page. the server i am testing with is coldfusion and the URL is tommysevo.com - the coldfusion part is easy but I cannot pass variables to my coldfusion code from actionscript. does anyone know how to do this? is it easy? is it hard? DO i need to spend another $75,000 and go back to college?should i pay you to teach me? HELP!

Flash Remoting
I am trying to use flash remoting with the amfphp component. I copied a fairly easy example from this site. (talkback example) -- the problem I seem to be having is this: in the example mulitple calls are made to various methods of the object talkback. These calls occur consecutively. When I attempt to run the flash movie I get an error saying that the class was not found or known to the gateway. However, if I only run one call the movie executes perfectly. Also, if I create a new connection before each call the movie works, returning answers in the reverse order. -- So I guess my question is, --->> what could I have incorrectly set up.

thanks,

jmdoczy


[EDIT/CyanBlue]
Moved to the Server Integration - Flash MX Remoting
Please state what your working environment is and
please post in the right forum
[/EDIT]

What Is The Best Way For Flash-remoting?
Hallo,

after doing some tutorials with AMFPHP i ask me if this the best way for flash-remoting? If i look for the features for Flash prof. 2004 I noticed that there are features for interacting via XML.

The generation of XML with PHP looks like a peace of cake. How do you think about this?

[Q] Flash Remoting For ASP.Net
Howdy...

I've been browsing for a while to see what are the alternatives, but I faild to see more than two...

Flash Remoting from the Macromedia
http://www.macromedia.com/software/flashremoting/
FlashOrb
http://www.flashorb.com/aboutflashorb.shtml

Am I correct that they are the only ones that are currently available out in the market that supports the Flash Remoting with ASP.Net(C#) or is there any other ones out there that I was not able to find???

Thanks...

V2 Flash Remoting With ASP .NET
Has anyone seen a tutorial that explains how to do this?

I have seen tons on how to do it v1 style but nothing on how to use the v2 remoting classes with .NET

maybe im missing something simple here . . . . hopefully someone can point it out . .

Flash Mx Remoting Set Up
I am a new person to this concept and have been trying to get an answer for this for ever .... could some one please help me ?


mx.remoting.Service.Service;

if (init == null) {
init = true;

gateway = "http://localhost/flashRemoting/gateway.aspx";
myConn = NetServices.createGatewayConnection(gateway);

service = "flashDotNet";
myServiceObject = myConn.getService(service, this);
}

btnGo.onRelease = function() {
myServiceObject.helloWorld();
}

// Invoked when helloworld function returns a result
function helloWorld_Result(result) {
tbMessage = result;
}

// Invoked when helloworld function returns an error
function helloWorld_Status(status) {
tbMessage = status.description;
}


i got so far and i dont have any errors in syntax but i dont have any output either ! i use MX 7.0 and i dont know which version of AS I use HELP PLEASE

Flash Remoting Vs. XML
Yo guys, I have a questions, pretty important so give it some thought.

I am building a website for a client, and the technology they're using right now is ColdFusion. They've used Flash Remoting in order to bring data in from databases. They're a little worried cause the information is taking quite some time to load in, and unfortunately for them one of the pages that takes the longest is going to be probably the most visited page on their website.

I'm not familiar with Flash Remoting, but from what I am to understand (now remember i've looked at this for a whole of 2 hours MAYBE) that every time they call a function with Flash Remoting, it is sending a request to the database similar to pressing 'SUBMIT' on a form. I think that the fact that they need to run 4 different functions for this one page, that is was it a huge factor (other than CF is just a slower technology all together) that is adding to the data loading time.

I suggested that they go with the method that I am familiar with, which is using a server-side language (I suggested PHP), and send the requests using POSTs or GETs, have PHP (or CF) print out the data in XML, and have Flash read that XML. I thought this would be a better idea because if they decided to change the server-side language, all they have to is have it print out the data in the same XML format as before and they would not need to edit the FLA files.

Any one have any thoughts on this?

Flash Remoting
hello all,
I am trying to read what flash Remoting is.
my basic aim was to built a shopping cart for my practice.
I could just use it with the use of flash + asp + acess database
but when I googled and found that people have used flash remoting and all..
can any body please give me the over view of what flash remoting is ? why it is used?? and whats the advantage.. i am trying to read on net but it seems to very very Vague for me I would be really thankfull if some give me some broad idea of what the flash remoting is exactlly

Thanks in advance

Copyright © 2005-08 www.BigResource.com, All rights reserved