[flexcoders] Re: TabNavigator changes page (html) title

2009-11-20 Thread ynotob
Update. I was able to get fix the issue with a minor change to the original reply. I had to set the title to the string explicitly. Thanks again. private var applicationName:String = User status and admin option; private function initApp():void { browserManager =

[flexcoders] Re: how to enable stack traceback?

2009-11-20 Thread mitchgrrt
Thanks for the good suggestion. Running outside the debugger, Capabilities.debug is true, but there's no stack traceback on a null pointer exception. Capabilities.version is MAC 10,0,32,18. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: I'm running both 9 and 10 on Windows.

[flexcoders] Re: combining multiple styles

2009-11-20 Thread mitchgrrt
Sort of. .leftTab, .rightTab { fontFamily: Rockwell; fontSize: 20; } .leftTab { color: #ff; } .rightTab { color: #00ff00; } leftTab and rightTab will share the first set of declarations, and then each one will use the additional declarations that are just

RE: [flexcoders] ASDoc MXML

2009-11-20 Thread Stephen Gilson
Hi Amy, Are you using Flex 3 or the Flex 4 Beta? For Flex 3, the asdoc compiler does not really support MXML files. For the Flex 4 Beta, we have added support for MXML files to asdoc. You can find the doc un using it here:

Re: [flexcoders] Re: combining multiple styles

2009-11-20 Thread Joel Stransky
Thanks Mitch, You're showing multiple selectors where I wanted to combine multiple styles in one selector. The CSS equivalent of: myBox.x = myBox.y = 10; Is what I was hoping for. On Fri, Nov 20, 2009 at 8:22 AM, mitchgrrt mitch_g...@hotmail.com wrote: Sort of. .leftTab, .rightTab {

Re: [flexcoders] [SPAM] Re: Passing an object to a rendererProvider

2009-11-20 Thread InvertedSpear
Any chance you can explain further, maybe with a simple example? Amy-28 wrote: That's what styleFunction on ADG is for. And why the Data Visualization Components take things that would be properties on other components (like dataProvider) as styles. -- View this message in context:

RE: [SPAM] [SPAM] [flexcoders] Re: how to insert checkbox value into database

2009-11-20 Thread Tracy Spratt
.flex ui the checkbox is checked then the checkbox is also checked in the access table. Yes, that is the theory, but you say it is not happening. Boolean is more of an abstract data type, not a database column data type. Does the Yes/no field expect a string containing yes/no? Or true /false, or

[flexcoders] Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-20 Thread Thomas Silvester
Hi All, I have 2 questions? 1.I would like to chnage the width and height of an image using an Imagae renderer, how do i do that? 2. Can I chnage the widht or height of a POPUPMenu using the same style  as below uing a renderer.   Any information regarding this is appreciated. Thanks in Advance,

Re: [flexcoders] Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-20 Thread Chris
I am assuming that your list control has a set width and height. If you have variableRowHeight=true, or you want a variable row height, then this answer probably isn't what you are after. 1. Currently you are using Image as a base class. The way item renderers work, the width, height, and

Re: [flexcoders] Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-20 Thread Thomas Silvester
My images are in an Advanced DataGridColumn and that coulmn has a width, but if i chnage that width to a very small value the column header becomes in visible , so i do not want to do that, instead i have an Image renderer for the ADvDataGridColumn which has this Image. but setting the style

[flexcoders] Re: Subclassed DataGridColumn does not render in FB3 design view mode

2009-11-20 Thread fourctv
Thanks Amy, But that did not help. I already have all that in my library. I have a bunch of components there and all render quite well in design mode. The only one that does not is the DataGridColumn subclass. As I mentioned before, all my subclass does is add a couple properties to DGC. Pretty

Re: [flexcoders] Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-20 Thread Chris
Sorry, didn't catch this. There is no style for width and height. The width and height are properties, not styles of Image/UIComponent/etc. So are you attempting to style the DataGridColumn's header or the column itself? On Fri, Nov 20, 2009 at 9:21 AM, Thomas Silvester

[flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?

2009-11-20 Thread mitchgrrt
3. Width and height are properties of Image, not styles, so setStyle() won't work. --- In flexcoders@yahoogroups.com, Chris zomgfore...@... wrote: I am assuming that your list control has a set width and height. If you have variableRowHeight=true, or you want a variable row height, then this

[flexcoders] Help! - AdvancedDataGrid - Applying sort as if user clicked column header

2009-11-20 Thread InvertedSpear
Check out the advancedDataGrid below in the ***s. After I group I loose the sorting I applied to the dataprovider, and no matter what I try or when I try it, sorting the dataprovider has no effect. But the user can sort by clicking on a column header. So I want to simulate that click in a

[flexcoders] HorizontalList itemRenderer size does not resize on refresh

2009-11-20 Thread mattgarland2000
I am using a horizontallist as an answer bar in an e-learning app. The designer wants the answer boxes to stretch according to content (all should have the same size, and there is a minimum). This works fine when the dataProvider is set. BUT there is another requirement: after a wrong answer

[flexcoders] Re: HorizontalList itemRenderer size does not resize on refresh

2009-11-20 Thread jamesfin
I had a similar predicament recently... In my renderer code, I setup a listener to respond to external data changes. In my case, I just needed to call invalidateDisplayList but you could reset your sizes/etc. based upon the new data.

[flexcoders] Re: HorizontalList itemRenderer size does not resize on refresh

2009-11-20 Thread mattgarland2000
I just noticed that when the largest answer randomly ends up in the first position, the result is fine, so it's definitely a matter of getting the horizontal list to act as if variableRowHeight is set to true, and not just take the measurement of the first renderer and go with that. --- In

[flexcoders] Re: HorizontalList itemRenderer size does not resize on refresh

2009-11-20 Thread mattgarland2000
Thx. Gave it a whirl, no dice. I need somehow to make the HorizontalList act like it had multiple image sizes, and measure them to get the largest rather than going with the first. --- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote: I had a similar predicament

[flexcoders] Re: Flex SDK Open Source

2009-11-20 Thread cuttenv
Awesome thanks for the heads up. How would we go about contributing to the SDK if we wanted to change something like say... oh for instance the DragManager :) --- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote: When we upgraded to Subversion 1.6 I think the nice web viewer broke.

Re: [flexcoders] Re: Flex SDK Open Source

2009-11-20 Thread Matt Chotin
http://opensource.adobe.com/wiki/display/flexsdk/Submitting+a+Patch On Nov 20, 2009, at 12:29 PM, cuttenv wrote: Awesome thanks for the heads up. How would we go about contributing to the SDK if we wanted to change something like say... oh for instance the DragManager :) --- In

Re: [flexcoders] Re: Any issues with Windows 7(64bit) and Flex Builder

2009-11-20 Thread Greg Hess
Thanks folks, I am taking the plunge to Windows 7 64bit :-) On Thu, Nov 19, 2009 at 1:36 PM, seanmcmonahan s...@seanmonahan.org wrote: Had an issue when using copylocale.exe with JRE not being installed. Never had this problem on Vista x64 but it was easily fixed by installing Java. Aside

RE: [flexcoders] Re: HorizontalList itemRenderer size does not resize on refresh

2009-11-20 Thread Alex Harui
You might have to call measureWidthOfItems/measureHeightOfItems and set columnWidth and rowHeight. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

[flexcoders] I've got a [Bindable] boolean var - can I setup a eventlistener on it?

2009-11-20 Thread luvfotography
I've declared a [Bindable] private var changeme:Boolean; Is there a way to execute a function whenever this var changes? thanks,

RE: [flexcoders] Re: how to enable stack traceback?

2009-11-20 Thread Alex Harui
My colleagues confirm that the Mac standalone player shows the exception dialog. Are you running some other debugger player? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com

[flexcoders] Re: I've got a [Bindable] boolean var - can I setup a eventlistener on it?

2009-11-20 Thread jamesfin
This should get you on your way... http://livedocs.adobe.com/flex/3/html/help.html?content=databinding_4.html --- In flexcoders@yahoogroups.com, luvfotography ygro...@... wrote: I've declared a [Bindable] private var changeme:Boolean; Is there a way to execute a function whenever this

Re: [flexcoders] Combo box right-anchor

2009-11-20 Thread Julian Alexander
Okay, I actually got a bit distracted and didn't end up working on this for the last day or so, however after a brief search I did find the solution in the archives, however I implemented it slightly differently (it's along the lines of what you were saying, Alex): private function handleOpen

