all groups > macromedia flash flash remoting > december 2004 >
You're in the

macromedia flash flash remoting

group:

NetConnection Debugger Problem


NetConnection Debugger Problem derobinson
12/19/2004 5:56:35 PM
macromedia flash flash remoting:
hello All--

Just moved over to a new box. I thought I had everything installed in my new
environment, but things aren't wroking quite as expected. I'm opening projects
that I previously developed on my old machine (where everything worked
properly) and I'm not getting any ouput to the NetConnection Debugger (on the
new machine). Same file, so all of the code should be right:

import mx.remoting.*;
import mx.remoting.debug.NetDebug;
NetDebug.initialize();

I even re-installed the Flash Remoting AS2 components. I've also opened the
debugger SWF outside the Flash IDE, and nada!

Any thoughts would be much appreciated!
Re: NetConnection Debugger Problem Tomdogggg
12/21/2004 2:58:07 PM
I had the same problem just a bit ago. It just seemed like a quick bug to me,
I restarted Flash and it worked again. Otherwise, maybe you'd have to
reinstall the Flash MX 7.2 update to patch all the files up. Also, for the
coding, it seems to work for me when I just write
#include "NetDebug.as"
at the beginning of the actionscript.
-Tom
Re: NetConnection Debugger Problem Ryan House
12/22/2004 3:16:24 PM
I am haveing this same problem as well. I am retreving data from a CF Struct
but I see nothing in the debugger. I have these 2 lines in my AS. import
mx.remoting.debug.NetDebug; NetDebug.initialize() Help!!! How do we get this
to work?
Re: NetConnection Debugger Problem derobinson
12/22/2004 3:56:03 PM
I don't think it's our code. I took the file I was having a problem with and
tried it on another computer and the debugger worked fine. Like Tom wrote,
maybe we need to try re-installing the 7.2. update and see if that helps.

Happy Holidays!

Re: NetConnection Debugger Problem Ryan House
12/22/2004 4:02:17 PM
I just did the reinstall of 7.2 and still no luck. Are you getting a totaly
blank window or our you just not seeing any results in the window. For me I see
the window but have no results showing up. Very strange. May try building
another file to see if it works there. I sure wish I could get this going.
Would be soooo helpfull to see results from my passed querys. Ryan
Re: NetConnection Debugger Problem derobinson
12/22/2004 4:13:31 PM
I can open the debugger (I usually do so outside the Flash IDE) and its all
there fine (so I guess my window is not totally blank per se), but I don't get
any messages from the movie about what's going on. In the end, I trapped for
the returned Status in AS and just output it to a text box in my movie
temporarily to help me with debugging until I can find out what's going on.

Like I said, I had no problems with the same movie on a different machine....

Re: NetConnection Debugger Problem Ryan House
12/22/2004 4:31:29 PM
Ok I found the solution for me. I needed to follow these steps and now it all
works. 1. From the Window menu in Flash, select Other Panels > Common
Libraries > Remoting. 2. From the Library panel, drag the RemotingClasses
library onto the Stage. 3. To use the NetDebug class and the NetConnection
Debugger, you must also drag the RemotingDebugClasses library to the Stage. 4.
In the Actions panel, import the ActionScript Flash Remoting classes. Found
the help form these 2 links.. http://www.flashant.org/index.php?m=20040803
and http://www.devx.com/webdev/Article/22260/1954?pf=true Not sure if that
will help you due to the fact that the same project works on on another PC.
This worked for me.. Good Luck and thanks for you comments. Ryan
Re: NetConnection Debugger Problem derobinson
12/22/2004 4:36:57 PM
Glad you got something to work! I'll look into your suggestions, but you're
right, since the same file worked on another machine, I'm not real hopeful. At
least, this may give me a clue as to what files I should be looking for.

Thanks!

Re: NetConnection Debugger Problem whatknows
12/30/2004 6:05:40 PM
Re: NetConnection Debugger Problem Ryan House
1/7/2005 3:34:38 PM
Mine has been working fine since I have follwed the step above. Have had to resart flash at times to get it back. But is has been working for me.

Re: NetConnection Debugger Problem PaulAnka
9/6/2005 12:00:00 AM
I downloaded and installed the old Flash remoting components from:
http://www.macromedia.com/software/flashremoting/downloads/components/

(choose: Flash Remoting Components ActionScript 1.0 for Flash MX 2004 and
Flash MX Professional 2004)

I think to work good next to the new version 2 components. Restart of Flash is
needed.
Works good for me anyway...
AddThis Social Bookmark Button