[flexcoders] antennae, mxmlc, and flex 4
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?
Thanks, copying mm.cfg to home directory does seem to work. It's not what's documented. - Mitch --- In flexcoders@yahoogroups.com, Peter Coppens pc.subscripti...@... wrote: I have mm.cfg (also) in my home dir. Seems to work fine. Peter On 30 Jun 2010, at 16:57, mitchgrrt wrote: 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: /Users/mitch/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt Does anybody know how to set it up, and where it will be? (Yes I'm running the debug version of Flash). Thanks.
[flexcoders] flashlog.txt on Mac?
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: /Users/mitch/Library/Preferences/Macromedia/Flash Player/Logs/flashlog.txt Does anybody know how to set it up, and where it will be? (Yes I'm running the debug version of Flash). Thanks.
[flexcoders] Re: subclassing DataGrid
Thanks! Totally logical now that I see it. But not apparent from any docs I've ever read. Before asking I Googled and found other people with the same problem, but not the answer. Thanks again. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Because all property names are in the same namespace as the component. components:MyBetterDataGrid components:columns mx:DataGridColumn On 6/21/10 1:47 PM, mitchgrrt mitch_g...@... wrote: 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. -- 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] Re: using TextArea as ItemRenderer for DataGridColumn
Thanks a lot for the help. I decided to go with another design that doesn't use DataGrid.
[flexcoders] using TextArea as ItemRenderer for DataGridColumn
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. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute mx:Script ![CDATA[ [Bindable] private var _selectedData:Object = { formFactor: xbrybrz }; ]] /mx:Script mx:DataGrid dataProvider={_selectedData} rowCount=1 variableRowHeight=true verticalScrollPolicy=off verticalAlign=middle mx:columns mx:DataGridColumn headerText=Form Factor wordWrap=true mx:itemRenderer mx:Component mx:TextArea htmlText={data.formFactor} verticalScrollPolicy=off wordWrap=true / /mx:Component /mx:itemRenderer /mx:DataGridColumn /mx:columns /mx:DataGrid /mx:Application
[flexcoders] Re: using TextArea as ItemRenderer for DataGridColumn
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 the lines in its data without scrolling. Thanks. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Why didn't default renderer do what you want? -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui
[flexcoders] Re: Thoughts on Flash by Steve Jobs
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@yahoogroups.com, mitek17 mite...@... wrote: Mea culpa. Everytime Flash plugin crashes and Firefox says Ooops, do you want me to send the info about this crash to Apple? I click on Yes, please. Do you want me to stop doing this, to improve the Flash image? PS I have to admit, I am doing it several times a day, so maybe that's why Jobs thinks it is so bad Cheers, Dmitri.
[flexcoders] Re: Flex Builder Out of Memory Errors
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 mitch_g...@... wrote: 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 reflexactions@ wrote: Ok I was getting this all day today until I remebered that in FB3 I had manually changed the eclipse vm args in eclipse.ini.
[flexcoders] Re: Flex Builder Out of Memory Errors
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 reflexacti...@... wrote: Ok I was getting this all day today until I remebered that in FB3 I had manually changed the eclipse vm args in eclipse.ini.
[flexcoders] debugger and static
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
I knew it was a problem on startup, when the JavaScript code has trouble giving focus to a TextInput (typically on a login form) on the first Flex screen that displays. This is a Mac problem I've read about elsewhere. What I'm asking about is inside a Flex app, using PopupManager. Flex is already running and it brings up a new form using PopupManager and wants to give focus to a TextInput on the form. Thanks, - Mitch --- In flexcoders@yahoogroups.com, Nini7016 Nini7016 nahloulaha...@... wrote: Thank you very very much Alex for your answers,,, You are very very genti :) regards To: flexcoders@yahoogroups.com From: aha...@... Date: Tue, 16 Mar 2010 15:29:41 -0700 Subject: Re: [flexcoders] problem with TextInput.setFocus, PopupManager, and Mac Most browser will not give focus to Flash on startup. On 3/16/10 12:14 PM, mitchgrrt mitch_g...@... wrote: 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 blinking caret inside. But when actually typing some keys, the letters that are typed don't appear inside the TextInput. I've tried making a tiny MXML Application with a tiny popup, and this *does* work. So it seems like it's something inside our large application that's causing it to not work (on the Mac only). Any ideas how to fix it? I've tried TextInput.setFocus(), FocusManager.showFocus(), and callLater() using these. I also tried programmatically creating a MOUSE_DOWN event on the TextInput. Thanks. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui _ Découvrez comment SURFER DISCRETEMENT sur un site de rencontres ! http://clk.atdmt.com/FRM/go/206608211/direct/01/
[flexcoders] problem with TextInput.setFocus, PopupManager, and Mac
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 blinking caret inside. But when actually typing some keys, the letters that are typed don't appear inside the TextInput. I've tried making a tiny MXML Application with a tiny popup, and this *does* work. So it seems like it's something inside our large application that's causing it to not work (on the Mac only). Any ideas how to fix it? I've tried TextInput.setFocus(), FocusManager.showFocus(), and callLater() using these. I also tried programmatically creating a MOUSE_DOWN event on the TextInput. Thanks.
[flexcoders] if (foo)
Other than style, are there reasons reasons to prefer using if (foo != null) rather than if (foo) Thanks.
[flexcoders] Re: MAC : TextInput focus
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.setFocus() work in Firefox, neither work in Safari. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=vertical applicationComplete=onApplicationComplete() paddingLeft=20 paddingTop=20 horizontalAlign=left mx:Script ![CDATA[ private function onApplicationComplete():void { callLater(setFocusOnUserName); } private function setFocusOnUserName():void { ExternalInterface.call(s = function() {document.getElementById('+this.id+').focus(); }); theInput.stage.focus = theInput; // theInput.setFocus(); } ]] /mx:Script mx:Label text=user name / mx:TextInput id=theInput / /mx:Application --- In flexcoders@yahoogroups.com, emc_rcsiki emc_rcs...@... wrote: Alex, the following simple application gives the TextInput the focus in the latest versions of IE and Firefox (IE8, Firefox 3.5) - that is, I can start typing right away:
[flexcoders] Re: MAC : TextInput focus
Here is a good discussion of the issue: http://carrythezero.net/blog/2009/01/20/flex-textinput-focus-issues/ 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-safa\ ri-and-chrome-browsers http://stackoverflow.com/questions/594821/object-focus-problem-with-saf\ ari-and-chrome-browsers It sounds like there may not be a solution now, for browsers like Safari based on WebKit.
[flexcoders] Re: How to line up data in two forms
mx:Form labelWidth= --- In flexcoders@yahoogroups.com, mitchgrrt mitch_g...@... wrote: I have two mx:Form 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
I have two mx:Form 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] event when page is shown in ViewStack?
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 a function whenever they are shown. Thanks.
[flexcoders] Re: rewriting a function using prototype?
I see. Thanks! - Mitch --- In flexcoders@yahoogroups.com, jamesfin james.alan.finni...@... wrote: I've used this in this pasta bit more verbose but does the trick. ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=createJunk() mx:Script ![CDATA[ import mx.controls.Alert; public static function createJunk():void { var j:junk1 = new junk1(); // style 1 outputs base f1 j.f1(); // style 2 outputs base f1 j[f1](); // ooops, have a bug in base f1, reassign it! j.dF1 = function():void{trace(junk1 f1 override);}; // override f1 outputs junk1 f1 override j[f1](); } ]] /mx:Script /mx:Application package { public class junk1 { import mx.controls.Alert; public var dF1:Function = realf1; public function f1():void { dF1(); } private function realf1():void{ trace(base f1); } } } --- In flexcoders@yahoogroups.com, mitchgrrt mitch_gart@ wrote: 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 paul@ wrote: How about extending the Ant generated classes and overriding the function? Paul
[flexcoders] rewriting a function using prototype?
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 add a line to the function and be done. I tried rewriting the function using prototype. It didn't quite work. Doing some reading, it sounds like this would have worked with old versions of Flex but no longer with Flex 3. Here's a little example: public static function createJunk():void { junk1.prototype[f1] = function ():void { Alert.show(junk1 f1 override); }; junk1.prototype[f2] = function ():void { Alert.show(junk1 f2); }; var j:junk1 = new junk1(); j[f1](); j[f2](); } class junk1 { import mx.controls.Alert; public function f1():void { Alert.show(junk1 f1); }} The call to f2 works, showing junk1 f2, but the call to f1 doesn't get overwritten. It still shows junk1 f1. Doing some reading, I found here http://livedocs.adobe.com/flex/3/html/help.html?content=04_OO_Programmi\ ng_12.html that fixed properties are always preferred over prototype properties which explains the behavior. Does anybody know of a way to use prototype, or some other clever trick, to overwrite a function at runtime? Thanks.
[flexcoders] Re: rewriting a function using prototype?
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 p...@... wrote: How about extending the Ant generated classes and overriding the function? Paul
[flexcoders] Re: line breaks in htmlText
You may have to escape the and htmlText=line1lt;brgt;line2 either that or put it inside CDATA --- In flexcoders@yahoogroups.com, David Pariente xxmapach...@... wrote: Not sure if you already got an answer. Try using br/ -- David Pariente RIA consultor -- El 23/12/2009, a las 17:04, Joel Stransky stranskydes...@... escribió: Ok, htmlText seems to be even worse in Flex and I didn't think it could be much worse. I'm trying to render a simple piece of html that consists of an image, a line break and two paragraphs but no matter what I do, the first line of text insists in filling in on starting next to the image instead of below it. Are br tags completely ignored. Do I have to style a p tag? Is condenseWhite even recommended? What gives? -- --Joel Stransky stranskydesign.com
[flexcoders] logging to server?
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 a file on the server, and I'm not using LCDS, and so far I don't see a way to do it. Is there something built in that I missed? If not I can develop it on my own. Thanks.
Re: [SPAM] [flexcoders] logging to server?
We have server side Java, and an existing XML/Web Services framework for communicating between Flex and Java. I'll add a logging interface. It shouldn't be hard, like you say. I just wanted to double check that I hadn't missed the chance to use something that's already built in. Thanks. - Mitch Gart --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: Other than LCDS, there is no built-in server functionality, in order to preserve platform independence. However, basic server communications can be extremely simple. The HTTPService protocol is the simplest to use, unless you are comfortable with java/amf/remoteObject. WebService uses SOAP, which adds a layer of complexity you do not need for something like logging. Devise a standard xml format for your logging, build the xml in flex and send() it to the server using HTTPService. On the server grab the xml using querystring or form variables, depending on which method you use with your HTTPservice call (Post tends to be the most flexible), and use the server functionality to write it to 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...@yahoogroups.com] On Behalf Of mitchgrrt Sent: Monday, December 28, 2009 6:42 PM To: flexcoders@yahoogroups.com Subject: [SPAM] [flexcoders] logging to server? 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 a file on the server, and I'm not using LCDS, and so far I don't see a way to do it. Is there something built in that I missed? If not I can develop it on my own. Thanks.
[flexcoders] Eclipse Monkey getting started question
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 but I don't see anything in the FlexBuilder Scripts menu. Does anybody know how to get it to work? Part of the problem might be that it mentions using the Alt key, and I'm using a Mac, not a PC, so there is no Alt key. Alternatively, does anybody know about another way to get Eclipse/FlexBuilder to quickly create getters and setters? Thanks.
[flexcoders] Re: Simplfying Repetitive Code
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@yahoogroups.com, AJC2357 ajc2...@... wrote: Hi all, If I have a function like this. private function changeSeries(): void { series1.yField = 'male'; series2.yField = 'male'; series3.yField = 'male'; series4.yField = 'male'; series5.yField = 'male'; series6.yField = 'male'; series7.yField = 'male'; series8.yField = 'male'; series9.yField = 'male'; series10.yField = 'male'; } Is there an easy way to simplify it? Something like private function changeSeries(): void { something to indicate i equaling zero through ten series[i] = 'male'; } Any code help would be much appreciated! Alex
[flexcoders] Re: how to enable stack traceback?
I've been running it in Firefox and seeing the problem. I just tried in Safari and I did see the traceback! So it seems to be something related to Firefox. I'm running Firefox 3.5.5 on the Mac. I'll hunt around, maybe the traceback is being blocked by a Firefox popup blocker or something. What do you mean by a standalone debugger player? I only know how to run my flex app through the browser, either by pointing a browser to the file:///.../app.html file, or else letting Eclipse launch the app in the browser using the same URL. Thanks a lot for all the help, we're finally making progress. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: My question was really whether you're running the app in the standalone debugger player or in Safari's debugger player or some other browser's debugger player. The debugger player has a config file called mm.cfg. I don't know where it goes on Mac. I don't know if there is an option to shut off the dialog but if you find mm.cfg and post the contents I can look up what is in there. 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: Friday, November 20, 2009 4:55 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how to enable stack traceback? Capabilities.version = MAC 10,0,32,18 Capabilities.isDebugger = true With this version I'm not seeing any stack tracebacks on unhandled exceptions. Just silent failures. Is there some configuration somewhere where I might have turned it off by accident? --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex Harui aharui@ wrote: My colleagues confirm that the Mac standalone player shows the exception dialog. Are you running some other debugger player? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On Behalf Of mitchgrrt Sent: Friday, November 20, 2009 5:14 AM To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: how to enable stack traceback? Thanks for the good suggestion. Running outside the debugger, Capabilities.debug is true, but there's no stack traceback on a null pointer exception. Capabilities.version is MAC 10,0,32,18. --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex Harui aharui@ wrote: I'm running both 9 and 10 on Windows. When you run without the debugger could you be launching a different player? Try displaying Capabilites.version and isDebugger. Could be a Mac thing. I don't have a Mac. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com] On Behalf Of mitchgrrt Sent: Thursday, November 19, 2009 4:52 AM To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: how to enable stack traceback? 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 about the terminology to talk about it. I wonder if it's really just a Mac vs. Windows issue? In other kinds of software development it's common to see differences across platforms, but it's much less common with Flex. What version of the Flash player are you running? I was thinking maybe it was something that worked with version 9 and got broken with version 10. --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex Harui aharui@ wrote: If you have a debugger player you should be seeing the exception dialog whether you are in the debugger or not. I still do on Windows. I don't have a Mac to try it. Did you try a simple test case? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui
[flexcoders] Re: how to enable stack traceback?
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 the popup exception list. Now I'll have to endure lots of popups groan Thanks a lot for all the help. --- In flexcoders@yahoogroups.com, Alex Harui aharui@ wrote: My question was really whether you're running the app in the standalone debugger player or in Safari's debugger player or some other browser's debugger player. The debugger player has a config file called mm.cfg. I don't know where it goes on Mac. I don't know if there is an option to shut off the dialog but if you find mm.cfg and post the contents I can look up what is in there. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui
[flexcoders] Re: how to enable stack traceback?
Thanks for the good suggestion. Running outside the debugger, Capabilities.debug is true, but there's no stack traceback on a null pointer exception. Capabilities.version is MAC 10,0,32,18. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: I'm running both 9 and 10 on Windows. When you run without the debugger could you be launching a different player? Try displaying Capabilites.version and isDebugger. Could be a Mac thing. I don't have a Mac. 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: Thursday, November 19, 2009 4:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how to enable stack traceback? 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 about the terminology to talk about it. I wonder if it's really just a Mac vs. Windows issue? In other kinds of software development it's common to see differences across platforms, but it's much less common with Flex. What version of the Flash player are you running? I was thinking maybe it was something that worked with version 9 and got broken with version 10. --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex Harui aharui@ wrote: If you have a debugger player you should be seeing the exception dialog whether you are in the debugger or not. I still do on Windows. I don't have a Mac to try it. Did you try a simple test case? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui
[flexcoders] Re: combining multiple styles
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 for it. Not sure if that's what you wanted. --- In flexcoders@yahoogroups.com, Joel Stransky stranskydes...@... wrote: In a Flex .css document, is there any shorthand for using the same value on multiple styles? For instance: .leftTab{ selectedUpSkin, selectedOverSkin, selectedDownSkin: Embed(source=myImage.png); } -- --Joel Stransky stranskydesign.com
[flexcoders] Re: Is thereany way using a Image Renderer ,I can change the widtth or height of an image?
3. Width and height are properties of Image, not styles, so setStyle() won't work. --- In flexcoders@yahoogroups.com, Chris zomgfore...@... 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 probably isn't what you are after. 1. Currently you are using Image as a base class. The way item renderers work, the width, height, and background can be controlled by the item renderer's parent. I think you would want to wrap your Image within a canvas, so that the image's dimensions won't be controlled by the parent, and can instead be set by you. The parent of the renderer will set the width/height of the canvas, and you can set the image width/height. 2. I don't know what a PopupMenu is. Is that the dropdown that is created by a ComboBox? On Fri, Nov 20, 2009 at 8:42 AM, Thomas Silvester thomas_...@...wrote: Hi All, I have 2 questions? 1.I would like to chnage the width and height of an image using an Imagae renderer, how do i do that? 2. Can I chnage the widht or height of a POPUPMenu using the same style as below uing a renderer. Any information regarding this is appreciated. Thanks in Advance, Anitha. I tried this, but it did not chnage the width or height of the image.. * package * { *import* mx.controls.*; *public* *class* ImageRenderer *extends* Image { *private* *var* slaimage:Image; *public* *function* ImageRenderer() { *super*(); } *override* *public* *function* *set* data(value:Object) :*void* { *if*(value != *null*) { *super*.data = value; slaimage= *new* Image(); slaimage.source=value.CurrentSLA; slaimage.setStyle( *width*,15); slaimage.setStyle(*height* ,15); } }
[flexcoders] Re: how to enable stack traceback?
Capabilities.version = MAC 10,0,32,18 Capabilities.isDebugger = true With this version I'm not seeing any stack tracebacks on unhandled exceptions. Just silent failures. Is there some configuration somewhere where I might have turned it off by accident? --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: My colleagues confirm that the Mac standalone player shows the exception dialog. Are you running some other debugger player? 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: Friday, November 20, 2009 5:14 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how to enable stack traceback? Thanks for the good suggestion. Running outside the debugger, Capabilities.debug is true, but there's no stack traceback on a null pointer exception. Capabilities.version is MAC 10,0,32,18. --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex Harui aharui@ wrote: I'm running both 9 and 10 on Windows. When you run without the debugger could you be launching a different player? Try displaying Capabilites.version and isDebugger. Could be a Mac thing. I don't have a Mac. Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com [mailto:flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com] On Behalf Of mitchgrrt Sent: Thursday, November 19, 2009 4:52 AM To: flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Re: how to enable stack traceback? 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 about the terminology to talk about it. I wonder if it's really just a Mac vs. Windows issue? In other kinds of software development it's common to see differences across platforms, but it's much less common with Flex. What version of the Flash player are you running? I was thinking maybe it was something that worked with version 9 and got broken with version 10. --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.commailto:flexcoders%40yahoogroups.com, Alex Harui aharui@ wrote: If you have a debugger player you should be seeing the exception dialog whether you are in the debugger or not. I still do on Windows. I don't have a Mac to try it. Did you try a simple test case? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui
[flexcoders] Re: how to enable stack traceback?
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 about the terminology to talk about it. I wonder if it's really just a Mac vs. Windows issue? In other kinds of software development it's common to see differences across platforms, but it's much less common with Flex. What version of the Flash player are you running? I was thinking maybe it was something that worked with version 9 and got broken with version 10. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: If you have a debugger player you should be seeing the exception dialog whether you are in the debugger or not. I still do on Windows. I don't have a Mac to try it. Did you try a simple test case? Alex Harui Flex SDK Developer Adobe Systems Inc.http://www.adobe.com/ Blog: http://blogs.adobe.com/aharui
[flexcoders] Re: how to enable stack traceback?
This terminology is really difficult. On the Adobe page here: http://www.adobe.com/support/flashplayer/downloads.html the one I downloaded is labeled: Download the Macintosh Flash Player 10 Plugin content debugger (Intel-based Macs) Is there any way for a person outside Adobe to get a player that will show stack tracebacks on unhandled exceptions? Otherwise I guess I can run every time in the debugger, but that seems like a pain for several reasons. This is a big change from how the Flash player used to work a few months ago. Those stack tracebacks are ugly for end users, but they are indispensable for developers. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: In Adobe terminology, you are running a debugger player and have or have not launched it in a debugger. The main player you get from the Adobe site is a release player. A debug player is internal to Adobe and there is a release-debug version build and a debugger-debug build that we use to track down nasty bugs in the player. Only the debugger player will show the dialog when there is an unhandled exception. The release player will stop the current code execution and wait for the next event. Unless something recently changed, I believe if you catch an error and trace out getStackTrace(), the release player will not show a stacktrace as ti doesn't take the time to track that information. 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, 2009 2:05 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: how to enable stack traceback? I'm running the debug version of Flash player, sometimes in the debugger and sometimes not. It used to be the case that running the debug version of Flash player, even outside the debugger, there was a stack trace when there was an unhandled exception. Has that changed? --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, valdhor valdhorlists@ 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.commailto:flexcoders%40yahoogroups.com, mitchgrrt mitch_gart@ wrote: Thanks, that was really helpful. I'll bookmark those pages. Now I see positively that I have the debug Flash player, but I'm still not seeing stack tracebacks unless I run in the debugger. Any ideas how to set it so I can always see a traceback if there's an unhandled exception? Thanks. --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, valdhor valdhorlists@ wrote: Have you tried http://www.adobe.com/livedocs/flex/3/langref/flash/system/Capabilities.h\ tml#versionhttp://www.adobe.com/livedocs/flex/3/langref/flash/system/Capabilities.html#version or http://kb2.adobe.com/cps/155/tn_15507.html or http://www.playerversion.com/ --- In flexcoders@yahoogroups.commailto:flexcoders%40yahoogroups.com, mitchgrrt mitch_gart@ 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 Software Applications there is more than one, how do I tell which one I'm running? The most recent one I downloaded is this: Flash Player: Version: 10.0.12.36 Last Modified: 10/4/08 11:54 PM Kind: Universal Get Info String: Adobe Flash Player 10.0 r12 Copyright (c) 1996-2008 Adobe Macromedia Software LLC. All rights reserved Location: /Applications/Adobe Flex Builder 3/Player/mac/10/mac/Flash Player.app It doesn'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.commailto:flexcoders%40yahoogroups.com, Johannes Nel johannes.nel@ wrote: just using the debug player should give you that. On Tue, Aug 4, 2009 at 3:54 PM, mitchgrrt mitch_gart@ wrote: 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 no debugger. I'd like to turn on the traceback and see it without the debugger. Does somebody know how to turn this on? I'm running FlexBuilder 3 on a Mac. Thanks. -- j:pn \\no comment --- In flexcoders
[flexcoders] Re: how to enable stack traceback?
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 Software Applications there is more than one, how do I tell which one I'm running? The most recent one I downloaded is this: Flash Player: Version:10.0.12.36 Last Modified:10/4/08 11:54 PM Kind:Universal Get Info String:Adobe Flash Player 10.0 r12 Copyright (c) 1996-2008 Adobe Macromedia Software LLC. All rights reserved Location:/Applications/Adobe Flex Builder 3/Player/mac/10/mac/Flash Player.app It doesn'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 johannes@... wrote: just using the debug player should give you that. On Tue, Aug 4, 2009 at 3:54 PM, mitchgrrt mitch_g...@... wrote: 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 no debugger. I'd like to turn on the traceback and see it without the debugger. Does somebody know how to turn this on? I'm running FlexBuilder 3 on a Mac. Thanks. -- j:pn \\no comment --- In flexcoders@yahoogroups.com, Johannes Nel johannes@... wrote: just using the debug player should give you that. On Tue, Aug 4, 2009 at 3:54 PM, mitchgrrt mitch_g...@... wrote: 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 no debugger. I'd like to turn on the traceback and see it without the debugger. Does somebody know how to turn this on? I'm running FlexBuilder 3 on a Mac. Thanks. -- j:pn \\no comment
[flexcoders] Re: how to enable stack traceback?
Thanks, that was really helpful. I'll bookmark those pages. Now I see positively that I have the debug Flash player, but I'm still not seeing stack tracebacks unless I run in the debugger. Any ideas how to set it so I can always see a traceback if there's an unhandled exception? Thanks. --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... wrote: Have you tried http://www.adobe.com/livedocs/flex/3/langref/flash/system/Capabilities.html#version or http://kb2.adobe.com/cps/155/tn_15507.html or http://www.playerversion.com/ --- In flexcoders@yahoogroups.com, mitchgrrt mitch_gart@ 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 Software Applications there is more than one, how do I tell which one I'm running? The most recent one I downloaded is this: Flash Player: Version:10.0.12.36 Last Modified:10/4/08 11:54 PM Kind:Universal Get Info String:Adobe Flash Player 10.0 r12 Copyright (c) 1996-2008 Adobe Macromedia Software LLC. All rights reserved Location:/Applications/Adobe Flex Builder 3/Player/mac/10/mac/Flash Player.app It doesn'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 johannes.nel@ wrote: just using the debug player should give you that. On Tue, Aug 4, 2009 at 3:54 PM, mitchgrrt mitch_gart@ wrote: 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 no debugger. I'd like to turn on the traceback and see it without the debugger. Does somebody know how to turn this on? I'm running FlexBuilder 3 on a Mac. Thanks. -- j:pn \\no comment --- In flexcoders@yahoogroups.com, Johannes Nel johannes.nel@ wrote: just using the debug player should give you that. On Tue, Aug 4, 2009 at 3:54 PM, mitchgrrt mitch_gart@ wrote: 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 no debugger. I'd like to turn on the traceback and see it without the debugger. Does somebody know how to turn this on? I'm running FlexBuilder 3 on a Mac. Thanks. -- j:pn \\no comment
[flexcoders] Re: how to enable stack traceback?
I'm running the debug version of Flash player, sometimes in the debugger and sometimes not. It used to be the case that running the debug version of Flash player, even outside the debugger, there was a stack trace when there was an unhandled exception. Has that changed? --- In flexcoders@yahoogroups.com, valdhor valdhorli...@... 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: Thanks, that was really helpful. I'll bookmark those pages. Now I see positively that I have the debug Flash player, but I'm still not seeing stack tracebacks unless I run in the debugger. Any ideas how to set it so I can always see a traceback if there's an unhandled exception? Thanks. --- In flexcoders@yahoogroups.com, valdhor valdhorlists@ wrote: Have you tried http://www.adobe.com/livedocs/flex/3/langref/flash/system/Capabilities.h\ tml#version or http://kb2.adobe.com/cps/155/tn_15507.html or http://www.playerversion.com/ --- In flexcoders@yahoogroups.com, mitchgrrt mitch_gart@ 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 Software Applications there is more than one, how do I tell which one I'm running? The most recent one I downloaded is this: Flash Player: Version:10.0.12.36 Last Modified:10/4/08 11:54 PM Kind:Universal Get Info String:Adobe Flash Player 10.0 r12 Copyright (c) 1996-2008 Adobe Macromedia Software LLC. All rights reserved Location:/Applications/Adobe Flex Builder 3/Player/mac/10/mac/Flash Player.app It doesn'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 johannes.nel@ wrote: just using the debug player should give you that. On Tue, Aug 4, 2009 at 3:54 PM, mitchgrrt mitch_gart@ wrote: 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 no debugger. I'd like to turn on the traceback and see it without the debugger. Does somebody know how to turn this on? I'm running FlexBuilder 3 on a Mac. Thanks. -- j:pn \\no comment --- In flexcoders@yahoogroups.com, Johannes Nel johannes.nel@ wrote: just using the debug player should give you that. On Tue, Aug 4, 2009 at 3:54 PM, mitchgrrt mitch_gart@ wrote: 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 no debugger. I'd like to turn on the traceback and see it without the debugger. Does somebody know how to turn this on? I'm running FlexBuilder 3 on a Mac. Thanks. -- j:pn \\no comment
[flexcoders] Re: Cancelling drag
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] toFixed(0) problem?
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 bug, no?
[flexcoders] Re: toFixed(0) problem?
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 mitch_g...@... wrote: 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 bug, no?
[flexcoders] Re: Does Flex support Client Side Digital Certificates
Did you ever find out more about this? --- In flexcoders@yahoogroups.com, Anthony DeBonis anth...@... 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 this and do you have a code that tests it out. If it's all https traffic I am sure the browser handles this fine but what if you're using Flex Data Services for AMF binary transfer or messaging with Flash/Flex support the client side certificate?
[flexcoders] Re: trying to control space above label
Thanks, but the result is the same even if we put 0 gaps and padding everywhere: mx:VBox verticalGap=0 mx:Box borderColor=red borderStyle=solid paddingBottom=0 paddingTop=0 mx:Label text=System styleName=systemDescriptionText paddingBottom=0 paddingTop=0/ /mx:Box mx:Box borderColor=red borderStyle=solid paddingBottom=0 paddingTop=0 mx:Label text=System 24 styleName=systemDescriptionText height=24 paddingBottom=0 paddingTop=0/ /mx:Box mx:Box borderColor=red borderStyle=solid paddingBottom=0 paddingTop=0 mx:Label text=System 16 styleName=systemDescriptionText height=16 paddingBottom=0 paddingTop=0/ /mx:Box /mx:VBox --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: VBox has a verticalGap property. Set it to 0. also you can set the padding on the label to 0. Tracy Spratt, Lariat Services, development services available
[flexcoders] Re: trying to control space above label
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 tr...@... wrote: Use a negative value in the verticalGap as needed. I think there is built-in padding in label. Tracy Spratt, Lariat Services, development services available
[flexcoders] trying to control space above label
It seems like when I put some labels in my app, there is always 5 pixels padding above them: mx:VBox mx:Box borderColor=red borderStyle=solid mx:Label text=System styleName=systemDescriptionText paddingTop=0/ /mx:Box mx:Box borderColor=red borderStyle=solid mx:Label text=System 24 styleName=systemDescriptionText height=24 / /mx:Box mx:Box borderColor=red borderStyle=solid mx:Label text=System 16 styleName=systemDescriptionText height=16 / /mx:Box /mx:VBox .systemDescriptionText { fontFamily: Lucida Sans Unicode; fontSize:12pt; color:#CC; } Each one of the labels above has 5 pixels of space above it, between the label and the red border line. Is there a way to control this? Thanks.
[flexcoders] Re: This mailing list vs the forum.
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 broken. Search didn't work at all. Maybe they have been fixed. It was also extremely frustrating because I spent *hours* trying to figure out how to report the broken forum to somebody. Eventually I sent a personal email message to somebody at Adobe whose email address I had. The Adobe Web Site has contact us links that are for things like buying their products but has no way at all to report something like a broken web page or a broken link. It seemed to me like Adobe is a company that makes great technology but thinks they are so good that they don't need to bother with something as basic as letting users contact them to report problems. --- In flexcoders@yahoogroups.com, Wesley Acheson wesley.ache...@... wrote: I saw a mail a while ago about new Adobe forums. Those of you who use both which do you perfer flexcoders or the Adobe forums? I've an impression that the community is pretty strong here. ] Please only answer If you use both. Its not a real opinion to get the opinion of someone who only uses the group as they can't compare. Regards, Wes
[flexcoders] Re: This mailing list vs the forum.
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 Acheson wesley.ache...@... wrote: I saw a mail a while ago about new Adobe forums. Those of you who use both which do you perfer flexcoders or the Adobe forums? I've an impression that the community is pretty strong here. ] Please only answer If you use both. Its not a real opinion to get the opinion of someone who only uses the group as they can't compare. Regards, Wes
[flexcoders] Re: How to enable keyboard input in a Box?
I figured out the answer to my own question. box.setFocus(). --- In flexcoders@yahoogroups.com, mitchgrrt mitch_g...@... 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 well to mouse clicks and drag events.) Key clicks don't seem to work: box.focusEnabled = true; box.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDown); The onKeyDown method never gets called. Is there a way to do this? Thanks.
[flexcoders] How to enable keyboard input in a Box?
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 onKeyDown method never gets called. Is there a way to do this? Thanks.
[flexcoders] Re: this group isn't very good
--- In flexcoders@yahoogroups.com, Howard Fore howard.f...@... 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 line in the search terms worked well. I didn't know that syntax. Thanks.
[flexcoders] how to enable stack traceback?
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 no debugger. I'd like to turn on the traceback and see it without the debugger. Does somebody know how to turn this on? I'm running FlexBuilder 3 on a Mac. Thanks.
[flexcoders] this group isn't very good
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 my name turns up some messages I sent several months ago but no recent ones. Google Groups work much better than Yahoo Groups. Information is easier to find, and search works. I wish this group were hosted on Google instead of Yahoo.
[flexcoders] Re: problem using mx:Glow and mx:Box
Also in the example, the inner hello label gets the glow. It seems like the Glow is applied to the outer and inner borders of the Box, and also to objects inside the Box. Does anybody know how to make the Glow effect just the outside of the Box? Thanks. --- In flexcoders@yahoogroups.com, mitchgrrt mitch_g...@... 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: mx:Glow id=glowImage duration=1000 alphaFrom=1.0 alphaTo=0.3 blurXFrom=0.0 blurXTo=50.0 blurYFrom=0.0 blurYTo=50.0 inner=false color=0x00FF00/ mx:Box height=100 width=200 mouseDownEffect={glowImage} borderColor=black borderStyle=solid mx:Label text=hello / /mx:Box The Glow shows up both inside and outside the Box's borders, even though I set inner=false. Does somebody know how to get it to show just outside the box? Thanks.
[flexcoders] Re: problem using mx:Glow and mx:Box
That worked. Thanks a lot for the help. - Mitch --- In flexcoders@yahoogroups.com, Chet Haase cha...@... 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 around each of the container's elements. You'd get the same result with a Canvas, although a Panel has a fillled background and doesn't have this effect. You can get the effect you're looking for by setting a background color on the box: mx:Box height=100 width=200 mouseDownEffect={glowImage} backgroundColor=white borderColor=black borderStyle=solid Chet.
[flexcoders] Re: How to Export data from an AdvancedDataGrid to excel
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 do that. A way you can do it is with the automation APIs, see this article for details: http://code.google.com/p/fluint/wiki/FluintAndAutomationAPI Sending it to Excel: the only way I know to do that is to send it to the server, and have the server put it in a file for Excel to read. The easiest would probably be to use the .csv file format. Probably if you used Air instead of Flex there would be a way to do it all on the client side. --- In flexcoders@yahoogroups.com, vibha_crsce vibha_cr...@... wrote: Hi, I just want to Export data in my Advanced data grid to excel. Is there any solution to do so directly in flex that is independent of the server side request and version of FlashPlayer. Thannks Vibha
[flexcoders] problem using mx:Glow and mx:Box
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: mx:Glow id=glowImage duration=1000 alphaFrom=1.0 alphaTo=0.3 blurXFrom=0.0 blurXTo=50.0 blurYFrom=0.0 blurYTo=50.0 inner=false color=0x00FF00/ mx:Box height=100 width=200 mouseDownEffect={glowImage} borderColor=black borderStyle=solid mx:Label text=hello / /mx:Box The Glow shows up both inside and outside the Box's borders, even though I set inner=false. Does somebody know how to get it to show just outside the box? Thanks.
[flexcoders] Re: Flex of JavaFX?
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 n...@... wrote: Flex Data Services aren't really around anymore. I would recommend Flex + BlazeDS, it's java based.
[flexcoders] Re: Flex or JavaFX?
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 want to experience again. (I developed Applets for years before switching to Flex.) I would recommend Flex on the client side, Java on the server side, and either BlazeDS or LCDS for communicating between client and server. BlazeDS is free and simple, LCDS is elaborate and expensive. --- In flexcoders@yahoogroups.com, TCash21 tanya_cashor...@... wrote: Hi all, I'm currently trying to push Adobe Flex at my company for complex network visualizations. The application will also need to run computationally intensive simulations (accessing backend java code) as well as some other distributed tasks. I know Java can store everything in memory and access it but is Flex just as able? Would it require Flex Data Services and what are the advantages? I'm easily sold on the UI-experience and aesthetic appeal of the front-end, I'm just unsure how it would handle massive computational efforts on the backend and display it all to the client quickly. We're trying to figure out the best way to go, will it be JavaFX? Flex Data Services? Flex and Java integrated? Elixir? Thank you all for any input, -Tanya
[flexcoders] Re: How to get data from many rows in DataGrid?
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 markflex2...@... wrote: public function get selectedItems():Array what the Array look like? I have not see a demo
[flexcoders] writing a unit test to read a DataGrid
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 the information from a DataGrid. Has anybody succeeded in doing this, either with FLUINT or with FlexUnit? Thanks.