Re: [flexcoders] Listem to an event sent by a DataGrid ItemRenderer

2008-10-20 Thread Scott Melby
until it reaches your application. Then all you need to do is register for the event at the Application level. hth Scott --- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com jitendra jain wrote: Where is the Timer control ? Which TimerEvent you are listening to .. Thanks

Re: [flexcoders] simple?? question

2008-10-03 Thread Scott Melby
? shouldn't it be com.vo.fooVO? -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com

Re: [flexcoders] flow?

2008-10-03 Thread Scott Melby
Greg - I suspect that your Alert in initMe() is showing null because evt as String cannot simply convert a CairngormEvent to a String. Beyond that, it appears to me that you could benefit from a quick read through of this excellent set of articles on Cairngorm

Re: [flexcoders] component reuse

2008-10-02 Thread Scott Melby
). hth Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com sefi.ninio wrote: Hi everyone. I have a functionality that needs to be implemented both as a standalone app (for users with restricted access) and as a module in the main app (for users with full rights access

Re: [flexcoders] Re: Prototyping a form

2008-10-02 Thread Scott Melby
I'm going to guess that your problem is that you have declared completeParameters() incorrectly (since it is private in your subclass example). You need to declare it as protected or public in the parent class is order to allow subclasses to override it. Note: it must be declared in the

Re: [flexcoders] Matching n groups with a regex?

2008-10-02 Thread Scott Melby
). For now I've switched to a simpler regex in order to RegExp.test() the string and then using String.explode(), but I would like to do both at once using String.match() if possible. Cheers, -Josh -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com

Re: [flexcoders] determine if image source exists

2008-09-30 Thread Scott Melby
You can use a Loader and attempt a load as follows: /** * The Loader used to load images. */ private var _imageLoader:Loader = new Loader(); ... var urlRequest:URLRequest = new URLRequest(someURLString); try {

Re: [flexcoders] Re: Hide a list item without changing (filtering) the dataprovider?

2008-09-30 Thread Scott Melby
collection to something that will fire the binding when it changes mx:ArrayCollection id=peopleAC source={this._model.people.values} filterFunction=filterPerson/ mx:DataGrid id=peopleGrid dataProvider={this.peopleAC} width=100% height=100% hth Scott -- Scott Melby Founder, Fast Lane Software

Re: [flexcoders] how do I send a custom event from an application to a component?

2008-09-30 Thread Scott Melby
Rather than sending an event to a component, what you do is declare a public function in your component, then call it from the application. so... in myComp public function someFunction(var param1:type):void { //do stuff } and out in your main code you need to give your myComp an id...

Re: [flexcoders] How do I enter 2 arrays into one arraycollection

2008-08-27 Thread Scott Melby
-- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com tallen_eit wrote: Hello, I am trying to use 2 arrays I generate from a mySql database to populate an AdvancedDataGrid. I need to be able to use the following format but replace the static data with the two arrays I

Re: [flexcoders] WordWrapping a Label

2008-08-13 Thread Scott Melby
Make sure you set the width property, or the text will not wrap. hth Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Gordon Smith wrote: You need to use mx:Text instead of mx:Label. Gordon Smith Adobe Flex SDK Team

Re: [flexcoders] Re: WordWrapping a Label

2008-08-13 Thread Scott Melby
I have not tried... but, it appears the styles on this page http://livedocs.adobe.com/flex/3/langref/mx/controls/Text.html should get you where you want to go. hth Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com shafram wrote: Thanks for the responses

Re: [flexcoders] Event Phase clarification bubbling - please Diagram

2008-08-06 Thread Scott Melby
, but that seems hackish to me. Thanks, for your time, because I really want to remove all doubt in this area once and for all, since i have been working with as3 for over 2 years now... Patrick -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http

Re: [flexcoders] Re: string to actual actionscript code?

2008-06-16 Thread Scott Melby
then by 'asking the question'. -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com

Re: [flexcoders] Order datagrid by date in DD/MM/YYYY format

2008-06-11 Thread Scott Melby
livedocs entry on sorting data in datagrids http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Partsfile=0598.html. hth Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com David Pariente wrote: Hi everyone, I have

Re: [flexcoders] Event Calendar component

2008-04-28 Thread Scott Melby
if you have questions about how to develop. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com txakin wrote: Hi guys! I have checked some examples in internet...about how to create an event calendar component. i love

Re: [flexcoders] EmptyString

2008-04-28 Thread Scott Melby
want to process input that has only spaces just leave off the call to StringUtil.trim. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com reflexactions wrote: I have an if statement that is supposed to catch nulls and empty strings

Re: [flexcoders] Get id of what called the event.

2008-04-28 Thread Scott Melby
: + myButton.id); } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com timgerr wrote: How can I get from an event the id of a flex item, mx:Form mx:FormItem label=User Name required=true mx:TextInput name=User

