| phaedrus 2006-06-28, 7:11 pm |
| Have you tried making sure the RemotingDebugClasses are in your library?
(They can be found in menu Window > Common Libraries > Remoting)
-----Original Message-----
From: flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
[mailto:flashcomm-bounces-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org] On Behalf Of Allen Hujsak
Sent: Wednesday, June 28, 2006 4:02 PM
To: flashcomm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
Subject: [FlashComm] NetConnection Debugger not working when exporting Flash
8 Actionscript 2.0
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
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
________________________________________
_______
FlashComm-1Ss2GqJETD3yZ38Mhd3e/9ZfFG6BLHNm@public.gmane.org
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcomm
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
|