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

2008-10-20 Thread Scott Melby
tal chain 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 .

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] simple?? question

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

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

2008-10-02 Thread Scott Melby
bjectA", ".objectB", ".objectC"] by throwing > out the non-matching group and rolling the "\." into the last matching > group, but I still get the same result (only the last match comes through). > > For now I've switched to a simpler regex in order

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 paren

Re: [flexcoders] component reuse

2008-10-02 Thread Scott Melby
ibrary). 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

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... id="

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

2008-09-30 Thread Scott Melby
ly 2) Bind the local collection to something that will fire the binding when it changes filterFunction="filterPerson"/> height="100%"> hth Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com FYI: here is how my custom Hashtable collec

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 { _imageLoader.loa

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

2008-08-27 Thread Scott Melby
hth Scott -- 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

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. As a

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 instead of . > > > > Gordon Smith > >

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

2008-08-06 Thread Scott Melby
be traversed with > bubbling set to true, eventually? > > The solution, I have used several times, is to add the listener to the > application object in Flex, but that seems hackish to me. > > Thanks, for your time, because I really want to remove all doubt in > this area onc

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

2008-06-16 Thread Scott Melby
i Graphix Blog http://www.blog.teotigraphix.com You can find more by solving the problem 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
s a pretty good livedocs entry on sorting data in datagrids <http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=0598.html>. hth Scott -- Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com David Pariente wro

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

2008-04-28 Thread Scott Melby
ot;ID: " + 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 o

Re: [flexcoders] EmptyString

2008-04-28 Thread Scott Melby
here } if you 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 n

Re: [flexcoders] Event Calendar component

2008-04-28 Thread Scott Melby
email me off list 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..

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 chan

Re: [flexcoders] Bind property to data

2008-04-23 Thread Scott Melby
= NumericStepper(evt.currentTarget); 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 > i

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 w

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 betwe

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
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 wr

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

2008-04-08 Thread Scott Melby
= valueTwo; } } 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 Fl

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

2008-04-08 Thread Scott Melby
that produced 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 s

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

2008-04-07 Thread Scott Melby
//we 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, > >

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, wh

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:Bo

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

2008-04-04 Thread Scott Melby
t(key, 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:Dictiona

Re: [flexcoders] Calendar View Control / Samples

2008-04-03 Thread Scott Melby
calendar on my 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 cod

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

2008-04-02 Thread Scott Melby
n you 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 TabNavigat

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

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

2008-04-01 Thread Scott Melby
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

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 p

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.co

Re: [flexcoders] Re: itemRenderer on TileList question

2008-03-30 Thread Scott Melby
lick the link for the sample app, 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 sc

Re: [flexcoders] itemRenderer on TileList question

2008-03-30 Thread Scott Melby
etc.) So, 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

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

2008-03-30 Thread Scott Melby
from 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 th

Re: [flexcoders] Custom Component and Parent Communication

2008-03-30 Thread Scott Melby
); public function 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

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 w

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

2008-03-28 Thread Scott Melby
into the object you created. hth Scott 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" c

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

2008-03-27 Thread Scott Melby
r != null && item.docNumber.length > 0) { result = (item.docNumber.toUpperCase().indexOf(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

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

2008-03-27 Thread Scott Melby
are XML... seems like a safe assumption var myXML:XML = XML(cBox.selectedItem); //access your xml attrs etc. using e4x as normal ... } hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com jeffreyr6915 wrote: > I k

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. > > > > __

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

2008-03-25 Thread Scott Melby
} else { 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'

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

2008-03-21 Thread Scott Melby
know... 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

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

2008-03-21 Thread Scott Melby
ectedField); } } 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 whethe

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] 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 i

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 appli

Re: [flexcoders] Export To Outlook. in flex

2008-03-14 Thread Scott Melby
t 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

Re: [flexcoders] How to get current year

2008-03-13 Thread Scott Melby
Looks like maybe you forgot creationComplete="initApp()" on your mx:Application tag. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com markflex2007 wrote: > I get empty string with the following code.why? > Thanks > > > http:

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

2008-03-05 Thread Scott Melby
an update 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 su

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 but

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 tag. In other words we dont want to

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 col

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

2008-02-25 Thread Scott Melby
nd); hth Scott 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 cons

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
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] 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

Re: [flexcoders] Re: AdvancedDataGrid & ItemRenderer

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

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

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

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

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: No this is no

Re: [flexcoders] Setting combobox selectedindex

2008-02-06 Thread Scott Melby
having a parameter that is bindable) every time an assignment is made 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

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 see

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 fro

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

2008-02-05 Thread Scott Melby
hth 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&quo

Re: [flexcoders] TextInput valid Event not working correctly

2008-02-05 Thread Scott Melby
Txt.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

Re: [flexcoders] Databinding in component

2008-02-04 Thread Scott Melby
HANGE, 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

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

2008-01-30 Thread Scott Melby
documented, 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 conside

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 va

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

2008-01-28 Thread Scott Melby
ch exactly what you wrote, that file contains - - flexbuilder3 - ... 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 machi

[flexcoders] Flex 3 SDK license.properties question

2008-01-28 Thread Scott Melby
edDataGrid. 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 Lan

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.html&all-classes.html>. hth Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com markflex2007 wrote: Hi, I have a account list

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

[flexcoders] PopUpButton issue

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

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

2008-01-15 Thread Scott Melby
Name"; 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

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] 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

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] 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] 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 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 to

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 d

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 to

Re: [flexcoders] Flex Calendar

2008-01-08 Thread Scott Melby
ttp://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:

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: > > Ar

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:

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

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] 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-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=&

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

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

  1   2   >