quick update; the coordinatesStr line should be this:
var coordinatesStr:String = gml.child(gml:coordinates)[0].toXMLString();
anyway, that's what is strange. i can see the gml XML object in the
debugger and all of its nodes. i step into the coordinatesStr line
using the debugger and all is fine
Hi -
I'm trying to resize an image when a user resizes a TitleWindow
component (I'm using a custom Sizeable TitleWindow component).
I don't have a width or height set on my custom component but all
containers (children) have width and height set to 100%. I also have
scaleContent and
Hi,
I'm confused on how to best create a loop to do the following:
discover if each element's selected property is set to false.
Basically, I just want to detect when all elements of my array have a
selected property set to false.
Here's my code:
var numThings:int = things.length;
for (var
-sequential order.
Doug
On Tue, Jun 24, 2008 at 8:57 AM, fumeng5 [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hi,
I'm confused on how to best create a loop to do the following:
discover if each element's selected property is set to false.
Basically, I just want to detect when all
] On
Behalf Of fumeng5
Sent: Tuesday, June 24, 2008 12:39 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Looking for the right loop
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com
, Tracy Spratt tspratt@ wrote:
I think this line:
if(!numThings[i
Hi,
After a long build we're testing and noticing a lot of time out errors
and other things from remote calls to our Java services. One question
that has been posed to me that I don't know how to answer is this: how
does Flex handle someone clicking madly on a button that invokes a
remote
Hi -
I've got a DataGrid with dynamic data in it that is constantly redrawn
with new data. Sometimes a column may have no data whatsoever, but
it's still sortable.
The problem is that if I sort a column with data in it and then I sort
this column with no data in it, it still appears to be
] On
Behalf Of fumeng5
Sent: Monday, June 30, 2008 11:11 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] DataGrid Sorts on Columns with No Data???
Hi -
I've got a DataGrid with dynamic data in it that is constantly redrawn
with new data. Sometimes a column may have no data whatsoever
Hi,
I'm trying to compare 3 points but because of double precision in AS3
i'm running into some issues with trailing digits causing the numbers
to not be equal, i.e. 1.25 != 1.24999
what i'd like to figure out how to do is introduce a tolerance of say
.001. then i'd compare the test
, 2008 at 3:07 PM, fumeng5 [EMAIL PROTECTED] wrote:
Hi,
I'm trying to compare 3 points but because of double precision in AS3
i'm running into some issues with trailing digits causing the numbers
to not be equal, i.e. 1.25 != 1.24999
Thanks for the responses:
Tim, I need
Hi.
I want to set properties for each element in my ToggleButtonBar's
dataprovider, i.e. enabled, visible, etc...
Something like this:
(myToggleButtonBar.dataProvider.getItemAt(0) as Button).enabled = false;
But that doesn't work.
I know the dataprovider of a ToggleButtonBar has to be a
found my own solution:
(myToggleButtonBar.getChildAt(index) as Button).enabled
thanks for listening.
--- In flexcoders@yahoogroups.com, fumeng5 [EMAIL PROTECTED] wrote:
Hi.
I want to set properties for each element in my ToggleButtonBar's
dataprovider, i.e. enabled, visible, etc
Hi,
I'm trying to access a DataGridColumn when a user clicks on a DataGrid row. The
problem is that I'm not trying to access the column that was clicked on
I want to select a checkbox that is always in the 2nd column whether a user
clicks on the 2nd column or not. I'm having trouble
(using the collection API, or itemUpdated())
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of fumeng5
Sent: Tuesday, April 14, 2009 9:56 AM
To: flexcoders@yahoogroups.com
as XMLListCollection;
coll.itemUpdated(oItem); //this is required when you directly set an item
property
}
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of fumeng5
Sent: Tuesday, April
;
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of fumeng5
Sent: Tuesday, April 14, 2009 3:48 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Access DataGridColumn on DataGrid
Hi,
It seems that whenever I have an HBox itemRenderer for a DataGridColumn, and I
place an image in that itemRenderer, that DataGrid column doesn't highglight
correctly. For instance, there's only a thin line that covers that column.
However, the rest of the rollovers for all other columns
helpful tips.
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Hi,
It seems that whenever I have an HBox itemRenderer for a DataGridColumn, and
I place an image in that itemRenderer, that DataGrid column doesn't
highglight correctly. For instance, there's only a thin line
Hi,
I am importing 4 swc files; a left arrow, right arrow, up arrow, and down
arrow.
The problem is that the right arrow displays as the left, and the down as the
up arrow.
When I preview the SWC files in their corresponding SWF files they look right.
Has anyone else experienced problems
Hi --
I want to output a variable and hardcoded text in the htmlText property of a
Text component.
Here's what I tried first:
content.htmlText = bThe account + this.acctName + has been created /b.
('acctName' is a private var that has accessor methods to get/set it.)
That didn't work,
sure your acctName is not blank.
On Thu, Apr 30, 2009 at 9:55 AM, valdhor valdhorli...@...wrote:
What do you mean by That didn't work?
--- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com,
fumeng5 fumeng5@ wrote:
Hi --
I want to output a variable and hardcoded
do this in ActionScript:
content.htmlText = {msgString}
You have to do this:
content.htmlText = msgString
The {} syntax is to bind a variable in MXML.
Also, For the above, the variable does not need to be bindable.
--- In flexcoders@yahoogroups.com, fumeng5 fumeng5@ wrote
created?
--- In flexcoders@yahoogroups.com, fumeng5 fumeng5@ wrote:
Ok, I see what you're saying. So here's the constructor for my component
that is responsible for all this:
public function CreateAcctDialog()
{
super();
init
runs before you get a chance to set acctName.
--- In flexcoders@yahoogroups.com, fumeng5 fumeng5@ wrote:
The String I'm constructing is inside a PopUp dialog bog. I set it from
another component a la:
private function createAcct():void {
acctDialog.acctName = accountName
Hi,
I've got something that I'm trying to troubleshoot and I can't figure it out. I
have an XML file full of elements, i.e.
Class
Class_ID1/Class_ID
Class_NameFirst Class/Class_Name
/Class
Class
Class_ID2/Class_ID
Class_NameSecond Class/Class_Name
/Class
Class
Class_ID11/Class_ID
, and then just sort the dataProvider.
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of fumeng5
Sent: Friday, May 01, 2009 3:15 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders
what I want? Any tip in the right
direction is greatly appreciated.
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Hmmm...I didn't know about the Repeater component, that's quite useful.
However, I should have explained that I'm not working with all the same
components
?
Tracy Spratt,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of fumeng5
Sent: Saturday, May 02, 2009 11:58 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Sorting VBox elements based
,
Lariat Services, development services available
_
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of fumeng5
Sent: Saturday, May 02, 2009 5:19 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Sorting VBox elements based on an XML ID
: +33601 822 056
2009/5/3 fumeng5 fume...@...
Wow, works like a charm; big thanks.
And if I want to test it against IDs with 3 characters I'm thinking that
RegExes are the way to go. Here's what I've got that isn't quite working.
var currentID:String = item.id.toString();
var
SOLVED: I was using the right RegEx expression but on the wrong elements. I had
it backwards.
The solution is this:
var pattern:RegExp = new RegExp('^' + activeID + .*);
pattern.test( currentID )
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Thank you. That expression
Hi,
I have an HBox with a borderSkin property set to a Class I found that draws
dashed borders.
var imageContainer:HBox = new HBox();
imageContainer.setStyle('borderSkin',com.skins.DashedBorder);
When you click on/off the skin I want to toggle the borderSkin property, i.e.
remove the dashed
);
}
}
}
Hope that helps someone.
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Hi,
I have an HBox with a borderSkin property set to a Class I found that draws
dashed borders.
var imageContainer:HBox = new HBox();
imageContainer.setStyle('borderSkin',com.skins.DashedBorder
Hi,
I'm looking for help writing an algorithm in a filter function I am using.
Here's the situation: Based on a page number and a number of records per page,
I want to return all indexes that fall within a certain range. There are 4
records per page.
For example;
- page 1 will return
: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of fumeng5
Sent: 29 May 2009 15:59
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Need help writing alorithm
Hi,
I'm looking for help writing an algorithm in a filter function I am
using. Here's
Hi,
I have to devise an ID naming system that'll support lists that are 4-levels
deep. At any one time, I need to know at what level an element is. I have it up
to 3-levels but don't know how to do a 4th. In fact, it's starting to look like
a mess to me and I think I'm overcomplicating it.
Hi,
I have a filter function for an array collection that I'm working with. In this
scenario, I start with an ID such as '1'. Based on that, I want to return
'1_1', '1_2', etc... Basically, an underscore followed by 1 digit.
Here's the code:
var currentID:String = item.id.toString(); // i.e.
of the string as well.
if(currentID.length == testID.length + 1 pattern.exec(currentID))
--- In flexcoders@yahoogroups.com, fumeng5 fumeng5@ wrote:
Hi,
I have a filter function for an array collection that I'm working with. In
this scenario, I start with an ID such as '1'. Based
Hi,
I am creating a number of buttons with a repeater but I don't want them all in
one container. Basically, I want 3 rows. How do I accomplish this? Every
Repeater example I see has its elements wrapped in a simple VBox or HBox.
Thanks for any tips...
in it and then repeat the component.
--- In flexcoders@yahoogroups.com, fumeng5 fumeng5@ wrote:
Hi,
I am creating a number of buttons with a repeater but I don't want them all
in one container. Basically, I want 3 rows. How do I accomplish this? Every
Repeater example I see has its elements
Hi --
I'm trying to add a close button to a tab in a TabNavigator component. I
searched the archives and found a post that is nearly 4 years old and was
hoping there was something newer.
My Tab is a VBox and I set its icon property to an image. But that image
appears to the left; how can I
Just what I was looking for; thank you.
--- In flexcoders@yahoogroups.com, Tom McNeer tmcn...@... wrote:
Take a look at Doug McCune's SuperTabNavigator. It can have a close box and
lots of other stuff.
Here's a blog
Hi -
When I set the styleName for a SuperTabNavigator, the default 'x' close button
disappears; rather, it turns into a radioButton looking circle. I searched for
a solution and found something posted by Doug McCune with a solution to define
a custom tabCloseButtonStyleName. I did this and it
SOLVED: If I change where I put the tabCloseButtonStyleName declaration, it
works. You seem to need to put it in the declaration for the lastTabStyleName.
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Hi -
When I set the styleName for a SuperTabNavigator, the default 'x
Hi,
I have an ArrayCollection that I use as a dataProvider for a DataGrid. To
enable paging, I filter the collection. The problem is that I have another
filter function for that collection where a user can retrieve rows via string
search.
This works fine except when the search returns
Hi,
I'm writing XML for an AnyChart component and I am having troubles setting the
value of a node attribute to a dynamic element, i.e.
// The method accepts a DTO
private function createSemiCircularGaugeXML( gauge:GaugeDTO ):XML
// I can write it here
text{gauge.label}/text
// But not here
Hi -
I'm using an AdvancedDataGrid with a rendererProvider of another DataGrid;
meaning when you expand a row another DataGrid appears. I found documentation
online that shows how to create the appropriate multidimensional array to feed
both DataGrids. The array looks like this:
private var
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Hi -
I'm using an AdvancedDataGrid with a rendererProvider of another DataGrid;
meaning when you expand a row another DataGrid appears. I found documentation
online that shows how to create the appropriate multidimensional
Hi -
I'm trying to pass custom data into an AdvancedDataGridRendererProvider
instance.
From what I've read this is not possible, but has anyone had any success with
it?
Thanks,
Matt
Hi -
I'm trying to pass custom data into an AdvancedDataGridRendererProvider
instance.
From what I've read this is not possible, but has anyone had any success with
it?
Thanks,
Matt
Hi -
I'm trying to pass custom data into an AdvancedDataGridRendererProvider
instance.
From what I've read this is not possible, but has anyone had any success with
it?
Thanks,
Matt
2009, fumeng5 wrote:
I'm trying to pass custom data into an AdvancedDataGridRendererProvider
instance.
Normally, the renderer would only be using data from the data grid's
dataProvider.
What are you trying to do ?
--
Helping to elementarily develop web-enabled 24/7 ubiquitous
Hi,
I set a styleFunction for my AdvancedDataGrid:
private function styleRows(data:Object, column:AdvancedDataGridColumn):Object{
return {
verticalAlign:'middle',
backgroundColor:0xeaeaf4,
);
graphics.beginFill(0xeaeaf4, 1);
graphics.drawRect(0,0,unscaledWidth, unscaledHeight);
}
}
}
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Hi,
I set a styleFunction for my AdvancedDataGrid:
private function styleRows(data:Object
Hi,
If I have an AdvancedDataGrid, can I use more than one render provider?
For example, my first group will have a render provider that displays a row of
charts with a row of dropdown menus underneath.
My second group will have a render provider that displays two rows of charts.
Can I do
Hi,
I have an AdvancedDataGrid with a Grouping Collection to make my flat data into
a hierarchy.
I also have another column of data next to (on the same level) as the group. I
need to access the column data there but I can't and I'm guessing it's because
the dataProvider is now restructured
I can do it this way but it seems totally wonky to me:
i override set data():
var appListData:AdvancedDataGridListData = AdvancedDataGridListData(listData);
(appListData.owner as AdvancedDataGrid).dataProvider.source.source
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Hi,
I
next to them.
Is that possible? I know that renderProviders accepts an array of renderers,
but I don't see how it's possible to assign to a specific row, only a column.
Thank you,
Matt
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Hi,
If I have an AdvancedDataGrid, can I
Hi,
I'm trying to expand the first row of my AdvancedDataGrid column when it is
loaded with my XML data. I've found plenty of examples online that show how to
do it from a click event, but nothing on init of the grid. I've tried the
initialize method, the setter of my dataProvider method but
just not sure why this might be happening. I mean, I'm using callLater..Any
ideas?
--- In flexcoders@yahoogroups.com, fumeng5 fume...@... wrote:
Hi,
I'm trying to expand the first row of my AdvancedDataGrid column when it is
loaded with my XML data. I've found plenty of examples online
Hi,
I'm trying to create a hierarchical collection for my AdvancedDataGrid. My
array will be made up of DTOs. As of right now there are only two groups and I
try to build the array like this:
var masterArray:Array = new Array([],[]);
masterArray[0] = categoryDTOColl[0];
masterArray[0][0] =
extend the AdvancedDataGridGroupItemRenderer
and re-position the disclosureIcon, etc..but when using hierchical data, you
can't...or at least I haven't figured it out. It's because you can't extend
AdvancedDataGridItemRenderer with any styling.
Matt
--- In flexcoders@yahoogroups.com, fumeng5 fume
Hi,
I have an AdvancedDataGrid. When you expand a row, a horizontal list of charts
displays. The row is about 200px tall.
When you collapse the row, I don't want it to collapse all the way. Instead,
I'd like to collapse it to about 50px tall and render a much smaller version of
the chart ( a
I just perused the AdvancedDataGrid class in the hopes of overriding the
itemOpen and itemClose handlers but I don't see anything in there that'll help
me in preventing the entire thing from collapsing. It's the same thing with
HierarchicalCollectionView openNode() and closeNode() methods. I
64 matches
Mail list logo