[flexcoders] Question on extending components for Mobile Apps

2012-01-10 Thread Mike Anderson
r non-mobile apps), I've always started by extending the UIComponent Class since that is probably the most basic class to build upon. Thanks for any advice you can throw my way, Mike

Re: [flexcoders] Re: opening another Window in Flex for commenting on data entered in TextArea compon

2011-11-08 Thread Mike J
Thanks for the suggestion. But, the TitleWindow is already full and does not have space for more textareas. What can I do in this situation? From: valdhor To: flexcoders@yahoogroups.com Sent: Tuesday, November 8, 2011 9:25 AM Subject: [flexcoders] Re: opening a

[flexcoders] opening another Window in Flex for commenting on data entered in TextArea components

2011-11-07 Thread Mike J
I have a TitleWindow which has some TextArea components where end users(using the application) will enter data to answer some questions. A reviewer needs to comment on the entered answers. The reviewer comments would be stored in a MySQL database using ColdFusion as the middle tier. Later, the

[flexcoders] Re: flashBuilder.ini

2010-09-07 Thread Mike
gt; --launcher.library > > plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519 > > -vmargs > > -Xms800m > > -Xmx800m > > -XX:MaxPermSize=384m > > -XX:PermSize=128m > > -Djava.net.preferIPv4Stack=true > > Mike

[flexcoders] Re: Using modules and remote objects

2010-09-07 Thread Mike
well advised to do the same. Mike

[flexcoders] Re: Line Chart, I have a X value, how can I find the Y value?

2010-09-07 Thread Mike
that called the library function in real time, so a mouse could be tracked while live X and Y intercepts were displayed, etc. Sorry I can't offer the source code. Hopefully this gives you an idea of how you might proceed. Mike

[flexcoders] Re: flashBuilder.ini

2010-09-05 Thread Mike Slinn
t; -vm "E:\Program Files\Java\jdk1.6.0_20\jre\bin" I did not find any difference. Mike

[flexcoders] Re: flashBuilder.ini

2010-09-04 Thread Mike
-Xms800m-Xmx800m-XX:MaxPermSize=384m-XX:Pe\ rmSize=128m-Djava.net.preferIPv4Stack=true I would like to increase Xmx to a larger value, but get an error when I do so. Can anyone paste a working FlashBuilder.ini file with a larger value? Mike

[flexcoders] Re: Translate application with the google translator

2010-08-19 Thread Mike
That is one of the code examples in this book: http://www.slinnbooks.com/books/serverSide/ Mike --- In flexcoders@yahoogroups.com, Hermes Alves wrote: > > Has anyone tried to make a multi-language application using the api of google > translator? > It would be fantastic program o

[flexcoders] Re: Web Services and ObjectProxy question for the Flex Gurus

2010-07-22 Thread Mike
WebService, see my slide show and YouTube video at http://www.slideshare.net/mslinn/using-flex-with-enterprise-web-services Mike > I'm using Flex 4 and I set the returntype for the webservice to return an > array > of Cars - Cars[]. If the web service returns more than 1, i

[flexcoders] Problem with data displayed in Drop Down, versus actual underlying data

2010-06-07 Thread Mike Anderson
is tied to the model. Do any of you, have any ideas as to what's causing this? Thanks in advance for all your help, Mike P.S. I am using Flash Builder 4 & compiling in Flex 3.5 (this problem still existed when using Flex Builder too).

[flexcoders] Re: Yahoogroups really sucks - let's go somewhere else.

2010-04-28 Thread Mike
. Mike

[flexcoders] Re: Efficient SOAP WebService invocation

2010-04-21 Thread Mike
Once created, the WebService and Operation objects can be used many times, including multiple concurrent invocations. I am putting together a manuscript on enterprise-grade web services. You can track progress at http://slinnbooks.com and/or follow me on twitter: mslinn. Mike

[flexcoders] Re: Get name of function from within the function? Get arguments for any function?

2010-04-05 Thread Mike
project I am working on can't update the SDK for a while due to enterprise computing constraints. Mike --- In flexcoders@yahoogroups.com, Robert VanCuren Jr wrote: > > You can use the arguments class to get some of this info. > > http://livedocs.adobe.com/flash/9.0/ActionScr

