Why Do I Need Flash Remoting MX Components
hello;it has been 2 years since I have worked with remoting, specifically on the Communication Server; then I only needed the NetConnection.call();but now I am being told that I need Flash Remoting MX Components which have to be downloaded and installed like a plugin; does NetConnection NOT offer the same access??any thoughts or opinions please;thanksShannon BurnettChicago
Adobe > Flash Remoting
Posted on: 11/28/2007 09:44:29 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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!!
Flash Remoting Components For CS3.
Hey,
I was trying to use AMFPHP with CS3 and AS2 and it wouldn't work because the remoting components wouldn't install to CS3.
Anyway, if anyone else has had this problem, I put together this zip of the files and a little readme to show you where to put them. Once these files are in place, CS3 will work just like Flash 8 as far as AMFPHP goes.
http://seesaw2.net/CS3/CS3 Remoting Components.zip
If this wasn't a problem for anyone else but me, then I'm just an idiot and ignore this.
Flash Remoting Updater And Components
I have Flash MX Pro 2004. I downloaded the new remoting components but it also mentions an updater.http://www.macromedia.com/software/f...ds/components/ Do I need this or does Flash MX 2004 include this? I tried the updater and it said I needed Flash MX.
Installing Flash Remoting Components
Help me...
I am trying to install the Flash remoting components on my laptop (running Windows XP Home Edition). Every time I try I get an error saying that to install the components I need to have Flash MX installed on my computer (which I have!!) and the installation ends.
Has anybody got an idea to what the problems can be?
Please help me..
Katrine
Ps. I have tried deleting the Install Shield directory, but that did not help at all...
Flash MX 2004 Remoting Components
I downloaded the flash remoting components and installed them on my machine. I included this code on the flash movie to include some of the class files. I'm trying to get amfPHP to connect my flash movies to mySQL.
//Needed classes
#include "NetServices.as"
//just for debugging purposes
#include "NetDebug.as"
//Create the gateway and connect to the server
NetServices.setDefaultGatewayURL("http://localhost/Hello/gateway.php");
conn = NetServices.createGatewayConnection();
When I publish the movie I get the errors that netservices.as and netdebug.as are not found. I've installed from macromedia the remoting components correctly. Does anyone know why these files are not being found when I publish? Macromedia website is useless so far. How in the world can I be downloading a 16 megabyte file and it doesn't even contain the vital NetServices.as class to get remoting working?
What am I doing wrong here?
Thanks.
Installing Flash Remoting Components - HELP
I'm trying to install the Flash Remoting Components for Flash MX 2004. I went to Macromedia's site downloaded it for both the Mac and for Windows. Once installation is complete I re-open Flash, but I'm not seeing the Remoting templates as Ben Forta's ColdFusion Construction Book states. Neither on the Mac or the PC. I can see the Remoting Libraries. Am I doing something wrong? This has been driving me crazy. Please help. Thanks.
How Can I Install The Old MX Remoting Components In A PC That Only Has Flash 8?
I only have Flash 8.
I have to edit a project that was written in Flash MX.
The Remoting Components the project refers to are the AS1 files from MX.
None of the flash installers from the macromedia website will allow me to install the old components - They give errors like...
"This application requires Macromedia Flash MX 2004. This install will exit."
...or...
"This application requires Macromedia Flash MX. This install will exit."
I can install the new AS2 remoting components, no problem, but that doesnt help.
If I can find the files then I can probably just copy them into a directory, but I cant find them anywhere on the internet.
Does anyone have them?
Does anyone know a workaround to get the MX installers to put them on my PC which is running Flash 8?
The files I need are the MX ActionScript 1.0 Remoting components, named...
DataGlue.as
NetDebug.as
NetServices.as
...and possibly also...
NetDebugConfig.as
NetDebugEvents.as
NetDebugHelpers.as
NetDebugImpl.as
NetDebugLocalConnection.as
NetDebugNetConnection.as
RecordSet.as
RSDataProviderClass.as
If anyone has these (AS1 versions) and can email them to me? or knows where I can get them or install them on a machine with only Flash 8, then please let me know!
Thanks,
Dean
Location Flash Remoting Components
Hi everyone.
I've been looking at Jesse's tutorial on AMFPHP and following along.
I've installed the Flash Remoting Components etc but wonderred where the NetServices.as and NetDebug.as files end up once installed.
The actionscript includes these files with a #include call but no path is given - #include "NetServices.as". It looks from this as though the NetServices.as file should reside in the same directory as the fla or swf for it to be accessable. Is this corect?
Can anyone explain this?
Jim
Can't Find Flash Remoting Components
I just stumbled across flash remoting last week and must say I could of used it already in a ton of different applications I've been working on.
But My problem is that I can't find the Components anywhere. I went to http://www.macromedia.com/software/f...ds/components/ and there links have been broken since then.
What I'm trying to do is run Flash and PHP with amfphp I know my server is set up correctly with php but when I try to run a sample flash I get errors saying that it can't find my included files. NetDebug.as and NetServices.as
If anyone can help me with this It would be greatly appreciated As I really want to start utilizing the incredible potential of flash remoting with php .
Thanks.
Mike
Flash Remoting Calling CF Components
hi.
i've got a flash application that uses remoting to make calls to a cf component (which then flushes data to a database). everything works great. the database returns a value of "1" which means that data is being flushed to it.
i use an xml file to build the path to my cf component a la:
Code:
<server type="tracking" address="www.mydomain.com" port="80" appname="flashservices/gateway" service="components.analytics.tracker" />
but as soon as i want to switch it to another server, it breaks, ie:
Code:
<server type="tracking" address="www.mydomain.com" port="8500" appname="flashservices/gateway" service="components.analytics.tracker" />
notice that i now use port 8500 instead of 80. this is because the server is CF on my local machine.
anyone know where i could start debugging this?
thanks. fumeng.
Flash Remoting Components Update
I know we can all use the mx components and that flash remoting works with AS3 and uses AMF3 format... but... why on earth would we want to rebuild the whole recordset funtionality that was built into the components of prior?
somebody please tell me i'm wrong in that there is no more recordset functionality with teh new CS3 version?
somebody please tell me that adobe didn't take a very usable functionality system out of the newest version?
somebody (even possibly from adobe) tell me that all past projects that use recordset functionality don't have to be rewritten to work with CS3 and the AS3 format?
Flash Remoting Components Upgrade
Does anyone know if there is someone who has ported the AS2 remoting classes of the recordset() to the AS3 format? Or is it possible to simply reuse the AS2 functions in AS3 by including them in the classpath?
Flash 8 Remoting Components Work On Mac But Not Pc
hello all,
i've come unstuck recently trying to use amfphp with flash 8.
Basically a coder i work with used flash 8 and amfphp to build a dynamic flash module. All his traces work fine and all good.
I want to work on it and went to adobe.com and installed the "Macromedia Flash Remoting Components for Flash 8 ActionScript 2.0".
before i installed i got a runtime error for the mx. classpaths - no surprise.
But now it's installed i get an error saying the flash can't find the gateway url
Code:
Error opening URL "http://newemcosite.hostingfriends.co.uk/assets/amfphp/gateway.php"
i knwo the gateway is working fine as all of our apple macs return the recordsets. I have tried this on 2 pcs both with the remoting components installed.
deos anybody know what's going on? i would really appreciate any help.
the as code snippet is:
PHP Code:
//_root.myId = 1;
//id_name.text = myName
import mx.remoting.Service;
import mx.remoting.PendingCall;
import mx.rpc.RelayResponder;
import mx.remoting.debug.NetDebug;
//NetDebug initialize();
var myResponder:RelayResponder= new RelayResponder(this,"success", "failure");
var project:Service = new Service("http://newemcosite.hostingfriends.co.uk/assets/amfphp/gateway.php", null, "Project", null, myResponder);
var serviceCall:PendingCall = project.getHomepageProject();
// An array to store the returned service call (returns 4 arrays containing recordsets)
var myData = new Array;
// setup news and press arrays to loop through the returend recordsets
var newsLinks = new Array;
var pressLinks = new Array;
function success(re){}
thanks,
Kam
Question: Looking For Components/flash Remoting/asbooks
Hi
i want to go shopping for some book and considering if u guys could help me out with opinions
i've search the net and found these :
OOP with Actionscript from NewReaders author : branden hall & Samuel Wan
http://www.amazon.com/exec/obidos/tg...glance&s=books
Action Script Guide from Colin Moock http://moock.org
Advanced PHP for Flash http://www.friendsofed.com
What Is a Flash MX Component? Colin Moock
what do u guys think about those ?
thanks
InstallShield Error When Trying To Install Flash Remoting Components
Hello all,
I am relatively new to Flash development. I am writing a RIA for the University of Florida and I am looking to use Flex with remoting. The problem I am currently having is obtaining the Flash remoting components. I have download the components package in an MSI file listed under the title "Macromedia Flash Remoting Components for Flash 8 ActionScript 2.0." The URL for the file is:
http://download.macromedia.com/pub/f...nts_flash8.msi
When I try and install the MSI file, InstallShield fail with the following error:
1: The InstallScript engine is missing from this machine. If available, please run ISScript.msi, or contact you support personnel for further assistance.
I have reproduced the error on three different machines, all Windows XP. I have downloaded the file multiple times and it gives the same error each time. Plenty of other MSI package have been installed in recent days on my desktop computer, so the InstallShield engine is not missing. I have tried every version of InstallShield I could find, but all of them gave the same error. Has anyone else had this problem? Is the MSI file corrupt, or is it working fine for everyone else?
I even tried to work around the problem by manually opening the MSI file using the open source package WiX (wix.sourceforget.net). This program succeeded in extracting the files from the apparently corrupt MSI file, and I had to manually rename all of the eight character DOS-compatible file names with the correct file names (that was a pain). All of the text files came out OK, but when I try and load RemotingConnector.swc in Flex Builder 3 it generates an error saying "unable to load SWC RemotingConnector.swc." Not that it can't locate the SWC, it can't load it, perhaps because it is also corrupt. Is anyone else having this problem, or is it just me? Even the German version of the installer has the same problem -- it just gives me the error in German, which is nice for a change .
Thanks for you advice,
-Shane Claggett-
InstallShield Error When Trying To Install Flash Remoting Components
Hello all,
I am relatively new to Flash development. I am writing a RIA for the University of Florida and I am looking to use Flex with remoting. The problem I am currently having is obtaining the Flash remoting components. I have download the components package in an MSI file listed under the title "Macromedia Flash Remoting Components for Flash 8 ActionScript 2.0." The URL for the file is:
http://download.macromedia.com/pub/flashremoting/flash8/flashremoting_components_flash8.msi
When I try and install the MSI file, InstallShield fail with the following error:
1: The InstallScript engine is missing from this machine. If available, please run ISScript.msi, or contact you support personnel for further assistance.
I have reproduced the error on three different machines, all Windows XP. I have install plenty of other MSI packages on my desktop, so the InstallShield engine is not missing. I have tried every version of InstallShield I could find, but all of them gave the same error. Has anyone else had this problem? Is the MSI file corrupt, or is it working fine for everyone else?
I have attempted to work around this problem by manually opening the MSI file using the open source package WiX (wix.sourceforget.net). This program succeeded in extracting the files from the apparently corrupt MSI file, and I had to manually rename all of the eight character DOS-compatible file names with the correct file names (that was a pain). All of the text files came out OK, but when I try and load RemotingConnector.swc in Flex Builder 3 it generates an error saying "unable to load SWC RemotingConnector.swc." Not that it can't locate the SWC, it can't load it, perhaps because it is also corrupt. Is anyone else having this problem, or is it just me? Even the German version of the installer has the same problem -- it just gives me the error in German, which is nice for a change :).
Thanks for you advice,
-Shane Claggett-
Flash MX Dynamic Content... Generator, ASPTurbine, Remoting Components
I have been working with dynamic content in Flash 5 for some time now. The server side Flash generation tool I had been using was and is Blue-Pac's ASPTurbine over Macromedias Generator due to price and ease of use.
With Macromedias new release of Flash MX and its omission of SWT (Generator Templates) there seemed to be no tool directly equivalent to that of ASPTurbine or Generator for the creation of dynamic content in flash. However Macromedia released a beta tool used in conjuction with Flash MX called Salsa which now seems to be called Flash Remoting Components. Although this new tool does not seem to generate dynamic SWF it does connect Flash with dynamic content using Microsofts new .NET infrastructure and others such as Java and ColdFusion.
So now here is my question:
What tool replaces ASPTurbine and Generator in Flash MX?
jhnsbtn
jhnsbtn@hotmail.com
Flash Remoting Components In Flash 8
hello everybody.
Can anyone guide me, whether the remoting components of flash mx 2004 will still work in flash 8.I mean can i go ahead and install flash mx 2004 remoting componetns in flash 8 and start working on it.Or there is a newer version of flash remoting components too.
Remoting Components
I had them before (2-3 years ago) if i remember correctly, but never undestood the point.
Now, i can clearly see the point and im running into problems
I was to Adobe.com and dowloaded
flashremoting_components_flash8.msi
and when i run the file i get this error:
1: The InstallScript engine is missing from the machine.
If available, please run ISScript.msi, or contact you support personell for further assistance.
To point out im running CS3 and what ive read, it is possible to use Remoting in CS3.
I also found a tutorial about isscript.msi. Thing is i need to confirm this msi files version and it isnt where it should be.
What to do ? *desperate*
Flash 8, Remoting Components, "NetServices.as: File Not Found."
Ok, this problem is a little convoluted so please bare with me.
We recently had a developer leave who was one-deep on all our flash development (our fault I realize). We have a header on our internal intranet that uses flash remoting. On his way out the door I got a tiny bit of info on how he was doing this, but I'm still having problems. (Also, I am a flash newbie, I am just trying to grab the reins of this now while there is no emergency so I don't get screwed over when there is one)
He said I had to have Flash 8 to get it working, so I installed that. Then I installed the flash remoting components, (from here http://www.adobe.com/products/flashr...ds/components/)
However, when I try export my file to .swf, I am getting the following error:
here's the code that is running it, just in case it helps
Code:
stop();
#include "NetServices.as"
#include "NetDebug.as"
remotingServer = "https://"+server+"/flashservices/gateway";
NetServices.setDefaultGatewayUrl(remotingServer);
var gw = NetServices.createGatewayConnection();
var myService = gw.getService("includes.components.headerTitles", this);
myService.getHeader(subSiteID);
function getHeader_Result(results) {
org.text = results.items[0].organization.toUpperCase();
sub.text = results.items[0].subSiteName.toUpperCase();
orgUrl = results.items[0].orgURL;
}
also, i did try using "import mx.remoting.*;" and "import mx.remoting.NetServices;", but I get the same error as before.
If anyone could help me out I would appreciate it a ton, thanks.
[fllash 2004 Pro Components][remoting]
Hello
when loading my data from the server i released that some animations in my server were been stopped ..
flash continued playing my simple animation after the data loading was finished..
is this normal..
personnaly i don't believe that because in the case we can't make a preloader anim
FYI , the data loaded type is a list.. the amount of data is not very big..
(150 records)..
thank you..
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.
Use FCS Components In Flash MX 2004. Components Already Installed. Help
Hi,
I have Flash communication server 1.5 insatlled and Flash MX 2004 too. When I create new fla file and want to use Flash components, I don't find them to use. I dont see any panel etc to use them. Some one tell me how to list the components to add them in my Flash fla file please
Thanks
[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!
Flash Components Vs. Flex Components
I know almost nothing about Flex. Just wanted to establish that at the outset.
A client sent me an API component - an swc file - to use in a project I'm doing. I installed it in my Flash folders, but it didn't show up in the Components panel when I launched Flash. When I queried the client about it, he said that it was actually a Flex component.
My question is, what's the difference between a Component written for Flex and one written for Flash ? Can a Flex component be adapted for use in Flash ? In that what I received is a .swc, I'm assuming it has to have been written in ActionScript.
Any help would be hugely appreciated. Many thanks.
Components Inside Components (Flash 8)
Hi,
I have an Accordion component which needs to contain a number of small forms, each of which is built as a MovieClip containing TextInput, Button, ComboBox, etc.
So, I build my little forms in Flash, make them into MovieClips, give them a linkage identifier and assign them the AS2 class "mx.core.View", as the documentation says.
Then I use ActionScript to attach these to my Accordion control, using my_accordion.createChild(). OK, fine. Works nicely.
The problem is that in the next few lines of code I also want to be able to populate the TextInput and ComboBox components which reside inside my accordion. I can't do it. Trying to do so fails silently. Tracing out the path to the Components shows that they are "there", but if i put some content into, say, one of the TextInputs up-front (i.e. in the Properties panel inside Flash) and then try to trace... my_acc.my_form.my_textInput.text... i get undefined.
So, it looks like the components inside the form inside the Accordion aren't yet "initialised" when I am trying to get/set their values. I've seen similar behaviour before, but it's not clear in the documentation how to get around it.
Anyone help? What is the correct way to use components inside components like this? I don't want to have to call a second function or put any code on the timeline or anything like that!
Many thanks,
Andy
Components Inside Components (Flash 8)
Hi,
I have an Accordion component which needs to contain a number of small forms, each of which is built as a MovieClip containing TextInput, Button, ComboBox, etc.
So, I build my little forms in Flash, make them into MovieClips, give them a linkage identifier and assign them the AS2 class "mx.core.View", as the documentation says.
Then I use ActionScript to attach these to my Accordion control, using my_accordion.createChild(). OK, fine. Works nicely.
The problem is that in the next few lines of code I also want to be able to populate the TextInput and ComboBox components which reside inside my accordion. I can't do it. Trying to do so fails silently. Tracing out the path to the Components shows that they are "there", but if i put some content into, say, one of the TextInputs up-front (i.e. in the Properties panel inside Flash) and then try to trace... my_acc.my_form.my_textInput.text... i get undefined.
So, it looks like the components inside the form inside the Accordion aren't yet "initialised" when I am trying to get/set their values. I've seen similar behaviour before, but it's not clear in the documentation how to get around it.
Anyone help? What is the correct way to use components inside components like this? I don't want to have to call a second function or put any code on the timeline or anything like that!
Many thanks,
Andy
Flash Components Vs. Flex Components
I know almost nothing about Flex. Just wanted to establish that at the outset.
A client sent me an API component - an swc file - to use in a project I'm doing. I installed it in my Flash folders, but it didn't show up in the Components panel when I launched Flash. When I queried the client about it, he said that it was actually a Flex component.
My question is, what's the difference between a Component written for Flex and one written for Flash ? Can a Flex component be adapted for use in Flash ? In that what I received is a .swc, I'm assuming it has to have been written in ActionScript.
Any help would be hugely appreciated. Many 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 UI Components V/s Flash MX 2004 Components
I am using Flash MX 2004 Professional. I am having a problem with traceing a combobox using UI Components. I am tracing the value of the selected combobox using a combobox with the UI Components. I prefer the UI Components because they have the glow, rounded corners and are more attractive. the code works fine with the Flash MX UI Components. However, when I use the UI components it doesnt. The combobox populates however I can not trace. Does anyone have any suggestions? I use the following code to trace the value of the combobox:
myCombo.setChangeHandler("myFoo");
myFoo = function(myCombo){
trace(myCombo.getValue());I also used this code:
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
The code for the entire section is:
function getStateArray(){
myStates ="AL,AK,AZ,AR,CA,CO,CT,DE,FL,GA,HI,ID,IL,IN,IA,KS,KY,LA,MA,MD,ME,MI,MN,MO,MS,MT, NC,NE,NV,NH,NJ,NM,NY,NC,ND,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VT,VA,WA,WV,WI,WY";
myStatesArray = new Array();
myStatesArray = myStates.split(",");
return myStatesArray;
}
myArray = getStateArray();
myArray.unshift("--");
myCombo.setDataProvider(myArray);
myCombo.setChangeHandler("myHandler");
function myHandler(obj)
{
trace (obj.getValue());
trace (obj.getSelectedItem().label);
}
Please help. Thanks in advance for any help.
Justice
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.
|