[flexcoders] How to get GlobelErrorHandling working.
AFAIK this is player dependent right? So I have latest debug player 10.1.53.64. Using FB4/SDK3.2 In the the main application mxml I have added a listener. systemManager.loaderInfo.addEventListener(uncaughtError, globalErrorHandler); But it never gets called. Is that the right way to do it? If I load modules will uncaught error in those modules also bubble up to this error handler?
[flexcoders] Re: How to get GlobelErrorHandling working.
OK I spotted the obvious error. systemManager.loaderInfo should be: systemManager.loaderInfo[uncaughtErrorEvents] After that I am getting error that I forced into the main app but an error in a module didn't show up in the GEH, it threw an error and went to the old std popup window. Do I need to link in every module as it loads? --- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote: AFAIK this is player dependent right? So I have latest debug player 10.1.53.64. Using FB4/SDK3.2 In the the main application mxml I have added a listener. systemManager.loaderInfo.addEventListener(uncaughtError, globalErrorHandler); But it never gets called. Is that the right way to do it? If I load modules will uncaught error in those modules also bubble up to this error handler?
Fwd: [flexcoders] Web Browser as AIR APP... Ur Comments Plz
Hi All, Hope you are fine there! Today i am releasing BETA version of Vitizon Browser (AIR APP). I hope you will check this and do suggest me what kind of changes and improvements you think should be maked to this. I hope you will like this as this is my first ever developed and designed App that also designed and developed in three ADOBE tools i.e. Illustrator CS3, Flash Catalyst CS5, Flash Builder 4. I am commited to make it wonderful App in near future by incorporating many new things in this App which you usually found in other browsers. It is worthy to mention here that i started to work on this app only after reading a wonderful article by Mr Louis DiCarro on Flash Flex Magazine. Please suggestment me how can i make this more productive and interesting app. Thank you all. -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email: shabirgil...@gmail.com URL: http://shabirgilkar.wordpress.com Skype: shabirgilkar Join I Feel The Pain on Facebook By Visiting http://bit.ly/c5tYqB Attachment(s) from Shabir Gilkar 1 of 1 File(s) VITBRO.rarhttp://xa.yimg.com/kq/groups/12286167/36066/name/VITBRO.rar -- With Regards Shabir Ahmad Gilkar Srinagar Kashmir JK Voice: +91 9419942501 email: shabirgil...@gmail.com URL: http://shabirgilkar.wordpress.com Skype: shabirgilkar Join I Feel The Pain on Facebook By Visiting http://bit.ly/c5tYqB
[flexcoders] AIR Development: Modules vs. Components
In the beginning of my Flex web development I used components to separate different functionality of my web applications. Being acutely aware of load time and different user bandwidths, I switched to now develop my applications in modules. This has made my web applications load faster. Now I am developing 2 pieces of software using AIR and not sure which approach is better. One I started with the same approach using modules, but now that its time to work on the other I am curious if there are any glaring benefits to developing in Modules with AIR. Load time seems relatively short since its using the computers processing power. My apps are certainly faster loading than Adobe's ;). Application install size is not really a factor since none of software application are remarkably huge. It seems a lot easier for me (and much much lazier) to just take each sub application, put it into a Group component and use a viewstack to move around the application rather then loading and unloading separate modules. Now that I am getting into more custom software development, I would love some advice from the experts here on this 'best practice'Modules or Components. Thanks!
Re: [flexcoders] AIR Development: Modules vs. Components
Components and Modules are two different things for very different purposes. I do not believe it is an either or situation. Module are usually designed to be an app in an app; basically a self contained complete set of functionality. Where as components are designed to be flexible units focused on a single task; and [in theory] optimized for reuse across multiple projects. On 6/21/2010 7:46 AM, Wally Kolcz wrote: In the beginning of my Flex web development I used components to separate different functionality of my web applications. Being acutely aware of load time and different user bandwidths, I switched to now develop my applications in modules. This has made my web applications load faster. Now I am developing 2 pieces of software using AIR and not sure which approach is better. One I started with the same approach using modules, but now that its time to work on the other I am curious if there are any glaring benefits to developing in Modules with AIR. Load time seems relatively short since its using the computers processing power. My apps are certainly faster loading than Adobe's ;). Application install size is not really a factor since none of software application are remarkably huge. It seems a lot easier for me (and much much lazier) to just take each sub application, put it into a Group component and use a viewstack to move around the application rather then loading and unloading separate modules. Now that I am getting into more custom software development, I would love some advice from the experts here on this 'best practice'Modules or Components. Thanks! -- Jeffry Houser, Technical Entrepreneur Adobe Community Expert: http://tinyurl.com/684b5h http://www.twitter.com/reboog711 | Phone: 203-379-0773 -- Easy to use Interface Components for Flex Developers http://www.flextras.com?c=104 -- http://www.theflexshow.com http://www.jeffryhouser.com -- Part of the DotComIt Brain Trust
[flexcoders] Re: Problem with bindings in nested array collections
I have found it much easier to create a custom component and repeat that. I would try creating your VBox as a custom component with a bindable public array collection to hold your assignedpeople then just pass that to your custom component during the repeat. --- In flexcoders@yahoogroups.com, dr_stone_1024 sst...@... wrote: So, I'm using a Repeater in a Flex 3 app. I hope to eventually refactor it as a custom component so I can have a little more control over its behavior; however, for now I'm trying to fix one problem with the existing application. The data model is an ArrayCollection of RoomVOs, with each RoomVO having an ArrayCollection of PeopleVOs. I'm using a repeater to display each room inside of a Panel. I have something similar to the following: mx:Repeater id=roomRepeater dataProvider={model.rooms} mx:VBox mx:DataGrid dataProvider={roomRepeater.currentItem.assignedPeople} !-- column details omitted -- /mx:DataGrid mx:Label text=Room Count: {roomRepeater.currentItem.assignedPeople.length} / /mx:VBox /mx:Repeater The problem occurs when I update the model in response to an event. When the assignedPeople ArrayCollection has an item added the DataGrid that's bound to it is updated, but the Label is only updated intermittently. I am not able to come up with a pattern as to when the Label will get updated. If I call model.rooms.refresh() the repeater re-executes and of course everything is then updated correctly. I've even created debug buttons inside the repeater such as: mx:Button id=lenBtn click=RoomVO(event.currentTarget.getRepeaterItem()).assignedPeople.length); / When I click this button is displays the correct length of the assignedPeople AC even though the label is not updated. Any ideas? Thanks in advance, Seth Stone
[flexcoders] Re: How to get GlobelErrorHandling working.
I haven't looked it up but does the uncaught error event bubble? if so, I would add the event listener to both the main app and the systemManager. this.addEventListener(uncaughtError, globalErrorHandler); systemManager.addEventListener(uncaughtError, globalErrorHandler); --- In flexcoders@yahoogroups.com, reflexactions reflexacti...@... wrote: OK I spotted the obvious error. systemManager.loaderInfo should be: systemManager.loaderInfo[uncaughtErrorEvents] After that I am getting error that I forced into the main app but an error in a module didn't show up in the GEH, it threw an error and went to the old std popup window. Do I need to link in every module as it loads? --- In flexcoders@yahoogroups.com, reflexactions reflexactions@ wrote: AFAIK this is player dependent right? So I have latest debug player 10.1.53.64. Using FB4/SDK3.2 In the the main application mxml I have added a listener. systemManager.loaderInfo.addEventListener(uncaughtError, globalErrorHandler); But it never gets called. Is that the right way to do it? If I load modules will uncaught error in those modules also bubble up to this error handler?
[flexcoders] Entity - Data Interchange Format
Hi all, I want to introduce you to a new lightwieght format called ENTITY. it is smaller than XML and JSON. And is also quicker to generate and parse. You can check it out at: http://www.entity-format.co.uk Its early days, and i only went live with the project yesterday but more ports will be coming and alot more content for the site. Kind Regards Wayne IV Mike.
Re: [flexcoders] Entity - Data Interchange Format
On 21/06/2010 13:59, wain_mike wrote: Hi all, I want to introduce you to a new lightwieght format called ENTITY. it is smaller than XML and JSON. And is also quicker to generate and parse. You can check it out at: http://www.entity-format.co.uk Its early days, and i only went live with the project yesterday but more ports will be coming and alot more content for the site. Kind Regards Wayne IV Mike. It's worthwhile saying that the usage of this format is not free in commercial projects (unless I've read the licence wrong - please correct me if that's the case Wayne), so that's something to be considered besides the format itself.
Re: [flexcoders] Entity - Data Interchange Format
On Monday 21 Jun 2010 14:06:12 Paul Andrews wrote: It's worthwhile saying that the usage of this format is not free in commercial projects (unless I've read the licence wrong - please correct me if that's the case Wayne), so that's something to be considered besides the format itself. Although it appears to be legal to write an alternative non-restricted codec for it, and release it as FOSS. TBH, if transfer overhead is so critical, you might be off moving to a binary format; this can be as simple as gzip'ing the format of choice or moving all the way up to LCDS/BlazeDS. -- Tom Chiverton Helping to centrally generate dot-com frictionless one-to-one clusters as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: Entity - Data Interchange Format
You are correct to a degree tom. The official encoders/decoders are free for none profit use. but the specification is open to all to use and create there own encoder/decoders with. There will be alot more content on the site soon to aid with the process. I am hoping to list both official and user created content on the entity site also. Regards Wayne IV Mike. --- In flexcoders@yahoogroups.com, Tom Chiverton tom.chiver...@... wrote: On Monday 21 Jun 2010 14:06:12 Paul Andrews wrote: It's worthwhile saying that the usage of this format is not free in commercial projects (unless I've read the licence wrong - please correct me if that's the case Wayne), so that's something to be considered besides the format itself. Although it appears to be legal to write an alternative non-restricted codec for it, and release it as FOSS. TBH, if transfer overhead is so critical, you might be off moving to a binary format; this can be as simple as gzip'ing the format of choice or moving all the way up to LCDS/BlazeDS. -- Tom Chiverton Helping to centrally generate dot-com frictionless one-to-one clusters as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word ?partner? to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com.
[flexcoders] Re: Entity - Data Interchange Format
It is also important to note that the aim of such text based formats are to keep them human readable. binary does not suit this requirement. --- In flexcoders@yahoogroups.com, wain_mike wain_m...@... wrote: Hi all, I want to introduce you to a new lightwieght format called ENTITY. it is smaller than XML and JSON. And is also quicker to generate and parse. You can check it out at: http://www.entity-format.co.uk Its early days, and i only went live with the project yesterday but more ports will be coming and alot more content for the site. Kind Regards Wayne IV Mike.
[flexcoders] Datagrid Column Setting Vertical Gap
Hi FlexCoders, I have a datagrid where I have set the wrapping to true (wordWrap=true) and the row height (variableRowHeight=true). The text wraps properly, except that the Vertical Gap is quite too big. There is a visible space between the lines that were wrapped inside the datagrid. Is there a way to set the verticalGap property for the datagrid so that the data it renders as wrapped text would be quite compressed, instead of having a clear and big visible space between its vertical lines? Checking adobe livedocs does not list any verticalGap property. Thanks. angeLo
Re: [flexcoders] Datagrid Column Setting Vertical Gap
Try “leading” On 6/21/10 9:17 AM, Angelo Anolin angelo_ano...@yahoo.com wrote: Hi FlexCoders, I have a datagrid where I have set the wrapping to true (wordWrap=true) and the row height (variableRowHeight=true). The text wraps properly, except that the Vertical Gap is quite too big. There is a visible space between the lines that were wrapped inside the datagrid. Is there a way to set the verticalGap property for the datagrid so that the data it renders as wrapped text would be quite compressed, instead of having a clear and big visible space between its vertical lines? Checking adobe livedocs does not list any verticalGap property. Thanks. angeLo -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] Re: How to get GlobelErrorHandling working.
GEH for modules is broken in 10.1. On 6/21/10 5:53 AM, valdhor valdhorli...@embarqmail.com wrote: I haven't looked it up but does the uncaught error event bubble? if so, I would add the event listener to both the main app and the systemManager. this.addEventListener(uncaughtError, globalErrorHandler); systemManager.addEventListener(uncaughtError, globalErrorHandler); --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , reflexactions reflexacti...@... wrote: OK I spotted the obvious error. systemManager.loaderInfo should be: systemManager.loaderInfo[uncaughtErrorEvents] After that I am getting error that I forced into the main app but an error in a module didn't show up in the GEH, it threw an error and went to the old std popup window. Do I need to link in every module as it loads? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , reflexactions reflexactions@ wrote: AFAIK this is player dependent right? So I have latest debug player 10.1.53.64. Using FB4/SDK3.2 In the the main application mxml I have added a listener. systemManager.loaderInfo.addEventListener(uncaughtError, globalErrorHandler); But it never gets called. Is that the right way to do it? If I load modules will uncaught error in those modules also bubble up to this error handler? -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
Re: [flexcoders] AIR Development: Modules vs. Components
I don’t think of modules as “app in an app”. Modules are intended to have some known dependencies on the loading environment, more like DLL’s in Windows. Sub-apps are intended to be stand-alone and hence is the unit for cross-versioning. The primary goal of modules is to move code out of a SWF into other SWFs in order to affect download time. It also has advantages in multi-person teams and large projects by not requiring full re-builds for certain changes, but that won’t affect the user experience. Because it is all about download time, and AIR doesn’t really have download time, then there is little user advantage to separating an AIR app into multiple SWFs. However, proper use of modules encourage good encapsulation and that does have a potential benefit to the startup time of your app. That’s because AS classes are still “functions” and not pre-layed-out in memory like many other executable formats. Here’s an example: Suppose there is a component Foo: Class Foo { private var something:Bar; public function someFunction():String { } } The very first time Foo is used in the app, both Foo and Bar are initialized (all static variables that are not initialized to compile-time values are setup). So, let’s say Bar looks like this: Class Bar { private static table:Object = { name: “Alex”}; private static names:Array = [ “Jeffry”, “Alex” ]; } And further, suppose your app just looks like this: Application states State name=”login” / State name=”normal” / states LoginDialog includeIn=”login” / Foo id=”foo” includeIn=”normal” / Application As you can see, Foo is not needed and won’t be instantiated until after the login dialog does its thing. However, at startup time, the VM’s verifer will need to verify that Foo exists because “foo” is a property on the Application. This will cause Bar to be verified, which will cause the table object to be created and the names array to be created. None of that will show up as a hot spot in the profiler, but you did waste cycles calling: Foo$cinit() { Bar$cinit(); } Bar$cinit() { table = { name: “Alex”}; names = [ “Jeffry”, “Alex”]; } Eventually, that might add up to something. On the other hand, if you use a module, and use an interface that doesn’t mention Bar, you will save those cycles at startup. Like I said, it usually doesn’t add up to much, but something to keep an eye on, especially if there are large static data tables. On 6/21/10 4:56 AM, Jeffry Houser jef...@dot-com-it.com wrote: Components and Modules are two different things for very different purposes. I do not believe it is an either or situation. Module are usually designed to be an app in an app; basically a self contained complete set of functionality. Where as components are designed to be flexible units focused on a single task; and [in theory] optimized for reuse across multiple projects. On 6/21/2010 7:46 AM, Wally Kolcz wrote: In the beginning of my Flex web development I used components to separate different functionality of my web applications. Being acutely aware of load time and different user bandwidths, I switched to now develop my applications in modules. This has made my web applications load faster. Now I am developing 2 pieces of software using AIR and not sure which approach is better. One I started with the same approach using modules, but now that its time to work on the other I am curious if there are any glaring benefits to developing in Modules with AIR. Load time seems relatively short since its using the computers processing power. My apps are certainly faster loading than Adobe's ;). Application install size is not really a factor since none of software application are remarkably huge. It seems a lot easier for me (and much much lazier) to just take each sub application, put it into a Group component and use a viewstack to move around the application rather then loading and unloading separate modules. Now that I am getting into more custom software development, I would love some advice from the experts here on this 'best practice'Modules or Components. Thanks! -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
RE: [flexcoders] Re: How to get GlobelErrorHandling working.
Alex, That's not good news! Is there any way to catch uncaught errors at the module level at least? Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Monday, June 21, 2010 1:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How to get GlobelErrorHandling working. GEH for modules is broken in 10.1. On 6/21/10 5:53 AM, valdhor valdhorli...@embarqmail.com wrote: I haven't looked it up but does the uncaught error event bubble? if so, I would add the event listener to both the main app and the systemManager. this.addEventListener(uncaughtError, globalErrorHandler); systemManager.addEventListener(uncaughtError, globalErrorHandler); --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , reflexactions reflexacti...@... wrote: OK I spotted the obvious error. systemManager.loaderInfo should be: systemManager.loaderInfo[uncaughtErrorEvents] After that I am getting error that I forced into the main app but an error in a module didn't show up in the GEH, it threw an error and went to the old std popup window. Do I need to link in every module as it loads? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , reflexactions reflexactions@ wrote: AFAIK this is player dependent right? So I have latest debug player 10.1.53.64. Using FB4/SDK3.2 In the the main application mxml I have added a listener. systemManager.loaderInfo.addEventListener(uncaughtError, globalErrorHandler); But it never gets called. Is that the right way to do it? If I load modules will uncaught error in those modules also bubble up to this error handler? -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] AS3 nested groups
I'm trying to draw a calendar grid using HGroup and VGroup If I do the follow it draws 7 boxes: for (var nDay:int = 0; nDay 7; nDay++) { var bcBox:BorderContainer = new BorderContainer(); var lblCalText:Label = new Label(); var vgWeek:VGroup = new VGroup(); bcBox.height = 100; bcBox.width = 133; vgWeek.height = 100; vgWeek.width = 133; lblCalText.text = test; vgWeek.addElement(lblCalText); bcBox.addElement(vgWeek); hgTest.addElement(bcBox); } ... s:HGroup x=5 y=27 width=957 height=100 id=hgTest/ I was thinking great... No problem... So I decided to draw 5 weeks worth of boxes so I added in the following code: for ( var nWeek:int = 0; nWeek 5; nWeek++) { var hgWeek:HGroup = new HGroup(); // row of Days hgWeek.height = 100; hgWeek.width = 957; hgWeek.x = 25; hgWeek.y = 5 + ( nWeek * 100); // shift the row down 100px for (var nDay:int = 0; nDay 7; nDay++) { var bcBox:BorderContainer = new BorderContainer(); // Box around the day var lblCalText:Label = new Label(); // var vgWeek:VGroup = new VGroup(); // Days in the Row bcBox.height = 100; bcBox.width = 133; vgWeek.height = 100; vgWeek.width = 133; lblCalText.text = test; vgWeek.addElement(lblCalText); bcBox.addElement(vgWeek); hgWeek.addElement(bcBox); } } When I add in the weeks nothing draws. If I point the last hgTest.addElement in then it works just fine... Any ideas on what I'm doing wrong? Thanks!
Re: [flexcoders] Re: How to get GlobelErrorHandling working.
I should first clarify. GEH is working for multiple SWF apps, except for modules. I don’t have the details but I think it is because modules discard their loader right away whereas sub-apps generally do not. The purpose of GEH is to catch all errors thrown that are not caught by try/catch blocks beforehand. Flex does a significant amount of its work via the LayoutManager’s validation phases and all of those are wrapped in try/catch blocks that can be turned on by setting UIComponentGlobals.catchCallLaterExceptions=true. If you can configure your app to do as much work as possible via invalidation/validation, more of those errors will be caught, but not everything will. On 6/21/10 11:59 AM, Battershall, Jeff jeff.battersh...@dowjones.com wrote: Alex, That’s not good news! Is there any way to catch uncaught errors at the module level at least? Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Monday, June 21, 2010 1:27 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How to get GlobelErrorHandling working. GEH for modules is broken in 10.1. On 6/21/10 5:53 AM, valdhor valdhorli...@embarqmail.com wrote: I haven't looked it up but does the uncaught error event bubble? if so, I would add the event listener to both the main app and the systemManager. this.addEventListener(uncaughtError, globalErrorHandler); systemManager.addEventListener(uncaughtError, globalErrorHandler); --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , reflexactions reflexacti...@... wrote: OK I spotted the obvious error. systemManager.loaderInfo should be: systemManager.loaderInfo[uncaughtErrorEvents] After that I am getting error that I forced into the main app but an error in a module didn't show up in the GEH, it threw an error and went to the old std popup window. Do I need to link in every module as it loads? --- In flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com , reflexactions reflexactions@ wrote: AFAIK this is player dependent right? So I have latest debug player 10.1.53.64. Using FB4/SDK3.2 In the the main application mxml I have added a listener. systemManager.loaderInfo.addEventListener(uncaughtError, globalErrorHandler); But it never gets called. Is that the right way to do it? If I load modules will uncaught error in those modules also bubble up to this error handler? -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] subclassing DataGrid
I have: components:MyBetterDataGrid mx:columns mx:DataGridColumn and am getting the error message: Could not resolve mx:columns to a component implementation MyBetterDataGrid extends DataGrid. Why isn't the compiler letting me declare the columns? Is there a way to do this? Thanks.
[flexcoders] Best Practice for making sure you're displaying correct data
Hello people From time to time I run into this problem which makes me think I am doing something wrong: I have a popup window which receives data and constructs itself. It is reusable across several different windows. However, sometimes on subsequent popups, it shows data from the original popup. Should I be removing all children and forcing reconstruction each time, or something more along the lines of just setting dataproviders to null, that sort of thing? Is there a best practice for this sort of thing in flex? Thanks, Libby
Re: [flexcoders] Datagrid Column Setting Vertical Gap
Hi Alex, On the adobe docs, the default says that it is 0 only for combo box and 2 for all others. What unit is being used here? I set my leading to 0 but the space is still noticeably big. Setting it to -2 somewhat fixed it. Thanks. Angelo From: Alex Harui aha...@adobe.com To: flexcoders@yahoogroups.com flexcoders@yahoogroups.com Sent: Mon, 21 June, 2010 10:24:54 Subject: Re: [flexcoders] Datagrid Column Setting Vertical Gap Try “leading” On 6/21/10 9:17 AM, Angelo Anolin angelo_anolin@ yahoo.com wrote: Hi FlexCoders, I have a datagrid where I have set the wrapping to true (wordWrap=true) and the row height (variableRowHeight=true). The text wraps properly, except that the Vertical Gap is quite too big. There is a visible space between the lines that were wrapped inside the datagrid. Is there a way to set the verticalGap property for the datagrid so that the data it renders as wrapped text would be quite compressed, instead of having a clear and big visible space between its vertical lines? Checking adobe livedocs does not list any verticalGap property. Thanks. angeLo -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs. adobe.com/ aharui
[flexcoders] Constraints and Browser Scrollbars
I am trying to create an application that is targeted for a resolution of 1024x768. For those will larger resolutions I would like the application to scale to the available area. For those with smaller resolutions I would like the browsers scroll bars to be visable to allow users to still be able to navigate the application (scrolling to naturally unviewable areas). The applications should not get smaller than 1024x768 but should be allowed to get bigger. I've used constraints to allow the expansion of the area and that works fine, however when I resize the browser to an area of 500x500, the browsers scrollbars do not appear (I would expect them to), meaning that if you have a res of 500x500 then you would not be able to navigate the application. I've tried using minWidth and maxWidth on the Application but the scrollbars do not show up. Is there something that I am missing or just not understanding?