[flexcoders] Avoiding scroll in List Control

2006-03-12 Thread Robs
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

Re: [flexcoders] Avoiding scroll in List Control

2006-03-12 Thread Michael Schmalle
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

Re: [flexcoders] Avoiding scroll in List Control

2006-03-12 Thread Manish Jethani
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

Re: [flexcoders] Avoiding scroll in List Control

2006-03-12 Thread Michael Schmalle
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

[flexcoders] Re: Datagrid row highlighting and locking (Flex2)

2006-03-12 Thread yaagcur
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

[flexcoders] Flash 8 Fonts in Flex 1.5 [repost]

2006-03-12 Thread Carlos Rovira
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

Re: [flexcoders] Re: Datagrid row highlighting and locking (Flex2)

2006-03-12 Thread Manish Jethani
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] File - flexcodersFAQ.txt

2006-03-12 Thread flexcoders
Flexcoders Frequently Asked Questions Last Updated: 30th May 2005 Contributors: Matt Chotin, Steven Webster, Alistair McLeod, Tariq Ahmed, Jeff Tapper,

RE: [flexcoders] Flex job posting ...

2006-03-12 Thread Steven Webster
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

Re: [flexcoders] WebService - Returning a complex object

2006-03-12 Thread Scott Langeberg
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

Re: [flexcoders] Cast Results from WebServices

2006-03-12 Thread Scott Langeberg
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

[flexcoders] Re: Datagrid row highlighting and locking (Flex2)

2006-03-12 Thread yaagcur
--- 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]}

RE: [flexcoders] Flex job posting ...

2006-03-12 Thread dos dedos
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:

RE: [flexcoders] FlexUnit test case not returning result from service call

2006-03-12 Thread Matt Chotin
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]

RE: [flexcoders]To disable the nodes of a Tree..

2006-03-12 Thread Matt Chotin
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,

RE: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors

2006-03-12 Thread Matt Chotin
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

RE: [flexcoders] Get Parent on the Tree

2006-03-12 Thread Matt Chotin
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:

RE: [flexcoders] Re: Prob]lem with wordwrap - flex 1.5

2006-03-12 Thread Matt Chotin
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

RE: [flexcoders] Remote calls and Security

2006-03-12 Thread Matt Chotin
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:

RE: [flexcoders] Re: RemoteObject and Enterprise Services

2006-03-12 Thread Matt Chotin
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:

RE: [flexcoders] DragManager issues when running in swf inside a swf

2006-03-12 Thread Matt Chotin
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

RE: [flexcoders] Re: FB2 :: Error subclass :: What is 'native' attribute FB2 inserts

2006-03-12 Thread Matt Chotin
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

RE: [flexcoders] Flex2 : MP3 Audio player, play problem...

2006-03-12 Thread Matt Chotin
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

RE: [flexcoders] Re: WSDLResponse not resolvable

2006-03-12 Thread Matt Chotin
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:

RE: [flexcoders] Re: DateTimeAxis for use in a scheduler.

2006-03-12 Thread Matt Chotin
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

RE: [flexcoders] using httpservice

2006-03-12 Thread Matt Chotin
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:

RE: [flexcoders] DragManager issues when running in swf inside a swf

2006-03-12 Thread Carson Hager
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:

RE: [flexcoders] Integrating Flex 1.5 or 2.0 with Community Server (Telligent)

2006-03-12 Thread Matt Chotin
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

[flexcoders] Re: Get Parent on the Tree

2006-03-12 Thread digital_eyezed
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

RE: [flexcoders] Re: Get Parent on the Tree

2006-03-12 Thread Matt Chotin
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:

Re: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors

2006-03-12 Thread Michael Schmalle
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

[flexcoders] [ann] Sydney Developers Study Group Tonight

2006-03-12 Thread Chris Velevitch
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

[flexcoders] View helpers

2006-03-12 Thread Dan Thomas
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

RE: [flexcoders] Re: Authentication with Macromedia Flex

2006-03-12 Thread Matt Chotin
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:

RE: [flexcoders] Re: Authentication with Macromedia Flex

2006-03-12 Thread Carson Hager
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

RE: [flexcoders] Flex2 :: ObjectProxy subclass :: Interfacing concrete accessors

2006-03-12 Thread Matt Chotin
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

Re: [flexcoders] Re: Datagrid row highlighting and locking (Flex2)

2006-03-12 Thread Manish Jethani
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