I have found the solution to this problem. If I replace the mx.remoting.debug.* classes from the Flash 8 remoting with those from Flash MX2004, then the Netconnection Debugger works from Flash 8.

Doing a diff shows that the new Flash 8 classes only include definition of the available debug functions, whereas the MX2004 classes included the actual implementation. I am not sure why so few people appear to be affected by this, and since you can't download the MX2004 trial any more it may be a problem for anyone who doesn't already have it installed... If anyone does need these files and cannot source them elsewhere feel free to email me.

Regards,
Grant Cox

Grant Cox wrote:

Yes and no. On my main machine I have both installed, but on a secondary machine I uninstalled Flash MX2004 before installing Flash 8, and it exhibits the same problems.

Very odd indeed.


Gavin Lilley wrote:

I have exactly the same problem. I have installed a fresh version of 8 and
then remoting and components.

Do you have Flash 7 and Flash 8 on the same pc?

Im wondering if it is possible to install 7 first and then install 8 'over
the top of 7' to solve this problem.

I read about copying old library files across but as far as I can see I am
missing nothing.

--
Gavin Lilley.


On 1/20/06, Grant Cox <[EMAIL PROTECTED]> wrote:
I have just upgraded my workflow to Flash 8 and the latest MTASC today,
and found that while my Remoting calls were working, nothing was
printing in the NetConnection Debugger.  After some debugging I have
found that I cannot get anything to print to the NetConnection Debugger
even from within the Flash 8 IDE, and this is with a clean reinstall of
Flash 8 (no previous version of Flash installed) and the Remoting
components. I have set the Flash 8 security settings to "Always Allow",
and to trust anything in "C:\".

The follow code, when applied to the first frame of an empty movie with
just the RemotingConnector Component on the stage, works in Flash 7, but
does not work in Flash 8.  The log messages work fine (and the remoting
connection is created and works), but nothing appears in the
NetConnection Debugger.

Can anyone see a problem with this, or even replicate the error?

Regards,
Grant Cox


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

NetDebug.initialize();

var myLogger:Log = new Log(Log.DEBUG, "logger1");
myLogger.onLog = function(message:String) {
   trace("NetConnection LOG: " + message);
};

var gatewayURL:String = "http://localhost/myproject/gateway.php";;

var userService:Service = new Service ( gatewayURL, myLogger, "Users",
null, null );
trace("gateway at: " + gatewayURL + " user service: " + userService );
NetDebug.trace("testing testing testing");

stop();
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to