RE: [flexcoders] Re: Flex 3.3 and Flash Player 10.0.22 coming?

2009-03-04 Thread Gregor Kiddie
I think I missed this one! Does this release of the DMV code mean that we don't need a license for it anymore? Gk. Gregor Kiddie Senior Developer INPS Tel: 01382 564343 Registered address: The Bread Factory, 1a Broughton Street, London SW8 3QJ Registered Number: 1788577

[flexcoders] Re: Rotate a custom Marker icon with Google Maps Flex API

2009-03-04 Thread bhaq1972
Sorry I can't remember. It was always quite confusing because there was one for flex and one for flash (and I was only evaluating). Go to the google maps flex api home page. and there is a link (called 'Groups') on the top right. --- In flexcoders@yahoogroups.com, bigdummy504 j...@... wrote:

Re: [flexcoders] Detecting other type of mouse event

2009-03-04 Thread carlo giordano
How check is the mouse click is released ? 2009/3/3 Fotis Chatzinikos fotis.chatzini...@gmail.com: mouse move? on press, register mouse move and then on release / drop unregister...

Re: [flexcoders] Detecting other type of mouse event

2009-03-04 Thread carlo giordano
Sorry, my question is how check *if* the mouse click is released ? Thanks. 2009/3/3 Fotis Chatzinikos fotis.chatzini...@gmail.com: mouse move? on press, register mouse move and then on release / drop unregister...

Re: [flexcoders] Detecting other type of mouse event

2009-03-04 Thread carlo giordano
According to you I must register all this event in my UIComponent. Right ? 2009/3/3 Adrian Williams adri...@familytreedna.com: Will listening for MOUSE_DOWN then MOUSE_MOVE then MOUSE_UP help?

[flexcoders] Error #2044: Unhandled NetStatusEvent

2009-03-04 Thread Jigar Kapadia
Hi, I've got following error... Error #2044: Unhandled NetStatusEvent:. level=error, code=NetStream.Play.StreamNotFound  at views.recorder::VideoView/establishStream()  at views.recorder::VideoView/showPtPhoto()  at views.recorder::MediaCenterController/showPtPhoto()  at

Re: [flexcoders] Detecting other type of mouse event

2009-03-04 Thread carlo giordano
2009/3/3 Fotis Chatzinikos fotis.chatzini...@gmail.com: mouse move? on press, register mouse move and then on release / drop unregister... This is my sample code but does not work because I was not able to detecting that the mouse click is continued clicked. Any suggestion ? triangle2 = new

Re: [flexcoders] Re: Flex 3.3 and Flash Player 10.0.22 coming?

2009-03-04 Thread Tom Chiverton
On Wednesday 04 Mar 2009, Gregor Kiddie wrote: Does this release of the DMV code mean that we don't need a license for it anymore? Doubt it, it's just the binaries if you open it up. -- Tom Chiverton Helping to economically incubate corporate metrics as part of the IT team of the year, '09

Re: [flexcoders] amfphp problem - Client.Error.DeliveryInDoubt - when trying to export image

2009-03-04 Thread Rico Leuthold
Hi, Thank's for the answer. But how can I get the ByteArray with the data and the filename in the php upload script at the same time? It seems not possible to send the ByteArray in a post variable and read it out in php. Thank's _rico On 03.03.2009, at 19:09, Fotis Chatzinikos wrote: I

Re: [flexcoders] amfphp problem - Client.Error.DeliveryInDoubt - when trying to export image

2009-03-04 Thread Rico Leuthold
Hi again, Found a workaround for this problem (Source: http://blog.flexexamples.com/2007/12/07/converting-an-imagesnapshot-object-into-a-base-64-encoded-string-in-flex-3/) Instead of encoding the ImageSnapshot to a ByteArray, it's easy to encode the data to a Base-64 string ( ImageSnapshot.

[flexcoders] Launching Air application from ASP .NET

2009-03-04 Thread akila_ksri
I have an AIR application that I need to run from an ASP.NET page. I use System.Diagonistics.Process to launch the exe file (on installing the .air file). My application does not seem to working though. It appears in the task manager but does not seem to run properly. On start of the

Re: [flexcoders] Re: Anyone have issue with AIR updater on Mac OSX

2009-03-04 Thread Rick Schmitty
Just for completeness, Raul Hudea from Adobe suggested moving the event to onApplicationComplete and that has fixed the issue for me w/o needing the setTimeout delay I guess my mac is faster than my pc and needed that few ms delay before calling the updater :) On Tue, Feb 24, 2009 at 8:58 PM,

