Re: [flexcoders] dmv with flex4 and flexbuilder3 causes direction style problem

2009-06-18 Thread thomas parquier
Hi Pete, Thank you, the application compiles fine now. But there seems to be a problem with httpservice url property, which seems to work only with a '/path/to/file' format ( != 'path/to/file, which used to work with flex3 ). thomas --- http://www.web-attitude.fr/ msn :

Re: [flexcoders] dmv with flex4 and flexbuilder3 causes direction style problem

2009-06-18 Thread Pete Siviter
Hi Thomas, Glad it worked. I am afraid I don't really use httpservice as I am using amfphp for my server communications (which seems to work out the box in flex 4), but my only suggestions are to try other relative paths like ./path/to/file to see if that works? Or use a function to

[flexcoders] gumbo itemrenderer 100% size

2009-06-18 Thread Herculano Campos
hi, i have a resizable datagroup (vertical layout) and i want to have a itemrenderer with a rectangle that fits the with of the datagroup. i have tried itemrenderer width=100% or left=0 right=0 but does not work when it is resized by the states. am i doing something wrong here or is it a gumbo

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-18 Thread Amy
--- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: No response huh? Ok, you're welcome valdhor (Steve). One thing to point out is that all flex controls, containers and components extend UIComponent. AdvancedDataGridItemRenderer doesn't. I suspect there are others as well.

[flexcoders] Differences between the Mac and Win compilers

2009-06-18 Thread xelf...@rocketmail.com
Can anyone delineate the differences between the Mac and Win Flex compilers?

[flexcoders] Newb Cairngen question...

2009-06-18 Thread xelf...@rocketmail.com
I followed the three or four simple steps outlined in the instructions here: http://www.ericfeminella.com/blog/cairngen/ And I get... Buildfile: C:\inetpub\wwwroot\\cairngenTest\Cairngen 2.1\build.xml BUILD FAILED C:\inetpub\wwwroot\cairngenTest\Cairngen 2.1\build.xml:373: Unable to load a

[flexcoders] Changing the background of items in a TileList

2009-06-18 Thread Max Pimm
I need to customize the background of by items in a TileList. I've been looking through the code of tile list and i can't find a way to override the defaut rectangle that the component draws for all tiles without overriding updateDisplayList which would involve rewriting quite a bit of the

[flexcoders] Re: multiple filters on XMLListCollection how?

2009-06-18 Thread valdhor
Each of the items passed to the filter function should be objects from your data provider. You should be able to use one filter function for both criteria... private function applyColourAndSizeFilter(item:Object):Boolean { if(item.colour == All colours item.size == 12) {

[flexcoders] Rotating axis labels

2009-06-18 Thread inevative
Hey guys I am trying to rotate the lables on a chart and the examples i have looked at seem to work but not for line charts which is what i am using. Can anyone tell me if it is actually possible? Also if it is possible to have the horizontalAxis display indicator lables at certain intervals

[flexcoders] Display Server Time

2009-06-18 Thread yogesh patel
I want to display server time on front end.i am creating Date object through string returning from server side and i have used timer with 1 second interval and updating the clock ,but it shows some seconds delay after some time because timer goes slow down .How to avoid this delay of seconds?

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-18 Thread valdhor
Actually, I am still reading through Peter Ent's dissertation on the subject. From what I have learned, what I am doing is not wrong per se. It works and works very well for the smaller data sets that I use (Hundreds of rows, rather than thousands). Also, doing it the way I do is a lot more

Re: [flexcoders] Changing the background of items in a TileList

2009-06-18 Thread thomas parquier
I think you should *only* have to override the drawTileBackground function... thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056 2009/6/18 Max Pimm

Re: [flexcoders] Rotating axis labels

2009-06-18 Thread thomas parquier
fonts have to be embedded to get labels rotated. thomas --- http://www.web-attitude.fr/ msn : thomas.parqu...@web-attitude.fr softphone : sip:webattit...@ekiga.net sip%3awebattit...@ekiga.net téléphone portable : +33601 822 056 2009/6/18 inevative inevat...@yahoo.com Hey guys I am trying

[flexcoders] Fooling the runtime over type

2009-06-18 Thread Gregor Kiddie
I've seen a similar question asked on flex coders before, but it was about 2006 so things may have moved on since then! I'm trying to fool the runtime into thinking one object is of a different type. The object is of type ObjectProxy so it can handle all the calls to the object it is proxying,

[flexcoders] one to one chat

2009-06-18 Thread dev.achiever
how to achiving one to one chat in flex by using rtmp server

RE: [flexcoders] Display Server Time

2009-06-18 Thread Keith Reinfeld
displayTime = startTime_Server + (currentTime_Client - startTime_Client); Regards, -Keith http://keithreinfeld.home.comcast.net http://keithreinfeld.home.comcast.net/ _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of yogesh patel Sent:

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-18 Thread Tim Hoff
Very well, you go with that. -TH --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Actually, I am still reading through Peter Ent's dissertation on the subject. From what I have learned, what I am doing is not wrong per se. It works and works very well for the smaller data

Re: [flexcoders] Newb Cairngen question...

2009-06-18 Thread Tom Chiverton
On Thursday 18 Jun 2009, xelf...@rocketmail.com wrote: Anyone familiar? Looks like an Ant problem, rather than Cairngen. -- Helping to centrally foster synergistic dynamic cross-media collaborative m-commerce as part of the IT team of the year, '09 and '08

Re: [flexcoders] Differences between the Mac and Win compilers

2009-06-18 Thread Tom Chiverton
On Thursday 18 Jun 2009, xelf...@rocketmail.com wrote: Can anyone delineate the differences between the Mac and Win Flex compilers? None, it's all Java. -- Helping to evangelistically empower sticky open-source initiatives as part of the IT team of the year, '09 and '08

[flexcoders] Livecycle CommunicationsException: Communications link failure

2009-06-18 Thread Ward Loockx
Hello, I'm having a problem with my connections to the mysql server that are timing out(and get the communicationsException). We use autoreconnect=true when creating the connections, the problem is that whole application is crashing at this point because the connection has been lost. The

[flexcoders] Copy ToolTip to Clipboard

2009-06-18 Thread Adrian Williams
Hi all, I have a challenging little req't. We're using tooltips all over the place on our app. I need to be able to setup the tooltips so that we can have a copy button or text in the tooltip that our user can click to copy the contents of the tooltip to the system clipboard. This

Re: [flexcoders] Livecycle CommunicationsException: Communications link failure

2009-06-18 Thread Pedro Sena
I had this problem before. It's related to mysql(obviously) not to flex, but I'll try to help you. To do that, please answer some questions: 1) What is your connection timeout? 2) Are your application and database in the same machine? 3) Are you using some kind of connection pool mechanism? If

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-18 Thread Tim Hoff
Oh heck, I just can't resist. From what I have learned, what I am doing is not wrong per se. It works and works very well for the smaller data sets that I use (Hundreds of rows, rather than thousands). Also, doing it the way I do is a lot more readable. I don't see it as a bad habit - just one

Re: [flexcoders] Livecycle CommunicationsException: Communications link failure

2009-06-18 Thread Ward Loockx
Hello Pedro, Thanks for your reply! Here are the answers 1) What is your connection timeout? - connect timeout 5 2) Are your application and database in the same machine? - No (the DAO's make multiple connections to mysql servers and non of them are installed on the localhost) 3) Are you using

[flexcoders] ComboBox : HBox as ItemRenderer - textRollOverColor problem

2009-06-18 Thread cwicky99
So I have an itemRenderer which simply displays text and an image...something like: mx:HBox mx:Image / mx:Label text={data.anme} / /mx:HBox My ComboBox is configured in MXML such as: mx:ComboBox id=foo itemRenderer=MyComboRenderer / My CSS has: ComboBox {

[flexcoders] Accurate way of measuring a datagrid

2009-06-18 Thread djhatrick
My datagrid won't measure correctly, i have variable row height, but it can't seem to get it right, I don't want any scroll bars..., is there an easy way to override some function so i can get the actual rowheight of each row and determine my height correctly Thanks,Patrick Wow, i had to

[flexcoders] Re: ComboBox : HBox as ItemRenderer - textRollOverColor problem

2009-06-18 Thread cwicky99
So my fix is this: MyComboRenderer mx:HBox rollOver=onRollOver(); rollOut=onRollOut(); mx:Script ... private function onRollOver():void { lblGroup.setStyle(color, getStyle(textRollOverColor)); } private function onRollOut():void {

[flexcoders] Creating a new ListEvent - how to specify ItemRenderer?

2009-06-18 Thread flexcoder2008
I have a List that handles a Click event - the ClickEvent takes a ListEvent, and inside that handler I have access to the ListEvent's itemRenderer property. This allows me to align a button next to the row that I have clicked on. I also want to trigger this click event when the user uses the

[flexcoders] Re: Creating a new ListEvent - how to specify ItemRenderer?

2009-06-18 Thread Tim Hoff
Look at the itemFocusIn ListEvent. -TH --- In flexcoders@yahoogroups.com, flexcoder2008 djohnso...@... wrote: I have a List that handles a Click event - the ClickEvent takes a ListEvent, and inside that handler I have access to the ListEvent's itemRenderer property. This allows me to

Re: [flexcoders] Livecycle CommunicationsException: Communications link failure

2009-06-18 Thread Pedro Sena
1) Try to increase your connection timeout 2) Double check if you are releasing the connections correctly. 3) Use a connection pooling mechanism :) C3P0 is a good one and easy to use If you are using hibernate, it will be very easy to configure it. HTH On Thu, Jun 18, 2009 at 2:11 PM, Ward

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-18 Thread Tim Hoff
Yep, should have said, those that don't implement IDataRenderer, IListItemRenderer and/or IDropInListItemRenderer manually. Nice snype. -TH --- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, Tim Hoff TimHoff@ wrote: No response huh? Ok,

