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 / February 2006



Tip: Looking for answers? Try searching our database.

flash 8 and net connection debugger

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
fmdano - 04 Jan 2006 16:25 GMT
so, where is the net connection debugger?
Can flash remoting i used with mx2004 still available when using the flash 8
program? i am saving the file as a mx2004 file, but it cannot find:

#include "NetServices.as"
#include "NetDebug.as"

because of this and not being able to find the net connection debugger, i
cannot figure out what is wrong with my program

thanks

dan
jirgn - 04 Jan 2006 23:01 GMT
fmdano schrieb:
> so, where is the net connection debugger?
>  Can flash remoting i used with mx2004 still available when using the flash 8
[quoted text clipped - 9 lines]
>
>  dan

hallo fmdano,

id did not use the new flash 8, but since mx2004 the
#include 'NetServices'
#include 'NetDebug.as'
are deprecated. With the new 2004 Remoting-Classes these recources are
wrapped in classes in the mx.remoting.debug package.
An easy sample class using amfPHP follows:

import mx.remoting.debug.*;

class TestService    {

    private var service:Service;
    private var GATEWAY_URL:String =
            "http://localhost/flash_php_test/gateway.php";

    public function Test()    {
        //here is the init for the netdebugger
        Netdebug.initialize();{

        //init the service
        service = new Service(GATEWAY_URL, new Log(), "Test", null, null);
    }
   
    //simple servicecall
    public function helloWorld():Void    {
        var helloPc:PendingCall = this.service.helloWorld();
        //set the handlers for
        helloPc.responder = new RelayResponder(this, "onCallData", "onCallFault");
    }
   
    //handler when functioncall worked well
    private function onCallData( re:ResultEvent ):Void {
        trace("worked well");
    }
   
    //handler when functioncall did not work
    private function onCallFault( fault:FaultEvent  ):Void {
        trace("fault");
    }
}

hope this helps

jirgn
Call Me Mad - 04 Feb 2006 02:59 GMT
You can run the debugger externally from flash by using C:\Program
Files\Macromedia\Flash 8\en\First Run\WindowSWF
you can also run the debugger internally using the menu item Window - other
panels - NetConnection Debugger
jedders - 07 Feb 2006 19:34 GMT
If you are having issues with loading the NetConnection Debugger see my posts
on this link below. It explains how to do a custom remoting install from 2004
to 8.


http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=250&thre
adid=1050908&forumid=15
 
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.