[flexcoders] Flex address/handle for toString() tracing

2010-01-14 Thread yaksaver
Hi, How can one programmatically retrieve the address / handle that is seen in Flex Debugger? Example: flash.system.ApplicationDomain (@788d1f1) Background: Classes without an explicit toString() method give the default Object String (e.g. [object ApplicationDomain]) for trace() or logging

[flexcoders] styleFunction on adv datagrid

2010-01-14 Thread Nick Middleweek
Hello, I've got a groupingCollection as the dataProvider for my adv data grid (ADG) and I've got a styleFunction attached to the ADG to set the text color to grey. The groupingCollection is collapsed to start with and when I expandthe tree nodes, the rows come into show but they are rendered in

[flexcoders] Re: styleFunction on adv datagrid

2010-01-14 Thread valdhor
Have you tried using an item renderer instead? --- In flexcoders@yahoogroups.com, Nick Middleweek n...@... wrote: Hello, I've got a groupingCollection as the dataProvider for my adv data grid (ADG) and I've got a styleFunction attached to the ADG to set the text color to grey. The

Re: [flexcoders] Flex address/handle for toString() tracing

2010-01-14 Thread Alex Harui
There is no API for it. Maybe someday On 1/14/10 5:03 AM, yaksaver yaksa...@yahoo.com wrote: Hi, How can one programmatically retrieve the address / handle that is seen in Flex Debugger? Example: flash.system.ApplicationDomain (@788d1f1) Background: Classes without an explicit

[flexcoders] Problem working with webservices and exceptions

2010-01-14 Thread Jorge Silva
Hi everyone! I have a problem when working with webservices and backend exceptions. This is the situation: I have a backend written in Java, and a frontend in Flex 3, both connected through web services. For the TOs (transfer objects) I use the Import Web Services tool provided by Flex Builder.

[flexcoders] asdoc Error: Property is write-only.

2010-01-14 Thread Mike
I'm having an issue with asdoc. I've tried asdoc.exe from SDK 3.2, 3.3 and 3.5; the same error always appears: Error: Property is write-only. [exec] Math.pow(10, 2); [exec] ^ I've tried putting that statement in other files, and it does not generate an error.

[flexcoders] What server do I put my crossdomain.xml file on?

2010-01-14 Thread Matthew
Hi - I have a Flex app that uses an HTTPService to call a Servlet. The servlet retrieves a file on another domain and passes back to Flex where they are prompted by a Windows dialog to either save or open it: It works fine locally. When deployed, I get this error: Error #2044: Unhandled

[flexcoders] Re: A strange observation on TextInputs

