Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Flash Remoting / September 2005



Tip: Looking for answers? Try searching our database.

Flash remoting flash 8

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Don_Robin - 28 Sep 2005 23:05 GMT
Hi,

I just installed flash 8 and flash remoting for flash 8. I never managed to
get it to work, only got the error message.

**Error** Scene=Huvudmeny, layer=bakgrund, frame=1:Line 5: Error opening
include file NetServices.as: File not found.
     #include "NetServices.as"

**Error** Scene=Huvudmeny, layer=bakgrund, frame=1:Line 11: Error opening
include file NetDebug.as: File not found.
     #include "NetDebug.as"

Total ActionScript Errors: 2     Reported Errors: 2

So i unistalled everything and installed flash 2004 MX with the remoting
component for AS1. But now that dosn't work either. In the netconection
debugger I get the error message.

Status (object #2)
.....code: "NetConnection.Call.BadVersion"
.....description: ""
.....details: ""
.....level: "error"

I tried installing the remoting component for mx 2004 AS2, but same problem.
Any ideas ??

/Robin
STHG - 29 Sep 2005 05:43 GMT
1. Install Flash 8 and Flash Remoting
2. Create a new blank Flash Document
3. In Frame 1 action script panel enter and replace url and service name with
yours. The one below calls the function findSetup on the service
au.com.otiose.facade.SetupFacade from site http://localhost:9009/gateway

import mx.remoting.Service;
import mx.remoting.PendingCall;
import mx.rpc.RelayResponder;
import mx.rpc.ResultEvent;
import mx.rpc.FaultEvent;

var service:Service = new Service("http://localhost:9009/gateway", null,
"au.com.otiose.facade.SetupFacade", null, null);
var pc:PendingCall = service.findSetup();
pc.responder = new RelayResponder(this, "findSetup_Result",
"findSetup_Status");

function findSetup_Result(result:ResultEvent):Void {
    trace("findSetup_Result: Started");
    // ...
    trace("findSetup_Result: Finished");
}

function findSetup_Status(fe:FaultEvent):Void {
    trace("There was a problem: " + fe.fault.faultstring);
}
Don_Robin - 29 Sep 2005 09:32 GMT
Hi STHG,

I tried your script but nothing happens when i run it. No error messages and
no activity in the netconection debugger.

Although im interessed on trying flash 8 i would prefer getting my flash 2004
to work again first.

/Robin
STHG - 29 Sep 2005 14:31 GMT
Hi,
Forget about the debugger, if you copy and paste that script into Frame 1's
actionscript panel for a new Flash document and you are not getting 'Error
opening URL "http://..."', then there is a problem with the installation.
Install Flash 8 and Flash Remoting MX and then read the technote
http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=46f3d4ac and
install the hotfix it mentions.
Once that is working, uninstall Flash Remoting MX, Flash 8, and Flash 2004 and
then reinstall Flash 2004 and Flash Remoting MX. Once I did that the old
version worked again (although it might be overkill).
Cheers,
Steve
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.