[flexcoders] Re: Creating a new ListEvent - how to specify ItemRenderer?

2009-06-18 Thread Tim Hoff
The list has to editable in order to use that event though. -TH --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Look at the itemFocusIn ListEvent. -TH --- In flexcoders@yahoogroups.com, flexcoder2008 djohnson29@ wrote: I have a List that handles a Click event - the

[flexcoders] Re: Copy ToolTip to Clipboard

2009-06-18 Thread valdhor
Doesn't ring any bells for me. Just a thought... The tooltip is context sensitive (ie. it depends on where the mouse is an any particular moment). How about adding a context menu on that item with a Copy Tooltip menu item ? --- In flexcoders@yahoogroups.com, Adrian Williams adri...@...

[flexcoders] Adding Repeater elements to different containers

2009-06-18 Thread fumeng5
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...

[flexcoders] Re: Accurate way of measuring a datagrid

2009-06-18 Thread Tim Hoff
Hi Patrick, private function resizeDataGrid():void { myDataGrid.height = myDataGrid.measureHeightOfItems(0, myDataGrid.dataProvider.length) + myDataGrid.headerHeight + 2; } mx:DataGrid id=myDataGrid valueCommit=resizeDataGrid() -TH --- In flexcoders@yahoogroups.com, djhatrick

[flexcoders] matrix help

2009-06-18 Thread grimmwerks
Ok I must be having a brain fart here. Imagine two opposing rectangles; as one scales UP the other scales DOWN - ie as one scales up 10% the other scales DOWN 10%. How's the best way of doing that using matrices? I seriously must be missing something simple...

[flexcoders] Re: Adding Repeater elements to different containers

2009-06-18 Thread valdhor
Create a custom component with the button in it and then repeat the component. --- In flexcoders@yahoogroups.com, fumeng5 fume...@... 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

[flexcoders] Re: Binding two elements in a single datagrid column

2009-06-18 Thread Tim Hoff
Actually, its ILayoutManagerClient that supports validateProperties(), validateSize() and validateDisplayList(). I'll get it right one of these days. :) -TH --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: Yep, should have said, those that don't implement IDataRenderer,

[flexcoders] Re: Adding Repeater elements to different containers

2009-06-18 Thread fumeng5
Thank you, that's a very good idea. I also just did it by creating a Repeater for each row; and each Repeater has a sliced subset of the main dataProvider collection. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Create a custom component with the button in it and then

[flexcoders] Remoting Question

