RE: [flexcoders] Re: Cannot get unselected Tab to be pure white color...

2007-09-14 Thread Randy Martin
You can get rid of the border around the tabs, keep the border around the tab body, and make the unselected tabs white like this: TabNavigator { tabWidth: 80; tabHeight: 25; horizontalAlign: right; horizontalGap: 3; backgroundColor: #EE; tabStyleName: myTabs;

RE: [flexcoders] pixel font [old] issue

2007-09-22 Thread Randy Martin
I've always had good results like this: In your application.css file (or in a mx:Style block), add these kinds of font statements: @font-face { src: url(fonts/MyriadWebPro.ttf) ; fontFamily: Myriad; unicodeRange: U+0021-U+007E; /* Normal Chars */ } @font-face { src:

RE: [flexcoders] Re: Eeeeek! Development grinds to a halt due to stupid syntax problem

2007-09-22 Thread Randy Martin
If it were me, I'd just change the name of the field in the SQL select statement, like: select [ADDRESS_LINE#2] as addr2, - . . from. Then use addr2 in your app. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of candysmate Sent: Saturday,

RE: [flexcoders] pixel font [old] issue

2007-09-23 Thread Randy Martin
You might take a look at this, too. HYPERLINK http://www.minifonts.com/tips.htmlhttp://www.minifonts.com/tips.html The second major topic on the page deals with using pixel fonts with Flash. _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Ary Sent: Sunday,

RE: [flexcoders] Element type mx:Lab must be followed by either attribute specifications,

2007-09-29 Thread Randy Martin
First, there's no element type Lab in the mx namespace. Second, even if there was, there is no tag ending to your mx:Lab statement. Try this (assuming your Lab components are in a directory named lab): ?xml version=1.0 encoding=utf--8? mx:Application xmlns:mx=HYPERLINK

RE: [flexcoders] adjusting horizontal space between menuitems in menuBar

2007-09-29 Thread Randy Martin
A quick and dirty way to do it would be to just add spaces to the XML that provides the menubar items: private var menubarXML:XMLList = menuitem label= File data=file/ menuitem label= Edit data=edit/ menuitem label= Create data=create/ /; ~randy _ From:

RE: [flexcoders] HTTPService Error event

2007-09-30 Thread Randy Martin
Just out of curiosity, why aren't you using flash remoting? ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent: Sunday, September 30, 2007 3:52 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTTPService Error event why not

RE: [flexcoders] A simple graphics.lineTo question...should be simple.

2007-10-04 Thread Randy Martin
You might take a look at this: HYPERLINK http://www.3gcomm.fr/Flex/PrimitiveExplorer/Flex2PrimitiveExplorer.htmlhtt p://www.3gcomm.fr/Flex/PrimitiveExplorer/Flex2PrimitiveExplorer.html ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of devworkit Sent:

RE: [flexcoders] CFEclipse and Flex Builder

2007-10-05 Thread Randy Martin
If you're running the standalone version of FB2, then you need to go to the archives for CFEclipse and download v1.30. This version of CFEclipse will install correctly with standalone FB2. ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sheriff Sent:

RE: [SPAM] RE: [flexcoders] list with combo editor

2007-10-13 Thread Randy Martin
Check out the AutoComplete component from Adobe Exchange: HYPERLINK http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetailloc=e n_usextid=1047291http://www.adobe.com/cfusion/exchange/index.cfm?event=ext ensionDetailloc=en_usextid=1047291 I've been successful in extending this

RE: [SPAM] [flexcoders] Flex3 Beta 1 vs Beta 2 SWF file sizes - Debug code not removed?

2007-10-13 Thread Randy Martin
In FB3 beta 2, only one swf gets built -- the debug version. When you're done developing, you export the production swf (without debug). Click on Project | Export Release Version... ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Shaun Sent: Saturday,

[flexcoders] Re: ComboBox populate list with remoteobject

2007-10-15 Thread Randy Martin
Here's the code for the Adobe BindableComboBox.mxml that's generated by the ColdFusion Application Wizard. This will do what you want. ?xml version=1.0 encoding=utf-8? !-- \ // // Copyright (C) 2003-2006 Adobe

[flexcoders] Re: ColdFusion CFCs Not Returning Data

2007-10-15 Thread Randy Martin
I never got any response to this email. If no one knows anything about this problem, can anyone suggest where I might look? TIA, ~randy --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: OK. I've been pulling my hair out over this for about two weeks. I generated

[flexcoders] Re: ColdFusion CFCs Not Returning Data

2007-10-16 Thread Randy Martin
I solved this problem by rearranging some of the code -- moving the call to remoteObject to a function that is called later in the app. ~randy --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: I never got any response to this email. If no one knows anything about

[flexcoders] Flex Builder 3 and Coldfusion 8 with LCDS

2007-10-23 Thread Randy Martin
Can anyone point me to a good tutorial or documentation on how to create a Flex 3 project using the built-in LCDS that comes with Coldfusion 8? Thanks, Randy No virus found in this outgoing message. Checked by AVG. Version: 7.5.488 / Virus Database: 269.15.6/1086 - Release Date: 10/22/2007

[flexcoders] Re: Flex Builder 3 and Coldfusion 8 with LCDS

2007-10-24 Thread Randy Martin
Does anyone have an answer to this? Please. :) --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: Can anyone point me to a good tutorial or documentation on how to create a Flex 3 project using the built-in LCDS that comes with Coldfusion 8? Thanks, Randy

