Re: [flexcoders] Flex2: debugging mxml

2006-02-16 Thread Johannes Nel



cool thanks for the links. this is kinda weird since it works perfectly as described in the documentation on my work pc, but on my laptop i cannot seem to put a breakpoint in mxml (even in as code inside my mx:script tag).
this is obviously a UTR issue. as a side note, the eclipse on my laptop is very thin (no other plugins installed except the charts and subclipse) while my eclipse at work has WTP, the clearcase plugin, subclipse, pydev. anyway thanks again for the information!
On 2/15/06, Geoffrey Williams [EMAIL PROTECTED] wrote:


















http://livedocs.macromedia.com/flex/20beta1/docs/0402.html



You can output the generated as by adding –keep
to the compiler arguments. But you can't add breakpoints to debug em
AFAICT…




http://livedocs.macromedia.com/flex/20beta1/docs/0388.html











From:
 flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com] On Behalf Of Johannes Nel
Sent: Wednesday, February 15, 2006
9:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2:
debugging mxml





hi all

tell me to rtfm, but i could not find any information on this. is it possible
to place a breakpoint in an mxml page, and if not (now ala flex 1.5 since i
don't know if flex 2 config has a setting to create .as files) can i put a
breakpoint in the generated as file somehow?

thanks
j

-- 
j:pn 










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt

Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com









  
  
SPONSORED LINKS
  
  
  


Web site design development
  
  

Computer software development
  
  

Software design and development
  
  



Macromedia flex
  
  

Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group flexcoders on the web.

  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
.



  










-- j:pn 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









[flexcoders] Flex2: debugging mxml

2006-02-15 Thread Johannes Nel



hi all

tell me to rtfm, but i could not find any information on this. is it
possible to place a breakpoint in an mxml page, and if not (now ala
flex 1.5 since i don't know if flex 2 config has a setting to create
.as files) can i put a breakpoint in the generated as file somehow?

thanks
j-- j:pn 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex2: debugging mxml

2006-02-15 Thread Geoffrey Williams










http://livedocs.macromedia.com/flex/20beta1/docs/0402.html



You can output the generated as by adding keep
to the compiler arguments. But you cant add breakpoints to debug em
AFAICT



http://livedocs.macromedia.com/flex/20beta1/docs/0388.html











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Johannes Nel
Sent: Wednesday, February 15, 2006
9:02 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2:
debugging mxml





hi all

tell me to rtfm, but i could not find any information on this. is it possible
to place a breakpoint in an mxml page, and if not (now ala flex 1.5 since i
don't know if flex 2 config has a setting to create .as files) can i put a
breakpoint in the generated as file somehow?

thanks
j

-- 
j:pn 










--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex2 Debugging

2006-01-23 Thread Jonathan Miranda










Well after fiddling around with this
example forever: 

http://cflex.net/showfiledetails.cfm?ChannelID=1Object=CodeLibraryobjectID=286



I finally found something of use in Flex2
that worked for me: 

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0851.html

Thought Id just post this for the record, so anyone attempting an image
in a Datagrid has just a working example. Still have no idea how to debug a
customClass.as though.







_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Monday, January 23, 2006
10:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2
Debugging





Hi All,

Complete side note: Does the [EMAIL PROTECTED] group not send out your own
emails? I posted something earlier and didnt see it so Im assuming
yahoo doesnt send you your own messages.

Ive got an issue with a current Flex2 project Im working on right
now, but Im getting no errors nor am I able to find out any debugging on
my custom ImageRenderer class. Im currently using the Eclipse IDE for
Flex2 and the project says it builds complete yet something is wrong in a
custom class and I cant figure out how Id go about finding out
the problem. Like all the examples from the macromedia page, CFlex and the
flexcoders archive, I have an ImageRenderer.as file to custom renderer a
Datagrid cell, and using the following line in my code:

mx:DataGridColumn cellRenderer={ImageRenderer} headerText=Availability columnName=availability /



Yet, taking the cellRenderer= out does nothing different
than putting it in. Im assuming it is breaking somewhere in
ImageRenderer.as, but how would I go about debugging this? How do you debug
custom classes? 

Also didnt have any luck looking for solutions in the archive, so any
help would be much appreciated.

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











Re: [flexcoders] Flex2 Debugging

2006-01-23 Thread JesterXL





Last email I got from you was:

Changes between DataGrid cellrenderers and embed 
tag
Friday, January 20, 2006 1:30 PM

Just set a breakpoint in your custom class where 
you are binding to a property.

- Original Message - 
From: Jonathan 
Miranda 
To: flexcoders@yahoogroups.com 
Sent: Monday, January 23, 2006 12:17 PM
Subject: [flexcoders] Flex2 Debugging


Hi All,Complete side note: 
Does the [EMAIL PROTECTED] group not send 
out your own emails? I posted something earlier and didn’t see it so I’m 
assuming yahoo doesn’t send you your own messages.I’ve got an issue with 
a current Flex2 project I’m working on right now, but I’m getting no errors nor 
am I able to find out any debugging on my custom ImageRenderer class. I’m 
currently using the Eclipse IDE for Flex2 and the project says it builds 
complete yet something is wrong in a custom class and I can’t figure out how I’d 
go about finding out the problem. Like all the examples from the macromedia 
page, CFlex and the flexcoders archive, I have an ImageRenderer.as file to 
custom renderer a Datagrid cell, and using the following line in my 
code:mx:DataGridColumn 
cellRenderer="{ImageRenderer}" 
headerText="Availability" 
columnName="availability" 
/

Yet, taking the cellRenderer= out 
does nothing different than putting it in. I’m assuming it is breaking somewhere 
in ImageRenderer.as, but how would I go about debugging this? How do you debug 
custom classes? Also didn’t have any luck looking for solutions in the 
archive, so any help would be much appreciated.
_
Jonathan 
Miranda
Flexible Master 
of the Web
"In the game of chess, it's important to 
never let your opponent see your 
pieces."





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [flexcoders] Flex2 Debugging

2006-01-23 Thread JesterXL





Another thing to check. The compiler won't 
see:

import YourClass;

or:

{YourClass}

as a usage. Meaning, you have to 
do:

private var depend:YourClass;

To ensure the compiler puts it in the SWF. At 
least, this is this way in 1.5, don't know about 2.

- Original Message - 
From: Jonathan 
Miranda 
To: flexcoders@yahoogroups.com 
Sent: Monday, January 23, 2006 12:41 PM
Subject: RE: [flexcoders] Flex2 Debugging


Well after fiddling 
around with this example forever: 
http://cflex.net/showfiledetails.cfm?ChannelID=1Object=CodeLibraryobjectID=286

I finally found 
something of use in Flex2 that worked for me: 
http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0851.htmlThought 
I’d just post this for the record, so anyone attempting an image in a Datagrid 
has just a working example. Still have no idea how to debug a customClass.as 
though.



_
Jonathan 
Miranda
Flexible 
Master of the Web
"In the game of 
chess, it's important to never let your opponent see your 
pieces."




From: 
flexcoders@yahoogroups.com 
[mailto:flexcoders@yahoogroups.com] 
On Behalf Of Jonathan 
MirandaSent: Monday, January 
23, 2006 10:17 AMTo: 
flexcoders@yahoogroups.comSubject: [flexcoders] Flex2 
Debugging

Hi All,Complete side note: 
Does the [EMAIL PROTECTED] group not send out your own emails? I posted something 
earlier and didn’t see it so I’m assuming yahoo doesn’t send you your own 
messages.I’ve got an issue with a current Flex2 project I’m working on 
right now, but I’m getting no errors nor am I able to find out any debugging on 
my custom ImageRenderer class. I’m currently using the Eclipse IDE for Flex2 and 
the project says it builds complete yet something is wrong in a custom class and 
I can’t figure out how I’d go about finding out the problem. Like all the 
examples from the macromedia page, CFlex and the flexcoders archive, I have an 
ImageRenderer.as file to custom renderer a Datagrid cell, and using the 
following line in my code:mx:DataGridColumn 
cellRenderer="{ImageRenderer}" 
headerText="Availability" 
columnName="availability" 
/

Yet, taking the cellRenderer= out 
does nothing different than putting it in. I’m assuming it is breaking somewhere 
in ImageRenderer.as, but how would I go about debugging this? How do you debug 
custom classes? Also didn’t have any luck looking for solutions in the 
archive, so any help would be much appreciated.
_
Jonathan 
Miranda
Flexible Master 
of the Web
"In the game of chess, it's important to 
never let your opponent see your pieces."






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








  
  
SPONSORED LINKS
  
  
  

Web site design development
  
  
Computer software development
  
  
Software design and development
  
  


Macromedia flex
  
  
Software development best practice
  

   
  







  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









RE: [flexcoders] Flex2 Debugging

2006-01-23 Thread Geiser, Gary










I just posted a message and received my
own message in e-mail. Getting replies, now that is another issue.











From:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Miranda
Sent: Monday, January 23, 2006
10:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2
Debugging





Hi All,

Complete side note: Does the [EMAIL PROTECTED] group not send out your own
emails? I posted something earlier and didnt see it so Im
assuming yahoo doesnt send you your own messages.

Ive got an issue with a current Flex2 project Im working on right
now, but Im getting no errors nor am I able to find out any debugging on
my custom ImageRenderer class. Im currently using the Eclipse IDE for
Flex2 and the project says it builds complete yet something is wrong in a
custom class and I cant figure out how Id go about finding out
the problem. Like all the examples from the macromedia page, CFlex and the
flexcoders archive, I have an ImageRenderer.as file to custom renderer a
Datagrid cell, and using the following line in my code:

mx:DataGridColumn cellRenderer={ImageRenderer} headerText=Availability columnName=availability /



Yet, taking the cellRenderer= out does nothing different
than putting it in. Im assuming it is breaking somewhere in ImageRenderer.as,
but how would I go about debugging this? How do you debug custom classes? 

Also didnt have any luck looking for solutions in the archive, so any
help would be much appreciated.

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.


__
This email has been scanned by the MessageLabs Email Security System.
_









--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  











RE: [flexcoders] Flex2 Debugging

2006-01-23 Thread Stacey Mulcahy










Ive had probs with cell renderers
in DGs where the label doesnt resize properly cutting off the label
until you refresh its length in the override set dataObject bit. 



My last couple of messages have been
bouncing  come to think of it.













From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Monday, January 23, 2006
1:13 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex2
Debugging





Possibly worth another thread, but has
anyone had issues with renderers and hiding/showing columns? I have a Datagrid
with 4 columns, 3 normal data and one being cellrendererd (column 2). Using
myDataGrid.getColumnAt(3).visible=true and false, my cellRenderer is actually
renderering that column even though its not the column with
cellRenderer=. 



And this time around, I saw my own message
and repliesodd.



_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.







From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Monday, January 23, 2006
10:42 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Flex2
Debugging





Well after fiddling around with this
example forever: 

http://cflex.net/showfiledetails.cfm?ChannelID=1Object=CodeLibraryobjectID=286



I finally found something of use in Flex2
that worked for me: 

http://livedocs.macromedia.com/labs/1/flex/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0851.html

Thought Id just post this for the record, so anyone attempting an image
in a Datagrid has just a working example. Still have no idea how to debug a
customClass.as though.







_

Jonathan Miranda

Flexible Master of the Web

In the
game of chess, it's important to never let your opponent see your pieces.











From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Monday, January 23, 2006
10:17 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Flex2
Debugging





Hi All,

Complete side note: Does the [EMAIL PROTECTED] group not send out your own
emails? I posted something earlier and didnt see it so Im
assuming yahoo doesnt send you your own messages.

Ive got an issue with a current Flex2 project Im working on right
now, but Im getting no errors nor am I able to find out any debugging on
my custom ImageRenderer class. Im currently using the Eclipse IDE for
Flex2 and the project says it builds complete yet something is wrong in a
custom class and I cant figure out how Id go about finding out
the problem. Like all the examples from the macromedia page, CFlex and the
flexcoders archive, I have an ImageRenderer.as file to custom renderer a
Datagrid cell, and using the following line in my code:

mx:DataGridColumn cellRenderer={ImageRenderer} headerText=Availability columnName=availability /



Yet, taking the cellRenderer= out does nothing different
than putting it in. Im assuming it is breaking somewhere in
ImageRenderer.as, but how would I go about debugging this? How do you debug
custom classes? 

Also didnt have any luck looking for solutions in the archive, so any
help would be much appreciated.

_

Jonathan Miranda

Flexible Master of
the Web

In the game of
chess, it's important to never let your opponent see your pieces.











--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





  




  
  
  YAHOO! GROUPS LINKS



  Visit your group "flexcoders" on the web.
  To unsubscribe from this group, send an email to:[EMAIL PROTECTED]
  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.