[flexcoders] Cursor disappears intermittently on Mac
Hi, I have a AIR deployed application, and I'm running into a problem on Mac OS X. When I try to drag the window around by the title bar, the mouse cursor disappears intermittently. On Windows it's fine... Any idea? Thanks, Mike
[flexcoders] Handler functions convention
Hi, I noticed in many examples on the web handler functions mostly have a parameter event, even though the event isn't used (such as even.target). I'm wondering if there's a reason for this convention. I have to pass a null in case it isn't triggered by the event, which seems pretty cumbersome. Mike
Re: [flexcoders] Handler functions convention
Thanks Gabriel. Mike 2010/4/3 gabriel montagné gabr...@rojored.com On 03/04/2010, Mike Chang mik...@gmail.com mikecc%40gmail.com wrote: I noticed in many examples on the web handler functions mostly have a parameter event, even though the event isn't used (such as even.target). I'm wondering if there's a reason for this convention. I'd say it's up to you, but if you subscribe to the event using ActionScript, not the mxml handler sugar, then you'll always get the event. I have to pass a null in case it isn't triggered by the event, which seems pretty cumbersome. Perhaps you could use defaults in the handler, something like login_clickHandler(event:MouseEvent = null) Gabriel -- gabriel montagné láscaris comneno http://rojored.com +44 (0) 7500 709 209
[flexcoders] Embedding fonts with a font that doesn't have bold
Hi, I'm trying to embed a font into Flex, but the font doesn't have bold style, so anywhere the application bolds the text it shows as Times New Roman. Any workaround? I have another font-name I'd like to use for bold. Thanks, Mike
[flexcoders] Re: Embedding fonts with a font that doesn't have bold
Also, if I had a choice, would it be faster embedding a font or using images - say I only have a single 200x100 sized image using the font. On Sat, Apr 3, 2010 at 11:51 AM, Mike Chang mik...@gmail.com wrote: Hi, I'm trying to embed a font into Flex, but the font doesn't have bold style, so anywhere the application bolds the text it shows as Times New Roman. Any workaround? I have another font-name I'd like to use for bold. Thanks, Mike
Re: [flexcoders] Embedding fonts with a font that doesn't have bold
Oleg's right. Thanks all. On Sat, Apr 3, 2010 at 2:06 PM, Oleg Sivokon olegsivo...@gmail.com wrote: Samuel, It was actually not me, who asked the question :) Besides, from what I understood from the question - the font doesn't have bold face, so, you cannot embed bold characters from that font, because they had never been designed by the font's author :) If this isn't the case, then probably my answer is worth nothing. Best. Oleg
[flexcoders] Dim application while busy cursor is on
Hi, I got a couple of questions 1. Is it possible to dim the background application (as in modal dialog) when the busy cursor is set? 2. Instead of a busy cursor, I'd like to have a progress bar in the middle of the screen. HOw is this accomplished? Thanks,
[flexcoders] Re: Dim application while busy cursor is on
Sorry one more question - I noticed that when I setbusycursor in a AIR deployed app, the regular cursor appears alongside the busy cursor. Is there a way to remove the regular cursor? On Fri, Apr 2, 2010 at 10:40 AM, Mike Chang mik...@gmail.com wrote: Hi, I got a couple of questions 1. Is it possible to dim the background application (as in modal dialog) when the busy cursor is set? 2. Instead of a busy cursor, I'd like to have a progress bar in the middle of the screen. HOw is this accomplished? Thanks,
[flexcoders] Default parameters in function
Hi, I have a function function myfunc (a:int, b:int, c:int = 0) { } I want to be able to call myfunc(a, b) and have c using a default value 0, is this possible? I tried it but it says function expects 3 arguments. Mike
[flexcoders] String to object reference?
Hi, I was wondering if it's possible to change a string to an object name. For example, I pass a string california, and there's an object named california. I would like to reference the california object. For example, this is my code right now: case california: up = california; over = california_over; break; I would like to have up = californiaString to object; over = californiaString + _over to object. Thanks, Mike
Re: [flexcoders] String to object reference?
Thanks! On Tue, Mar 9, 2010 at 11:58 AM, Gordon Smith gosm...@adobe.com wrote: You can access the properties of any object by name, using square-bracket notation. For example, o.p can be written o[p]. In this case, the relevant object is 'this', so you want this[california] this[california + _over] Gordon Smith Adobe Flex SDK Team *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Mike Chang *Sent:* Tuesday, March 09, 2010 11:13 AM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] String to object reference? Hi, I was wondering if it's possible to change a string to an object name. For example, I pass a string california, and there's an object named california. I would like to reference the california object. For example, this is my code right now: case california: up = california; over = california_over; break; I would like to have up = californiaString to object; over = californiaString + _over to object. Thanks, Mike
[flexcoders] Disabling focus on button when tab is pressed
Hi, I have some buttons in my UI, and I realize that when TAB is pressed, it automatically sets the focus to one of the buttons. I do not wish to have this behavior. Is there a way to disable it? Thanks, Mike
[flexcoders] Datagrid Row height
Hi, One of my rows in a data grid contains items that are larger than the default height of the cell (1 line). It's fine that it stretches, but is it possible not to have all the rows increase by the same? All the rows are bigger in height now. Please help. Mike
[flexcoders] Wrapping components
Hi, I have a newbie question on layout.I'm looking for a container component that would wrap the components inside, keeping width the same and expanding the height to fit, allowing all components inside to be visible while keeping a maximum width. I tried HBox and VBox but as you can imagine they either cut it out, or just expand in the wrong way. Please help. Thanks, Mike
[flexcoders] Loading properties files at runtime
Hi, Is it possible to localize Flex application in a way that properties file can be loaded at runtime? I know they can be made into resource modules, but I want to avoid compiling those too. Thanks, Mike
Re: [flexcoders] DataGrid mouseover
Thanks. I don't understand why it would be disabled because of itemrenderer though. My item renderer looks like - mx:VBox xmlns:mx=http://www.adobe.com/2006/mxml; verticalAlign=middle height=33 mx:Script ![CDATA[ override public function set data(val:Object):void { myLabel.text = val.Location; } ]] /mx:Script mx:Label id=myLabel /mx:Label /mx:VBox On Tue, Feb 3, 2009 at 7:24 AM, Alex Harui aha...@adobe.com wrote: Debug into mouseEventToItemRenderer and see why it doesn't return the correct renderer *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On Behalf Of *Mike Chang *Sent:* Monday, February 02, 2009 12:47 PM *To:* flexcoders@yahoogroups.com *Subject:* [flexcoders] DataGrid mouseover I have a data grid, and one of the columns I used ItemRenderer to have a vbox and an image inside as a button. Everything looks good except the entire column where that ItemRenderer is used does not invoke the same mouseover events as the other columns. The mouseover event I was looking for is highlighting the row on mouseover and selection (with a darker hue). How do I get the column to do mouseover again for the whole row? Thanks in advance.
[flexcoders] DataGrid mouseover
I have a data grid, and one of the columns I used ItemRenderer to have a vbox and an image inside as a button. Everything looks good except the entire column where that ItemRenderer is used does not invoke the same mouseover events as the other columns. The mouseover event I was looking for is highlighting the row on mouseover and selection (with a darker hue). How do I get the column to do mouseover again for the whole row? Thanks in advance.
[flexcoders] Flash Detection
Hi, I have a program which has a normal desktop setup (installshield). After install and on launch it launches an IE window and inside it's Flex. Now I want to require minimum version of 10, but it's breaking my program using javascript detection as in http://www.adobe.com/products/flashplayer/download/detection_kit/. My question is, is it possible to detect version of Flash not through the browser? I want to be able to read some registry. Otherwise, can I bypass the automatic detection and upgrade mechanism by any chance? I'm having major problem with the way Adobe is doing it, which is upgrading, closing the window, and relaunching the same page. Can I detect that it's less than 10, than just give user a link (redirect to some other page), without going through how Adobe upgrades inside the browser? Thanks, Mike
[flexcoders] String encoding comparison
I need to do this comparison: if (string a == string b) a is hi and b is also hi, but extracted from an XML file that has characters in other encoding (shift-JIS, japanese to be exact). this statement comes back false in Flex, which is not what I want. the statement comes back true if the XML file has complete ascii in it. so I'm guessing the byte representation of hi is different because the XML parsing engine sees there are some other characters in shift JIS and assumes hi is in that encoding as well. how do I convert it back so I can compare to the actual string hi. thanks
Re: [flexcoders] Browser Container
I cannot because of a legacy application that is embedded within Flex that is done in Java. On Sun, Jun 29, 2008 at 7:35 AM, Paul Evans [EMAIL PROTECTED] wrote: On 27 Jun 2008, at 18:16, Mike Chang wrote: what if AIR is really not an option? As far as I can see, from what you described so far, AIR really is an option. Take a read of the documentation against your requirements. I HAVE to deploy it through a browser because of an existing framework. AIR contains a browser. I doubt you will get any clearer answer without providing more detail of the problem you are trying to solve paul -- Paul Evans http://www.creative-cognition.co.uk/ http://blog.creacog.co.uk/
Re: [flexcoders] Browser Container
what if AIR is really not an option? I HAVE to deploy it through a browser because of an existing framework. On Fri, Jun 27, 2008 at 8:22 AM, Tom Chiverton [EMAIL PROTECTED] wrote: On Friday 27 Jun 2008, emaxima wrote: Is there a good browser framework so I can embed my flex application (deployed offline on desktop) not exactly by launching IE, but with customization, such as how it handles exit. I want to warn user to Umm, AIR ? -- Tom Chiverton 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. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. 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 Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links