Re: [flexcoders] Re: AdvancedDataGrid::toolTip formatting

2007-12-05 Thread Scott Melby
I just wrote this post http://blog.fastlanesw.com/?p=31 on my blog this morning that shows how to do HTML tooltips in Flex. It is very simple. hth Scott tungchau81 wrote: The full code is : private function myDataTip(data:Object):String { return BTung Chau/B; } controls:AdvancedDataGrid

Re: [flexcoders] Problems printing in Flex

2007-12-04 Thread Scott Melby
Not sure what your back end is... but I am using Java and have found it much simpler to just use the iText library to generate PDFs (from the back end) for printing. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Randy Martin wrote: I'm having all kinds

Re: [flexcoders] Re: Flex Calendar...

2007-11-29 Thread Scott Melby
I found the same thing and decided to work with a modified version of Ely's calendar... It has been excellent for my project (once I fixed a few minor things). You can see it on my blog http://blog.fastlanesw.com/?p=22 and view source if you right click. hth Scott Scott Melby Founder, Fast

[flexcoders] Weborb and FB3

2007-11-27 Thread Scott Melby
? Thanks Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com

Re: [flexcoders] DataGrid Performance issue

2007-11-21 Thread Scott Melby
from the SharedObject once (creationComplete perhaps) and putting it in a local object then setting the local object as your grid provider. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com jitendra jain wrote: Hi guys, I have 200 rows and 32 columns

Re: [flexcoders] Re: Performance Impact when using custom item renderer

2007-11-20 Thread Scott Melby
for the column to be the label text. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Scott Melby wrote: Check out CenteredCheckBox on Alex's blog (assuming you want it centered, otherwise just use CheckBox). I think Alex's blog also has something for a centered image

Re: [flexcoders] Re: Performance Impact when using custom item renderer

2007-11-20 Thread Scott Melby
if you want help with the image one. Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com letterpigeon wrote: Hi Scott and Alex, Thanks for all your help. I adopted Alex's example of the backgroundColorRenderer and it worked really well. So now I'm using this lightweight

Re: [flexcoders] Re: Performance Impact when using custom item renderer

2007-11-20 Thread Scott Melby
Nope... I use it quite a bit. Must be a bug in the way you are specifying the renderer. Can you post a code snippet? Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com letterpigeon wrote: Hi Scott, Not sure why if I only use a checkbox (or CenteredCheckBox

Re: [flexcoders] Grid Editing

2007-11-19 Thread Scott Melby
that they want to add data... then hide it again after the data is added. Note: If you want even simpler just put an add button near the form, or context menu item, etc. then add the new row with dummy values when clicked. hth Scott Scott Melby Founder, Fast Lane Software LLC http

Re: [flexcoders] Flex Builder 3 Beta 2 Resource Error (unable to resolve resource bundle collections for locale...)

2007-11-19 Thread Scott Melby
Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Mark Ingram wrote: Hi, I've just upgraded our production project to FB3 Beta2. I've had several errors which I've fixed but now I'm having trouble with the resources. Unable to resolve resource bundle collections

Re: [flexcoders] Performance Impact when using custom item renderer

2007-11-19 Thread Scott Melby
, etc. Instead it extends the AdvancedDataGridItemRenderer class. In general you want to make your renderers as light weight as possible. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com letterpigeon wrote: Hi all, I'm seeing a huge performance degradation

Re: [flexcoders] Re: Performance Impact when using custom item renderer

2007-11-19 Thread Scott Melby
clicks on a particular data value (row/column). hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com letterpigeon wrote: Hi Scott, Thanks for your post. But I'm on flex 2 now so the AdvancedDataGridItemRenderer is not available to me. Also, in terms of keeping

[flexcoders] Converting app to use modules

2007-11-14 Thread Scott Melby
I am converting my application to use Modules... so far most things are working, but I have run into two errors that I have yet to work around. I have pasted the parts of the code pertaining to modules below the message. 1) Sometimes a refresh of the browser window (I am setup for

Re: [flexcoders] Bug in ContextMenu

2007-11-13 Thread Scott Melby
/ContextMenuItem.html. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Anzer wrote: The context menu is not working for some captions. Eg:- captions start with de is not displaying De, del, delete etc is not working. Is it a bug? I want to show Delete in the menu, please

[flexcoders] Editable data in data grid too easily edited

2007-11-13 Thread Scott Melby
a custom itemEditor to resolve this issue. But wanted to hear if others had suggestions for the cleanest solution. Any help is appreciated. Thanks Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com

Re: [flexcoders] Label not updating properly

2007-11-08 Thread Scott Melby
options are to update your dispDate as follows dispDate = new Date(Application.application.parameters.startTime) or alternatively set it the way you are, then manually update your label with something like myLabel.invalidateDisplayList(). hth Scott Scott Melby Founder, Fast Lane Software LLC

Re: [flexcoders] Re: TabNavigator hide/show tabs

2007-11-08 Thread Scott Melby
Should be possible to remove child using something like the following. In fact I believe this should work with regular TabNavigator as well. tabNav.removeChildAt(index); tabNav.invalidateDisplayList(); hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com

Re: [flexcoders] Question about Datagrid

2007-11-07 Thread Scott Melby
on the renderer you can simply toggle which state it is in. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Anthony Papillion wrote: Hello Everyone, I am creating an application that will receive XML formatted data and display it in a datagrid. The data received

Re: [flexcoders] TabNavigator hide/show tabs

2007-11-07 Thread Scott Melby
You may be better off using the SuperTabBar http://flexlib.googlecode.com/svn/trunk/docs/flexlib/controls/SuperTabBar.html component from flexlib. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com nasawebguy wrote: I want to show/hide tabs based on user

Re: [flexcoders] Deploying a Flex web app in a J2EE container from Eclipse(flex builder)

2007-11-07 Thread Scott Melby
I use ant to copy my compiled java classes and SWF to the J2EE deployment directory structure... from within eclipse you can run the ant task as an External Tool. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com mattmadhavan wrote: Hello, I am using flex

Re: [flexcoders] event trigger

2007-11-06 Thread Scott Melby
Seems like you could do one of the following: 1) in the code that currently handles event1, add code to dispatche event2. 2) add another event listener for event1 and add code in there that dispatches event2. 3) dispatch event1 and event2 when the first image is clicked. hth Scott Scott

