Re: [flexcoders] Re: Trace?

2006-12-25 Thread Arul
Another alternative is a Trace panel built with Flex itself. more info at 
http://www.shockwave-india.com/blog/?archive=2006_12_01_archive.xml#116682290948190547

Regards,
Arul

  - Original Message - 
  From: Ralf Bokelberg 
  To: flexcoders@yahoogroups.com 
  Sent: Thursday, December 21, 2006 6:15 AM
  Subject: Re: [flexcoders] Re: Trace?


  When you install the debug player, you can run tail on flashlog.txt. 
  If you are on windows, you can install cygwin to get tail. 
  Cheers,
  Ralf. 



  On 12/20/06, coderjun [EMAIL PROTECTED] wrote:
I think the firefox extention that Brian was talking about is this:
http://www.sephiroth.it/weblog/archives/2006/10/post_1.php

-Jun



--- In flexcoders@yahoogroups.com, Brian Holmes [EMAIL PROTECTED] wrote:

 Debug mode is the only option as far as I know.
 But you should check out the mx.util.ObjectUtil class.
 It'll allow you to see more complex data. Just import it into your
class
 and use it from within
 The trace object. Trace(ObjectUtil((someObject));

 Also, there's a nice firefox thread that will allow firefox to pick up
 on the trace statements so it's easier to debug from a web application
 standpoint. Such as it would be hosted in a production environment.
Not
 sure what the link is, so perhaps somebody else might know if you
wanted
 to see it.

 Brian..



 -Original Message-
 From: flexcoders@yahoogroups.com [mailto: [EMAIL PROTECTED]
On
 Behalf Of securenetfreedom
 Sent: Wednesday, December 20, 2006 1:59 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Trace?

 I am coming from Flash Timeline Development to Flex (as opposed to
 coming from C#, Java, etc to Flex). So I have some catching up to do.

 One of the things I find most frustrating is the ability to so a
simple
 trace statement, run the code and watch my traces in an output window.
 Is this possible or is Debug mode the only option?

 I would love any Debug tips as well.

 Thanks for your help.

 Jeff




 --
 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

  Recent Activity
a..  70New Members
  Visit Your Group 
  SPONSORED LINKS
a.. Software development tool 
b.. Software development 
c.. Software development services 
d.. Home design software 
e.. Software development company 
  Search Ads
  Get new customers.

  List your web site

  in Yahoo! Search.

  Y! Toolbar
  Get it Free!

  easy 1-click access

  to your groups.

  Yahoo! Groups
  Start a group

  in 3 easy steps.

  Connect with others.
  . 
   

[flexcoders] MERRY XMAS AND A HAPPY NEW YEAR!

2006-12-25 Thread leds usop
HAPPY HOLIDAYS TO ALL FLEXCODERS! May we have a more
robust Flex framework next year and hence a more
productive year for the flex developers. Amen. :)

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[flexcoders] Re: How to chage BarChart to Stacked BarChart dynamically?

2006-12-25 Thread vigen2000
thanks Ely for your response. i consider you as the higher authority
of the flex charts! 

well after a lot of investigations i found out that the problem was
the dataprovider. i used XmlList  or XML as the dp. when changing it
to ArrayCollection all problems were solved. i think its a bug but i
let you check it. if u need a code example let me know.

thanks!

vigen
--- In flexcoders@yahoogroups.com, Ely Greenfield [EMAIL PROTECTED] wrote:

  
  
  
 That's not a bug, but as designed.  All series types filter their values
 out against the min/max ranges of the axes before rendering. If you'd
 like to disable this behavior...i.e., you are explicitly setting the
 min/max values and you don't know if the items will end up inside or
 outside the range, you can set the 'filterData' property on the series
 to false.
  
 Ely.
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
 Behalf Of vigen2000
 Sent: Saturday, December 09, 2006 11:32 PM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Re: How to chage BarChart to Stacked BarChart
 dynamically?
 
 
 
 let me refine the issue. it seems there is a bug with stacked chart
 that when the sum of the series is bigger than the max value, it
 doesnt show the series. so there are bars with 3 series and bars with
 2 and even 1.
 
 what is going on?
 
 anyone?
 
 --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
 , vigen2000 vigen2000@ wrote:
 
  Hi,
  
  im creating a bar chart dynamically in AS and i need an easy way to
  transform it to stacked chart. i tried the obvious thing 
  myChart.type = stacked but it doesn't work. also i tried with BarSet
  and it still doesn't work.
  
  any ideas?
  
  thanks in advance!
 





[flexcoders] Help needed! change PopUpButton/ComboBox arrow position

2006-12-25 Thread vigen2000
Hi there!

I'm trying to create a PopUpButton like the one in the new windows
media player 11. there is a small arrow on the bottom of the button
that opens a list/menu. a click on the main button area causes another
action. it seems to have the exact same behavior as the popupbutton
except for the arrow button placement and height. i tried to extend
the popupbutton but with no success.

any ideas? suggestions?

help...

vigen



[flexcoders] Re: Cairngorm 2.1 - calling a webservive more than once

2006-12-25 Thread rd_grimes

I do believe that is the problem. In fact, I don't think it's just a
cairngorm issue because I had the same problem without using cairngorm.
I would call a web service to load a combobox of county names whenever
the state combobox selection was changed. It would work the first two
times and fail on the third. I finally figured that perhaps it didn't
like me loading the wsdl multiple times, which was actually dumb of me
to do anyway. So, I rewrote the function as follows. Maybe you can do
something similar:

public function loadCounties():void

{

if (states_cb.selectedIndex == 0) return;



// create getCounties Object with

// 'Session' and 'State' properties

if (!getCountiesWSCreated)

{

   getCountiesWSCreated = true;

   getCounties.Session = sessionID;



   // define the getCountiesWS web service, load the

   // wsdl and then execute the operation, passing to

   // it the above defined getCountiesWS object.

   getCountiesWS.useProxy = false;

   getCountiesWS.GetCountiesOperation.addEventListener(result,
getCountiesResultHandler);

   getCountiesWS.GetCountiesOperation.resultFormat = 'e4x';

   getCountiesWS.addEventListener(fault, getCountiesFaultHandler);

  
getCountiesWS.loadWSDL('https://www.myserver.com/GetCounties.wsdl');



}

getCounties.State = states_cb.selectedItem.data;

getCountiesWS.GetCountiesOperation(getCounties);

}



Ron


--- In flexcoders@yahoogroups.com, Robin Burrer [EMAIL PROTECTED] wrote:

 Hi Dirk,



 That might be the reason indeed. I had the loadWSDL in my delegate
just
 before I call the method of the webservive.

 I guess I should be in the Services.mxml. I can't really figure out
 where to put it though



 Robin



 

 From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]
On
 Behalf Of Dirk Eismann
 Sent: Thursday, 21 December 2006 6:30 PM
 To: flexcoders@yahoogroups.com
 Subject: RE: [flexcoders] Cairngorm 2.1 - calling a webservive more
than
 once



 Any change you're calling loadWSDL() more than once on your WebService
 instance? This could be the reason.



 Dirk.




[flexcoders] Coloring an object..

2006-12-25 Thread genius_gen2k
Hi all,

I have a square drawn using the movieclip.graphic method. I want to 
apply color to the drawn square by selecting it. I will appreciate if 
any other alternative is there, like bitmap.

Amol.



Re: [flexcoders] How to align text in middle in a row ?

2006-12-25 Thread eren bali

it works but not for a custom column

On 12/23/06, dorkie dork from dorktown [EMAIL PROTECTED]
wrote:


  This works with List components and it should work with the datagrid.
mx:DataGrid verticalAlign=middle/

On 12/23/06, eren bali  [EMAIL PROTECTED] wrote:

 ok than set your itemrenderer to a custom hbox like this:

 HBox verticalAlign=middle 
String id=text /
Label text={text} /
 /HBox

 i did not compile this, do nop copy/paste


 On 12/19/06, arpan srivastava  [EMAIL PROTECTED] wrote:
 
textAlign attribute will place the text in horizontally in center ,
  I want to place it
  vertically in center of the row.
 
  it's like in a text box text always starts from top left corner,
  i want to start it from vertically middle of the text box
 
  - Original Message 
  From: david_gal-reyniez [EMAIL PROTECTED]
  To:  flexcoders@yahoogroups.com [EMAIL PROTECTED] ups.com
  Sent: Monday, December 18, 2006 9:11:13 PM
  Subject: RE: [flexcoders] How to align text in middle in a row ?
 
   Hi Arpan,
 
  There is an the attribute which is named textAlign for the Object
  DataGridColumn .
  Is that the information you need?
 
  David
 
   --
  *De :* [EMAIL PROTECTED] ups.com [mailto:flexcoders@ yahoogroups.
  com] *De la part de* arpan srivastava
  *Envoyé :* lundi 18 décembre 2006 16:32
  *À :* [EMAIL PROTECTED] ups.com
  *Objet :* Re: [flexcoders] How to align text in middle in a row ?
 
Sorry,
 
  I want to place the text vertically aligned in the middle.
 
  - Original Message 
  From: eren bali [EMAIL PROTECTED] com
  To: [EMAIL PROTECTED] ups.com
  Sent: Monday, December 18, 2006 7:17:55 PM
  Subject: Re: [flexcoders] How to align text in middle in a row ?
 
   set that label 100% width, and textAlign=center
 
  if this does not work use it inside a vbox
 
 
  On 12/18/06, arpan srivastava  [EMAIL PROTECTED] com[EMAIL PROTECTED]
  wrote:
  
  Hi,
   How can i center the text horizontally inside a row in a
   datagrid. I have also created an itemrenderer which extends Label, but you
   can only align the text vertically. I want it to be in center of the row.
  
    _ _ _ _ __
   Do You Yahoo!?
   Tired of spam? Yahoo! Mail has the best spam protection around
   http://mail. yahoo.com
  
  
 
 
  --
  Eren BAL(c)
  Invento Studios
 
 
   _ _ _ _ __
  Do You Yahoo!?
  Tired of spam? Yahoo! Mail has the best spam protection around
  http://mail. yahoo.com
 
   * * * * *
  * 
 
   * * * * *
  * 
 
  Coface facilite les échanges entre les entreprises partout dans le
  monde. Pour cela, elle offre à toutes les entreprises des solutions pour
  gérer, financer et protéger leur Poste clients : information et notation
  mondiale d'entreprises, gestion et recouvrement de créances , affacturage et
  assurance-crédit. Coface est notée AA par Fitch Ratings, Aa3 par Moody's et
  AA- par Standard  Poor's.
 
   Coface facilitates business-to- business trade throughout the world
  by offering companies solutions to help them manage, finance and protect
  their receivables : information and company ratings, receivables management,
  receivables finance and protection. Coface is rated AA by Fitch ratings, Aa3
  by Moody's and AA- by Standard  Poor's.
 
   * * * * *
  * 
 
 
  __
  Do You Yahoo!?
  Tired of spam? Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
 
 


 --
 Eren BALİ
 Invento Studios


 





--
Eren BALİ
Invento Studios


[flexcoders] TileList - forcing the item renderer to refresh

2006-12-25 Thread Bill Gercken
Hi, 
I have an application that has a custom item renderer based on a TileList 
(which is nothing 
more than a custom component) that contains a list of products. I have a short 
cuts page that 
has featured products that I am try to link to the items in the TileList. When 
I invoke a 
scrollToIndex(N) on the tile list the list scrolls to the proper index but does 
not refresh the 
display with the correct data. I added a dataChange listener to determine that 
the correct 
data is getting to the custom item render (and it is) but have not figured out 
how to force it 
to refresh it self. (I would think this would be automatic but is not working 
for me.)

Is there a bug associated with the TileList? I have done a lot of searching on 
this topic and 
have been unable to find a solution. 

Thanks in advance,
-bill



[flexcoders] How heavyweight is data binding?

2006-12-25 Thread Collin Peters
Merry Christmas all!

I am wondering how heavyweight databinding is.  What I have is a class
which handles all the I18N in my application.  It is a simple class
which loads an XML containing all the I18N strings and then provides a
getKey() function to grab strings out.

What I have discovered is that I can directly bind labels and such in
MXML directly to the XML i18n string.  I am wondering though if this
is a smart idea.  The completed app could have a thousand or more i18n
strings.  Would it unnecessarily stress the application to have each
one of these thousand strings setup with data binding?

I'm wondering about increased memory and CPU usage.  Not much is
gained from the binding except slightly less code and I guess the
possibility of changing all strings in the application to another
language by simply loading another XML file.  But again, I wonder how
fast this would be.

-- 
Collin Peters
Lead Software Developer


[flexcoders] Merry Christmas

2006-12-25 Thread Jason Sheedy
Merry Christmas Everyone.

http://www.jmpj.net/jason/index.cfm?mode=entryentry=AF213D78-CF1D-76B8-AFF2E65DE7235702

-- 
Jason Sheedy
www.jmpj.net





Re: [flexcoders] How heavyweight is data binding?

2006-12-25 Thread greg h

Collin,

I am not replying directly to your question asking I am wondering how
heavyweight databinding is?  For others who can comment on Collin's
question, please do.  I also am very interested to read your replies :-)

But a side question Collin, had you considered and ruled out Flex 2's
localization 
featureshttp://livedocs.macromedia.com/flex/2/docs/0898.htmlwhich
are implemented at compile time, rather than using run time bindings?
If so, and if you are willing to share, I am interested to hear what your
considerations were.

fyi ... Following is a link to another thread here on FlexCoders earlier
this month regarding localization:
http://tech.groups.yahoo.com/group/flexcoders/message/58304

g

On 12/24/06, Collin Peters [EMAIL PROTECTED] wrote:


Merry Christmas all!

I am wondering how heavyweight databinding is.  What I have is a class
which handles all the I18N in my application.  It is a simple class
which loads an XML containing all the I18N strings and then provides a
getKey() function to grab strings out.

What I have discovered is that I can directly bind labels and such in
MXML directly to the XML i18n string.  I am wondering though if this
is a smart idea.  The completed app could have a thousand or more i18n
strings.  Would it unnecessarily stress the application to have each
one of these thousand strings setup with data binding?

I'm wondering about increased memory and CPU usage.  Not much is
gained from the binding except slightly less code and I guess the
possibility of changing all strings in the application to another
language by simply loading another XML file.  But again, I wonder how
fast this would be.

--
Collin Peters
Lead Software Developer