2010-01-14 Thread s_grollins
Yea it only happens with Firefox for me too (at least with the app I'm working on right now). --- In flexcoders@yahoogroups.com, tc todd.fol...@... wrote: I have noticed this and also that arrow up and arrow down will jump two rows at a time instead of one. (I don't remember which

[flexcoders] Re: asdoc Error: Property is write-only.

2010-01-14 Thread Mike
I also get the same error any time Math.ceil() or Math.floor() is used in another file. Math.min() and Math.max() do not generate the error message.

[flexcoders] flex 4 text styling

2010-01-14 Thread Ariel J
In the language reference, I see styles such as fontSharpness and fontAntiAliasType for Label, but I am not seeing them as styles for the spark Label or RichText. Are they no longer being used?

[flexcoders] apply style in newly created component

2010-01-14 Thread hworke
Hi I am trying to apply style in a newly created component but since it is not instantiated it gives me error message. My code is like this: var button:Button = new Button; button.setStyle(styleName, myStyle); canvas.addChild(button); I need to create

[flexcoders] Flex4: getChildById or getElementById

2010-01-14 Thread ondina_fd
Hi, Oftentimes I need to check if a component( for example a TextInput) exists before populating it with data. The getChildByName()is the only method I know of that can do this. I wish there was a getChildById() as well, so I wouldn't have to set the name for all my components( could be

[flexcoders] flex-iframe (resize panel container based on html doc height)

2010-01-14 Thread flexfortress
I have been tasked with a proof of concept for a Flex application, and I've been asked to render html within a panel and have the panel resize during runtime depending upon the height of the html content. I've check out the code for Christophe's exmaple - which is a good start:

[flexcoders] Re: Flex Video and Firefox Issue

2010-01-14 Thread arocheking
In case someone else has this same problem. Here is the solution. set apache to turn off gzip compression in httpd.config (or could do it in .htaccess) we added m4v to the following line. # Don't compress images SetEnvIfNoCase Request_URI \ \.(?:gif|jpe?g|png|m4v)$ no-gzip dont-vary OR more

[flexcoders] Displaying additional child nodes in Datatip

2010-01-14 Thread Monette
The line chart displays multiple series created with the seriesDataFunction (assigning the x and y points). The XML file includes additional child nodes per item that I would like to include in the datatip. How do I include those items? When I use o.item.rate, it lists all the rates for each

[flexcoders] Flex4: getChildById or getElementById

2010-01-14 Thread Ondina F
Hi, Oftentimes I need to check if a component( for example a TextInput) exists before populating it with data. The getChildByName()is the only method I know of, that can do this. I wish there was a getChildById() as well, so I wouldn’t have to set the name for all my components( could be

[flexcoders] Help: Line chart multiple series datatip

2010-01-14 Thread Monette
I assigned the y and x axis to each series in a line chart. I need to include additional information for each datapoint in the datatip from the XML file. How can this be accomplished? Thanks.

[flexcoders] Flex4: getChildById or getElementById

2010-01-14 Thread ondina_fd
Hi, Oftentimes I need to check if a component( for example a TextInput) exists before populating it with data. The getChildByName()is the only method I know of that can do this. I wish there was a getChildById() as well, so I wouldn't have to set the name for all my components( could be

[flexcoders] Re: Help: Line chart multiple series datatip

2010-01-14 Thread turbo_vb
Think that you're looking for the dataTipFunction. -TH --- In flexcoders@yahoogroups.com, Monette monett...@... wrote: I assigned the y and x axis to each series in a line chart. I need to include additional information for each datapoint in the datatip from the XML file. How can this be

[flexcoders] Re: Displaying additional child nodes in Datatip

2010-01-14 Thread turbo_vb
If the dataTipFunction doesn't give you enough flexibility, you could try a dataTipRenderer. In either case, you can drill down to the child nodes there. -TH --- In flexcoders@yahoogroups.com, Monette monett...@... wrote: The line chart displays multiple series created with the

RE: [flexcoders] flash player 10 problem for Flex textinput in Chinese

2010-01-14 Thread Gordon Smith
What control are you using? mx:TextInput? s:TextInput? - Gordon From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bsyyu Sent: Tuesday, January 12, 2010 9:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] flash player 10 problem for Flex textinput in

RE: [flexcoders] flex 4 text styling

2010-01-14 Thread Gordon Smith
Flash Player 10 introduced a new text system known as FTE (the flash.text.engine classes). It also continues to have the old TextField class. So there are basically two text systems, with their own ways of doing text formatting. They have some formats in common, but each also has formats of

RE: [flexcoders] Flex4: getChildById or getElementById

2010-01-14 Thread Gordon Smith
You can write code like if (mycomponent in this) { this[mycomponent].doSomething() } to avoid an FTE with mycomponent does not exist. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ondina F Sent: Thursday, January 14, 2010

RE: [SPAM] [flexcoders] What server do I put my crossdomain.xml file on?

2010-01-14 Thread Tracy Spratt
I am fairly certain that it will need to go on the server that is hosting the servlet, since that is the only domain that the FlashPlayer is going to know about. That would be: http://da803299:8080 http://da803299:8080/ . I am not sure how the sandbox handles port specifications in the url,