Re: [flexcoders] Launching Air application from ASP .NET

2009-03-04 Thread Sam Lai
ASP.NET executes applications as a different user with a different set of permissions. If you are writing to local storage, it would be in a different location than what you would expect if you are running the app as yourself. Where are you writing to? Can I ask why you are doing this? What does

[flexcoders] Re: Modules Communication

2009-03-04 Thread thelordsince1984
--- In flexcoders@yahoogroups.com, Tracy Spratt tspr...@... wrote: If you don't want to set up a full blown communication manager, you could do this: 1) dispatch a *bubbling* event from your source module 2) Set up a listener at the main application on this

[flexcoders] Re: Cursor Error: Bookmark no longer valid.

2009-03-04 Thread luke_lee1124
I got a workarround just simplely: ac.disableAutoUpdate(); before you make any change to the ac.

Re: [flexcoders] Re: Cursor Error: Bookmark no longer valid.

2009-03-04 Thread Rico Leuthold
Hi Luke, Mine is just a GroupingCollection (http://livedocs.adobe.com/flex/3/langref/mx/collections/GroupingCollection.html ). _rico On 04.03.2009, at 06:59, luke_lee1124 wrote: Hi, rico Thanks very much. what is the data type of your gc? mine is a mx:HierarchicalData, it did not have a

Re: [flexcoders] Detecting other type of mouse event

2009-03-04 Thread Tom Chiverton
On Wednesday 04 Mar 2009, carlo giordano wrote: How check is the mouse click is released ? There's a mouse up event. -- Tom Chiverton Helping to confidentially bully professional clusters as part of the IT team of the year, '09 and '08

Re: [flexcoders] Restricting characters in User input controls

2009-03-04 Thread Artur de Paula Ribeiro
mx:TextArea id=txtInput restrict=^’\\ / - Original Message - From: kotha poornima To: flexcoders Sent: Tuesday, March 03, 2009 8:50 AM Subject: [flexcoders] Restricting characters in User input controls Hi, I want to exclude single quotes and double quotes in the

Re: Fw: [flexcoders] Restricting characters in User input controls

2009-03-04 Thread pavan kumar
Use 'mx:TextArea restrict=^.\#034;/' instead where ' #034; ' is the html charcter code for double quotes. Regards, Pavan Kumar S --- On Tue, 3/3/09, kotha poornima poorni_ag...@yahoo.com wrote: From: kotha poornima poorni_ag...@yahoo.com Subject: Fw: [flexcoders] Restricting

[flexcoders] Re: Restricting characters in User input controls

2009-03-04 Thread pavan kumar
Try using ' #034;' instead of the double quote char Regards, Pavan Kumar S --- On Tue, 3/3/09, kotha poornima poorni_ag...@yahoo.com wrote: From: kotha poornima poorni_ag...@yahoo.com Subject: Fw: [flexcoders] Restricting characters in User input controls To: flexcoders

[flexcoders] flex3 DateTimeAxis time ordering

2009-03-04 Thread limpantaleano
Hello, I am creating a LineChart using a DateTimeAxis for the horizontal axis. My xAxis is ordered incorrectly. How can this be fixed? My yAxis are int values. My xAxis are Strings that represent a time, which I parse into a Date objects. My time strings range from 00:00:00 to 23:55:00 in the

[flexcoders] Help on DataGrid dataProvider

2009-03-04 Thread jcjr031064
Hello guys, A newbie here. I have this code: ?xml version=1.0 encoding=UTF-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute creationComplete=bookData.send() mx:Script ![CDATA[ import mx.rpc.events.ResultEvent; import

[flexcoders] Creating resizable datagrid

2009-03-04 Thread martyp...@rocketmail.com
Hi All I'm trying to create a datagrid which will resize vertically to ensure all the renderers are displayed in full. Additionally, * Renderers are of variable height * Renderers can resize themselves Generally speaking, the flow of events is as follows : * One of the item

[flexcoders] Topic: Nesting of expandable advanced datagrids using renderer

2009-03-04 Thread Gautham
Hi friends, I'm building a flex application, where i am creating advanced datagrid within advanced datagrid for many levels(i.e, one advanced datgrid within another, which intern has advanced datagrid within it) using renderers. In this nesting of advanced datagrids, the problem is that,

[flexcoders] How to open links in new window/tab from AIR Flex HTML Component

2009-03-04 Thread greendayjunki
Hi all, Been scratching my head for a while, and I hope this is pretty simple: I want to create a simple tabbed browser. 1. How do I make links clicked from within a flex HTML component page open in a *new* window in stead of the current html component. I'm comfortable spawning my own

[flexcoders] Re: Setting the resize event handler for Application?

2009-03-04 Thread Keith Hughitt
if (myPanel != null) myPanel.title = TEST; That did the trick! So it looks like the resize event *is* being fired as soon as the application is being loaded, before the panels have even been instantiated? Thanks for the help

[flexcoders] Re: F10 in AIR problem

2009-03-04 Thread kyle.vanvranken
They key handler for the F10 key is working. The problem is that immediately there after the focus is pulled to the windows context menu. For example you hit F10 which triggers some alert prompt. You try and hit enter to dismiss the alert but when you do so the windows context menu pops up.Hit

[flexcoders] Credit card processing in Flex

2009-03-04 Thread Scott
Anyone have a website or information that references how to process credit cards through flex? Thanks Scott

re: [flexcoders] Credit card processing in Flex

2009-03-04 Thread Wally Kolcz
Flex can pass the cc information to a scripting language such as asp.net, php, jsp, or CF. From there you can use any of the API's offered by the various CC processing companies to complete the transactions and pass the information back to flex to display. Or you might be able

Re: [flexcoders] Credit card processing in Flex

2009-03-04 Thread Ashish Verma
I think you have to integrate with some Payment Gateway. Contact with Paypal or other CC service provider they could give you sample account for testing and URL also on their you could redirect you payment request from Flex using navigateURL() or ExternalInterface. Best, Ashish On Wed, Mar 4,

re: [flexcoders] Credit card processing in Flex

2009-03-04 Thread Scott
I'm using CF on the backend... What I'm trying to figure out is the SSL piece for Flex. Previously, I just insured that the user went to https://www.mysecuresite.com https://www.mysecuresite.com/ before accepting credit card information. How does this work with Flex?

re: [flexcoders] Credit card processing in Flex

2009-03-04 Thread Wally Kolcz
Your CF can handle the passing to the payment gateway via web service or custom CFC. Flex just acts an a messenger passing cc / user info to the CFC and getting the response to show the user. Do you want to do it JUST through Flex? You can use

RE: [flexcoders] try, catch, finally ...

2009-03-04 Thread Kevin Benz
Try-Catch blocks are an absolute necessity as without them, you are putting the operation of your software into the hands of user input errors, http errors, unintended consequences as well as the myriad of things that exist outside the Happy Path. As functions/methods only give you one return

[flexcoders] file.upload() works fine on mac os x, does not work on a PC

2009-03-04 Thread tchredeemed
I tried this in all browsers on my mac (firefox, safari, camino), and it uploaded fine. I tried this on all browsers on my pc (firefox, ie6, ie7), and it did not. file.upload( new URLRequest( _appGlobals.serverURL+data/attachment/?order_id=+_appGlobals.order.id ) ); serverURL =

[flexcoders] Re: file.upload() works fine on mac os x, does not work on a PC

2009-03-04 Thread tchredeemed
I am uploading using Rails (Ruby on rails) PC is getting a 406 Not Acceptable error. any help would be awesome!

RE: [flexcoders] Credit card processing in Flex

2009-03-04 Thread Kevin Benz
I would look at the authorize.net documentation as they present the most generic methods for HTTP based authentication. If you are talking about a client-side processing solution, it can be accomplished but a bad idea. SWF's can be easily reverse engineered exposing API keys, hash entries,

Re: [flexcoders] jQuery for Flex - a Behavior Injection Framework

2009-03-04 Thread Sean Clark Hess
I just released Bifff 0.2a - Bifff stands for Behavior Injection Framework for Flex. http://code.seanhess.net/?p=171 See the link above for new features. I also created a google group at http://groups.google.com/group/bifff Enjoy! On Tue, Mar 3, 2009 at 12:13 PM, Sean Clark Hess

RE: {Disarmed} RE: [flexcoders] Credit card processing in Flex

2009-03-04 Thread Scott
I plan on having the server process the credit card order. However, I still have to pass the credit card information securely to my server. The other response refers to sentourl so I'll look into that. Is there any other methods to send information securely to my server? sj

[flexcoders] Re: flash.events and flash.net library don't exist in Flex SDK 3.3.0.4852 ??

2009-03-04 Thread handitan
@Tom: It happens to me, man. I even tried by switching workspace. It just didn't exist at all. - Well, I just downloaded SDK 3.3 milestone build. And I still have the same issue. I have posted a message on the SDK Adobe forum regarding

RE: {Disarmed} RE: [flexcoders] Credit card processing in Flex

2009-03-04 Thread Kevin Benz
If the browser hosting your Flex component is connected in a HTTPS session, then yes. I'm not aware of being able to start HTTPS communication from a HTTP session. I believe that the SSL key (session in place) needs to be in-place before you do your submit so posting blindly to a HTTPS URL is not

[flexcoders] Re: Creating resizable datagrid

2009-03-04 Thread shaedowstorm
Hi, if you are using ArrayCollection, have you tried you DataGrid.rowCount = DataProvider.length... And when the DataProvider has things added to it, immediately do a DataProvider.refresh()... Percy --- In flexcoders@yahoogroups.com, martyp...@... martyp...@... wrote: Hi All I'm

[flexcoders] Re: Another on try-catch-finally ...

2009-03-04 Thread Pilby
There is a possible benefit to having a try/catch with an empty catch block -- that your application won't stop execution. If the problem that occurred in the try block does cause a subsequent problem down the road, that's a different story.

Re: [flexcoders] Credit card processing in Flex

2009-03-04 Thread Jeffry Houser
Make sure you SWF is served up on an HTTPS page. And also make sure your remoting channel / gateway using HTTPS to communicate to and from the CF Server. Scott wrote: I'm using CF on the backend... What I'm trying to figure out is the SSL piece for Flex. Previously, I just insured

Re: [flexcoders] Re: Flex 3.3 and Flash Player 10.0.22 coming?

2009-03-04 Thread Matt Chotin
No license change, just a change in how we provided the bits since we didn't update FB. I blogged the 3 DMV bug fixes on the Flex team blog. On 3/4/09 12:09 AM, Gregor Kiddie gkid...@inpses.co.uk wrote: I think I missed this one! Does this release of the DMV code mean that we don't need a

[flexcoders] Detect if image loaded successfully

2009-03-04 Thread oneworld95
Is there a way to know if an image loaded into a Flex app successfully? The method described here doesn't work on Firefox (a known bug I think): http://blog.flexexamples.com/2007/11/04/detecting-whether-an-image-loaded-successfully-in-flex/ Thanks. - Alex C

[flexcoders] Re: flex3 DateTimeAxis time ordering

2009-03-04 Thread limpantaleano
As it happens there is another part of the Date object that I did not see. I was setting the Date as new Date(0,0,0, hours, minutes, seconds) The UTC date was being set as 6 hours ahead. Solution newDate:Date = new Date(0,0,0, hours, minutes, seconds); newDate.setUTCHours(hours, minutes,

[flexcoders] Re: Detect if image loaded successfully

2009-03-04 Thread oneworld95
Found an easy way: just use the ioError event handler on the Image control to determine if image loaded. - Alex C --- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote: Is there a way to know if an image loaded into a Flex app successfully? The method described here doesn't

[flexcoders] addEventListener in itemRenderer of DataGrid

2009-03-04 Thread oneworld95
Where's the best place to add the event listeners in an itemRenderer? Do you do this in the override function set data()? Thanks.

[flexcoders] Timers and local CPU

2009-03-04 Thread markgoldin_2000
I am desingning a DataGrid with a column that would have a timer to show how long a specific task (row in the grids) has been running. While everything is working fine the local CPU is getting allocated to almost 100% sometimes. Is there any chance to optimize such a solution? Thanks

[flexcoders] Re: flash.events and flash.net library don't exist in Flex SDK 3.3.0.4852 ??

2009-03-04 Thread handitan
Alright, I got it to work. It's my fault. The issue was due to my FB which was in version 3.0.0. After I upgraded to 3.0.2, everything works fine. I have posted some steps on the ADOBE FLEX SDK FORUM that I need to take in order for my previous AIR app to work with the debugger. Here's the link:

[flexcoders] Re: file.upload() works fine on mac os x, does not work on a PC

2009-03-04 Thread tchredeemed
Anyone else run into this problem? --- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote: I am uploading using Rails (Ruby on rails) PC is getting a 406 Not Acceptable error. any help would be awesome!

[flexcoders] Problem using sdk version 3.3

2009-03-04 Thread markgoldin_2000
After pointing Builder to sdk 3.3 I am getting an error: 1172: Definition mx.collections:HierarchicalData could not be found. Please help.

Re: [flexcoders] Problem using sdk version 3.3

2009-03-04 Thread Matt Chotin
Make sure to download the DMV components. On 3/4/09 11:35 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: After pointing Builder to sdk 3.3 I am getting an error: 1172: Definition mx.collections:HierarchicalData could not be found. Please help.

[flexcoders] Re: Problem using sdk version 3.3

2009-03-04 Thread markgoldin_2000
Not sure I uderstand how to download and install it. --- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote: Make sure to download the DMV components. On 3/4/09 11:35 AM, markgoldin_2000 markgoldin_2...@... wrote: After pointing Builder to sdk 3.3 I am getting an error:

Re: [flexcoders] Re: Problem using sdk version 3.3

2009-03-04 Thread Matt Chotin
Download from: http://www.adobe.com/products/flex/flexdownloads/ Instructions: http://www.adobe.com/support/documentation/en/flex/3/releasenotes_flex3_sdk.html#Datavisualization On 3/4/09 11:51 AM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: Not sure I uderstand how to download and

RE: [flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-04 Thread Tracy Spratt
You said, I was also able to pass a parameter in the url, and access it in the loaded app's creationComplete. That *is* using flashvars. Flashvars are passed into a swf via url parameters. The example you are quoting, which passes values from one fully instantiated application to another is

[flexcoders] Re: Problem using sdk version 3.3

2009-03-04 Thread markgoldin_2000
I am having problem with: .. Extract the sources for the data visualization components from DMV-source.jar If I open DMV-source.jar with winrar I see folders named Flex and META-INF so java –jar DMV-source.jar C:\Documents and Settings\All Users\Application Data\Adobe\Flex does not create

[flexcoders] Selected item/index in ComboBox

2009-03-04 Thread twcrone70
I recently moved a form into a pop up window. One of the form items is a ComboBox of countries. If you are 'editing' and existing record I preselect (selectedItem) the one associated with the record already. This worked before but now since the form is being populated with countries

[flexcoders] Creating a dynamic search interface - strategies and suggestions?

2009-03-04 Thread David Adams
I'm experimenting with creating a dynamic search interface and am wondering about the most effective strategy to use in Flex. I'm ignorant enough about Flex that I'd guess some of my ideas won't make sense so I'm hoping to get feedback that will save me from chasing down too many dead ends. For

Re: [flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-04 Thread Richard Rodseth
Thanks for the clarification - most helpful. When I use SWFObject in HTML, I don't append the parameters to the URL, but I guess that's happing under the hood. Next experiment: Values of Application.application and parentApplication in a multi-application application :) In my latest experiment,

[flexcoders] Print Inverted Image?

2009-03-04 Thread pliechty
I am trying to print an image with a filter on it. The filter inverts the colors of the image. I add the imgBox to the printJob. But, the image doesn't print with the filter applied. Here is the code: mx:Script ![CDATA[ private function invert():void { var matrix:Array

Re: [flexcoders] Re: Problem using sdk version 3.3

2009-03-04 Thread Matt Chotin
Java -jar will actually run the executable code that's included within that JAR. It requires the license key found in your license.properties which should be located in the location we specified. Look in that folder and see if license.properties is there. If it isn't, find your

[flexcoders] Re: Problem using sdk version 3.3

2009-03-04 Thread markgoldin_2000
Right, and this is my command line: java -jar D:\Program Files\Adobe\Flex Builder 3\sdks\3.3.0\lib\DMV-source.jar C:\Documents and Settings\All Users\Application Data\Adobe\Flex Still no fbpro is created. --- In flexcoders@yahoogroups.com, Matt Chotin mcho...@... wrote: Java -jar will

[flexcoders] Re: Problem using sdk version 3.3

2009-03-04 Thread markgoldin_2000
Actually this command triggers execution: java -jar D:\Program Files\Adobe\Flex Builder 3\sdks\3.3.0\lib\DMV-source.jar C:\Documents and Settings\All Users\Application Data\Adobe\Flex Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and

[flexcoders] Modeless editing

2009-03-04 Thread Richard Rodseth
Does anyone have any suggestions for (or examples of) forms or other editing environments where navigation away from the editor is prevented when there are unsaved changes?

[flexcoders] Re: Problem using sdk version 3.3

2009-03-04 Thread markgoldin_2000
Ok, this finally created the fbpro folder: D:\Program Files\Adobe\Flex Builder 3\sdks\3.3.0\libjava -jar DMV-source.jar C:\Documents and Settings\All Users\Application Data\Adobe\Flex --- In flexcoders@yahoogroups.com, markgoldin_2000 markgoldin_2...@... wrote: Actually this command

[flexcoders] Native JSON support in Flash player?

2009-03-04 Thread David Adams
I see that JSON support in Flex is through the as3corelib ActionScript library, at the moment. Is there a plan to add native JSON encoder/decoder support to Flex and the Flash player? Presumably, a C/C++ implementation (I don't actually know what the Flash player is coded in) will be considerably

[flexcoders] Re: Adding verticalaxis(es) via actionscript

2009-03-04 Thread Trefalgar Bain
--- In flexcoders@yahoogroups.com, Amy amyblankens...@... wrote: --- In flexcoders@yahoogroups.com, Trefalgar Bain trefalgar@ wrote: --- In flexcoders@yahoogroups.com, Amy amyblankenship@ wrote: I think you just need to play with the dataFunctions and/or labelfunctions on the axes

RE: [flexcoders] Modeless editing

2009-03-04 Thread Wildbore, Brendon
You could have your edit form in a modal popup window. That would prevent navigation until the popup form is closed/saved? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Richard Rodseth Sent: Thursday, 5 March 2009 10:50 a.m.

[flexcoders] Re: Selected item/index in ComboBox

2009-03-04 Thread Tim Hoff
Hi Todd, Sounds like a timing issue. The popup is instantiated first, then the ComboBox's dataProvider is being set. 1) Best practice would be to use a getter/setter for the ComboBox's dataProvider. In the setter, invalidateProperties(). Then in commitProperties(), run the code that sets the

[flexcoders] Re: try, catch, finally ...

2009-03-04 Thread Tim Hoff
Hi Kevin, Try-Catch blocks are an absolute necessity as without them, you are putting the operation of your software into the hands of user input errors, http errors, unintended consequences as well as the myriad of things that exist outside the Happy Path. I respectfully disagree. IMHO,

[flexcoders] Re: addEventListener in itemRenderer of DataGrid

2009-03-04 Thread Tim Hoff
It really depends on what you are listening to, what you are listening for, and what type of itemRenderer you are using. Typically though, eventListeners are added either in the constructor or the createChildren() function. -TH --- In flexcoders@yahoogroups.com, oneworld95 oneworl...@...

Re: [flexcoders] Re: try, catch, finally ...

2009-03-04 Thread Nate Beck
I need to agree with Tim on this one. I posted my thoughts on try... catch in a blog post a little while ago. http://blog.natebeck.net/2009/01/tip-of-the-day-when-to-use-try-catch-finally/ On Wed, Mar 4, 2009 at 2:33 PM, Tim Hoff timh...@aol.com wrote: Hi Kevin, Try-Catch blocks are an

Re: [flexcoders] Re: try, catch, finally ...

2009-03-04 Thread Weyert de Boer
I respectfully disagree with not handling exceptions and let them raised in the player. Of course, eating exceptions is terribly bad. Yes, raising exceptions because user input is bad is a long stretch. Hi Kevin, Try-Catch blocks are an absolute necessity as without them, you are putting

[flexcoders] Re: addEventListener in itemRenderer of DataGrid

2009-03-04 Thread oneworld95
Thanks, Tim. I'm using a VBox control to wrap the items in the itemRenderer so it can go in the creationComplete handler for that. - Alex C --- In flexcoders@yahoogroups.com, Tim Hoff timh...@... wrote: It really depends on what you are listening to, what you are listening for, and what

Re: [flexcoders] Modeless editing

2009-03-04 Thread Richard Rodseth
Thanks, but I'm specifically looking for an alternative to modal dialogs. On Wed, Mar 4, 2009 at 2:33 PM, Wildbore, Brendon b.j.wildb...@massey.ac.nz wrote: You could have your edit form in a modal popup window. That would prevent navigation until the popup form is closed/saved?

Re: [flexcoders] Modeless editing

2009-03-04 Thread Fotis Chatzinikos
What i do is track user changes by setting some flags (plural because i need to save bits of changes not everything on the form in one go). If the user tries to get away from the tab/form, i stop the event and throw a confirm alert box saying that there are changes that need to be saved. If he

[flexcoders] ComboBox Text Color

2009-03-04 Thread jwc_wensan
Hello, I need to change the color of the text in a ComboBox on rollover. The fillColors are light brown and the text(color) is dark blue. When I place the mouse over the ComboBox, I have the fillColors change the ComboBox to a dark blue. Now I want the text in the ComboBox to change to white

Re: [flexcoders] Modeless editing

2009-03-04 Thread Richard Rodseth
So your basic approach is capturing all events elsewhere in the app, and stopping them. I was thinking along the lines of a navigationmanager which knows about a current editing context, and could also be tied into deep linking support. View state (selected tab, selected child of view stack)

Re: [flexcoders] Modeless editing

2009-03-04 Thread Fotis Chatzinikos
I have not tried this, but if you are able to catch the hide event of the 'editing area' and cancel it, it would be far easier to implement what you describe...I do not have access to my builder at the moment so i do not know if what i suggest is doable... Have a go if you like :-) On Thu, Mar 5,

[flexcoders] TextSprite blurring when scaling....Yes I said textsprite!!!

2009-03-04 Thread flexaustin
I seem to be having an issue. My app is a combo of Flex and AS3 (a lot of flash classes to keep overhead low) and so I am using the TextSprite class, but when my app scales/zooms (increase scaleX and scaleY) the TextSprite instance gets blurry. Is there a way to fix this? Here is my code. var

[flexcoders] Re: addEventListener in itemRenderer of DataGrid

2009-03-04 Thread Tim Hoff
yup, for mxml itemRenderers, that'll work fine as well. -TH --- In flexcoders@yahoogroups.com, oneworld95 oneworl...@... wrote: Thanks, Tim. I'm using a VBox control to wrap the items in the itemRenderer so it can go in the creationComplete handler for that. - Alex C --- In

RE: [flexcoders] Help on DataGrid dataProvider

2009-03-04 Thread Alex Harui
You may need to specify the dataFields in your DataGridColumns depending on what the XML really looks like 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

Re: [flexcoders] Re: try, catch, finally ...

2009-03-04 Thread Sam Lai
I thought Alex said before that exceptions don't appear for users running the standard Flash Player (i.e. not the debug one). Hence the user won't even know something went wrong; rather the app will probably just enter some unknown/unusable state and effectively freeze. There are cases for using

Re: [flexcoders] Modeless editing

2009-03-04 Thread Fotis Chatzinikos
What i am doing at the moment sounds much like you are describing. My app contains several window like components. Each one has an expand button. On click a bubbling 'expand' event is dispatched. This in turn is caught in the main app and processed in a 'expander' function. This checks for any

RE: [flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-04 Thread Tracy Spratt
Application.application always points at the top-level application, not the local application. parentApplication I would expect to work. How are you determining it is null? You might try parentDocument. Tracy _ From: flexcoders@yahoogroups.com

Re: [flexcoders] Re: Problem using sdk version 3.3

2009-03-04 Thread Matt Chotin
Ah, yeah the quotes for the arg. Sorry bout that, I'll look and see if we can get that updated in the release notes. On 3/4/09 2:09 PM, markgoldin_2000 markgoldin_2...@yahoo.com wrote: Ok, this finally created the fbpro folder: D:\Program Files\Adobe\Flex Builder 3\sdks\3.3.0\libjava -jar

RE: [flexcoders] Modeless editing

2009-03-04 Thread Tracy Spratt
I do this by having all of my change or click or whatever events call a single function that updates the model, and also sets a modified flag. The flag variable, which is bindable controls the enabled property of my Save button. I also can check it if my navigation permits the possibility of

Re: [flexcoders] Re: Passing params (flashvars) to sub-applications

2009-03-04 Thread Richard Rodseth
I saw in the debugger, and parentDocument was not null, though I forget what it was. I was just trying to think if there was a style apps could follow to be embeddable. But I think the type-safe interface-based non-flashvar approach might be the way to go in my case. Still not 100% clear on

Re: [flexcoders] Re: try, catch, finally ...

2009-03-04 Thread Guy Morton
I guess the other thing to consider is where you are using them. If you put them in code that's called frequently it's probably more of a problem than if you are using them in code that's called occasionally. On 05/03/2009, at 10:42 AM, Sam Lai wrote: I thought Alex said before that

[flexcoders] Re: try, catch, finally ...

2009-03-04 Thread Bjorn Schultheiss
In my experience try/catch blocks have been most useful in dealing with sdk component life-cycle errors. It is useful to throw custom errors for debugging purposes but rarely do i need to handle them in a production environment and run another process. Bjorn --- In

[flexcoders] Re: file.upload() works fine on mac os x, does not work on a PC

2009-03-04 Thread sunild999999
Are you doing this w/an account that does not have the local admin privilege on the Windows workstation? Or does it work when you use HTTP? Just a guess, Sunil --- In flexcoders@yahoogroups.com, tchredeemed apth...@... wrote: I tried this in all browsers on my mac (firefox, safari, camino),

[flexcoders] Graph Question

2009-03-04 Thread Vik
Hie I have a column chart graph with vertical axis property baseAtZero = false; This is cool but there is a problem. That is, it sets the lowest value column as the base line and thereby making it almost impossible to see. Is there any way so that it can shows consider the base a value a bit less

[flexcoders] Re: Help on DataGrid dataProvider

2009-03-04 Thread jcjr031064
Thanks a lot. I followed your recommendation and it worked. I though that flex automatically fetched the field names from the xml as in the case of default resultFormat i.e. object. I guess for e4x, the dataGridColums must be explicitly specified. Thanks again. JC --- In

RE: [flexcoders] Re: Help on DataGrid dataProvider

2009-03-04 Thread Alex Harui
Flex will find the attributes but not the child nodes. 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 jcjr031064 Sent: Wednesday, March 04, 2009 7:56 PM

[flexcoders] Re: Launching Air application from ASP .NET

2009-03-04 Thread akila_ksri
The app is already written in Flex and I need to reuse it. I do not want to duplicate the code in ASP .NET. To answer your first question, I want to write the file to the local disk (wherever the ASP .NET app is running). Although I do not think security should be an issue here, I have given

[flexcoders] RSL Error after changing to 3.3

2009-03-04 Thread azona26
I am receiving the following error after switching to 3.3: Flex Error #1001: Digest mismatch with RSL http://127.0.0.1/framework_3.2.0.3958.swf. Redeploy the matching RSL or relink your application with the matching library. Could someone point me in the right direction on how to resolve this

FW: [flexcoders] Hand Cursor on Flex Menu

2009-03-04 Thread Parkash
Hello can anyone help me on this. _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Parkash Sent: Monday, March 02, 2009 9:53 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Hand Cursor on Flex Menu Hello everyone, I am trying to add