I have a list control with a custom cell renderer inside a repeater
object. I want the list's height to be dynamic based on the no. of
filled rows. Is it possible?
Thanks in advance...
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search
Hello,
Yes, very much so!
Once you have established that the list has been rendered from the dataProvider, call
myList.height = myList.calculateHeight();
signature::
public function calculateHeight(index:int = -1, count:int
= 0):Number
See the docs at ListBase. Adobe really kicked *^ on
On 3/12/06, Robs [EMAIL PROTECTED] wrote:
I have a list control with a custom cell renderer inside a repeater
object. I want the list's height to be dynamic based on the no. of
filled rows. Is it possible?
I think you can simply set `rowCount` to `dataProvider.length`.
Manish
--
Flexcoders
Manish,
I guess my solution came from more of a component developers
perspective. I have actually had use for this with TileList subclasses
etc. If your solution works, that is an EASY answer for him ;-)
Peace, MikeOn 3/12/06, Manish Jethani [EMAIL PROTECTED] wrote:
On 3/12/06, Robs
Okay, when you said color, I think this is what you were looking for:
color={dataObject.totalsRow ? 'red' : 'white'}
No it is the background I want changed. However the above example with
color also causes the results to go so something is awry
My cell renderer(careerRowRenderer) is this
Hi,I post two days ago about the need to use new flash embed fonts (advanced antialias for redability) within a flex 1.5 application. As I consider this an important topic thought about to repost so people that didn't see it could now read about it.
I was trying to figure a system where I could
On 3/12/06, yaagcur [EMAIL PROTECTED] wrote:
My cell renderer(careerRowRenderer) is this
mx:VBox xmlns:mx=http://www.macromedia.com/2005/mxml; xmlns=*
backgroundColor={dataObject.totalsRow ? 'red' : 'blue'}/
So where exactly does your VBox display the data? You need to have
something like a
Flexcoders Frequently Asked Questions
Last Updated: 30th May 2005
Contributors:
Matt Chotin, Steven Webster, Alistair McLeod, Tariq Ahmed, Jeff Tapper,
We have a pretty relaxed attitude to job postings on
flexcoders; if active members of the list want to make a post that says "hey, my
company is hiring looking for a flex developer, are any of you interested ?"
then that's more than fine.
However, to avoid the "J2EE jobs" postings, we
I've got a working sample set up, here:http://criticalpile.com/blog/index.cfm/2006/3/6/Webservices-in-Flex-2-beta--ColdFusion
One example is for ArrayCollection to handle Array return type.ScottOn 3/10/06, phatboychatter
[EMAIL PROTECTED] wrote:
Where is the documentation on handling a
Can you share the code for your VO type?I've got a simple webservice example set up here:http://criticalpile.com/blog/index.cfm/2006/3/6/Webservices-in-Flex-2-beta--ColdFusion
ScottOn 3/11/06, mvbaffa [EMAIL PROTECTED] wrote:
Hi everybody,
I am using Flex 2 Beta 1.
I am receiving a VO
--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
On 3/12/06, yaagcur [EMAIL PROTECTED] wrote:
So where exactly does your VBox display the data? You need to have
something like a Label in there.
mx:Label text={dataObject[DataGridListData(listData).dataField]}
I pointed that person to 'cflex' per Ryan's suggestion and gave her Tariq's email address @ cflex to follow up. She was looking for someone with Flex and Java experience in SF bay area ... There seems to be some unmet demand for Flex + Java developers. Steven Webster [EMAIL PROTECTED] wrote:
1.5 or 2.0? In 1.5 it's harder to set up, in 2.0 did you look at the
AsyncHelper stuff?
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of posttoumesh
Sent: Friday, March 10, 2006 4:16 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders]
You might have better luck using some of
the TreeDataProvider methods rather than referring to the XML methods
directly. Check for TreeDataProvider in the ASDoc.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of riddhima taluja
Sent: Thursday,
Sorry, I really dont get it. So
you have a Project that extends ObjectProxy (this is because you want to
monitor property access I guess). So now would you really be returning a
subclass of Project? Or is the deal that the object within the
ObjectProxy has a concrete type that you want
1.5 or 2.0? In 1.5 the TreeDataProvider interface (which your
dataProvider will implement) has a getParent method. In 2.0 we don't
have an abstracted way of getting the parent. If you have XML then you
can just use the parent() method.
Matt
-Original Message-
From:
I've forwarded this on for folks to look into.
Thanks,
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of pasflex
Sent: Friday, March 10, 2006 8:47 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Prob]lem with wordwrap - flex 1.5
Have you checked out this article by
Brian: http://www.macromedia.com/devnet/flex/articles/security_framework.html?
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Jonathan Miranda
Sent: Friday, March 10, 2006 10:09
AM
To:
http://www.jessewarden.com/archives/2005/12/amfphp_10_works.html
This is for the alpha, not beta, not sure what might be different.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of mvbaffa
Sent: Friday, March 10, 2006 10:23 AM
To:
I didnt find a documented
workaround, the suggestion I gave came from Alex who would know J So wed need to
see a small example for further help at this point or you can try to go through
support.
Matt
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On
I filed a bug.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Matt
Chotin
Sent: Friday, March 10, 2006 11:41
AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Re: FB2
:: Error subclass :: What is 'native' attribute FB2 inserts
Have you tried doing the AS example without Flex involved? Based on
everything I can see I think it looks OK.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Benoit Hediard
Sent: Friday, March 10, 2006 11:51 AM
To: flexcoders@yahoogroups.com
So far when weve seen this its
been because the namespace declaration was missing in the WSDL that would line
up the GetCitiesResponse with the method. So go through your produced WSDL
carefully and make sure that the namespaces match up correctly.
Matt
From:
Have you looked at the Chart Explorer?
http://weblogs.macromedia.com/flex_samples/charts_explorer/explorer.html
. There's a time axis in there.
Matt
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of nulloperator
Sent: Friday, March 10, 2006 2:22
This may be because you received a single
item instead of an array. You may need to use mx.utils.ArrayUtil.toArray on
your result.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Abdul Qabiz
Sent: Saturday, March 11, 2006
8:00 AM
To:
Hey Matt,
Thanks for helping us out here. We opened a support case on
Friday. We'll post the resolution here when we get it.
Thanks,
Carson
Carson Hager Cynergy Systems, Inc. http://www.cynergysystems.com
Email:
[EMAIL PROTECTED] Office:
If you dont need to parse the HTML
as XML (i.e., you can take it as a blob of text) then HTTPService would allow
you to do it with a resultFormat=text. The problem with leaving
the resultFormat as e4x or object is that your HTML may not be valid XML. If
it is valid XML then you can take
Thanks,
I'm using 1.5, I tried to use the rowIndex as it returned the parent
row, but this is a bit unpredictable. I'll try the getParent, how
would I use this? On a cellPress event?
Cheers,
Iain
--- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote:
1.5 or 2.0? In 1.5
The events usually have properties that give you the node itself. Then
call getParent() on the node and you'll get it.
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of digital_eyezed
Sent: Sunday, March 12, 2006 3:02 PM
To:
Thanks Matt,
Yeah re-reading my post it dosn't make much sense.
You know I am in the labratory ;-) Testing and messing around with
thoughts. Basically, I have a mySQL record that I wanted to use as the
internal object. Once you load the result, a project IS the record and
a Project class is
Tonight is the first meeting of the year and it starts
with the new study group weekly meeting format. With the study group
format, members are asked to study some aspect of the Flash Platform
prior to the meeting (see http://www.flashdev.org.au/program). At the
meeting, the moderator will lead
Can anyone offer a simple example of the view helper pattern? I understand the
gist of it, but can only find explanations for Java in which i get a little
lost with javaisms. A flex orinetated sample or metaphoric explanation i think
should help.
Cheers,
Dan
This message and any attachments
That article should work for 1.5. Well
need to update the exact details for 2.0 but the ideas behind it are the same.
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Oriol Gual
Sent: Sunday, March 12, 2006 4:57
PM
To:
Are you talking about our article? It will be for
Flex 2.0 but will be 100% compatible with Flex 1.5.There is no date yet
but I see it coming out pretty soon. I know we have at least 2 UI best practices
articles coming out first but this particular article was very well received so
I'm
You know you might want to consider
looking into DataServices too if the idea is keeping things like your Projects
in sync with the server. It takes care of monitoring property changes for you
for example.
Matt
From: flexcoders@yahoogroups.com
On 3/13/06, yaagcur [EMAIL PROTECTED] wrote:
--- In flexcoders@yahoogroups.com, Manish Jethani
[EMAIL PROTECTED] wrote:
On 3/12/06, yaagcur [EMAIL PROTECTED] wrote:
So where exactly does your VBox display the data? You need to have
something like a Label in there.
mx:Label
37 matches
Mail list logo