[flexcoders] Calling actionscript functions from mxml component without events

2009-11-13 Thread Tino Dai
Hi All, I am wondering about calling actionscript functions from a mxml component without the user having to do anything. Something like this: function foo():void { var l:Label = new Label(); l.data=Hi there hbox1.addChild(l1) } mx:Application .. mx:Hbox

Re: [flexcoders] Re: Calling actionscript functions from mxml component without events

2009-11-13 Thread Tino Dai
of the component. mx:Hbox id=hbox1 creationComplete=foo() / --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tino Dai obe...@... wrote: Hi All, I am wondering about calling actionscript functions from a mxml component without the user having to do anything. Something like

Re: [flexcoders] Datagrid with rotated headers

2009-11-17 Thread Tino Dai
http://www.badu.ro/?p=19 That should do it. -Tino On Mon, Nov 16, 2009 at 9:10 AM, Allan Pichler dreamc...@gmail.com wrote: Does anyone have a simple example of a datagrid where the column header labels are rotated so they take up minimum space horizontally? Thanks in advance

Re: [flexcoders] Plotting lots of data on a line chart

2009-11-18 Thread Tino Dai
Depending on where your data is coming from and what format is coming from, you can use a sampling method to par down the data set. Something like for (var i:int = 0 ; i 1 ; i=i+5) { newArray.addItem((oa[i] + oa[i+1] + oa[i+2] + oa[i+3] + oa[i+4])/5) } lineChart.dataProvider = newArray;

Re: [flexcoders] Extremely large HTTP Requests

2009-11-21 Thread Tino Dai
You might want to start poking around in the Tomcat settings. http://tomcat.apache.org/tomcat-5.5-doc/config/http.html -Tino On Sat, Nov 21, 2009 at 2:16 PM, wb...@ymail.com wb...@ymail.com wrote: Dear All, I have a little IMAP Client that I wrote, and in the main it works perfectly

Re: [flexcoders] E4x finding virtual leaf nodes

2009-11-24 Thread Tino Dai
How about something like this? xml..activity.children.length() == 0. I think that would do it -Tino On Tue, Nov 24, 2009 at 6:00 PM, mattgarland2000 al...@pet-theory.comwrote: My XML is a series of nested activities. I want to find LEAF activities, that is, activities without activity

[flexcoders] Does datagridcolumn have hide/show or hideEffect/showEffect

2009-11-24 Thread Tino Dai
Hi All, I am wondering does the DataGridColumn have a hideEffect/ShowEffect style setting? I wanted to have a wipeleft effect when somebody clicks on a column. I have been trying: var dgc:DataGridColumn = new DataGridColumn(); var wipeOut:WipeLeft = new WipeLeft(); public function

Re: [flexcoders] How can I keep myself motivated to program in Flex? Please help. Thanks?

2009-12-10 Thread Tino Dai
Actually to add on what David said, attach yourself to a public flex project (look for something on code.google.com). I have always found it easier to motivate myself in an environment where I'm expected to produce. -Tino On Thu, Dec 10, 2009 at 8:17 AM, David Pariente xxmapach...@yahoo.eswrote:

Re: [flexcoders] Swfloader stopping when 1mb

2009-12-16 Thread Tino Dai
Hi David, Try the firefox add-in called httpfox. That will give you a view into the http traffic going between your machine and the server. HTH, Tino On Tue, Dec 15, 2009 at 3:30 PM, David Pariente xxmapach...@yahoo.eswrote: Hi all, Unexpectectly one of my swfloaders stops loading

Re: [flexcoders] Swfloader stopping when 1mb

2009-12-16 Thread Tino Dai
...@yahoo.es escribió: Thank you, Trying it now... -- David Pariente RIA consultor -- El 16/12/2009, a las 17:42, Tino Dai obe...@gmail.com escribió: Hi David, Try the firefox add-in called httpfox. That will give you

Re: [SPAM] RE: [flexcoders] Re: Combobox in Datagrid appears empty

2009-12-19 Thread Tino Dai
Tracy, For the novice, how would you go about creating a full renderer? TIA, Tino On Sat, Dec 19, 2009 at 11:14 AM, Tracy Spratt tr...@nts3rd.com wrote: Issues like this are one reason I avoid in-line renderers for anything but simple, non-interactive display. They are very hard

Re: [flexcoders] Datagrid itemrenderer for adding multiple linkbuttons in same gridcolumn

2010-01-13 Thread Tino Dai
Some code would help On Tue, Jan 12, 2010 at 8:36 PM, aramsdell2000 amy.ramsd...@gmail.comwrote: I have a datagrid column that for each row, has several text values each with its own hyperlink. Ex: the data in the datafield looks like: Atext, Btext, Ctext. As it is now, I was able to add

Re: [flexcoders] Re: Datagrid itemrenderer for adding multiple linkbuttons in same gridcolumn

2010-01-16 Thread Tino Dai
have to make a new link button class and extend it or can I somehow write it into the custom CustomDataGridItemRenderer class I have now that extends DataGridItemRenderer. Hopefully that makes sense! Thanks! Amy --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Tino Dai obe

Re: [Spam] RE: [SPAM] [flexcoders] Re: Problem Casting an Object to a known type

2010-01-16 Thread Tino Dai
Hey Nick, Maybe this would work, maybe not. Could try zip the data on the SAP side and then unzip on the flex side. If some some reason, there is a problem with the AMF transfer, it might avoid it. Just a though. -Tino On Fri, Jan 8, 2010 at 11:43 AM, Nick Middleweek

[flexcoders] Question about setStyle/getStyle

2010-01-18 Thread Tino Dai
Am I missing something? var h1:HBox = new HBox(); h1.setStyle(backgroundColor,0xFF); trace(GetStyle of backgroundColor-- + h1.getStyle(backgroundColor)); .trace output... GetStyle of backgroundColor-- undefined Isn't the getStyle suppose to return

Re: [flexcoders] IP adress for Language

2010-01-21 Thread Tino Dai
maxmind.com on the backend. -Tino On Wed, Jan 20, 2010 at 4:10 PM, Glenn Williams gl...@tinylion.co.ukwrote: [Attachment(s) #1264d92685539177_TopText from Glenn Williams included below] Not sure if this will help but.. I use web services from a uk company called

Re: [flexcoders] Re: canvas backgroundImage changed event?

2010-03-17 Thread Tino Dai
Maybe look into a timer and ans external function On Thu, Mar 11, 2010 at 5:47 PM, chuckjr itsmechuc...@yahoo.com wrote: I'm giving up on this one and trying a different approach. I'm loading the image as a child of the canvas instead of loading it into the backgroundImage. --- In

Re: [flexcoders] FMS install issues....

2010-03-18 Thread Tino Dai
Let's see your /etc/ld.so.conf.d or /etc/ld.so.conf -Tino On Thu, Mar 18, 2010 at 1:20 AM, grimmwerks gr...@grimmwerks.com wrote: Not quite Flex but related... I'm having issues with installing my FMS setup on gnu linux -- I'm getting the old nspr libraries not found... the strange

Re: [flexcoders] Re: Computation and Flex

2010-03-24 Thread Tino Dai
pyamf for python On Wed, Mar 24, 2010 at 8:17 AM, valdhor valdhorli...@embarqmail.comwrote: In my case, I use PHP on the server side and Weborb ( http://www.themidnightcoders.com) for data transfers. --- In flexcoders@yahoogroups.com flexcoders%40yahoogroups.com, Christophe