[flexcoders] Weird font issues

2009-12-03 Thread polestar11
Hi there I'm experiencing a strange issue where when compiling & running my project with FlexBuilder, text in a custom implementation of Flex's new text-layout control periodically disappears and re-appears, or just doesn't display at all. I put this build (debug or release) up for my collegue

RE: [SPAM] RE: [SPAM] [flexcoders] Re: e4x Filtering with a variable?

2009-12-03 Thread Tracy Spratt
Aha, it is child(); So it would be: myXML.RootNode.child("Item" + i); Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tracy Spratt Sent: Friday, December 04, 2009 12:39 AM To: flex

RE: [SPAM] [flexcoders] Re: XML list empty or remove items from provider?

2009-12-03 Thread Tracy Spratt
Also, myXMLListCollection.removeAll(); Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of advancedonsite Sent: Thursday, December 03, 2009 4:32 PM To: flexcoders@yahoogroups.com Subject: [S

RE: [SPAM] [flexcoders] Re: e4x Filtering with a variable?

2009-12-03 Thread Tracy Spratt
One way is bracket notation: myXML.RootNode["Item" + i] There is another way, using a real xml method, but I don't recall it right now. Maybe elements()? Tracy Spratt, Lariat Services, development services available _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogro

[flexcoders] Re: Inline functions and Anonymous

2009-12-03 Thread cuttenv
Ok what about the second example though? Those are all named functions, but as you can see it gets messy rather quickly. In the example below would the foo function ever get garbage collected because it has all those other functions in it as well... --- In flexcoders@yahoogroups.com, Gordon Smi

RE: [flexcoders] Inline functions and Anonymous

2009-12-03 Thread Gordon Smith
I've heard that anonymous functions are significantly slower because the runtime has to create an activation frame for them. We use very few anonymous functions in the Flex framework. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf

[flexcoders] Re: Inline functions and Anonymous

2009-12-03 Thread cuttenv
--- In flexcoders@yahoogroups.com, "cuttenv" wrote: > > Hi everyone, I have a quick question. Is there any performance gain when > using an inline or anonymous function in flex?? > > For example let's say you have: > > private foo function():void{ > var btn:Button = new Button(); > var st

[flexcoders] Inline functions and Anonymous

2009-12-03 Thread cuttenv
Hi everyone, I have a quick question. Is there any performance gain when using an inline or anonymous function in flex?? For example let's say you have: private foo function():void{ var btn:Button = new Button(); var str:String = "Hello Guys"; btn.addEventListener(MouseEvent.CLICK, functio

Re: [flexcoders] Re: Deleting an Object

2009-12-03 Thread Fu Di
i do't think the way could remove the instance, if one of "UserDataModel" 's attribute was  referenced by other object.   to know the attribute was strong referenced or weak referenced is important. foodyi --- On Thu, 12/3/09, valdhor wrote: From: valdhor Subject: [flexcoders] Re: Deleting

[flexcoders] Re: XML list empty or remove items from provider?

2009-12-03 Thread advancedonsite
perfect ! --- In flexcoders@yahoogroups.com, "invertedspear" wrote: > > Easiest way is "myXMLListCollection = new XMLListCollection;" > > --- In flexcoders@yahoogroups.com, "advancedonsite" wrote: > > > > Something simple like a XML collection list I thought I could empty it out > > but have

[flexcoders] Re: XML list empty or remove items from provider?

2009-12-03 Thread invertedspear
Easiest way is "myXMLListCollection = new XMLListCollection;" --- In flexcoders@yahoogroups.com, "advancedonsite" wrote: > > Something simple like a XML collection list I thought I could empty it out > but have been searching and not found a simple way to do it. > > So how does someone clear a

[flexcoders] XML list empty or remove items from provider?

2009-12-03 Thread advancedonsite
Something simple like a XML collection list I thought I could empty it out but have been searching and not found a simple way to do it. So how does someone clear a XML collection list?

[flexcoders] e4x Filtering with a variable?

2009-12-03 Thread flexcoder2008
I have an XML structure that gets built dynamically. Nodes are constructed with a number appending the node name and the number of these nodes depends on values in a database. The structure looks like this: etc... Now I want to access a particular node using a variable.

[flexcoders] Re: Deleting an Object

2009-12-03 Thread valdhor
Just set the object instance to null. --- In flexcoders@yahoogroups.com, "Wally Kolcz" wrote: > > I have a singleton that stores user data for an application. When the user > logs out I want to delete the instance of the singleton (UserDataModel). > Can you just delete the whole Object or do yo

[flexcoders] Re: e4x Filtering with a variable?

2009-12-03 Thread invertedspear
I was just doing something similar and found help here: http://livedocs.adobe.com/flex/3/html/help.html?content=13_Working_with_XML_08.html probably best you read through there and find the solution that is specific for you. Let us know if you still need help after reviewing that. ~Mike --- In

[flexcoders] e4x Filtering with a variable?

2009-12-03 Thread flexcoder2008
I have an XML structure that gets built dynamically. Nodes are constructed with a number appending the node name and the number of these nodes depends on values in a database. The structure looks like this: etc... Now I want to access a particular node using a variable.

[flexcoders] Re: Help, please

2009-12-03 Thread Greg Morphis
Should I try uninstalled Flex Builder 2 and reinstalling it? Has no one ran into anything like this? On Wed, Dec 2, 2009 at 1:05 PM, Greg Morphis wrote: > I need help when trying to compile a Flex 2 app with SSL using Ant I > keep getting an error. I've Googled "Error: Unable to locate specified

[flexcoders] Re: remote php

2009-12-03 Thread valdhor
Did you read my response? Don't set the projects server type to anything. Create your connection manually or with a services-config.xml file. --- In flexcoders@yahoogroups.com, "gandalfhr" wrote: > > ok.. im new at this so help me out a little bit more > in order to use "bind to data" function

[flexcoders] Re: DataGrid adds extra row unexpectedly

2009-12-03 Thread invertedspear
Amy, I know I answered you privately when the group was down, but I wanted to throw the answer in here in case anyone was searching for it: When I came across this problem I found that it was a known bug. A workaround is to set the showHeader back to true, header height to 0 and the rowcount to

[flexcoders] XML problem

2009-12-03 Thread invertedspear
I am having a problem when I'm getting back an HTTPService and trying to set some XML attributes with it. It works fine the first time I handle the result, but fails to do anything after the first time. No error or anything else to give me any indication something's wrong. I know that str is bei

[flexcoders] Deleting an Object

2009-12-03 Thread Wally Kolcz
I have a singleton that stores user data for an application. When the user logs out I want to delete the instance of the singleton (UserDataModel). Can you just delete the whole Object or do you have to set each attribute (name, username, hospitalID, etc) to null?

[flexcoders] Refreshing ADG with Hierarchical Data

2009-12-03 Thread Martin Moschitz
Hi, how can I refresh the displayed data in a Datagrid when the underlying ArrayCollection changes? Calling a simple refresh (like with a simple arraycollection as a dataprovider, or with a refresh on the Grouping Collection) does not work. Also re-assigning the arrayCollection t

[flexcoders] Re: [gumbo] Nested groups and clipped contents.

2009-12-03 Thread Florian
I don't know what i did wrong but now it works... strange... --- In flexcoders@yahoogroups.com, "Florian" wrote: > > I'm just having a short question about nested groups. When i have to > groups nested and and both are clipped, why can't i see the contents of > the inner group? Is this some sort

[flexcoders] [gumbo] Nested groups and clipped contents.

2009-12-03 Thread Florian
I'm just having a short question about nested groups. When i have to groups nested and and both are clipped, why can't i see the contents of the inner group? Is this some sort of masking problem? Any suggestion?