2009-06-18 Thread Ben Densmore
I have an app that I'm having some issues accessing a session variable that is set in ColdFusion. I think it's due to my services-config.xml file having the flexgateway url set to have the www. If I'm at www.mydomain.com I can make the remoting call and have the cfc return the session

Re: [flexcoders] matrix help

2009-06-18 Thread grimmwerks
Argh. Still can't get it - like if I have something coming in from 1 to 4 (ie 1.1, 1.2, 1.3 etc) - I can make the one image scale UP fine but can't figure out how the other image scales down the same percentage... On Jun 18, 2009, at 3:38 PM, grimmwerks wrote: Ok I must be having a

[flexcoders] Accurate way to measure variable row datagrid

2009-06-18 Thread djhatrick
Is there an accurate way to measure a datagrid's height with variable row height? Can I extend datagrid and extend something to find this property? By the way, are other people having issues with posts not showing up on flexcoders? What's the delay before something shows up, I forget who

[flexcoders] Re: multiple filters on XMLListCollection how?

2009-06-18 Thread munene_uk
Thanks for the reply...how would the above example work for criteria that comes dynamically through xml data? ive tried this code below on my two combo boxes with id's of colourFilter and sizeFilter respectively... private function filterData():void {

[flexcoders] my SWFLoader wont give me the correct width and height

2009-06-18 Thread Jamie S
I'm using a SWFLoader to load in an image and i have a handler function for COMPLETE. In this load complete handler, i'm trying to get the size of the SWFLoader instance by using swfLoader.width, swfLoader.height but it always gives me 0. if I set a breakpoint, i can see that the $width and

RE: [flexcoders] my SWFLoader wont give me the correct width and height

2009-06-18 Thread Gordon Smith
Try checking the values in an updateComplete handler. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Jamie S Sent: Thursday, June 18, 2009 3:27 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] my SWFLoader wont give me

[flexcoders] Re: Accurate way of measuring a datagrid

2009-06-18 Thread djhatrick
Tom: Thanks for that, but unfortunately that method is inaccurate( Maybe it doesn't work for very good for factories... Here's how i am getting my height, i am setting a height on my value object after i add my labels in a vertical column, then i listen for an event on my collection

Re: [flexcoders] my SWFLoader wont give me the correct width and height

2009-06-18 Thread Jamie S
That sorta works. It's a way of getting notified when the properties do finally get updated . But i still have to do if( swfLoader.width !=0 swfLoader.height != 0 ){ ... }. And since I really only need to run that piece of code once, I would have to remove the listener after the code successfully

[flexcoders] Re: Accurate way of measuring a datagrid

2009-06-18 Thread Tim Hoff
Yeah, maybe not. Good luck; this is a common challenge that many have not been successful solving. -TH --- In flexcoders@yahoogroups.com, djhatrick djhatr...@... wrote: Tom: Thanks for that, but unfortunately that method is inaccurate( Maybe it doesn't work for very good for factories...

[flexcoders] Flex error when AdvancedDataGrid made too small.

2009-06-18 Thread Mic
In an application where 8 panels exist on the screen with each panel containing a chart or an advanced datagrid (corporate dashboard), any portlet can be zoomed to fill the whole screen, and I was doing this by setting height and width of the other 5 to 0. Trying to debug the error I was

RE: [flexcoders] Re: Accurate way of measuring a datagrid

2009-06-18 Thread Alex Harui
Was 560 really the right number? Or was it closer to 612? You have to factor in viewMetrics as well. Are you using a custom renderer and have verified it measures correctly? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From:

RE: [flexcoders] my SWFLoader wont give me the correct width and height

2009-06-18 Thread Alex Harui
I don't think there is a way to force SWFLoader to know its width when it dispatches the COMPLETE event. That event means the bytes are downloaded, but they may not be fully consumed yet. However, it should be available on the UPDATE_COMPLETE that follows the COMPLETE event. Alex Harui Flex

[flexcoders] PureMVC

2009-06-18 Thread Ashish Verma
Hello All, I am very new for PureMVC architecture. After reading about Model, View and controller and their progressive actor proxy, mediator and command I am looking for some big demo application in PureMVC. Please provide me link, archive or something similar. Best, Ashish