Re: [flexcoders] How to prevent tab change

2008-04-27 Thread Scott Melby
This has been discussed a number of times on this list. Try searching the list archives for TabNavigator. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com deepcworld wrote: I need to prevent a tab from being changed when user

Re: [flexcoders] How do I call the correct web services server in Flex

2008-04-23 Thread Scott Melby
back to the originating server (with relative URL of course) that returns the desired configuration data. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com scarfire2004 wrote: I have 3 different platforms/web farms at work. Development

Re: [flexcoders] Bind property to data

2008-04-23 Thread Scott Melby
); this._surfaceColWidth = ns.value; } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com markgoldin_2000 wrote: Can I bind a column's width to data? so, when that data is changed so is the width? Thanks

Re: [flexcoders] View States Vs using the visible flag with multiple UI components..

2008-04-15 Thread Scott Melby
directly without the use of view states. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com sk_acura wrote: Hi All, I am trying to display multiple DataGrids in a Panel. User will have the option of switching between DataGrids

Re: [flexcoders] Resetting a datechooser

2008-04-14 Thread Scott Melby
myDateChooser.selectedDate = new Date()? hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com ghus32 wrote: Hello everyone, anyone know a code to reset a datechooser back to todays date?? Thanks Steve

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Scott Melby
the same list I don't think I'd ever have this in my code again. Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Bjorn Schultheiss wrote: drop the 'this' unless its necessary to explain something.. On 08/04/2008, at 5:39 PM, Mike Anderson

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Scott Melby
; } } 2 more of my cents :) Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com shaun wrote: Mike Anderson wrote: Greetings All, Whenever I study code generated by seasoned programmers (i.e. all the Adobe people supporting Flex on this list

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Scott Melby
NICE... actually that is even better since it includes locals as well as members etc. Guess I should have said If I knew of a hot-key sequence :) Thanks! Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Giles Roadnight wrote: ctrl

Re: [flexcoders] Copying all data from one column of DataGrid to another column

2008-04-07 Thread Scott Melby
have changed the grid provider behind the scenes, so invalidate the list to update the display theGrid.invalidateList(); } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Baljeet singh wrote: Hi all, I am using an dataGrid

Re: [flexcoders] How to copy or clone Dictionary?

2008-04-04 Thread Scott Melby
, oldDiciontary[key]); } return new; } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com lytvynyuk wrote: Because var temp:Dictionary = new Dictionary(); // put something in Dictionary var new:Dictionary = ObjectUtil.copy(temp

Re: [flexcoders] How to copy or clone Dictionary?

2008-04-04 Thread Scott Melby
newDictionary; } Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Scott Melby wrote: How about the following? Haven't tried it, but it seems it would work... static public funciton cloneDictionary(oldDictionary:Dictionary, weakKeys:Boolean

Re: [flexcoders] Re: How to copy or clone Dictionary?

2008-04-04 Thread Scott Melby
hey... i was close ;) Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com lytvynyuk wrote: Sorry friend but I think your case will not gonna work ;) what is put methods? Dictionary doesn't have it :) But here is my corrected case, where I

Re: [flexcoders] Calendar View Control / Samples

2008-04-03 Thread Scott Melby
blog http://blog.fastlanesw.com/?p=22 (with source code) that fixes some of the more major issues I found. I also gave the changes back to Ely, but am not sure if he incorporated them etc. Anyway, just run the sample app on that page and right click to view source code. hth Scott Scott Melby

Re: [flexcoders] Datechooser date select

2008-04-02 Thread Scott Melby
I believe you can just set the selectedDate property. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com ghus32 wrote: Hello everyone, Is there a way to have a date preselected in the date chooser?? ex.. I pull a date from my

Re: RES: [flexcoders] TabContainer with modules - how to cancel Tab change

2008-04-02 Thread Scott Melby
are using will do the job. Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com guitarguy555 wrote: Thanks for that suggestion. I was able to cancel the TabNavigator change by doing the following: In my main app (where the TabNavigator

Re: [flexcoders] Problem with tab navigator

2008-04-01 Thread Scott Melby
Seems you could explicitly set the selectedIndex of the tab navigator back to 0 each time you change back to that page. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com ghus32 wrote: I have a problem with a tab navigator on my page

Re: RES: [flexcoders] TabContainer with modules - how to cancel Tab change

2008-04-01 Thread Scott Melby
the methods you define in that interface before actually setting the selected tab. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com guitarguy555 wrote: Thanks for the reply, That doesn't work though. If I set up an IndexChangedEvent event

Re: [flexcoders] interactions among multiple flex projects

2008-03-31 Thread Scott Melby
You probably want to use the compc compiler http://livedocs.adobe.com/flex/3/html/help.html?content=compilers_22.html to create .swc libraries that you can then include from your main application. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http

Re: [flexcoders] Custom Component and Parent Communication

2008-03-30 Thread Scott Melby
handleMyEvent(event:MyEvent):void { //handle the event... } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com kenny14390 wrote: How can I make the custom component tell the parent when it was clicked? I can't figure out how to make

Re: [flexcoders] Re: memory leak in converting string to xml

2008-03-30 Thread Scott Melby
the back end. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Douglas Knudsen wrote: which is really pushing limits IMHO. I would never trust running a web app for longer than a couple hours. Heck, can FF or IE run for more than 12

Re: [flexcoders] itemRenderer on TileList question

2008-03-30 Thread Scott Melby
, the way you handle this is to override the set data(value:Object) method in your renderer... the object you are passed as a parameter will be an item from your data provider. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Alexander

Re: [flexcoders] Re: itemRenderer on TileList question

2008-03-30 Thread Scott Melby
, then right click on the app to view source. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Alexander Tsoukias wrote: Thank you so much for this info, can you possibly give me a code example scenario? thanks alexander --- In flexcoders

Re: [flexcoders] Re: Datagrid with different objects in each cell

2008-03-28 Thread Scott Melby
Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com kallebertell wrote: Thanks. To complicate things further I have to be able add new columns dynamically which are the same kind of relational columns. For now I managed to solve it with a hack. I

Re: [flexcoders] Re: Flex Builder and Ant

2008-03-28 Thread Scott Melby
with FB here http://blog.fastlanesw.com/?p=23... though it is not nearly complete and not updated since FB 2, it should get you started. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Shailesh Mangal wrote: Why do you want

Re: [flexcoders] Actionscript/Flex 3 - Communicating with an itemRenderer from the main applicati

2008-03-27 Thread Scott Melby
=cbItemRenderer/ /mx: Component /mx: itemRenderer hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com jeffreyr6915 wrote: I know that if you want to communicate with the main application from within the itemRenderer component, you have to use

Re: [flexcoders] filterFunction - blows up when item field blank

2008-03-27 Thread Scott Melby
(searchTerm) != -1); } } return result; } Though I may use RegExp and String.search() instead of indexOf... Check out this page http://livedocs.adobe.com/flex/3/html/help.html?content=09_Working_with_Strings_09.html for more info on string searches. hth Scott Scott Melby Founder, Fast

Re: [flexcoders] Re: ArrayCollection of String as single-column DataGrid provider

2008-03-25 Thread Scott Melby
{ super.dataProvider = value; } } } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com mario.blataric wrote: Ok, how do I display and edit ArrayCollection that contains only String types in it if I can't use DG? --- In flexcoders

Re: [flexcoders] Re: ArrayCollection of String as single-column DataGrid provider

2008-03-25 Thread Scott Melby
true, true... guess I assumed the OP had some reason for wanting to use DG. Column headers etc. Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Alex Harui wrote: Or just use List. From

Re: [flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread Scott Melby
); } } grid.invalidateList(); } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com p_repetti wrote: Hello I have created a DataGrid component whose last column is rendered/edited with a checkbox. This checks whether the row data will be sent

Re: [flexcoders] Select all checkboxes in datagrid with a single click

2008-03-21 Thread Scott Melby
... cuz I wouldn't recommend doing that either :) Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Tracy Spratt wrote: Yes that example in that other reply will show you how to do this, but I want to make a key idea very clear. When

Re: [flexcoders] Export To Outlook. in flex

2008-03-14 Thread Scott Melby
that contains your data. Note: if you want to be even more open than that, see if you can find the XML spec used by open office and verify that your version of outlook can read in docs that use that schema. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Giles

Re: [flexcoders] Flex 3.0 + Java + Hibernate + Granite + Cairngorm

2008-03-14 Thread Scott Melby
I found this series of articles http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html very helpful when I was getting started with Cairngorm. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com txakin wrote: Hi all. I have developed one application

Re: [flexcoders] DateField disabledRange attribute setting?

2008-03-14 Thread Scott Melby
http://livedocs.adobe.com/labs/flex3/langref/mx/controls/DateField.html#disabledRanges hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com markflex2007 wrote: Hi, I want to limited DateField and let only select date in current year.I

Re: [flexcoders] Re: DateField disabledRange attribute setting?

2008-03-14 Thread Scott Melby
It looks to me like the array you are creating in your function will contain two String objects. You need to correct your array initialization syntax. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com markflex2007 wrote: Hi I

Re: [flexcoders] how to have a component change the state

2008-03-05 Thread Scott Melby
model.viewState and the main.currentState will change via the binding. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Chad Gray wrote: Say I have a component file that is called Login. It asks for login and password and if they succeed I want

Re: [flexcoders] CairngormEvent - Place to put the static variable that stores the name of the event

2008-02-25 Thread Scott Melby
Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Fernando Ghisi wrote: Where is the best place to put the static variable that stores the name of an event, in the class of this event (extends CairngormEvent) or in the class that extends FrontController and consumes this event

Re: [flexcoders] advanced datagrid header

2008-02-25 Thread Scott Melby
Set the sortExpertMode property http://livedocs.adobe.com/labs/flex3/langref/mx/controls/AdvancedDataGrid.html#sortExpertMode to true to get rid of that. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com majid.tahir wrote: In the header of each column

Re: [flexcoders] advanced datagrid sub header

2008-02-25 Thread Scott Melby
Set the showHeaders property of the AdvancedDataGrid to false. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com majid.tahir wrote: Hello, Is there anyway to not display the headers of the columns that are within a mx:AdvancedDataGridColumn

Re: [flexcoders] Re: advanced datagrid sub header

2008-02-25 Thread Scott Melby
Have not done that... but, worst case it seems you could set the headerRenderer of those columns to an IFactory that creates a component with 0 height. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com majid.tahir wrote: Thanks Scott for the help

Re: [flexcoders] Event handling question...

2008-02-23 Thread Scott Melby
params prior to this code var token:AsyncToken = remoteObject.remoteCall(param1, param2); \ var responder:Responder = new Responder(iResponder.result, iResponder.fault); token.addResponder(responder); hth Scott Scott Melby Founder, Fast Lane Software LLC http

Re: [flexcoders] Re: How to retrieve the Button label name?

2008-02-22 Thread Scott Melby
or whatever) and get data from the event when notified. Note: if you dispatch the event from the button itself the currentTarget will probably be a ref to your button object and you may not need a custom event. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com

Re: [flexcoders] changing an Hbox

2008-02-17 Thread Scott Melby
Have you tried the paddingBottom style http://livedocs.adobe.com/labs/flex3/langref/mx/containers/Box.html#style:paddingBottom? You would set this programmatically using the setStyle() method. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com [EMAIL PROTECTED

Re: [flexcoders] changing an Hbox

2008-02-17 Thread Scott Melby
Hmmm... well that is how I always do it. To be clear, what that should set is the amount of space inside the HBox (at the bootm) that will be left empty (below any children that are added in there). Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com [EMAIL

Re: [flexcoders] Re: AdvancedDataGrid ItemRenderer

2008-02-14 Thread Scott Melby
== false x dropIndex) { cursor.moveNext(); x++; } if(cursor.afterLast == false) { dropTargetItem = cursor.current; } } } hth Scott Scott

Re: [flexcoders] AdvancedDataGrid ItemRenderer

2008-02-14 Thread Scott Melby
I usually do this by handling the dragEnter, dragOver etc. events of the AdvancedDataGrid itself. In the processing I determine which item is being dragged over via the event properties. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com loc_tran106 wrote: I

Re: [flexcoders] DataGrid editor lifecycle

2008-02-08 Thread Scott Melby
try itemEditEnd hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com rmarples wrote: Hi folks - Does anybody know what the lifecycle of the DataGrid editing process is in regards to disabling and enabling the autoUpdate feature of it's dataProvider? It seems

Re: [flexcoders] Re: What is the best way to add a day to a date?

2008-02-07 Thread Scott Melby
seems doing this you could easily end up with 2008/12/32 :) I'd parse the data, then create a Date object. Adding a day to a Date should be as simple as myDate.time += (24 * 60 * 60 * 1000); hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com rmarples wrote

Re: [flexcoders] Re: PopUpButton issue

2008-02-06 Thread Scott Melby
I have now :) http://bugs.adobe.com/jira/browse/SDK-14562 Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com dazweeja wrote: I agree - nulling the _popUp property seems like a hack. There doesn't seem to be a logical link between removing a PopUpButton from

Re: [flexcoders] Re: PopUpButton issue

2008-02-06 Thread Scott Melby
Jeff - I saw the bug you referenced in JIRA when i searched, but I decided to add my bug report anyway because that existing one was marked as closed. Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Battershall, Jeff wrote: Scott, There seems

Re: [flexcoders] Setting combobox selectedindex

2008-02-06 Thread Scott Melby
to productType (like your model changes), since it always returns 1 your selected index will be set for you. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com gur_sukh wrote: The combobox dataprovider sets selectedindex to 0. How do we set it to something else

Re: [flexcoders] Re: Setting combobox selectedindex

2008-02-06 Thread Scott Melby
Yeah... that code'll do that too :) It will get called initially and then be called again any time productType is changed in your model provided productType is bindable. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com gur_sukh wrote

Re: [flexcoders] Removing Object from Screen

2008-02-06 Thread Scott Melby
I usually use whatever.visible = false and whatever.includeInLayout=false then just set them back to true to bring them back. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Brad Bueche wrote: I need to do one more thing and then I can get this puppy out

Re: [flexcoders] TextInput valid Event not working correctly

2008-02-05 Thread Scott Melby
{ testTxt.errorString = ; } public function testB():void{ testTxt.errorString = The number must be between 1 and 99; } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com greenfishinwater wrote: I have a form with a few TextInput components. I have a TextInput

Re: [flexcoders] Get Tabnavigator index value on click TabControl

2008-02-05 Thread Scott Melby
Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Harry Saputra wrote: How to get Tabnavigator index value when I click TabControl ? I am used Canvas on as in Tabnavigator. mx:TabNavigator id=tnJadwal right=10 left=10 top=10 bottom=10 tabWidth=50 mx:Canvas label=Senin

Re: [flexcoders] Databinding in component

2008-02-04 Thread Scott Melby
, handleCollectionChanged, false, 0, true); showData(); trace(databinding triggered) } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Sherif Abdou wrote: you could always just do nameOfComponent.dataProvider = fakedata and that work but i dont know if that is what

Re: [flexcoders] Working with maps / latitude / longditude data

2008-01-30 Thread Scott Melby
, and efficient. I have not looked at the Flex mapping stuff. But, I'd bet it would not be too hard to get MapServer rendered tiles overlaying. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Giles Roadnight wrote: Hi All I'm considering doing a project

Re: [flexcoders] DataGrid Number of Rows

2008-01-29 Thread Scott Melby
have you tried rowCount={yourArrayCollection.length}? hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Jehanzeb Musani wrote: Hello All, I am binding an arraycollection as DataGrid's data source. The number of items in the arraycolleciton varies at runtime

[flexcoders] Flex 3 SDK license.properties question

2008-01-28 Thread Scott Melby
. But, I prefer to build using ANT so I can do controlled builds etc. So, I need the SDK to do the same thing. I tried creating the file using the old license.properties format, but it seems to not get picked up. Any help is appreciated. Thanks Scott -- Scott Melby Founder, Fast Lane Software

Re: [flexcoders] Flex 3 SDK license.properties question

2008-01-28 Thread Scott Melby
-number /license /licenses - imap://[EMAIL PROTECTED]:143/fetch%3EUID%3E/INBOX%3E18267# compiler... Any further ideas? Thanks again Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Matt Chotin wrote: If it's on the same machine your Ant script should pick up

Re: [flexcoders] How to change the text in datagrid ?

2008-01-18 Thread Scott Melby
Have a look at DataGridColumn.labelFunction here http://livedocs.adobe.com/labs/flex3/langref/index.html?package-summary.htmlall-classes.html. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com markflex2007 wrote: Hi, I have a account list like this accout

[flexcoders] PopUpButton issue

2008-01-16 Thread Scott Melby
it should not be necessary. Thanks Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com

Re: [flexcoders] PopUpButton issue

2008-01-16 Thread Scott Melby
Deepa - Thanks! It seems you could avoid the memory leak without nulling _popUp couldn't you? i.e. just call PopUpManager.removePopUp(_popUp) without the following line that nulls the reference. Is that not right? Scott Scott Melby Founder, Fast Lane Software LLC http

Re: [flexcoders] Flex + WebORB for PHP

2008-01-15 Thread Scott Melby
I believe WebORB has a forum for this type of thing... but I think the last time I had this issue it was due to not copying the weborb.php as directed on this page http://www.themidnightcoders.com/weborb/php/gettingstarted.htm. See the big red IMPORTANT section for details. hth Scott Scott

Re: [flexcoders] HTTPService - save DataGrid data

2008-01-15 Thread Scott Melby
Is there a reason that you can't use SharedObject to save the grid size, etc. on the client side? hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com markgoldin_2000 wrote: I am using HTTPService to bring data from server. My DataGrid data is an xml. In order

Re: [flexcoders] HTTPService - save DataGrid data

2008-01-15 Thread Scott Melby
Just re-read this and realized I may have mis-understood the question :) If you want to save data from grid back to server after user changes it, take a look at DataGrid.itemEditEnd event. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Scott Melby wrote

Re: [flexcoders] Re: HTTPService - save DataGrid data

2008-01-15 Thread Scott Melby
; myHttpService.send(params); on the backend you can then just parse the request params to get the changed data and commit them to your DB etc. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com markgoldin_2000 wrote: But I am not sure what exaclty I need to provide

Re: [flexcoders] how to update database with update datagrid value.?

2008-01-14 Thread Scott Melby
Have a look at DataGrid.itemEditEnd hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com markflex2007 wrote: Hi, Datagrid can be editable, I need update the back end database after Datagrid updated. Which event I can use and how to pass the new value

Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling

2008-01-14 Thread Scott Melby
); tmpArray.push(rowObj); } dgQuery.source = tmpArray; hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Gary Smith wrote: Thanks for the quick reply Am I missing something, I have stripped the previous dynamic column generation out of the source and just

Re: [flexcoders] How to force a module to compile

2008-01-14 Thread Scott Melby
Are you certain you are using the module anywhere within your app? I seem to recall running into this once and the issue was that them module was not referenced from the app source code anywhere, hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com reflexactions