[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

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 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

[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 wrote: > Hi, > I'm trying to embed a font into Flex, but the font doesn't have bold style, &

[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

Re: [flexcoders] Handler functions convention

2010-04-03 Thread Mike Chang
Thanks Gabriel. Mike 2010/4/3 gabriel montagné > > > On 03/04/2010, Mike Chang > 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 &g

[flexcoders] Handler functions convention

2010-04-03 Thread Mike Chang
ms pretty cumbersome. Mike

[flexcoders] Re: Loading Flex sub-applications as sandboxed applications within the same domain

2010-04-03 Thread Mike
If Apache httpd is serving your Flex application, you can use mod_proxy to make a URL pattern appear to be served from another subdomain. Mike --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > If the two domain names match, you cannot get a new SecurityDomain. You will > nee

[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 wrote: > Hi, > I got a couple of questions > 1. Is it po

[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,

Re: [flexcoders] Flex Builder won't use my changes

2010-03-21 Thread Mike Chabot
Disable your browser cache. I have to do this when developing. -Mike Chabot On Sat, Mar 20, 2010 at 7:49 PM, Rick Genter wrote: > > > I've been building an app with Flex Builder 3. All of a sudden when I run > my app using the debugger I no longer see my changes reflected.

Re: [flexcoders] session variables

2010-03-13 Thread Mike Chabot
dealing with, or an issue that can be handled differently, such as by reminding suspected violators of the rules via an E-mail. -Mike Chabot On Sat, Mar 13, 2010 at 2:32 PM, iloveyouwisconsin < iloveyouwiscon...@yahoo.com> wrote: > > > I have a flex app that users pay to subscribe

[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] Re: LCDS Configuration Settings - Best Practices?

2010-03-09 Thread Mike
This book has information that should be quite helpful: http://www.slinnbooks.com/books/serverSide/ Mike

[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

Re: [flexcoders] String to object reference?

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

[flexcoders] String to object reference?

2010-03-09 Thread Mike Chang
ve up = californiaString > to object; over = californiaString + "_over" > to object. Thanks, Mike

[flexcoders] Re: Partial LineSeries - is it possible?

2010-02-27 Thread Mike
I made a video showing an example of interactively hiding data points by filtering the chart's dataProvider. There are a number of subtleties involved ;) http://www.youtube.com/watch?v=WV8-mE8BYOs Mike

[flexcoders] Re: Strategies for switching between testing and deployment addresses

2010-02-23 Thread Mike
I cover this issue in detail in my book (http://slinnbooks.com/books/serverSide), with code examples and explanations. The book shows how to discover the originating domain and how to dynamically configure data services accordingly. Mike > I've been writing some small programs

[flexcoders] Re: Deep Object Copy?

2010-02-17 Thread Mike
Alex, Do you mean that the clone() method was provided by a party other than Adobe, and hasn't passed or won't pass a Q/A cycle? Mike

[flexcoders] Re: Deep Object Copy?

2010-02-17 Thread Mike
I just noticed the ObjectUtil.clone() method, new for Flex SDK 4. public static function clone(value:Object):Object { var result:Object = copy(value); cloneInternal(result, value); return result; } private static function cloneInternal(result:Object, value:

[flexcoders] Re: Deep Object Copy?

2010-02-17 Thread Mike
You can see the source code for ObjectUtil.copy() here: http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/src/mx/utils/ObjectUtil.as You can use this type of code to write unit tests that exercise ActionScript serialization and deserialization for your value

[flexcoders] Re: Using PlotSeries icon in a seperate control

2010-02-16 Thread Mike
I never got a reply to this, so I though I would try again and see if anyone can help. Mike --- In flexcoders@yahoogroups.com, "Mike" wrote: > > I need to create an instance of a PlotSeries icon. It's easy enough to > discover the PlotSeries item renderer: >

[SPAM] Re: [SPAM] [flexcoders] Obtaining rendered text from a DataGrid

2010-02-13 Thread Mike
any type of renderer on demand. Hopefully constructive suggestions will be forthcoming soon. Mike --- In flexcoders@yahoogroups.com, Alex Harui wrote: > > Except the memory implications of rendering every row must be considered. > > And I still haven't figured out what you&#

Re: [SPAM] [flexcoders] Obtaining rendered text from a DataGrid

2010-02-13 Thread Mike
I have no control over the dataProvider at all. Performance is not an issue, because the data extraction only happens once, and it can be time-sliced it so the webapp does not appear to freeze. Passing through multiple event handlers, including EnterFrame would be perfectly acceptable. > 3) D

Re: [SPAM] [flexcoders] Obtaining rendered text from a DataGrid

2010-02-12 Thread Mike
d to it. This means that if item renderers are used, they need to be instantiated and the text values for each cell read out... and the export routine has to figure out how to do this without any clues beyond what it can discover from the dataGrid. Something to go 'hmm' abou

Re: [SPAM] [flexcoders] Obtaining rendered text from a DataGrid

2010-02-12 Thread Mike
I must take the DataGrid as I find it. If no labelFunction is defined, that approach won't work; also each item in the dataProvider might be manifested in 0 or more columns. This approach probably won't be general enough. Thanks, Mike > You should be able to do this b

Re: [SPAM] [flexcoders] Obtaining rendered text from a DataGrid

2010-02-12 Thread Mike
Grid would render all > of the items in the dataProvider, because the height isn't set. Then go > about inspecting the itemRenderers like you proposed earlier; to get the data > for your service call. Not the best solution, but this is an unusual use-case. > > -TH Sounds like a workable suggestion, thanks. Mike

[flexcoders] Re: Obtaining rendered text from a DataGrid

2010-02-12 Thread Mike
x DataGrid Excel Export", $7. If that product includes source code, then it would be a worthwhile source of inspiration. Does the download include source? Mike --- In flexcoders@yahoogroups.com, "Flex" wrote: > > Sorry to hear your posts get unanswered. I can only suggest a &

Re: [SPAM] [flexcoders] Obtaining rendered text from a DataGrid

2010-02-12 Thread Mike
I need to post the displayed data to a server, complete with formatting. The dataProvider does not help much; I'd have to replicate the work that the datagrid does in determining the properties displayed by each column, and duplicate the job of the item renderers in order to extract the display

[flexcoders] Obtaining rendered text from a DataGrid

2010-02-12 Thread Mike
I need extract the rendered text from all cells of a DataGrid, whether or not they are all displayed. The following code dies because renderer is null: public var dp:ArrayCollection = new ArrayCollection(); /** Obtain formatted text data from the DataGrid's dataProvider. * Other data generat

[flexcoders] Re: What's up Adobe?

2010-02-03 Thread Mike
esigner who is also a top-notch developer, your standards are too low. One cannot excel at both career paths - humans are too finite. Mike ... who tries to excel as a developer and has great respect for excellent designers > > “Yes, I can see your point. I think the two of us are th

[flexcoders] Re: Flex and Java projects - deployment via FlexBuilder and Java Eclipse to Tomcat

2010-02-01 Thread Mike
See http://www.slinnbooks.com/books/serverSide Mike

[flexcoders] Using PlotSeries icon in a seperate control

2010-01-18 Thread Mike
mbedded images that can be used to set the TestBox's icon property. That works. onPlotChartComplete() sets the icon. */ http://www.adobe.com/2006/mxml";> Suggestions? Mike

[flexcoders] Re: asdoc "Error: Property is write-only."

2010-01-14 Thread Mike
I also get the same error any time Math.ceil() or Math.floor() is used in another file. Math.min() and Math.max() do not generate the error message.

[flexcoders] asdoc "Error: Property is write-only."

2010-01-14 Thread Mike
erate an error. If I put that statement anywhere in the class that it belongs to, the error appears. Something about this class triggers the error message. If it put the statement in a subclass of the problem class, no error results. Suggestions? Mike

[flexcoders] Re: Inserting Datagrid printscreen in PDF with AlivePDF

2009-12-09 Thread Mike
rogram easily enough. Mike

Re: [flexcoders] Flash Player Security Bug

2009-11-13 Thread Mike McAulay
t configured to serve a socket policy file? Mike On Nov 13, 2009, at 12:37 AM, Simon wrote: I am pretty sure I have found a bug in the Flash Player regarding socket security. According to the Adobe site I should be able to serve a socket master policy file on port 843 from my server. http:

[flexcoders] Trapping Control-A in webapp

2009-11-05 Thread Mike
I want to pass Control-A to a Flex app running in a browser. Seems the browser grabs Control-A and does not pass it to the Flex app. I tried adding this to index.template.html: