[flexcoders] antennae, mxmlc, and flex 4

2010-09-02 Thread mitchgrrt
I need to change some antennae project build rules for Flex 4. I need to redefine the "mxmlc" and "compc" rules. Can anybody offer some pointers on how to do it? I'm just looking at antennae for the first time. Thanks.

[flexcoders] Re: flashlog.txt on Mac?

2010-07-01 Thread mitchgrrt
Thanks, copying mm.cfg to home directory does seem to work. It's not what's documented. - Mitch --- In flexcoders@yahoogroups.com, Peter Coppens wrote: > > I have mm.cfg (also) in my home dir. Seems to work fine. > > > Peter > > On 30 Jun 2010, at 16:57, m

[flexcoders] flashlog.txt on Mac?

2010-06-30 Thread mitchgrrt
How do I set it up so log messages appear here? And where will the file be? I've created the file: /Library/Application Support/Macromedia/mm.cfg and set these lines: TraceOutputFileEnable=1 ErrorReportingEnable=1 But I'm not finding a flashlog.txt file. The place I'm looking for it is here: /

[flexcoders] Re: subclassing DataGrid

2010-06-22 Thread mitchgrrt
are in the same namespace as the component. > > > > > > > > On 6/21/10 1:47 PM, "mitchgrrt" wrote: > > > > > > > I have: > > > > > > and am getting the error message: > > Could not resolve to

[flexcoders] subclassing DataGrid

2010-06-21 Thread mitchgrrt
I have: and am getting the error message: Could not resolve 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] Re: using TextArea as ItemRenderer for DataGridColumn

2010-05-06 Thread mitchgrrt
Thanks a lot for the help. I decided to go with another design that doesn't use DataGrid.

[flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-05-05 Thread mitchgrrt
Flash is an API. People can write programs that don't work using it. Same thing with HTML/JavaScript: I can write an application that doesn't work and then someone can point Safari at my application. Does that mean Jobs should ban HTML/JavaScript? - Mitch Gart --- In flexcoders@yahoogrou

[flexcoders] Re: using TextArea as ItemRenderer for DataGridColumn

2010-05-05 Thread mitchgrrt
I wish I could post a picture on this forum. In the example source code the data has 3 lines in it: x y z and only two lines show up in the grid. If you use the arrow keys you can scroll down and see the third line but I wanted all three to show up. I want the TextArea renderer to show all

[flexcoders] using TextArea as ItemRenderer for DataGridColumn

2010-05-05 Thread mitchgrrt
I'm trying to use a TextArea as an ItemRenderer for a DataGridColumn. I want the rows to be high enough to hold the text, however many lines there are. It's not working. Can somebody offer some advice? Thanks. http://www.adobe.com/2006/mxml"; layout="absolute">

[flexcoders] Re: Flex Builder Out of Memory Errors

2010-04-13 Thread mitchgrrt
To answer my own question: in Applications/Adobe Flex Builder 3/Flex Builder, right-click and select "show package contents" then go to contents/MacOS/FlexBuilder.ini This is very well hidden! --- In flexcoders@yahoogroups.com, "mitchgrrt" wrote: > > I'm on a Mac

[flexcoders] Re: Flex Builder Out of Memory Errors

2010-04-12 Thread mitchgrrt
I'm on a Mac so I don't have an eclipse.ini file. Does anyone know how to set the memory limit using FB3 (standalone, not plugin) on a Mac? Thanks. --- In flexcoders@yahoogroups.com, "reflexactions" wrote: > > Ok I was getting this all day today until I remebered that in FB3 I had > manually

[flexcoders] debugger and static

2010-03-24 Thread mitchgrrt
It seems like in Flex 3 the debugger can't evaluate static expressions. We have a bunch of singleton models that are declared static and we can't see them in debugging. Does anybody know if this is fixed in Flex 4? Thanks.

[flexcoders] Re: problem with TextInput.setFocus, PopupManager, and Mac

2010-03-17 Thread mitchgrrt
> > > > > > > > > > > > > > > > Most browser will not give focus to Flash on startup. > > > > > > On 3/16/10 12:14 PM, "mitchgrrt" wrote: > > > > > > &

[flexcoders] problem with TextInput.setFocus, PopupManager, and Mac

2010-03-16 Thread mitchgrrt
I have an application where I launch a dialog with PopupManager. I want to set the focus on a TextInput when the form comes up. It works fine on the PC but not on the Mac. On the Mac it's strange. It looks like it works: there's a bright blue border around the TextInput and there's a blinki

[flexcoders] if (foo)

2010-01-18 Thread mitchgrrt
Other than style, are there reasons reasons to prefer using if (foo != null) rather than if (foo) Thanks.

[flexcoders] Re: MAC : TextInput focus

2010-01-16 Thread mitchgrrt
Here is a good discussion of the issue: http://carrythezero.net/blog/2009/01/20/flex-textinput-focus-issues/ and a summary of what seems to be the problem: http://stackoverflow.com/questions/594821/object-focus-problem-with-saf

[flexcoders] Re: MAC : TextInput focus

2010-01-16 Thread mitchgrrt
I tried the same example and it worked in Firefox on the Mac but not in Safari. In Safari the text input looks like it has focus - it has a blue glowing border around it - but I can't type in it without first clicking the mouse. Both of the lines "theInput.stage.focus = theInput" and "theInput.se

[flexcoders] Re: How to line up data in two forms

2010-01-06 Thread mitchgrrt
wrote: > > I have two forms that come from two different .mxml files, but are > being displayed on one page, one above the other. I'd like to make the > labels and inputs line up between the two forms. Is there an easy way to do > it? Thanks. >

[flexcoders] How to line up data in two forms

2010-01-05 Thread mitchgrrt
I have two forms that come from two different .mxml files, but are being displayed on one page, one above the other. I'd like to make the labels and inputs line up between the two forms. Is there an easy way to do it? Thanks.

[SPAM] [flexcoders] Re: event when page is shown in ViewStack?

2010-01-02 Thread mitchgrrt
omplete" event. > > -TH > > --- In flexcod...@yahoogro <mailto:flexcoders%40yahoogroups.com> ups.com, > "mitchgrrt" wrote: > > > > Is there an event I can listen for on a page, which would be sent > automatically whenever the page is shown in a ViewStack?

[flexcoders] event when page is shown in ViewStack?

2010-01-01 Thread mitchgrrt
Is there an event I can listen for on a page, which would be sent automatically whenever the page is shown in a ViewStack? I thought "show" might work but it doesn't seem to. We have an application with a set of nested tabs implemented with ViewStacks, and a couple of the pages need to execute

[flexcoders] Re: rewriting a function using prototype?

2009-12-29 Thread mitchgrrt
public function f1():void { > dF1(); > } > > private function realf1():void{ > trace("base f1"); > } > } > } > > > > > > --- In flexcoders@yahoogroups.com, "mitchgrrt"

Re: [SPAM] [flexcoders] logging to server?

2009-12-28 Thread mitchgrrt
a log file. > > > > I use VB.net for most of my server side stuff, what would be your choice? > > > > Tracy Spratt, > > Lariat Services, development services available > > _ > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogr

[flexcoders] logging to server?

2009-12-28 Thread mitchgrrt
I've been reading the documents on Flex logging. It seems like there's a pretty good API for logging to the place where trace() calls go, or to a file on the client, or to the server if you're using one of the Flex data services like LCDS. I want to log some data and messages that will go to

[flexcoders] Re: line breaks in htmlText

2009-12-28 Thread mitchgrrt
You may have to escape the "<" and ">" htmlText="line1
line2" either that or put it inside CDATA --- In flexcoders@yahoogroups.com, David Pariente wrote: > > Not sure if you already got an answer. > Try using > > -- > David Pariente > RIA consultor >

[flexcoders] Re: rewriting a function using prototype?

2009-12-28 Thread mitchgrrt
In the generated classes there's a hierarchy. The one with the function I want to override is a base class of another class. If I extend and override, the other classes in the hierarchy won't get my fix. --- In flexcoders@yahoogroups.com, Paul Andrews wrote: > > How about extending the Ant ge

[flexcoders] rewriting a function using prototype?

2009-12-28 Thread mitchgrrt
We have a situation where some ActionScript classes are automatically generated by an Ant script. So we can't edit them because they are regenerated on each build. I want to make one function in one of these classes behave differently. If I had normal source code editing available, I could just a

[flexcoders] Re: Simplfying Repetitive Code

2009-12-16 Thread mitchgrrt
private var seriesArray:Array = [series1, series2, series3, series4, series5 ];// etc. private function changeSeries():void { for each (var series:Object in seriesArray) { series.yField = 'male'; } } I haven't tried to compile it and run but it should work. --- In flexcoders@yah

[flexcoders] Eclipse Monkey getting started question

2009-12-16 Thread mitchgrrt
Somebody told me that Eclipse Monkey had a good little wizard for creating getters/setters/instance variables. I installed it using this example: http://eokyere.blogspot.com/2007/09/productivity-with-dash-in-eclipse.html I did the download, and created the scripts directory and the .js file bu

[flexcoders] Re: how to enable stack traceback?

2009-11-21 Thread mitchgrrt
The problem was Firefox's popup blocker. I unblocked popups and now I see the tracebacks. Unfortunately what I would have liked to do was to block most popups, and enter my file:// URL from my local app I'm building, into the exception list. But Firefox doesn't seem to accept a file:// URL in

[flexcoders] Re: how to enable stack traceback?

2009-11-21 Thread mitchgrrt
stems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of mitchgrrt > Sent: Friday, November 20, 2009 4:55 PM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] R

[flexcoders] Re: how to enable stack traceback?

2009-11-20 Thread mitchgrrt
be.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of mitchgrrt > Sent: Friday, November 20, 2009 5:14 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: how to enable stack traceback? > > > > Thanks for the goo

[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 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 answer > proba

[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

[flexcoders] Re: how to enable stack traceback?

2009-11-20 Thread mitchgrrt
e.com/> > Blog: http://blogs.adobe.com/aharui > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of mitchgrrt > Sent: Thursday, November 19, 2009 4:52 AM > To: flexcoders@yahoogroups.com > Subject: [flexcoders] Re: how to enable stack traceback?

[flexcoders] Re: how to enable stack traceback?

2009-11-19 Thread mitchgrrt
Yes I did try a simple case. I put some code that causes a null pointer exception into a screen's onCreationComplete handler. I see the traceback inside the debugger but nothing when running the program without the debugger. There seems to be a lot of confusion about this issue, and also just

[flexcoders] Re: how to enable stack traceback?

2009-11-18 Thread mitchgrrt
formation. > > 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 mitchgrrt > Sent: Tuesday, November 17, 200

[flexcoders] Re: how to enable stack traceback?

2009-11-17 Thread mitchgrrt
oders@yahoogroups.com, "valdhor" wrote: > > I don't think you can. As I understand it, the production (ie. non-debug) player suppresses errors so users don't see them. > > --- In flexcoders@yahoogroups.com, "mitchgrrt" mitch_gart@ wrote: > > > >

[flexcoders] Re: how to enable stack traceback?

2009-11-17 Thread mitchgrrt
www.playerversion.com/ > > --- In flexcoders@yahoogroups.com, "mitchgrrt" wrote: > > > > I'm still having this problem. > > > > On the Mac how do I tell what version of the Flash Player I'm running? > > In > > About This Mac > Sof

[flexcoders] Re: how to enable stack traceback?

2009-11-17 Thread mitchgrrt
x27;t say "debug" anywhere, but I use the FlexBuilder debugger a lot and the debugger works fine, so I'm pretty sure I'm running a debug version. Thanks. --- In flexcoders@yahoogroups.com, Johannes Nel wrote: > > just using the debug player should give you that.

[flexcoders] Re: Cancelling drag

2009-11-14 Thread mitchgrrt
I'd like to find a way to cancel a drag programatically too. Did either of you find out a way to do it? Thanks.

[flexcoders] Re: toFixed(0) problem?

2009-11-12 Thread mitchgrrt
Whoops, I mean the strings come out as 0. 1 2 The first has the decimal, the other two don't. --- In flexcoders@yahoogroups.com, "mitchgrrt" wrote: > > If we do this: > > var n0:Number = 0.0; var s0:String = n0.toFixed(0); > var n1:Number = 1.0

[flexcoders] toFixed(0) problem?

2009-11-12 Thread mitchgrrt
If we do this: var n0:Number = 0.0; var s0:String = n0.toFixed(0); var n1:Number = 1.0; var s1:String = n1.toFixed(0); var n2:Number = 2.0; var s2:String = n2.toFixed(0); The first string comes out as "0." (with decimal) and the other two come out as "0" (no decimal). Seems like a b

[flexcoders] Re: Does Flex support Client Side Digital Certificates

2009-11-09 Thread mitchgrrt
Did you ever find out more about this? --- In flexcoders@yahoogroups.com, "Anthony DeBonis" wrote: > > Does Flex support Client Side Digital Certificates? > > I have been asked this question several times each time I have a hard > time finding and answer/proof. > > Has anyone implemented th

[flexcoders] Re: trying to control space above label

2009-09-22 Thread mitchgrrt
Negative verticalGap. That worked! Thanks. I tried a lot of things but didn't think to try a negative number. --- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > Use a negative value in the verticalGap as needed. I think there is > built-in padding in label. > > > > Tracy Spratt

[flexcoders] Re: trying to control space above label

2009-09-22 Thread mitchgrrt
Thanks, but the result is the same even if we put 0 gaps and padding everywhere: --- In flexcoders@yahoogroups.com, "Tracy Spratt" wrote: > > VBox has a verticalGap property. Set it

[flexcoders] trying to control space above label

2009-09-21 Thread mitchgrrt
It seems like when I put some labels in my app, there is always 5 pixels padding above them: .systemDescriptionText { fontFamily: "Lucida Sans Unicode"; fontSize:12

[flexcoders] Re: This mailing list vs the forum.

2009-08-14 Thread mitchgrrt
I'm actually surprised that you refer to FlexCoders as "this mailing list". I only see it in Yahoo Groups, and I visit it when I choose to, just like a forum. I guess it can be used either way. Like another poster said, last time I used the Adobe forums, a few months ago, they were totally br

[flexcoders] Re: This mailing list vs the forum.

2009-08-12 Thread mitchgrrt
I used to use the forums but there wasn't much on them. There's a lot more here. The value of one of these things goes up with the number of people, and for whatever reason it seems like a lot more people use FlexCoders than the Adobe forums. - Mitch --- In flexcoders@yahoogroups.com, Wesley

[flexcoders] Re: How to enable keyboard input in a Box?

2009-08-11 Thread mitchgrrt
I figured out the answer to my own question. box.setFocus(). --- In flexcoders@yahoogroups.com, "mitchgrrt" wrote: > > I have a thing I'm drawing on screen using a Box and some graphics. I > would like it to also respond to some keyboard events. (It responds > we

[flexcoders] How to enable keyboard input in a Box?

2009-08-10 Thread mitchgrrt
I have a thing I'm drawing on screen using a Box and some graphics. I would like it to also respond to some keyboard events. (It responds well to mouse clicks and drag events.) Key clicks don't seem to work: box.focusEnabled = true; box.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown); The o

[flexcoders] how to enable stack traceback?

2009-08-04 Thread mitchgrrt
I've recently changed companies. At my old company in the Flex app we were developing, whenever there was an unhandled exception we got a stack traceback in a popup window. At my new company I'm not seeing that. I see it when running inside the debugger, in the console, but not when there is

[flexcoders] Re: this group isn't very good

2009-08-04 Thread mitchgrrt
--- In flexcoders@yahoogroups.com, Howard Fore wrote: > > For heaven's sake don't fork the community, just use Google to search the > group. Put use the following line in your search terms: > > site:tech.groups.yahoo.com inurl:flexcoders I agree, I didn't really want to fork the group. This li

[flexcoders] this group isn't very good

2009-08-03 Thread mitchgrrt
Sorry for the provocative message title. The contents of the group, and the people who are exchanging information, are fine. Yahoo Groups aren't very good. Information is organized poorly, and Search doesn't work. I searched for a message I sent last week and it wasn't found. Searching for

[flexcoders] Re: problem using mx:Glow and mx:Box

2009-07-27 Thread mitchgrrt
That worked. Thanks a lot for the help. - Mitch --- In flexcoders@yahoogroups.com, Chet Haase wrote: > > > Box doesn't have a fill by default, so you're seeing right through the > container to the background behind it. The glow you're seeing inside the box > is actually just a general glow

[flexcoders] Re: problem using mx:Glow and mx:Box

2009-07-27 Thread mitchgrrt
groups.com, "mitchgrrt" wrote: > > I'm trying to put a Glow around a Box, and have the glow show around the > outside of the Box's borders but not the inside. Here's part of the code: > > alphaFrom="1.0" alphaTo="0.3" >

[flexcoders] Re: How to Export data from an AdvancedDataGrid to excel

2009-07-26 Thread mitchgrrt
Two separate problems: how to get the data out of the AdvancedDataGrid and how to get it into Excel. Getting the data: if you can get the data from the grid's dataProvider that's easy. If you truly have to scrape it from the grid's rows and columns that's hard. There are no direct APIs to

[flexcoders] problem using mx:Glow and mx:Box

2009-07-25 Thread mitchgrrt
I'm trying to put a Glow around a Box, and have the glow show around the outside of the Box's borders but not the inside. Here's part of the code: The Glow shows up both inside and outside the Box's borders, even though I set inner="false". Does somebody know how to

[flexcoders] Re: Flex or JavaFX?

2009-01-29 Thread mitchgrrt
I would avoid Java FX on the client side like the plague. It's a repackaging of the 15-year-old Java Applet technology which has a lot of problems. Java Swing is a nice API for building GUIs, but Java Applets and especially the Java Plug-in in browsers have a lot of problems that I would not

[flexcoders] Re: Flex of JavaFX?

2009-01-29 Thread mitchgrrt
LiveCycle Data Services (LCDS) is still around: http://www.adobe.com/products/livecycle/dataservices/ LCDS is powerful and elegant, also complicated and expensive. --- In flexcoders@yahoogroups.com, Nate Beck wrote: > > Flex Data Services aren't really around anymore. > > I would recommend Flex

[flexcoders] Re: How to get data from many rows in DataGrid?

2009-01-27 Thread mitchgrrt
You're right that the doc isn't very complete on this point. When I use an API like this I always run it in the debugger, call the method, put a breakpoint after the call, and look at the result in the debugger. --- In flexcoders@yahoogroups.com, "markflex2007" wrote: > > > public function

[flexcoders] writing a unit test to read a DataGrid

2009-01-26 Thread mitchgrrt
I want to write a unit test that does the following: - put some data into the model that will be used by a DataGrid - read the information back from the DataGrid - compare the expected and actual results I'm using FLUINT but am having a hard time because there doesn't seem to be any API to read