Mailing List
Home
Flash Pro
Extending Flash
Flash Macromedia Developer
Subjects
Firework Effect
setInterval bug identified and fixed
setInterval bug identified and fixed
ScrollPane component doesn 't auto update
Help: MX 2004 How to script a print button to print the entire sli
Event Dispatcher between classes
memory management removeMovieClip /
MX2004 Dataset itemClassName
Order of events per frame
XML to Object help
Textfield prototype question
Flash and QuickTime VR
Reading and displaying RSS feeds in Flash MX
Flash MX 2004 Sucks
AW: [Flashcoders] Switch/Case vs If/else
AW: [Flashcoders] Switch/Case vs If/else
Flash Interface with 10mb xml file
Web Service Results
Listener Object 's best practice
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
remoting issue pt II

remoting issue pt II

2004-02-13       - By Adaryl Wakefield

 Back
Reply:     1     2     3     4  

OK im about ready to pull my hair out on this. I know there is a simple
concept im missing somewhere but I can 't find the answer online.
ive got this simple cfc
<cfcomponent name= "getActivities " >
<cffunction name= "pullData " access= "remote " returntype= "query " >
<cfquery name= "getData " datasource= "modules " >
SELECT actText, actFeedback
FROM table1
WHERE actID = 6
</cfquery >
<cfreturn getData >
</cffunction >
</cfcomponent >

and the AS that calls it
#include "NetServices.as "
#include "NetDebug.as "
#include "DataGlue.as "

function getData_result(result){
trace( "server responded: Records: " + result.getLength());
}


NetServices.setDefaultGatewayUrl( "http://www.keys.org/flashservices/gateway "
);
gatewayConnnection = NetServices.createGatewayConnection();
parkService = gatewayConnnection.getService( "modules.com.getActivities ",
this);
getActivities.pullData();

I can 't seem to get this to work right and the connection debugger is not
being very helpful.


Adaryl "Did you reboot? " Wakefield
Aviator by passion
Programmer by sheer force of will
-- -- Original Message -- --
From: "Danny Patterson " <danny.patterson@(protected) >
To: <flashcoders@(protected) >
Sent: Friday, February 13, 2004 8:22 AM
Subject: Re: [Flashcoders] remoting issue


> On your machine.
>
> Danny
>
>
> -- -- Original Message -- --
> From: "Adaryl Wakefield " <adaryl@(protected) >
> To: <flashcoders@(protected) >
> Sent: Thursday, February 12, 2004 5:45 PM
> Subject: Re: [Flashcoders] remoting issue
>
>
> > Ok so hang on a second. Do I need to put this and the updater on my
> machine
> > or the production server?
> >
> > Adaryl "Did you reboot? " Wakefield
> > Aviator by passion
> > Programmer by sheer force of will
> > -- -- Original Message -- --
> > From: "Danny Patterson " <danny.patterson@(protected) >
> > To: <flashcoders@(protected) >
> > Sent: Thursday, February 12, 2004 3:54 PM
> > Subject: Re: [Flashcoders] remoting issue
> >
> >
> > > Remember that you must install the flash remoting components. There
are
> > > different sets for Flash MX and Flash MX 2004. If you haven 't
installed
> > > these you the computer you are doing development on, then this script
> > won 't
> > > work.
> > >
> > > http://www.macromedia.com/software/flashremoting/downloads/components/
> > >
> > > Thanks,
> > > Danny
> > >
> > >
> > > =================================
> > > Danny Patterson
> > > Lead Interactive Developer
> > > Lawrence & Schiller Advertising
> > >
> > >
> > >
> > >
> > > -- -- Original Message -- --
> > > From: "Adaryl Wakefield " <adaryl@(protected) >
> > > To: <flashcoders@(protected) >
> > > Sent: Thursday, February 12, 2004 1:02 PM
> > > Subject: [Flashcoders] remoting issue
> > >
> > >
> > > > Im trying to run this very basic example from macromedia
> > > >
> >
http://www.macromedia.com/devnet/mx/coldfusion/articles/startremoting.html
> > > > Code is very basic the CFC is in the right place the AS looks like
> this
> > > >
> > > > #include "NetServices.as "
> > > > #include "NetDebug.as "
> > > >
> > > > function Result()
> > > > {
> > > > //receives data returned from the method
> > > > this.onResult = function(result)
> > > > {
> > > > trace( "Data received from server : " + result);
> > > > //this is where we put the data in the text field
> > > > dataField.text = "Data received from server : " + result;
> > > > }
> > > >
> > > > this.onStatus = function(error)
> > > > {
> > > > trace( "Error : " + error.description);
> > > > //this is where we put the data in the text field
> > > > dataField.text = "Error : " + error.description;
> > > > }
> > > > }
> > > >
> > > >
> > >
> >
>
NetServices.setDefaultGatewayUrl( "http://www.keys.org:8500/flashservices/gat
> > > > eway ");
> > > > var gw = NetServices.createGatewayConnection();
> > > > var server = gw.getService( "com.macromedia.test.HelloWorld ", new
> > > Result());
> > > > server.sayHello();
> > > >
> > > > I can 't get this to run. I thought that it might be because it would
> not
> > > go
> > > > though the fire wall but ive only got port 8000 blocked not 8500.
Can
> > > > anybody see anything here that would break this?
> > > >
> > > >
> > > > Adaryl "Did you reboot? " Wakefield
> > > > Aviator by passion
> > > > Programmer by sheer force of will
> > > >
> > > >
> > > >
> > > >
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > > > Supported by Fig Leaf Software
> > > >
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > > > Be sure to check the archives and the wiki:
> > > > http://chattyfig.figleaf.com/
> > > >
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > > > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104010
> > > >
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > > > To unsubscribe send a blank e-mail to:
> > > > Normal Mode: flashcoders-unsubscribe@(protected)
> > > > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> > > >
> > > >
> > >
> > >
> > >
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > > Supported by Fig Leaf Software
> > >
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > > Be sure to check the archives and the wiki:
> > > http://chattyfig.figleaf.com/
> > >
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104037
> > >
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > > To unsubscribe send a blank e-mail to:
> > > Normal Mode: flashcoders-unsubscribe@(protected)
> > > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> > >
> >
> >
> >
> > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > Supported by Fig Leaf Software
> > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > Be sure to check the archives and the wiki:
> > http://chattyfig.figleaf.com/
> > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104051
> > =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> > To unsubscribe send a blank e-mail to:
> > Normal Mode: flashcoders-unsubscribe@(protected)
> > Digest Mode: flashcoders-digest-unsubscrive@(protected)
> >
> >
>
>
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Supported by Fig Leaf Software
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> Be sure to check the archives and the wiki:
> http://chattyfig.figleaf.com/
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104133
> =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
> To unsubscribe send a blank e-mail to:
> Normal Mode: flashcoders-unsubscribe@(protected)
> Digest Mode: flashcoders-digest-unsubscrive@(protected)
>
>



=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Supported by Fig Leaf Software
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
Be sure to check the archives and the wiki:
http://chattyfig.figleaf.com/
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:104166
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
To unsubscribe send a blank e-mail to:
Normal Mode: flashcoders-unsubscribe@(protected)
Digest Mode: flashcoders-digest-unsubscrive@(protected)