[flexcoders] Re: how to enable stack traceback?

2009-11-20 Thread mitchgrrt
Capabilities.version = MAC 10,0,32,18 Capabilities.isDebugger = true With this version I'm not seeing any stack tracebacks on unhandled exceptions. Just silent failures. Is there some configuration somewhere where I might have turned it off by accident? --- In flexcoders@yahoogroups.com,

[flexcoders] Syntax Question

2009-11-20 Thread Dan Pride
On Creation complete I am filling a datagrid and I want to select the first value listed from the Name Column (NameCol) What is the syntax? dataGrid.selectedIndex = 0; Value = dataGrid.selectedItem.NameCol; Does not work. why not? Thanks Dan

Re: [flexcoders] Syntax Question

2009-11-20 Thread Julian Alexander
You can't access the value from the column name - getting the selected value will give you the entire row that the datagrid is displaying from which you can get the value you're looking for. In other words, if you have an XMLList as your dataProvider, you can do something like: var

Re: [flexcoders] Syntax Question

2009-11-20 Thread Dan Pride
Sorry this line makes no sense to me var myName:String = myval...@name. What is the @ symbol? Why does it end in a period? The original Table field was Name but myValue.Name doesn't work either. Thanks for the help. Dan --- On Fri, 11/20/09, Julian Alexander wb...@ymail.com wrote: From: Julian

[flexcoders] custom scrollbar behavior

2009-11-20 Thread skwasha
I have a custom scrollbar that seems to work in some components but not others. Is there something simple I'm missing? Shouldn't the same assets with the same css look the same? It looks like the arrows are being shrunk and the thumb running over. Any ideas?

RE: [flexcoders] Re: how to enable stack traceback?

2009-11-20 Thread Alex Harui
My question was really whether you're running the app in the standalone debugger player or in Safari's debugger player or some other browser's debugger player. The debugger player has a config file called mm.cfg. I don't know where it goes on Mac. I don't know if there is an option to shut

RE: [flexcoders] Datagrid woes -- IFocusManagerComponent ItemEditors

2009-11-20 Thread sasuke
Hi Alex, I'm pretty much sure given that the tabbing works when I remove the itemEditEnd event handler. Removing the handler causes the value in the text box to disappear or not update. :( Is there any way to not make the itemEditEnd's preventDefault() not mess with the tab order? TIA, sasuke

RE: [flexcoders] Datagrid woes -- IFocusManagerComponent ItemEditors

2009-11-20 Thread Alex Harui
itemEditEnd isn't intentionally messing with tab order. Because it might destroy the editor, it affects what gets focus and when and affects when/if your keyFocusChange handler and other handlers run. A good test might be to log events like focusIn, focusOut and the itemEdit* events and see