[flexcoders] Re: Font Size Issue in Rich Text Editor Component

2007-05-12 Thread iko_knyphausen
, iko_knyphausen [EMAIL PROTECTED] wrote: Hi all, I think I found a bug in the RTEditor. When you select a font size, i.e. 12 it is interpreted in the component as 12pixels. Once you look at the HTML property, you will see a FONT tag with the SIZE attribute set to 12. No px. This is something very

[flexcoders] Re: Strange Behavior on DataGrid Resize - Column Resize below Minimum Width

2007-05-11 Thread iko_knyphausen
Now you got me confused. I am running 2.01, and I just went to Adobes site. I did not see a Hotfix 1, just the 2.01. Where would I find Hotfix 1 of Version 2.01? thanks --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: I am struggling with a very strange behavior: I

[flexcoders] Font Size Issue in Rich Text Editor Component

2007-05-11 Thread iko_knyphausen
Hi all, I think I found a bug in the RTEditor. When you select a font size, i.e. 12 it is interpreted in the component as 12pixels. Once you look at the HTML property, you will see a FONT tag with the SIZE attribute set to 12. No px. This is something very different than 12px and it shows. Is

[flexcoders] Strange Behavior on DataGrid Resize - Column Resize below Minimum Width

2007-05-09 Thread iko_knyphausen
Hello all, I am struggling with a very strange behavior: I have a dataGrid with some 15 columns. The grid's horizontalScrollPolicy is set to auto. This should add a horizontal scrollbar when the conrtrol's client area width is smaller than the column widths added together. So far so good. Now,

[flexcoders] Re: Datagrid - case-insensitive sort

2007-05-05 Thread iko_knyphausen
You could also create a sortCompareFunction, similar to this one private function sfSortFunction(ob1:Object, ob2:Object) : int { var s1 : String = ob1.dataField.toString().toLowerCase(); var s2 : String = ob2.dataField.toString().toLowerCase(); if (s1s2) return 1; if (s1

[flexcoders] Re: Uploading File/ Post Request

2007-05-03 Thread iko_knyphausen
, fileItem.Length streamFile.SaveToFile path fileItem.VAR1, 2 streamFile.close Set streamFile = Nothing fileItem.Path = path fileItem.VAR1 Next But its giving me an error --- In flexcoders@yahoogroups.com, iko_knyphausen iko@ wrote: Here is one way to do this. The receiving script or cgi will find

[flexcoders] Dynamic switching of datagrid columns

2007-05-02 Thread iko_knyphausen
Hi, trying to change the sequence of datagrid columns by working on the datagrid.columns array. I understand from previous posts that one should copy the array, do the array manipulations, then assign it back to the columns property. So far so good. I came across one curiousity that I cannot

[flexcoders] Re: Dynamic switching of datagrid columns

2007-05-02 Thread iko_knyphausen
. Try columns.push( splicedThings[ 0 ]); Cheers, Ralf. On 5/2/07, iko_knyphausen [EMAIL PROTECTED] wrote: Hi, trying to change the sequence of datagrid columns by working on the datagrid.columns array. I understand from previous posts that one should copy the array, do the array

[flexcoders] Re: Uploading File/ Post Request

2007-05-02 Thread iko_knyphausen
Here is one way to do this. The receiving script or cgi will find the posted fields in the Fields collection of the Request object. The function below is called after the fileRef.browse() method and after the user selected a file from the file dialog. private function selectHandler(event :

[flexcoders] DataGrid HeaderRelease Keyboard Info

2007-05-01 Thread iko_knyphausen
Hi, I am trying to test for the CRTL key being pressed during a headrelease event in the datagrid. The DataGridEvent does not offer a altKey/ctlKey property. Do I have to hook the keyboard separately, store the ctlKey info in a var, and then check it during the headerRelease event, or is there

[flexcoders] Round corners with Tab Navigator

2007-04-26 Thread iko_knyphausen
Hello, I am trying to use rounded corners (cornerRadius) on a tab navigator. Unfortunately it also rounds the upper left corner of the first canvas which makes it unsightly. One could use paddingLeft to move the tabs a little to the right, but that doesn't look to great either. One could

[flexcoders] Re: Round corners with Tab Navigator

2007-04-26 Thread iko_knyphausen
not. Or check out some custom border components out there that might help you get the effect your looking for. Juan scalenine.com --- In flexcoders@yahoogroups.com, iko_knyphausen iko@ wrote: Hello, I am trying to use rounded corners (cornerRadius) on a tab navigator

[flexcoders] Re: Round corners with Tab Navigator

2007-04-26 Thread iko_knyphausen
Just went to your site... nice! Your Obsidian theme would benefit from the background border color... Cheers --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: Thanks this was very helpful. I got rid of the tiny gap, by setting the tab navigators bordercolor

[flexcoders] How to prevent children from causing a mouseOut event

2007-04-25 Thread iko_knyphausen
Hi everyone, I am struggling with mouse events in a canvas. I have a canvas in an itemRenderer and in it some buttons. When the user moves the mouse over any of the buttons, the canvas receives a mouseOut event, although these buttons are children of the canvas. I want to use the mouseOut on the

[flexcoders] Re: How to prevent children from causing a mouseOut event

2007-04-25 Thread iko_knyphausen
] On Behalf Of iko_knyphausen Sent: Wednesday, April 25, 2007 10:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] How to prevent children from causing a mouseOut event Hi everyone, I am struggling with mouse events in a canvas. I have a canvas in an itemRenderer and in it some

[flexcoders] Re: SWF not loading on SSL web page

2007-04-24 Thread iko_knyphausen
Response Headers maybe... Make sure the web server that serves the SWF does not create a CacheControl=No-cache header. See other posts regarding SSL... Good luck. Iko --- In flexcoders@yahoogroups.com, marc_watts1 [EMAIL PROTECTED] wrote: I am trying to load a SWF file on an SSL secured page.

[flexcoders] Re: Resize Effect for Percentages?

2007-04-22 Thread iko_knyphausen
, would you be interested in me posting code if I were to write such a thing? --- In flexcoders@yahoogroups.com, iko_knyphausen iko@ wrote: I have struggled with the same and ended up doing the percentage math on my own. The effects don't provide percentage properties, and they don't have

[flexcoders] Font-size Bug in Text Area?

2007-04-22 Thread iko_knyphausen
Hi everyone: I think I have found a bug in the text area control and its htmlText property. When you set the fontsize property of an textarea to 11, it interprets it as 11 pixels (nb: 11px would not a valid value for this property). On screen it looks about right. Now when you get the htmlText

[flexcoders] Re: Resize Effect for Percentages?

2007-04-21 Thread iko_knyphausen
I have struggled with the same and ended up doing the percentage math on my own. The effects don't provide percentage properties, and they don't have a from/toConstraint either...which could be handy at times... --- In flexcoders@yahoogroups.com, Matt [EMAIL PROTECTED] wrote: Is there any way

[flexcoders] Re: Installing Flex On Vista Causes Reboots

2007-04-20 Thread iko_knyphausen
/flexcoders/message/65094 -Jun --- In flexcoders@yahoogroups.com, iko_knyphausen iko@ wrote: I don't think the installer works on Vista. I installed on XP and then copied the installation directory over to my Vista machine. I think you will also have to install the the player

[flexcoders] Re: Finding the index of the first visible row in a Datagrid

2007-04-19 Thread iko_knyphausen
I needed to do this after insert in a sorted grid... for (x=0; xdgItems.dataProvider.length [EMAIL PROTECTED] != [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] ; x++); otherwise the selectedIndex property should tell you. HTH --- In flexcoders@yahoogroups.com, Steven Lira [EMAIL PROTECTED]

[flexcoders] Re: Finding the index of the first visible row in a Datagrid

2007-04-19 Thread iko_knyphausen
Oohps, misread your question. The total number should be in the length property. As for the first visible, I don't know, but you can use the datagrid.scrollToIndex method make sure a specific item is visible. --- In flexcoders@yahoogroups.com, Steven Lira [EMAIL PROTECTED] wrote: I'm trying

[flexcoders] Re: Installing Flex On Vista Causes Reboots

2007-04-19 Thread iko_knyphausen
I don't think the installer works on Vista. I installed on XP and then copied the installation directory over to my Vista machine. I think you will also have to install the the player and debug version of the player manually, by visiting the Adobe web site. Iko --- In

[flexcoders] Re: Will Microsoft's new Silverlight Player Kill our beloved Flex ?

2007-04-19 Thread iko_knyphausen
I agree it was a fun read, and I think Dave you got it right. It's a confirmation of the market and everyone it will benefit. Plus a little competition keeps everyone on their toes ;-) --- In flexcoders@yahoogroups.com, Dave Wolf [EMAIL PROTECTED] wrote: Scott, Sillyness aside, there is

[flexcoders] Re: Upload not working in Firefox 2.0.3 under https://?

2007-04-18 Thread iko_knyphausen
The most probable reason is that the FF post does not include a session token (cookie), and your upload backend (script or dll) does require such session context. At least thats what happened in my case. Workaround: send a param (request value pair) with the session information. If it only

[flexcoders] Re: boolean not casting ok from string

2007-04-18 Thread iko_knyphausen
Just leave the quotes away: var btest:Boolean = true; --- In flexcoders@yahoogroups.com, Hilary Bridel [EMAIL PROTECTED] wrote: try: var btest:Boolean; var testValue:String = true; btest = testValue == true ? true : false; trace(btest = +btest); Hilary -- On 4/19/07, Luis Eduardo

[flexcoders] Re: boolean not casting ok from string

2007-04-18 Thread iko_knyphausen
/04/2007, at 10:25 AM, iko_knyphausen wrote: Just leave the quotes away: var btest:Boolean = true; --- In flexcoders@yahoogroups.com, Hilary Bridel hblists@ wrote: try: var btest:Boolean; var testValue:String = true; btest = testValue == true ? true : false; trace

[flexcoders] Re: Firefox - FileReference.upload and HTTPService do not share sessions/cookies

2007-04-13 Thread iko_knyphausen
Yes, useful indeed. Thanks for posting it. It would have taken me a long time to figure out why my firefox uploads failed ;-) (the upload was fine, just no session cookie)... --- In [EMAIL PROTECTED], pgp.coppens [EMAIL PROTECTED] wrote: Oh well, that turned out to be pretty messy First I