[flexcoders] PHP wizard with MS SQL Server 2005??

2007-10-24 Thread Randy Martin
Will the PHP wizard work with MS SQL 2005? I've got Zend PHP running on Windows Server 2003, along with CF 8. Is there some way to get this to work with the PHP wizard in Flex Builder 3 beta 2? TIA, Randy

RE: [flexcoders] Re: Flex Builder 3 and Coldfusion 8 with LCDS

2007-10-25 Thread Randy Martin
I'm talking about the LCDS that comes with CF8, the one you can opt to install when you're doing the upgrade from CF7 to CF8. What wizard are you talking about? -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Thursday,

RE: [flexcoders] Re: Flex Builder 3 and Coldfusion 8 with LCDS

2007-10-31 Thread Randy Martin
There's an LCDS wizard in Flex Builder 3? I've been running FB3 for months, and have not seen or read anything about an LCDS wizard. -Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, October 31, 2007 4:50 AM To:

[flexcoders] Problem with Webservice Introspection Wizard in FB 3 Beta 2

2007-10-31 Thread Randy Martin
The wizard finishes, and I have a nice set of AS classes from the WSDL. However, when I try and use any of the classes, I get compile errors all over the place. Apparently, the wizard creates references to custom events in the main service class like this: /** * Dispatches when a call

[flexcoders] Re: Problem with Webservice Introspection Wizard in FB 3 Beta 2

2007-11-01 Thread Randy Martin
? ~randy --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: The wizard finishes, and I have a nice set of AS classes from the WSDL. However, when I try and use any of the classes, I get compile errors all over the place. Apparently, the wizard creates references

[flexcoders] Need help with error in code from webservice wizard

2007-11-01 Thread Randy Martin
I generated code using the webservice wizard, and then wrote a simple mxml file to test the code. I get this error: 1061: Call to a possibly undefined method getClass through a reference with static type Class. It occurs in the following code: /** * Internal event handler to process a

[flexcoders] Re: Problem with Webservice Introspection Wizard in FB 3 Beta 2

2007-11-02 Thread Randy Martin
with this until the next release by just making sure I always select the soap1.1 port in the wizard. ~randy --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: OK. I found the cause of the problem. The webservice has two soap ports -- a soap1.1 port and a soap1.2 port

[flexcoders] Re: Need help with error in code from webservice wizard

2007-11-02 Thread Randy Martin
Does anyone know anything about this? Can you point me in the right direction? --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: I generated code using the webservice wizard, and then wrote a simple mxml file to test the code. I get this error: 1061: Call

[flexcoders] No debugging source code in FB3 beta 2

2007-11-08 Thread Randy Martin
The fact that FB3 beta 2 does not come with all the source code is driving me crazy!! I can't run the debugger because invariably, somewhere during the step-through, it comes to a point where it can't find the source code in the framework. When is this problem going to be resolved? I keep having

[flexcoders] Re: About Combobox filling up the first item by default when we databinding

2007-11-14 Thread Randy Martin
From the Flex docs for ComboBox: prompt property prompt:String http://127.0.0.1:2522/help/topic/com.adobe.flexbuilder.help/langref/Str\ ing.html [read-write] The prompt for the ComboBox control. A prompt is a String that is displayed in the TextInput portion of the ComboBox when

RE: [flexcoders] Austin Flex User Group?

2007-11-14 Thread Randy Martin
I would definitely be interested. There are about 5-6 other developers who work with me that would probably be interested, also. We're transitioning to Flex/Flash for a lot of our Intranet apps. We've been ColdFusion coders for years (since V2.0), and have just recently upgraded to CF8. So, let me

RE: [flexcoders] Re: how do I freeze the users actions while data is loading

2007-11-16 Thread Randy Martin
Consider using States. You can have the app in one state and the progress meter for your downloading in another. Whenever you're downloading data, just make the progress-meter state the currentState. When you're all done with the data processing, switch back to the other state. ~randy _

[flexcoders] Problems printing in Flex

2007-12-04 Thread Randy Martin
I'm having all kinds of problems printing from Flex. I know it's supposed to be really easy -- just use the FlexPrintJob, etc. -- but I can't seem to get the PrintDataGrid to do what I want. I want the rows in the grid to be variable height and adjust to the data, so I set variableRowHeight = true

RE: [SPAM] [flexcoders] Re: Loading Web Service from WebSphere

2007-12-08 Thread Randy Martin
My suggestion is that you use FB3 beta 2 and use the WSDL wizard to generate the classes necessary to use the webservice. I did this for two of our webservices, and I had to do only minor tweaks of the generated code to get it to work flawlessly. Pick from the menu in FB or Eclipse, Data | Import

[flexcoders] Re: AS3 classes as MXML to enclose other tags

2007-12-09 Thread Randy Martin
This really isn't rocket science. Suppose you have an AS3 class defined like this: package controls { import mx.controls.Alert; public class MyAlerts extends Alert { [Embed(source=../images/error.gif)] private static var iconError:Class; public static function

RE: [flexcoders] TextInput for percentage

2007-12-12 Thread Randy Martin
Check out the TextInputMask.as and the MaskFormatter.as components generated by the FB Coldfusion Application Wizard. These might do what you want. Also, there's a masked text input component on the Adobe Flex exchange that would probably do what you want, too. ~randy _ From:

RE: [flexcoders] What's the best way to bind ValueOject model data to a form and back again

2007-12-16 Thread Randy Martin
I've just posted a little demo on my blog, http://www.martinized.us/, that should answer some of your questions. The data entry form contains a date field that allows both selection from the date chooser and direct entry with validation into the date field. There is also a fair amount of code that

RE: [flexcoders] Re: Loading mask or overlay for datagrids while loading

2007-12-17 Thread Randy Martin
Why not a popup with a progressBar? If there's nothing to report progress on, you can just use a Timer to increment the progress bar and have the event listener handler get rid of the popup when whatever you're doing is finished. ~randy _ From: flexcoders@yahoogroups.com

RE: [flexcoders] Help with Printing (relates to Scaling Object, just before sending printjob)

2007-12-17 Thread Randy Martin
You can have a function that starts the print job, gets the page width and height, and then the last thing it does is attach an event listener for an end-of-scaling event and fires off the scaling function. The scaling function finishes and dispatches the end-of-scaling event, which runs your

[flexcoders] Re: Help with Printing (relates to Scaling Object, just before sending printjob)

2007-12-17 Thread Randy Martin
In the code below, the event listerer function should have been: private function finishPrint(event:CustomEvent) Sorry, typing faster than I'm thinking. ~randy --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: You can have a function that starts the print job, gets

RE: [flexcoders] Binding data

2007-12-21 Thread Randy Martin
Try this: mx:Button enabled={(variable1 amp;amp; variable2) ? true : false} / Because of the way XML is parsed, if you want to use the ampersand () in a data binding expression in MXML, you have to use the amp; equivalent instead of the ampersand. HTH, Randy _ From:

RE: [flexcoders] Re: centerPopUp in F3B2

2007-12-22 Thread Randy Martin
Try this: var newPicWindow:TitleWindow = TitleWindow(PopUpManager.createPopUp(UIComponent(this.parentApplication), TitleWindow, true)); ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of rueter007 Sent: Friday, December 21, 2007 4:26 PM To:

RE: [flexcoders] Re: how to Avoid - Compbo box fills up the first item when databinding is used

2007-12-27 Thread Randy Martin
You can also set the selectedIndex to -1. That will not select anything. When I'm using data binding with the comboBox, and I'm using a value object, I usually set the initial values for the comboBoxes in the constructor for the value object class. ~randy _ From:

RE: [flexcoders] Re: Centering an Application

2007-12-28 Thread Randy Martin
All you have to do is set the horizontalCenter=0 and verticalCenter=0 on the outermost component (except Canvas) in your application. For example, mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Canvas width=100% height=100% mx:TitleWindow width=700 height=450

RE: [flexcoders] Help with error

2007-12-30 Thread Randy Martin
In my experience, that usually means that you have two files named the same, like myInput.mxml and myInput.as. ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markgoldin_2000 Sent: Sunday, December 30, 2007 8:22 AM To: flexcoders@yahoogroups.com

RE: [flexcoders] Accessing objects within objects within objects... ???

2008-01-11 Thread Randy Martin
I'm assuming you mean that you have a TextInput on the canvas. So you have something like this: mx:TabNavigator id=tabNav mx:Panel id=tab1_panel mx:Canvas id=myCanvas mx:TextInput id=myText/ /mx:Canvas /mx:Panel /mx:TabNavigator So, you can get to the text input from anywhere

RE: [flexcoders] Re: Exit

2008-01-11 Thread Randy Martin
You can implement a simple exit function for a flex app by putting this code in the head of index.template.html: script language=javascript type=text/javascript !-- function closeWin() { window.close(); } //-- /script Then, you can do this in your app: mx:Script ![CDATA[ import

RE: [flexcoders] Re: Accessing objects within objects within objects... ???

2008-01-12 Thread Randy Martin
... ??? Its actually one level deeper. TabNavigator--Canvas--Canvas-Text I get a runtime error - TypeError: Error #1009: Cannot access a property or method of a null object reference. on the line that I ref that text object. --- In HYPERLINK mailto:flexcoders%40yahoogroups.com[EMAIL PROTECTED], Randy

RE: [flexcoders] Re: Binding ValueObjects

2008-01-17 Thread Randy Martin
I think what you should do is create a model in mxml from the value object and then bind the model to the visual display components and the visual display components to the model. How the data gets into the value object from your database, or wherever, is still the same. For example, // value

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

2008-01-19 Thread Randy Martin
You could just do the work in your SQL select statement: select (case when status = 1 then 'open' else 'close' end) as acctStatus from ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tracy Spratt Sent: Friday, January 18,

RE: [flexcoders] Re: Using a custom component inside of a state

2008-01-21 Thread Randy Martin
Try this: mx:states mx:State name=Login/ mx:AddChild position=LastChild view:Login id=login/ /mx:AddChild /mx:State /mx:states ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of simonjpalmer Sent: Monday, January 21, 2008 8:55 AM To:

RE: [flexcoders] Referencing components from custom controls

2008-02-01 Thread Randy Martin
I'm assuming that your main.mxml contains your mx:Application tag, so try this: package mycontrol.container-s { import mx.controls.-Alert; import flash.display.-DisplayObject; import flash.events.-Event; import flash.events.-MouseEvent; import flash.events.-TimerEvent; import flash.utils.-Timer;

RE: [flexcoders] Prohibiting Old Chart from Displaying while new Chart renders

2008-02-17 Thread Randy Martin
Put a progress bar in a model popup window when you call the data provider routine. Add a listener for the result event from the data provider routine, and take the model popup down when you finish processing the result from your data provider. ~randy _ From:

RE: [flexcoders] Flex Soap Object Arrays

2008-03-01 Thread Randy Martin
Try using the WSDL wizard in FB3. It works a treat! ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Telmo Dias Sent: Saturday, March 01, 2008 11:47 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex Soap Object Arrays Hi all, First of

RE: [flexcoders] Re: RTF vs RTE

2008-03-02 Thread Randy Martin
Why not write Word XML directly? I write Excel XML directly from several apps, and create spreadsheets with merged columns, subtotals, totals, formulas, etc. directly with XML. ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Amy Sent: Sunday, March

RE: [flexcoders] Flex Soap Object Arrays

2008-03-04 Thread Randy Martin
Object Arrays Hi Randy, I've just tested it on the final version of FB3 and I still get the same. Can you please try to create it and show me how you do it ? Thanks a lot. Telmo Randy Martin wrote: Try using the WSDL wizard in FB3. It works a treat! ~randy _ From: HYPERLINK

RE: [flexcoders] again tool tips

2008-03-21 Thread Randy Martin
Define myTT outside the function. One other thing, if you define myTT as an ImageToolTip, you can't return it from the function createTip because you defined createTip as returning CustomToolTip. So, either you have to define myTT as a CustomToolTip or you have to say that createTip returns an

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

2008-03-21 Thread Randy Martin
You might want to check this: HYPERLINK http://deepuverma.wordpress.com/2008/01/10/datagrid-headerrenderer-checkbox -to-select-checkboxes-in-the-row/http://deepuverma.wordpress.com/2008/01/10 /datagrid-headerrenderer-checkbox-to-select-checkboxes-in-the-row/ ~randy _ From:

RE: [flexcoders] HTML Wrapper

2008-03-21 Thread Randy Martin
Edit the index.template.html file in the html-template directory of your project. ~randy _ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Friday, March 21, 2008 11:58 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] HTML

RE: [flexcoders] Re: Flex 3: Cloning WebService instance

2008-03-24 Thread Randy Martin
You really need to take a look at the webservice introspection wizard in FB 3. The code it generates handles asynchronous calls to the webservice automatically. Click on the Data menu and select Import Web Service (WSDL)... Follow the directions in the wizard. Only SOAP 1.1 is supported by the

RE: [flexcoders] Re: Flex Beta 3 to Flex 3 Migration Problems

2008-04-01 Thread Randy Martin
I second this. The problems I had all went away after I got rid of the config files for prior versions of FB. You might also try starting FB with the -clean option. In the flexbuilder.ini file (or the eclipse.ini file if you're using the FB plug-in), insert -clean as the first line and save the

RE: [flexcoders] AIR SQL - Datatype issues

2008-04-07 Thread Randy Martin
Try this: private var dbConn:SQLConnection; private var dbFile:File; private function init():void { dbFile = File.applicationStorageDirectory.resolvePath(contact.db); dbConn = new SQLConnection(); dbConn.addEventListener(SQLEvent.OPEN, createContactTable);

RE: [flexcoders] i-frames on flex2

2008-04-17 Thread Randy Martin
I've found that Alistair Rutherford's iFrame component is by far the most reliable and easiest to use. You can find it here HYPERLINK http://ccgi.arutherford.plus.com/blog/wordpress/?page_id=171http://ccgi.ar utherford.plus.com/blog/wordpress/?page_id=171 ~randy _ From:

[flexcoders] Export Release Build

2008-04-25 Thread Randy Martin
When I export release build in FB 3, if I leave Enable view source unchecked, I get the error message: Flex Builder could not publish the project source: the application file Main.mxml was not found. I click OK, and the project exports just fine. I shouldn't get this error if I don't enable

[flexcoders] Re: Best way to secure a ColdFusion web service

2008-04-25 Thread Randy Martin
I've never actually done this, but can't you encrypt the credentials in Flex, send them to the webservice, and decrypt them in the service? ~randy --- In flexcoders@yahoogroups.com, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 25 Apr 2008, valdhor wrote: We don't use Flex to access our

[flexcoders] Re: Best way to secure a ColdFusion web service

2008-04-25 Thread Randy Martin
Check out the AS3Crypto library at http://crypto.hurlant.com/ http://crypto.hurlant.com/ ~randy --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: I've never actually done this, but can't you encrypt the credentials in Flex, send them to the webservice, and decrypt

RE: [flexcoders] Bake XML File into ActionScript

2008-07-20 Thread Randy Martin
You can include an ActionScript file in it's own script block. Then in the .as file, you could just have the XML defined and nothing else. // put this in books.as -- or whatever filename you choose private var novel:XML = BOOKTITLEMy Book/TITLE/BOOK; ?xml version=1.0 encoding=utf-8?

RE: [flexcoders] Re: Bake XML File into ActionScript

2008-07-20 Thread Randy Martin
with ActionScript .as files. Any ideas? --- In HYPERLINK mailto:flexcoders%40yahoogroups.com[EMAIL PROTECTED], Randy Martin [EMAIL PROTECTED] wrote: You can include an ActionScript file in it's own script block. Then in the .as file, you could just have the XML defined and nothing else. // put

RE: [flexcoders] permission based ui

2008-07-31 Thread Randy Martin
Actually, I do this all the time with a viewstack. The way I do it is I have the main application check the security and setup a security level parameter. Then, I pass this secLevel to the component that contains the viewstack. In the viewstack component, each view in the viewstack is its own

RE: [flexcoders] Options on ActionScript 3.0 Editing in FLEX

2008-09-01 Thread Randy Martin
OK. I've been reading this thread with some interest. After all, everyone needs a little humor in their daily life. J I'm amazed that we, as human beings, still let words anger us so much. So what if someone tells you to FO? Sticks and stones may break your bones, but words. If you lived in New

RE: [flexcoders] panel margin

2008-09-10 Thread Randy Martin
Just put it in your application.css file: Panel { paddingTop = 0; paddingRight = 0; paddingBottom = 0; paddingLeft = 0; } And, viola, no padding on any panels. If you need some panels to have padding, you can add style classes to support that, or just use inline styles on the

[flexcoders] Scrolling screws up display

2008-09-19 Thread Randy Martin
This is a strange problem that only seems to happen in Flex 3 (not 2). I have a form that pops up in a panel that needs to scroll vertically. If I use the wheel or click on the scrollbar arrows, the form scrolls correctly. But, if I click and drag the scrollbar thumb, the display goes haywire.

[flexcoders] Re: Scrolling screws up display

2008-09-23 Thread Randy Martin
Anyone?? This is really driving me crazy! --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: This is a strange problem that only seems to happen in Flex 3 (not 2). I have a form that pops up in a panel that needs to scroll vertically. If I use the wheel or click

RE: [flexcoders] Changing flex app background color

2008-09-23 Thread Randy Martin
Learn to use a css file in your applications. Then you can change the colors by just changing the css file and recompiling the app. Try this: http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html# Look at how to style the application tag. You should be able to

RE: [flexcoders] ComboBox in Component won't open to Saved Value

2008-10-11 Thread Randy Martin
Here's the code for a BindableComboBox. Save it in a file called BindableComboBox.mxml (borrowed this code from Adobe, modified slightly): mx:ComboBox xmlns:mx=http://www.adobe.com/2006/mxml; creationComplete=initComponent() mx:Script ![CDATA[ import mx.utils.ObjectUtil;

RE: [flexcoders] Re: Create Help System in Flex - how to display html in a canvas or component?

2008-10-11 Thread Randy Martin
You can use an iframe to display html inside a flex app. Check out the IFrame component from here: http://ccgi.arutherford.plus.com/blog/wordpress/?p=133 Also, I'm toying around with using Adobe Captivate to generate flash help files and then display them in flex. You might want to check

[flexcoders] Dispatching the itemEditEnd event from a custom item editor

2008-10-19 Thread Randy Martin
I have a custom item editor for a cell in a DataGrid that consists of two ComboBoxes. Everything works perfectly, except I'd like a way to exit the item editor as soon as the user selects from the second combo box. That is, I'd like the item editor to dispatch the itemEditEnd event as if the

[flexcoders] Dispatching The itemEditEnd event from within an item editor

2008-10-20 Thread Randy Martin
I have a custom item editor for a cell in a DataGrid that consists of two ComboBoxes. Everything works perfectly, except I'd like a way to exit the item editor as soon as the user selects from the second combo box. That is, I'd like the item editor to dispatch the itemEditEnd event as if the

[flexcoders] Re: Still no one knows ? Please help.

2008-10-20 Thread Randy Martin
The CheckBox has two styles that control the color of the actual checkmark: iconColor - the color of the checkmark iconDisabledColor - the color of the checkmark when the control is disabled Just set these to the colors you want. ~randy --- In flexcoders@yahoogroups.com, itdanny2002 [EMAIL

[flexcoders] Re: Dispatching The itemEditEnd event from within an item editor

2008-10-20 Thread Randy Martin
@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Randy Martin Sent: Monday, October 20, 2008 7:39 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Dispatching The itemEditEnd event from within an item editor I have a custom item editor for a cell in a DataGrid that consists

RE: [flexcoders] Re: Html file in Flex application.

2008-10-29 Thread Randy Martin
OK. I've posted this at least a couple of times before in answer to this same question. The simplest implementation of this (the iframe concept) is by Alistair Rutherford. You can check his IFrame flex component out at (he recently moved it from his blog to Google Code) :

RE: [flexcoders] Re: row color in advancedDataGrid

2008-10-29 Thread Randy Martin
Here you go: http://flexpearls.blogspot.com/2008/02/row-background-color-in.html ~randy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mark Sent: Tuesday, October 28, 2008 10:30 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: row color in

RE: [flexcoders] Extending Datagrid dynamically

2008-11-01 Thread Randy Martin
So, what you want is: 10 11 12 etc. Joesickworkplay Bill workworkwork John playplaywork You need to check out the OLAPDataGrid. It's specifically designed to support this kind of data. In Excel, you'd call this a pivot table. ~randy

[flexcoders] AdvancedDataGrid not redrawing properly

2008-11-03 Thread Randy Martin
I have an AdvancedDataGrid in an application in one of the states. The first time I display it, everything is fine. If I subsequently enter another state and then redisplay the AdvancedDataGrid, it shows up with any borders or grid lines. As soon as I populate it (assign a data provider), the

[flexcoders] Re: AdvancedDataGrid not redrawing properly

2008-11-04 Thread Randy Martin
Anyone?? This is really driving me crazy! --- In flexcoders@yahoogroups.com, Randy Martin [EMAIL PROTECTED] wrote: I have an AdvancedDataGrid in an application in one of the states. The first time I display it, everything is fine. If I subsequently enter another state

RE: [flexcoders] Re: format code in FB3

2008-11-06 Thread Randy Martin
As a side note, the code formatter is the Enterprise IDE plugin is adequate but still needs some work. I tried it on several mxml files, and it gets confused, especially on the ActionScript section of the file. For example, if you have code like this: private function

RE: [flexcoders] Question about a component Kap Lab Diagrammer

2008-11-23 Thread Randy Martin
You should be able to find out something here: http://lab.kapit.fr/display/kaplabhome/Home ~randy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Weyert de Boer Sent: Thursday, November 20, 2008 10:37 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders]

RE: [flexcoders] Fastest filterfunction for large ArrayColeccions ?

2008-12-10 Thread Randy Martin
How large an array collection? I have an autocomplete (search-as-you-type) function working on an ArrayCollection of about 5000 records, and it's almost instantaneous. ~randy From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cegarza2 Sent: Wednesday, December 10, 2008

RE: [flexcoders] Flex dates and time zones.

2008-12-15 Thread Randy Martin
I guess I really don't understand what the problem is here?? I have a smalldatetime (or a datetime) in a MSSQL database. I setup a value object in AS to have the date field as a Date object. I go get the date from ColdFusion using RemoteObject. The cfc sets up a CF value object with the date as a

RE: [flexcoders] Searching Multi Demensional arrays

2009-01-08 Thread Randy Martin
Try this: Public function findPath(items:Array, mypath:String): Object { var mySort:Sort = new Sort(); var myItems:ArrayCollection = new ArrayCollection(items); var itemCursor:IViewCursor = myItems.createCursor(); mySort.fields = [new SortField(path)]; myItems.sort =

RE: [flexcoders] Re: String Encoding Issue Over AMF

2009-01-14 Thread Randy Martin
Are you using the latest Zend framework? Adobe contributed AMF to Zend, and there's a Zend_AMF component in V1.7 of the framework. This might solve your problem. HTH, ~randy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Daniel Freiman Sent:

RE: [flexcoders] ItemEditors and rowHeight

2009-01-29 Thread Randy Martin
Here you go: http://livedocs.adobe.com/flex/3/html/help.html?content=celleditor_5.html HTH, ~randy From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Gregor Kiddie Sent: Thursday, January 29, 2009 9:17 AM To: flexcoders@yahoogroups.com Subject: