Re: [flexcoders] Browser Container

2008-06-27 Thread Mike Chang
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

Re: [flexcoders] Browser Container

2008-06-30 Thread Mike Chang
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

[flexcoders] String encoding comparison

2009-01-15 Thread Mike Chang
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

[flexcoders] Flash Detection

2009-01-21 Thread Mike Chang
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

[flexcoders] DataGrid mouseover

2009-02-02 Thread Mike Chang
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

Re: [flexcoders] DataGrid mouseover

2009-02-06 Thread Mike Chang
@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

[flexcoders] Loading properties files at runtime

2009-02-12 Thread Mike Chang
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

[flexcoders] Wrapping components

2009-06-07 Thread Mike Chang
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

[flexcoders] Datagrid Row height

2009-06-14 Thread Mike Chang
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] String to object reference?

2010-03-09 Thread Mike Chang
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:

Re: [flexcoders] String to object reference?

2010-03-09 Thread Mike Chang
] 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

[flexcoders] Disabling focus on button when tab is pressed

2010-03-09 Thread Mike Chang
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] Default parameters in function

2010-03-10 Thread Mike Chang
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] Dim application while busy cursor is on

2010-04-02 Thread Mike Chang
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

2010-04-02 Thread Mike Chang
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

[flexcoders] Handler functions convention

2010-04-03 Thread Mike Chang
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.

Re: [flexcoders] Handler functions convention

2010-04-03 Thread Mike Chang
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

[flexcoders] Embedding fonts with a font that doesn't have bold

2010-04-03 Thread Mike Chang
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

2010-04-03 Thread Mike Chang
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

Re: [flexcoders] Embedding fonts with a font that doesn't have bold

2010-04-03 Thread Mike Chang
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

[flexcoders] Cursor disappears intermittently on Mac

2010-04-04 Thread Mike Chang
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