[flexcoders] Re: Problems using SSL

2007-04-12 Thread iko_knyphausen
very well. Hope this helps you out. --- In [EMAIL PROTECTED], iko_knyphausen iko@ wrote: It works ok in FF but not in IE. Peter Farland kindly had a long exchange with me offline, and it seems in my case that the offending HTTP response is in the header pragma CacheControl = No-cache

[flexcoders] Pie chart number format issue

2007-04-12 Thread iko_knyphausen
Hi, it seems that the pie chart (and possibly other chart types) interprets 3,123.45 as 3.12345. Could be a locale issue - if so how do I force it? Thanks

[flexcoders] Re: Problems using SSL

2007-04-12 Thread iko_knyphausen
, with or without SSL. --- In [EMAIL PROTECTED], iko_knyphausen iko@ wrote: It works ok in FF but not in IE. Peter Farland kindly had a long exchange with me offline, and it seems in my case that the offending HTTP response is in the header pragma CacheControl = No-cache. Problem is, without

[flexcoders] Are there any known length limits for content of attributes

2007-04-11 Thread iko_knyphausen
Hi, I am planning on returning a longer list of delimiter separated items in an attribute field of an xml node (e4x). Are there any limits in length I should be aware of? Thanks

[flexcoders] Action Item Manager - Enterprise went live

2007-04-11 Thread iko_knyphausen
Hello everyone, if you are interested in our task management product built with Flex, please feel free to check http://www.bluetask.com http://www.bluetask.com If you'd like a dedicated account (group with your own admin, users, and teams), please give me a shout. The online version is going to

[flexcoders] Re: Problems using SSL

2007-04-10 Thread iko_knyphausen
the problem has been isolated, but not solved just yet. --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Sunday 08 Apr 2007, iko_knyphausen wrote: in relative URL calls. And I think it does, because the web site accepts both SSL and non-SSL, and the errors I am

[flexcoders] Problems using SSL

2007-04-07 Thread iko_knyphausen
Hi all, I am trying to connect to a web server via SSL. It seems that all my HTTPService calls fail (httpsFault). Here is how I attempt to load things: 1. I load the SWF file directly (without HTML file) 2. I use HTTPS://DOMAIN/MYAPP.SWF https://DOMAIN/MYAPP.SWF (loading the app

[flexcoders] Re: Connect and Retrieve from MS SQL Server 2005

2007-04-05 Thread iko_knyphausen
java-less.. Thank you , Very Much! --- In [EMAIL PROTECTED] ups.com, iko_knyphausen iko@ wrote: If you are using the full version of SQL 2005 (meaning not Express) you may be able to use the built-in Web Services Endpoints ... Have

[flexcoders] Re: HTTP Response

2007-04-04 Thread iko_knyphausen
I assume you have e4x as responseFormat and you are getting XML from the service. Try mx:TextArea width=300 height=132 id=response text={userRequest.lastResult.toString()} / --- In flexcoders@yahoogroups.com, Manolet Gmail [EMAIL PROTECTED] wrote: hi, i have a code to receive a xml

[flexcoders] Re: What's up with runtime errors silent failing.