Re: [flexcoders] using itemrenderer?

2007-11-06 Thread Scott Melby
: Probably overkill here hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com captnjay_mobile wrote: I'm still rather new to flex.. so forgive me if I'm not going about this the right way. I want to simply change the value of data within datagrid, based on some criteria

Re: [flexcoders] New to flex

2007-11-06 Thread Scott Melby
You probably want to use a view stack or states. Those should get you where you want to go. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com marlin wrote: I started a flex project and added a button to the main.mxml. I want it to go to the aboutus mxml

Re: [flexcoders] i cant get my edited data our of my grid :(

2007-11-03 Thread Scott Melby
you construct the event set it to bubbles = true. Then attach your event listener to the grid itself myGrid.addEventListener(myRendererEventType, handleMyRendererEvent). Your handler will get called when your renderer dispatches the myRendererEventType event. hth Scott Scott Melby Founder

Re: [flexcoders] how to refer to Flex components in ActionScript?

2007-11-02 Thread Scott Melby
myTextField:TextField = myTopPanel.myTextField; ... } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Brian wrote: There is a section of the Flex 2 Developer's Guide (- Using Flex Programming Language - Using ActionScript - Working with Flex components - Referring to Flex

Re: [flexcoders] Strange behavior of CheckBox as itemEditor of DataGrid

2007-11-01 Thread Scott Melby
You probably want to make that column non editable editable=false and just put a handler on the click event... click=doSomething(event). hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com George wrote: Hi guys, My DataGrid is listening to itemEditEnd for each

Re: [flexcoders] Strange behavior of CheckBox as itemEditor of DataGrid

2007-11-01 Thread Scott Melby
Sorry... responded too soon and didn't see source code below :( Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Scott Melby wrote: You probably want to make that column non editable editable=false and just put a handler on the click event... click=doSomething

Re: [flexcoders] Using custom checkBox in datagrid

2007-10-31 Thread Scott Melby
(MyCustomEvent.MY_EVENT_TYPE, handleMyCustomEvent); hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com candysmate wrote: I'm using a custom itemRenderer (centered checkBox), based upon Alex Harui's excellent blog in a dataGrid. My dataGridColumn has: mx:DataGridColumn

Re: [flexcoders] comboBox as itemRenderer and rendererIsEditor

2007-10-31 Thread Scott Melby
; this.text = value.name; } } This should get you close... hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com johnskidgel wrote: Hi All, I'm using a comboBox as an itemRenderer in a DataGrid's DataGridColumn. I'm also using the same

Re: [flexcoders] datagrids and data changes

2007-10-31 Thread Scott Melby
it is changed. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Ramsey, Robert L wrote: Hi, I have the feeling I'm being very stupid about something, but here goes. I have a datagrid, myDatagrid, bound to a dataprovider, myData. myData is an ArrayCollection based

Re: [flexcoders] datagrids and data changes

2007-10-31 Thread Scott Melby
That'd work... but I'd be more inclined to save off a copy of my initial data when I stick it in the ArrayCollection, then on submit walk the two collections seeing what changed. But, that's really just my preference. hth Scott Scott Melby Founder, Fast Lane Software LLC http

[flexcoders] Date oddities

2007-10-30 Thread Scott Melby
My application uses many dates. Dates are always passed between the back end web service and the front end flex app as timestamps, milliseconds since epoch. Yesterday I switched to a dev. box that is running VISTA... now all of the dates in my application are off by the timezoneOffset. I

Re: [flexcoders] Date oddities

2007-10-30 Thread Scott Melby
Sorry... forgot to include the obvious in my prior post. Adding it for completeness. Here is how I am creating dates 1) var d:Date = new Date(timeMillis); 2) var d:Date = new Date(); d.time = timeMillis; 3) var now:Date = new Date(); Scott Scott Melby wrote: My application uses many

Re: [flexcoders] Date oddities

2007-10-30 Thread Scott Melby
Paul Decoursey wrote: Odd, I've always had to adjust for the timezone, and I've always built on XP or OSX. I just assumed that was the way it was supposed to be. On Oct 30, 2007, at 11:29 AM, Scott Melby wrote: My application uses many dates. Dates are always passed between the back end web

[flexcoders] Flex Builder 3 beta 1 expires tomorrow

2007-10-30 Thread Scott Melby
My flex builder 3 beta 1 is expiring tomorrow, or it says it is. So I attempted to upgrade to beta 2. However, there is a bug in beta 2 that prevents DateField item editors from working in DataGrids (https://bugs.adobe.com/jira/browse/SDK-12923) that prevents me from being able to upgrade.

Re: [flexcoders] Flex Builder 3 beta 1 expires tomorrow

2007-10-30 Thread Scott Melby
oops... meant SDK, not JDK. Doh! Scott Scott Melby wrote: Matt - Thanks... had not thought of using a different JDK. This is a workable solution for me. Scott Matt Chotin wrote: Flex Builder Beta 1 will expire no matter what serial at this point since Beta 2 has been released

Re: [flexcoders] Date oddities *** SOLVED ***

2007-10-30 Thread Scott Melby
with your server returning local time (intranet app, etc) then no adjustment is necessary in the Flex code. Thanks Scott Scott Melby wrote: Paul - Thanks for the response. Maybe your XP builds were resulting in dates that had timezoneOffset = 0. If this is the case, the adjustment would have

[flexcoders] compile error with beta 2 sdk

2007-10-29 Thread Scott Melby
Can anybody shed light on this compiler error I am getting after upgrading to the beta 2 sdk? [mxmlc] Error: Unable to resolve resource bundle datamanagement for locale en_US. In case it helps... My app uses only HttpService to retrieve data from a back end web service. Any help is

Re: [flexcoders] compile error with beta 2 sdk *** SOLVED ***

2007-10-29 Thread Scott Melby
Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Scott Melby wrote: Can anybody shed light on this compiler error I am getting after upgrading to the beta 2 sdk? [mxmlc] Error: Unable to resolve resource bundle datamanagement for locale en_US. In case it helps... My app uses

[flexcoders] debugger problems

2007-10-29 Thread Scott Melby
I have recently setup a new development machine (Vista) and in the process upgraded to Flex Builder 3 Beta 2. On my old machine the debugger always used firefox... and all was good :) Now, on this new machine it is using IE and all is not nearly as good. I am only able to open the debugger

Re: [flexcoders] Re: debugger problems

2007-10-29 Thread Scott Melby
--- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com, Scott Melby [EMAIL PROTECTED] wrote: I have recently setup a new development machine (Vista) and in the process upgraded to Flex Builder 3 Beta 2. On my old machine the debugger always used firefox... and all was good :) Now

<    1   2