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



Tip: Looking for answers? Try searching our database.

Netconnection Debugger not tracing when exporting from Flash 8 with Actionscript 2.0

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
stop w/the nickname - 28 Jun 2006 21:58 GMT
Ok, Sorry for the long post, but given my research , I wanted to be clear on
the problem and what I have done to address it.--- anyone who has gotten the
NetConnection Debugger to work with Flash 8 and actionscript 2.0 on a PC, your
help will be greatly appreciated

When I compile a Flash 8 swf with AS 2.0 the it does not seem to import the
class properly to utilize the net connection debugger.

I spent a considerable amount of time getting it to work on My Mac, but on the
PC , none of my calls to the debugger are working.

I have a very simple file that has the following code:
-----------------------------
import mx.remoting.NetServices;
import mx.remoting.debug.NetDebug;

NetDebug.initialize();

NetDebug.trace("I am here")

-----------------------------

I do not get any errors for the imports, and the files are where they need to
be. ( see the end of the message to see the directory structure for both the
mac and the pc versions of this)

When I first installed the remoting components on my macintosh, the Net
Connection Debugger would not work. I eventually took my 2004 Classes and
overwrote the mx.remoting.debug folder in the
usr/Library/Application Support/Macromedia/Flash 8/en/Configuration/Classes/mx/

then after restarting flash and the debugger.swf.. it worked on the mac.

I have tried the same thing on the PC on three separate machines.

The latest PC is a brand new clean machine.

These are the steps I have followed:
I installed Flash 8 professional
I installed the remoting components
I created a test file with the code from above
I opened the debugger
I exported the file, ............... nothing traced

I then copied the as Class files from my mac and overwrote the files in the
classes directory for mx.remoting.debug
in both these directories.

c:\Documents and Settings\user\Local Settings\Application
Data\Macromedia\Flash 8\en\Configuration\Classes\mx\

and in c:\Program Files\Macromedia\Flash 8\en\First Run\Classes\mx\remoting.

After a restart of flash and the debugger I am still not getting a trace
out... I am at a loss. I need this to work, and someone has to have run into
this before.

Here is a list of the files in mx\remoting  directories on the Mac and the PC.

Mac
Connection.as
DataGlue.as

debug  //this is the folder
----- commands//this is a folder
----- events //this is a folder
----- connectionMixin.as
-----GlobalLocalConnection.as
----- NetDebug.as
----- NetDebugConfig.as
----- NetDebugResponseProxy.as

NetServiceProxy.as
NetServiceProxyResponder.as
NetService.as
Operation.as
PendingCall.as
RecordSet.as
RecordSetIterator.as
RemotingComponentVersion.as
RsDataFetcher.as
RsDataRange.as
RTMPClientResponse.as
Service.as

PC in the Documents and Settings...............\classes\mx\remoting

Connection.as
DataGlue.as

debug  //this is the folder
----- commands//this is a folder
----- events //this is a folder
----- connectionMixin.as
-----GlobalLocalConnection.as
----- NetDebug.as
----- NetDebugConfig.as
----- NetDebugResponseProxy.as

NetServiceProxy.as
NetServiceProxyResponder.as
NetService.as
Operation.as
PendingCall.as
RecordSet.as
RecordSetIterator.as
RemotingComponentVersion.as
RsDataFetcher.as
RsDataRange.as
RTMPClientResponse.as
Service.as

thanks for the help
allen hujsak
02TransAm - 30 Jun 2006 16:21 GMT
Hello!  I am having the same problem that you are.  I can't even get tpast the
tutorial at www.adobe.com/devnet/flash/articles/delta_packet.html  Even this
tutorial does not work!!!!  If you come up with anything let me know!!!
stop w/the nickname - 30 Jun 2006 18:39 GMT
Ok.. So here after a ton of testing, here is the solution. Guys at Macromedia
need to document this a lot better.
-- You ABSOLUTELY need to drag the remoting and debug components onto the
stage from the common libraries remoting.

you used to be able to do it with just scripts but now you HAVE to HAVE those
components on the stage.
02TransAm - 03 Jul 2006 19:34 GMT
Thank you for the advice.  This is still the error I get even with those two
components on stage.  Do I have to connect them to something?  I am still
trying the same tutorial from
adobe...www.adobe.com/devnet/flash/articles/delta_packet.html

Here's the error...

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

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

Total ActionScript Errors: 2     Reported Errors: 2

Please help!!!!!!
 
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.