2007-04-02 Thread iko_knyphausen
Same here... I am wondering whether its VISTA related (which I am running on my box)? Basically, if there is a trigger for a runtime error, such as e.g. referencing a null pointer, the function with the culprit will stop executing, but the rest will continue... makes debugging kind of tedious...

[flexcoders] Re: How do I do this effect?

2007-04-02 Thread iko_knyphausen
. Either way I'll try it in the morning to figure out what's happening. Thanks again. --- In flexcoders@yahoogroups.com, iko_knyphausen iko@ wrote: I did not want to install the app, but I have done some sliding in and out... I used a combination of MOVE effects and RESIZE in some

[flexcoders] Re: What's up with runtime errors silent failing.

2007-04-02 Thread iko_knyphausen
at this stage it may be worth writing our own versions of databinding that handle as we wish. On 02/04/2007, at 4:11 PM, iko_knyphausen wrote: Same here... I am wondering whether its VISTA related (which I am running on my box)? Basically, if there is a trigger for a runtime error

[flexcoders] Re: What's up with runtime errors silent failing.

2007-04-02 Thread iko_knyphausen
executing On 02/04/2007, at 4:33 PM, iko_knyphausen wrote: Hm, how about data binding that is done declarative - meaning in curly braces... there is no code block per se? --- In flexcoders@yahoogroups.com, Bjorn Schultheiss bjorn.schultheiss@ wrote: DataBinding is funny like

[flexcoders] Re: data binding limitations?

2007-04-02 Thread iko_knyphausen
a result handler function to set an instance variable, and bind to that. Tracy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of iko_knyphausen Sent: Monday, April 02, 2007 1:26 AM To: flexcoders@yahoogroups.com Subject: [flexcoders

[flexcoders] Re: Filter Function on ArrayCollection with httpservices as there source

2007-04-02 Thread iko_knyphausen
You could e4x as resultFormat and then bind this to an XMLListCollection, which in turn you can filter with a function. In e4x you would omit the root tag (probably =stockreport in your case) and use stockFeed.lastResult.products.product as a source for databinding --- In

[flexcoders] Re: How do I do this effect?

2007-04-02 Thread iko_knyphausen
with the move. Thanks, you have answered my question. --- In flexcoders@yahoogroups.com, iko_knyphausen iko@ wrote: Yes, this would clip. If you want to slide and minimize, you need a combination of MOVE and RESIZE. As both effects run in parallel, it looks smooth if you allow both

[flexcoders] Re: Repost: FileReference.upload() and IIS 6.0 (Windows Server 2003)

2007-04-02 Thread iko_knyphausen
What are you using as a server side upload component? --- In flexcoders@yahoogroups.com, bsausser [EMAIL PROTECTED] wrote: Upload Progresses, then fails at the end of the POST. Why? Â…and What can be done to fix it? Flex Error Text: Error #2044: Unhandled IOErrorEvent:. text=Error #2038:

[flexcoders] data binding limitations?

2007-04-01 Thread iko_knyphausen
Hello everyone, I am experiencing some very strange behavior regarding data binding. First off, would anyone know why the following XMLListCollection does not bind successfully to its source, mx:XMLListCollection id=xlcUsers filterFunction=filterUser source={xmlSetup.lastResult.USER}/ The

[flexcoders] Re: How do I do this effect?

2007-04-01 Thread iko_knyphausen
I did not want to install the app, but I have done some sliding in and out... I used a combination of MOVE effects and RESIZE in some cases. So for example if you want to slide a Canvas (with its children) you can approach as follows... mx:Move id=moveEffect xTo=1 duration=500 target=myCanvas /

[flexcoders] Re: Connect and Retrieve from MS SQL Server 2005

2007-03-28 Thread iko_knyphausen
If you are using the full version of SQL 2005 (meaning not Express) you may be able to use the built-in Web Services Endpoints ... Have not tried it myself, but I think in theory that should work. -Iko --- In flexcoders@yahoogroups.com, Clint Tredway [EMAIL PROTECTED] wrote: you can use just

[flexcoders] Re: How do you suppress repeating values in DataGrid columns?

2007-03-22 Thread iko_knyphausen
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of iko_knyphausen Sent: Wednesday, March 21, 2007 3:59 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How do you suppress repeating values in DataGrid columns? I think you could write a filterFunction and have

[flexcoders] Re: How to change DataGridCell font color based on the cell value

2007-03-22 Thread iko_knyphausen
You could do a cutom itemRenderer that is based on a canvas, put a label for your text (cell value) and overwrite the set data method. mx:canvas/ mx:Label id=myLabel text=/ mx:Script ![CDATA[ import mx.core.*; override public function set data(data:Object) : void { if (data !=

[flexcoders] Re: How to change DataGridCell font color based on the cell value

2007-03-22 Thread iko_knyphausen
small correction: the initial canvas tag should be without the forward slash...like mx:canvas ... --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: You could do a cutom itemRenderer that is based on a canvas, put a label for your text (cell value) and overwrite

[flexcoders] Re: DataGridColumn's width adjustment

2007-03-22 Thread iko_knyphausen
I have never tried this, but maybe you can have an itemRenderer for the column in question, take a label component for the text, set the text property, and then read the label.width property. This width you could pass back out to the dataGrid.column and set the minWidth to that value...

[flexcoders] Re: How do you suppress repeating values in DataGrid columns?

2007-03-21 Thread iko_knyphausen
I think you could write a filterFunction and have it check for duplicates in the collection. This function could return false when a duplicate is detected.. --- In flexcoders@yahoogroups.com, Gordon Smith [EMAIL PROTECTED] wrote: I don't think there is an automatic way to do this in the visual

[flexcoders] Looking for Beta Testers

2007-03-19 Thread iko_knyphausen
Hello everyone, we just started the beta for the pro version of our task management tool (written in Flex with ASP backend) and are looking beta testers. If you are interested, drop me a quick line. You can participate online, or install on you own box. P.S. Main features: Organize and share

[flexcoders] Re: set percent value to a Panel's width ?

2007-03-16 Thread iko_knyphausen
Try panelID.percentWidth ... --- In flexcoders@yahoogroups.com, [EMAIL PROTECTED] wrote: how do i set percent values to a Panel's width and height in ActionScript? this is what I want : panelID.setActualSize(17%,100%); // this returns an error OR panelID.width = 17% // this too

[flexcoders] Can one use a XMLListCollection as a source for another XMLListcollection

2007-03-15 Thread iko_knyphausen
Hi everyone, I am trying to use one xmllistcollection as a source for another xmllistcollection. The prupose is to have 2 filterfunctions, one for the first collection, and the second for a staggered additional filter...ultimately for a datasource of another control. Is it possible? Thanks

[flexcoders] Combobox erases typed text when tabing away or closing the dropdown list

2007-03-14 Thread iko_knyphausen
Hi everyone, I have an editable combobox. When I enter text while the dropdown is open and then use the tab key to move to the next input field, the entered text gets erased. The same happens when I close the dropdown list - any previously entered text is gone. The only way my input is kept, is

[flexcoders] Re: Can't I style an anchor in a RichTextEditor??

2007-03-14 Thread iko_knyphausen
I have to agree with Carl, what's te point of having a URL feature in the RTE, if you don't intend browsing somewhere... The only solution I have - I have the same issue - is manipulating the htmlText content by putting underline and font tags around the Anchortags Here is a little tool to

[flexcoders] Re: Keyboard issues on VISTA - Important

2007-03-08 Thread iko_knyphausen
, Dimitrios Gianninas [EMAIL PROTECTED] wrote: I use Vista at home, tried it and no problems. Dimitrios Gianninas Optimal Payments Inc. -Original Message- From: flexcoders@yahoogroups.com on behalf of iko_knyphausen Sent: Wed 3/7/2007 6:40 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Re: Keyboard issues on VISTA - Important

2007-03-07 Thread iko_knyphausen
dropout issue...If you restart the application using the SWF directly... http://66.111.222.44/main.swf http://66.111.222.44/main.swf the keyboard issues are gone... Thanks much --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: I think I finally found the problem

[flexcoders] Re: I want to write a tutorial

2007-03-05 Thread iko_knyphausen
There is one from Adobe, called Training from the Source, and then there is one called Total Training for Adobe Flex 2 available at TotalTraining.com --- In flexcoders@yahoogroups.com, Jeffry Houser [EMAIL PROTECTED] wrote: Where can one find such tutorials? At 12:38 AM 3/5/2007, you

[flexcoders] Re: ctrl key with a combination - doesnt seem to work

2007-03-05 Thread iko_knyphausen
Try it upon a KEYUP event --- In flexcoders@yahoogroups.com, jmorpher03 [EMAIL PROTECTED] wrote: Does anyone know how the the CTRL + key combination work ? Is this a Flex bug ? The Flex sample code in the help docs talks about this, but it doesn't seem to work. Whats wrong ??? --- In

[flexcoders] Re: Keyboard issues on VISTA - Important

2007-03-05 Thread iko_knyphausen
I think I finally found the problem source... It seems to be connected to the hosting HTML file (and possibly its JS code - not sure). That is the file that pulls flash player, checks for the required version, etc. This file is generated automatically by Flex and used as default on the web

[flexcoders] Re: I want to write a tutorial

2007-03-04 Thread iko_knyphausen
Here comes a list of ideas: 1. First you should define who your audience is. Keep in mind, very good tutorials have been made already - so if you want to add value, you have to explore uncharted territory. Login is a start, but it will not win you a Pulitzer prize... 2. I think you

[flexcoders] Re: simulate datagrid header click, or set default sort column

2007-03-03 Thread iko_knyphausen
, and the datagrid/sort classes sort it all correctly. Although I do understand your labelFunction point. Cheers, Adam - Original Message - From: iko_knyphausen To: flexcoders@yahoogroups.com Sent: Saturday, March 03, 2007 9:52 AM Subject: [flexcoders] Re: simulate datagrid header click, or set

[flexcoders] Re: simulate datagrid header click, or set default sort column

2007-03-02 Thread iko_knyphausen
I just went through the same exercise, and ended up using the recommended method, which is creating your own Sort object... The basic working is to 1. take a collection (either arraycollection or xmllistcollection) as dataprovider 2. define a Sort object for it (you do this by creating

[flexcoders] Re: simulate datagrid header click, or set default sort column

2007-03-02 Thread iko_knyphausen
, if it was not the last column, it will reuse the same sort order that it had when it was last used - in some cases you may end up dispatching the header release twice, to get the desired sort order, and you can see... this is not a good solution ;-) --- In flexcoders@yahoogroups.com, iko_knyphausen

[flexcoders] Re: simulate datagrid header click, or set default sort column

2007-03-02 Thread iko_knyphausen
- Original Message - From: iko_knyphausen To: flexcoders@yahoogroups.com Sent: Saturday, March 03, 2007 5:09 AM Subject: [flexcoders] Re: simulate datagrid header click, or set default sort column BTW, I also fiddled with dispatching the HEADER_RELEASE event, before I used a custom sort

[flexcoders] Looking for Beta Testers

2007-03-02 Thread iko_knyphausen
Hello everyone, I am looking for some beta testers for a simple task manager written in Flex 2. To participate you need some form of IIS on your server or dev box. The server side scripts are written in classic ASP. Main features of the product: 1. Share action items with team members

[flexcoders] Re: Can Flex really compete with AJAX?

2007-03-01 Thread iko_knyphausen
I have 2 cents to spend: Many things are crucial in dynamic content - one important one is performance (otherwise it's not very dynamic to the eye, I would say). I have done some heavy lifting, with JS and DHTML - namely a project management application with full waterfall (read:dependency)

[flexcoders] Re: Filterfunction on a XMLListCollection is misbehaving

2007-02-28 Thread iko_knyphausen
. /mx:DataGrid --- In flexcoders@yahoogroups.com, bobignacio [EMAIL PROTECTED] wrote: Any chance you can post your source code? --- In flexcoders@yahoogroups.com, iko_knyphausen iko@ wrote: Here is the deal... I have an XMLListCollection as a dataProvider for a dataGrid, so that I

[flexcoders] Re: Filterfunction on a XMLListCollection is misbehaving

2007-02-28 Thread iko_knyphausen
Correction: WITHOUT the filter function all edits are inplace, WITH the filter function the updated record gets resorted... --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: Here is the relevant code...Without the filter function all edits are inplace without

[flexcoders] Custom Collection Sorting Challenge

2007-02-28 Thread iko_knyphausen
Hi all, more questions on custom collection sorting... I have a XMLListCollection dataprovider, which I am sorting using a sort object. The sorting works as expected, when I use the following syntax to define the array of SortFields: aSort.fields = [sfSortField, sfLevel]; However, I would like

[flexcoders] Re: Custom Collection Sorting Challenge

2007-02-28 Thread iko_knyphausen
Duh, was not thinking...forgot creating a new array first...interesting though that it did not throw an exception... aSort.fields = new Array(); --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: Hi all, more questions on custom collection sorting... I have

[flexcoders] Re: Storing / retrieving rich text

2007-02-27 Thread iko_knyphausen
Have you tried using CDATA around your text when retrieving from your database? ![CDATA[ ]] I use it to store HTML formatted text in a database and to retrieve it back into any HTML capable control, such as rtfedit or textarea... even a simple TEXT control as itemrenderer works with this

[flexcoders] Re: Storing / retrieving rich text

2007-02-27 Thread iko_knyphausen
objects. Barring any easier solutions at this point it looks like stripping out the white space with AS is the only option. iko_knyphausen wrote: Have you tried using CDATA around your text when retrieving from your database? ![CDATA[ ]] I use it to store HTML

[flexcoders] Re: Storing / retrieving rich text

2007-02-27 Thread iko_knyphausen
::: transforming information into intelligence http://www.alQemy.com ::: magazooms ::: digital magazines http://www.magazooms.com Greenville, SC 864.284.9918 iko_knyphausen wrote: Maybe I misunderstood your last post, but I am getting an XML field from a HTTPservice call

[flexcoders] Filterfunction on a XMLListCollection is misbehaving

2007-02-27 Thread iko_knyphausen
Here is the deal... I have an XMLListCollection as a dataProvider for a dataGrid, so that I can use custom sort and filterfunctions. My application provides for editing selected items (=rows) in the Grid, and when an edit is done, I update the Grid, by setting values of the selectedItem, e.g.

[flexcoders] Re: Keyboard issues on VISTA

2007-02-26 Thread iko_knyphausen
, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 23 Feb 2007, iko_knyphausen wrote: What do you mean by thrashed? Sorry, have never heard that term before (not a native speaker either) Sorry 'used heavily'. Web browsers will drop the framerate of plugins, if something else is using

[flexcoders] Invoking datagrid column sort programmatically

2007-02-24 Thread iko_knyphausen
Hello everyone, I would like to trigger a column sort programmatically, as if the user had clicked the column header. I have read many posts, and LiveDocs about this topic, and I did not like the solutions presented there. My grid has plenty of calculated display content (labelFunctions and

[flexcoders] Re: Keyboard issues on VISTA

2007-02-23 Thread iko_knyphausen
that term before (not a native speaker either) Thanks --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 22 Feb 2007, iko_knyphausen wrote: 1-1-1-1-1-1-1-1-1-1-1-1-1-1-1-1 would end up as This is a vanilla TextArea or what have you ? Is the machine having

[flexcoders] Re: Keyboard issues on VISTA

2007-02-23 Thread iko_knyphausen
of iko_knyphausen Sent: Fri 2/23/2007 11:38 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Keyboard issues on VISTA Did not use Textarea, but it happens both in TEXTINPUT and RICHTEXTEDITOR. I went to a COMPUSA that has a bunch of Internet connected laptops, and the issue appeared on all

[flexcoders] Keyboard issues on VISTA

2007-02-22 Thread iko_knyphausen
I have a small Flex/Flash app which runs fine on several machines/platforms such as Mac OSX on a Powerbook, Vista Ultimate on an AMD chip, but on one machine (brand new HP Pavillion with Intel Duo and Vista Home Premium) keyboard input is flawed. Characters typed into TEXTINPUT controls and the

[flexcoders] Re: Automatic resize of panel when layout=absolute - how?

2006-11-17 Thread iko_knyphausen
Would this work for you? ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml http://www.adobe.com/2006/mxml layout=absolute mx:Panel x=19 y=29 width=616 layout=absolute id=mom title=Mom (parent panel) mx:Panel id=toddler x=16.5 y=172 width=563 height=100

[flexcoders] Re: Read Local File - Reheating old topic

2006-11-16 Thread iko_knyphausen
Hello everyone, I came across the same need - that is: reading a local XML file - and I found this HTTPService to be working: mx:HTTPService id=xmlProjectData resultFormat=e4x url=file:///c:/Project13.xml file:///c:/Project13.xml useProxy=false/ The only problem with making

[flexcoders] FDS beginner question

2006-11-16 Thread iko_knyphausen
Actually a question before I begin with FDS - have just read some high-level intro till now: Is it possible to use FDS without an application server such as CF, IIS (ASP.NET), etc. ? Imagine the following use case: For data you just have/need a structured XML file which multiple people can access

[flexcoders] Validator in itemEditor

2006-11-06 Thread iko_knyphausen
Working on a custom validator for a dataGrid itemEditor. Have 2 questions: Is there a way to prevent loosing focuswhile validation fails. I know I couldhandle the itemEditEnd event and use event.preventDefault() to disallow ending the edit, but I would prefer to do this at the DataGridColumn

[flexcoders] selectedIndex not updated upon column sort in custom dataGrid

2006-11-02 Thread iko_knyphausen
For the life of itcan't figure it out... I have a dataGrid in a custom component, and in order to delete rows I use the dataGrid.selectedIndex (in the dataGrid.dataProvider.removeItemAt (index) function). All works as expected until you sort the grid by one column. The selectedItem is still

[flexcoders] Secondary DataProvider for Custom Component - Best Approach

2006-11-01 Thread iko_knyphausen
I am working on a custom DataGridColumn which has a secondary dataProvider to feed a dropdown combobox. The DataGridColumn hasthe combobox as itemEditor and a label asitemRenderer. The reason for the itemRenderer is that I want to distinguish between Labels and Values.For example,the data in

[flexcoders] Adding rows to dataGrid programatically

2006-11-01 Thread iko_knyphausen
Trying to add rows to a datagrid programmatically. Works ok using the dataProvider.addItem function, however it requires a named "row-node" - see below. I would like to make this more generic. Is there a way to do this without knowing each rows element name? private function addRow() : void {

[flexcoders] Re: gant chart

2006-10-30 Thread iko_knyphausen
Nice work, Andrew. It sure illustrates the flex-ibility of the dataGrid. I am not entirely convinced that the dataGrid is the best way to go though... I mean for a pro-component. I think a combination of datagrid (or tree) and canvas could be easier down the road. By this I mean, once you get

[flexcoders] Experience with the Adobe Developer Support Program

2006-10-30 Thread iko_knyphausen
I am considering signing up for the Adobe Developer Support program. I think it's about 1500$ per year, if I remember correctly. Before I do spend that kind of money though, I want to know whether it will do for me what I hope it does.Does anyone on this list have experience with the program?

[flexcoders] Need some help making RichTextEditor a dropTarget...

2006-10-29 Thread iko_knyphausen
I am trying to make the TextArea of the RTF control a dropTarget for list items dragged from a list. Now for the source it seems easy enough (dragEnabled = true). Of course the RTF Control does not have a dropEnabled property like list based controls. I implemented a handler for the dragEnter

[flexcoders] Databinding on an XML node via node index

2006-10-27 Thread iko_knyphausen
I am binding a text control to an XML (e4x) node via index. Looks something like mx:Text htmlText = {myXml.myNodes[0].uniqueItem.toString()} / This works well as a unidirectional binding from a data source, however, the compiler throws a warning saying Databinding will not be able to detect

[flexcoders] Data design question - XML transformations ?

2006-10-27 Thread iko_knyphausen
This is obviously an XML newbie question,but hopefully someone can give me a good headstart in how to best approach the following: A. I have a bunch of users, and each of them belong to one or more user groups. The xml couldlook something like: users user id="1" nameJohn/name email[EMAIL

[flexcoders] Re: Databinding on an XML node via node index

2006-10-27 Thread iko_knyphausen
thx -Iko --- In flexcoders@yahoogroups.com, "ben.clinkinbeard" [EMAIL PROTECTED] wrote: XMLListCollection is the XML-based equivalent of ArrayCollection and provides a getItemAt() method as well. HTH, Ben --- In flexcoders@yahoogroups.com, "iko_knyphausen" iko@ wrote: I

[flexcoders] htmlText property misbehaving

2006-10-27 Thread iko_knyphausen
I am experiencing something rather strange with the Text control and its htmlText property. mx:Text id=li0 htmlText=Starting Text doubleClickEnabled=true doubleClick=Alert.show(li0.htmlText) click=showEditor(event)/ I am using the RTF Edit control to edit and update the content. That works

[flexcoders] Re: htmlText property misbehaving

2006-10-27 Thread iko_knyphausen
I think I found the reason - blush, blush - the RTF editor control made changes to the event.target but should have done them to event.currentTarget. duh ! --- In flexcoders@yahoogroups.com, iko_knyphausen [EMAIL PROTECTED] wrote: I am experiencing something rather strange with the Text

[flexcoders] A bug? Drag n Drop between 2 DataGrids, target is databound... to grid 3

2006-10-26 Thread iko_knyphausen
I have 2 datagrids with identical dataFields. The dropTarget is databound to a third dataGrid. The only thing I did to enable drag and drop is to set the dropEnabled and dragEnabled properties to true - no code so far. Dragging and dropping works like a charm,almost... When the target grid

[flexcoders] Re: datagrid checkboxes getting checked dynamically

2006-10-26 Thread iko_knyphausen
BTW, this seems to be an issue only with XML/e4x dataProviders. When I used standard ArrayCollections (coming from an XML HTTPService call), the litteral text true and false will be cast boolean automatically. I had a working grid with checkboxes, and when I changed to e4x I ran into the same

  1   2   >