Re: [flexcoders] mx:binding equivalent in Actionscript? Need to dynamically bind text inputs..

2008-01-11 Thread Scott Melby
Rich - Haven't ever tried it... but, ChangeWatcher.watch() might be useful. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com zlayde wrote: Hi all: I'm looking to programattically bind a textInput box as a source and an xml element (via e4x) as a destination

Re: [flexcoders] Dynamic DataGrid + slow horizontal scrolling

2008-01-11 Thread Scott Melby
chunks and clean them up repeatedly. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Gary Smith wrote: Can anyone explain why this datagrid is so slow at horizontal scrolling: source and demo here: it takes a few seconds to start over the internet due

Re: [flexcoders] Flex Calendar

2008-01-08 Thread Scott Melby
://blog.fastlanesw.com/?p=22. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com vivek wrote: Hey Guys, Thanks for looking into my message. I need some urgent help regarding creating a calendar in flex. I want to create a calendar as shown in the image in this link: http

Re: [flexcoders] IE cache

2008-01-06 Thread Scott Melby
Did you try the max-age header? Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com coder3 wrote: i tried to set the no-cache header in my jsp, somehow it didn't work. so i have to use garbage parameter to work around. thx Scott Melby-3 wrote: Are you using

Re: [flexcoders] IE cache

2008-01-03 Thread Scott Melby
Are you using HTTPS? Check this post http://blog.fastlanesw.com/?p=9 on my blog for a workaround. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com coder3 wrote: Hi All, I need an auto refresh feature in my flex application, my code is like this: var

Re: [flexcoders] Re: DataGrid ItemRenderes HEADERS?

2007-12-19 Thread Scott Melby
are dispatching. Seems the event should bubble out to you. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Sajid Hussain wrote: hey . I want to add checkbox control in datagrid header ,I alredy render tht checkbox but problem is that I m not able to call

Re: [flexcoders] Re: Datagrid context menu question

2007-12-13 Thread Scott Melby
Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com letterpigeon wrote: Hi Scott, I tried your suggestion and in my handleMenuSelectEvent, I do: var dataGrid:DataGrid = event.contextMenuOwner as DataGrid; dataGrid.selectedIdex = (event.mouseTarget as DataGridItemRenderer

Re: [flexcoders] How To Hide Tab Of Tabnavigator

2007-12-12 Thread Scott Melby
Not sure I am entirely clear on the solution. Can you post a code snippet? I'd love to use visible flag of the tab if it works... Thanks Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Igor Costa wrote: set the id to the container and then put visible='false

Re: [flexcoders] Datagrid context menu question

2007-12-12 Thread Scott Melby
I did it by listening for the MENU_SELECT event on my context menu... works great. _myContextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, handleMenuSelectEvent, false, 0, true); hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Alex Harui wrote

Re: [flexcoders] How To Hide Tab Of Tabnavigator

2007-12-10 Thread Scott Melby
tabNav.removeChildAt(index) works for me. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com yourName wrote: can any one tell my how i can set visibility of tabnavigator tab by using any variable or how can hide tabnavigator tab... Thanks in advance...

[flexcoders] AdvancedDataGrid sortable column headers

2007-12-07 Thread Scott Melby
Can anybody tell me how to make the sortable column headers on an AdvancedDataGrid look like the headers on a regular DataGrid? All I want is the header text and the sort direction arrow. I'd rather not have the separator and sort number. Thanks Scott -- Scott Melby Founder, Fast Lane

Re: [flexcoders] Combo as itemEditor

2007-12-06 Thread Scott Melby
In the itemEditEnd handler I get the comboBox as follows: var comboBox:ComboBox = ComboBox(event.currentTarget.itemEditorInstance); hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Barry wrote: I am using a comboBox component as an itemEditor within

Re: [flexcoders] Sloooooow Flex Builder

2007-12-06 Thread Scott Melby
much faster. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com Tim Ashworth wrote: One project open, sometimes save to a network drive, sometimes save locally, always slow. I learnt about the open project thing and that's made things better, but really it's

  1   2   >