RE: [flexcoders] RE: AIR/Window/DataGrid Issue

2011-12-05 Thread Battershall, Jeff
main app. The DataGrid's styles are probably in the same module SWF as the DataGrid. The problem is that if the DataGrid's moduleFactory is pointing at the main app, it won't find the styles in there. The DataGrid is probably picking up its moduleFactory from its parents. -Alex

RE: [flexcoders] RE: AIR/Window/DataGrid Issue

2011-12-02 Thread Battershall, Jeff
a moduleFactory parameter to createPopUp you can use. On 12/1/11 10:06 AM, "Battershall, Jeff" wrote: Thanks Alex, Here's the stack trace: TypeError: Error #1009: Cannot access a property or method of a null object reference. at spark.components::Group/addE

RE: [flexcoders] RE: AIR/Window/DataGrid Issue

2011-12-01 Thread Battershall, Jeff
in a module you definitely have to get the moduleFactory pointing to that module because that's probably where the skins are as well. On 12/1/11 5:06 AM, "Battershall, Jeff" wrote: My issue sounds similar to this issue: http://forums.adobe.com/message/3910406 What's unclea

[flexcoders] RE: AIR/Window/DataGrid Issue

2011-12-01 Thread Battershall, Jeff
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, November 30, 2011 8:58 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] AIR/Window/DataGrid Issue Hi, I'm mid re-factoring a SDK 4.0 AIR app to 4.5 and attempti

[flexcoders] AIR/Window/DataGrid Issue

2011-11-30 Thread Battershall, Jeff
Hi, I'm mid re-factoring a SDK 4.0 AIR app to 4.5 and attempting to take advantage of the Spark DataGrid. In this app (which is built with modules) I'm opening a NativeWindow and displaying a datagrid. The first error is that the DataGrid Skin class cannot be found. I dealt with this by cr

RE: [flexcoders] Re: Error TooTips in Spark Forms

2011-08-08 Thread Battershall, Jeff
s in Spark Forms PopupAnchor might work better than going to ToolTipManager. --- In flexcoders@yahoogroups.com, "Battershall, Jeff" wrote: > > What I'm discovering about Spark Forms is that error messaging is inside the > form item container and unless I make the form

[flexcoders] Error TooTips in Spark Forms

2011-08-07 Thread Battershall, Jeff
What I'm discovering about Spark Forms is that error messaging is inside the form item container and unless I make the form large enough to accommodate the error message I might see some unexpected layout issues such as the error text appearing over the form element, etc. Pretty darned ugly.

RE: [flexcoders] flex2gateway error

2010-08-19 Thread Battershall, Jeff
I would think that if you clean your project and re-compile it will remove Network Monitor. Clearing any and all browser caches would be recommended also to ensure you're running the re-compiled version. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.

RE: [flexcoders] flex2gateway error

2010-08-19 Thread Battershall, Jeff
It could very well be that your request response time is exceeding the default time out for Remote Objects, but I'm not sure about app not working *at all* after that. This can create the intermittent behavior you're seeing, depending on load or query response time from the app's database. In A

RE: [flexcoders] RE: Vote For This Critiical RemoteObject bug

2010-08-12 Thread Battershall, Jeff
sh, it probably is an AIR/Windows issue. They generally like non-Flex test cases so if you can conjure up a simple AS-only case with NetConnection and show that timeouts are not working, that might expedite things. RemoteObject lives on top of NetConnection. On 8/12/10 10:00 AM, "Batte

[flexcoders] RE: Vote For This Critiical RemoteObject bug

2010-08-12 Thread Battershall, Jeff
he correct place to look, devising a patch could be relatively straightforward. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Wednesday, August 11, 2010 11:03 AM To: 'flexcoders@yahoogrou

RE: [flexcoders] Vote For This Critiical RemoteObject bug

2010-08-11 Thread Battershall, Jeff
uld run in background and periodically poll for updates. On 08/11/2010 08:03 AM, Battershall, Jeff wrote: Somehow a critical bug has fallen through the cracks - essentially RemoteObjects in AIR/Windows timeout after 30 seconds no matter what value you have set in request

[flexcoders] Vote For This Critiical RemoteObject bug

2010-08-11 Thread Battershall, Jeff
Somehow a critical bug has fallen through the cracks - essentially RemoteObjects in AIR/Windows timeout after 30 seconds no matter what value you have set in requestTimeout or URLRequestDefaults.idleTimeout: https://bugs.adobe.com/jira/browse/FP-4934 There seems to be some question as to whethe

[flexcoders] Remote Object Request Timeout Error

2010-07-27 Thread Battershall, Jeff
Hi, I'm still seeing Remote Objects timing out in AIR 2.0 and although there's a lot of postings about on the Adobe forums and in JIRA, there's still doesn't seem to be a definitive solution and/or workaround. Just polling the list to see if anyone has any late-breaking data on the issue? Jeff

RE: [flexcoders] Re: Embedded Fonts and Flash Builder 4.01

2010-07-27 Thread Battershall, Jeff
? > > Or maybe it is just a bug. See if you can make a simple test case. > > > On 7/23/10 9:17 AM, "Battershall, Jeff" wrote: > > > > > > > Alex, > > I'm hoping you can look at this - I read your article about fonts and swf > loading - cou

RE: [flexcoders] Embedded Fonts and Flash Builder 4.01

2010-07-23 Thread Battershall, Jeff
Alex, I'm hoping you can look at this - I read your article about fonts and swf loading - could be related to what I'm describing. However, what I am doing is pretty vanilla. I've got a CSS file where some font embedding is being done and I'm setting, ebmedAsCff= true or false depending on wh

RE: [flexcoders] Re: How to get GlobelErrorHandling working.

2010-06-21 Thread Battershall, Jeff
Alex, That's not good news! Is there any way to catch uncaught errors at the module level at least? Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Monday, June 21, 2010 1:27 PM To: flexcoders@yahoogroups.

RE: [flexcoders] Clear a form fast

2010-06-18 Thread Battershall, Jeff
If you've gone to the trouble of binding your form inputs to some bindable model object in mxml you can 'reset' the model object (myModel = new MyModelObject()) and that should return the model (and your form) to its defaults. From: flexcoders@yahoogroups.com [m

RE: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Battershall, Jeff
call stack look like? On 6/16/10 1:57 PM, "Battershall, Jeff" wrote: Alex, Looks like I spoke too soon. When loading one customer and then switching to another, I'm seeing the error again. Getting to the point where I might look to a completely different method of showi

RE: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Battershall, Jeff
flipped. I think one user was binding visible to something that was supposed to evaluate to true, but didn't always because the binding chain wasn't fully created. What does your call stack look like? On 6/16/10 7:45 AM, "Battershall, Jeff" wrote: Hi, I too am getti

[flexcoders] Tabbing within Spark ItemRenderer

2010-06-16 Thread Battershall, Jeff
Hi, Here's something that shouldn't be this hard: I have a spark list that has an itemrenderer with multiple items that I want to tab between. For the life of me, I haven't been able to get it work. I've tried tabEnabled, tabFocusEnabled, hasFocusableChildren, setting tabIndex on the individu

RE: [flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Battershall, Jeff
isible to something that was supposed to evaluate to true, but didn't always because the binding chain wasn't fully created. What does your call stack look like? On 6/16/10 7:45 AM, "Battershall, Jeff" wrote: Hi, I too am getting the DisplayObject(form).stage.

[flexcoders] FocusManager Bug in Flex 4

2010-06-16 Thread Battershall, Jeff
Hi, I too am getting the DisplayObject(form).stage.focus = null error. In my case, I'm using a PopUpAnchor to show and hide a form. Is there a definitive fix for this? Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609) 520-5637 (p) (484) 477-9900 (c)

RE: [flexcoders] Opinions Wanted : Best Performing AS3 Zip Library

2010-06-04 Thread Battershall, Jeff
Thanks Oleg, Using FP 10 is no problem, but I'm using CF on the server side - not sure how CF would decompress. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Oleg Sivokon Sent: Friday, June 04, 2010 3:17 PM To: flexcoder

[flexcoders] Opinions Wanted : Best Performing AS3 Zip Library

2010-06-04 Thread Battershall, Jeff
Hello, I'm using the nochump zip library in an AIR project and it's working reasonably well but I wanted to see if anyone has a strong opinion as to what is the best performing AS3 Zip library out there. Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609

RE: [flexcoders] Detecting Browser Re-Size

2010-05-25 Thread Battershall, Jeff
bile: +44(0)774 035 5424, blog: http://blog.middleweek.co.uk } ); On 24 May 2010 20:35, Battershall, Jeff mailto:jeff.battersh...@dowjones.com>> wrote: There's a lot on this subject out there but not the definitive answer I'm looking for - so I thought I'd see what Flex Co

[flexcoders] Detecting Browser Re-Size

2010-05-24 Thread Battershall, Jeff
There's a lot on this subject out there but not the definitive answer I'm looking for - so I thought I'd see what Flex Coders has on the subject. I need to be able to re-position some HTML content (an IFrame) relative to the screen coordinates of my Flex app, when the browser is re-sized. Can a

[flexcoders] RE: Re: Thoughts on Flash by Steve Jobs

2010-05-03 Thread Battershall, Jeff
Let's not get carried away here - no way is Apple going to stop supporting Flash on the Mac. That's one of those "sky is falling' rumors that always start up when something like this happens. The recent events are concerning as they potentially affect our mutual livelihoods, but really, there's

RE: [flexcoders] Re: Thoughts on Flash by Steve Jobs

2010-04-30 Thread Battershall, Jeff
Mike, Adobe "get cracking" - are you kidding me They've just released a slew of new products in the last two months; they're nearly done on FP 10.1, Air 2.0, and forged an important alliance with Google. What more do you want them to do before you can say they've "gotten cracking"? Jeff

RE: [flexcoders] TitleWindow & Custom Components - A Problem

2010-04-29 Thread Battershall, Jeff
excod...@yahoogroups.com] On Behalf Of Alex Harui Sent: Thursday, April 29, 2010 12:58 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] TitleWindow & Custom Components - A Problem Are you still using mx components or switching to spark? On 4/29/10 8:32 AM, "Battershall, Jeff" w

RE: [flexcoders] Detecting Scrollbar presence on Flex 4 List

2010-04-29 Thread Battershall, Jeff
Allmas, Thanks! - that's exactly where I ended up - this was basically a Flex 4 learning curve issue. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Haykel BEN JEMIA Sent: Thursday, April 29, 2010 7:16 AM To: flexcoders@y

[flexcoders] TitleWindow & Custom Components - A Problem

2010-04-29 Thread Battershall, Jeff
Hi, Let me describe the scenario: I'm using Hillen Coren's AutoComplete component to suggest choices for a user inside of a DataGrid ItemRenderer, which has been working fine in Flex 3.x for a year. One additional factor - this grid is popped up as part of a TitleWindow using PopUpManager. I'

RE: [flexcoders] Re: Uploading An Image Without Browse

2010-04-16 Thread Battershall, Jeff
away rather than storing it on the machine too? Here's my script code containing the function which does all this:- --- In flexcoders@yahoogroups.com, "Battershall, Jeff" wrote: > > Using the FileSystem API and ByteArray you can save/read/upload images > auto

RE: [flexcoders] Re: Uploading An Image Without Browse

2010-04-16 Thread Battershall, Jeff
Using the FileSystem API and ByteArray you can save/read/upload images automatically, using your middleware of choice without the user having to browse and select the image. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of James

RE: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-14 Thread Battershall, Jeff
Reports of Flash's demise are premature to say the least. I think Flash will likely be around for some time and will live long and prosper in a variety of contexts. Steve isn't seeing the future so much as trying to create a future that provides best competitive advantage to Apple. And of cou

RE: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-12 Thread Battershall, Jeff
bile developer than restrict myself to being an iPhone developer, and that hasn't changed. Gk. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tom Chiverton Sent: 12 April 2010 10:21 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: With the latest

RE: [flexcoders] Re: With the latest eula agreement from Apple

2010-04-09 Thread Battershall, Jeff
enhandedly? As far as I know, Apple has changed their developer agreement for iPhone / iPad / iPod Touch. They have not attempted to enforce the new restriction on anyone, Adobe or otherwise. --- In flexcoders@yahoogroups.com, "Battershall, Jeff" wrote: > > I love my MacB

RE: [flexcoders] With the latest eula agreement from Apple

2010-04-09 Thread Battershall, Jeff
I love my MacBook Pro, and related Apple products, but Steve Jobs is really starting to piss me off. Apparently this 'restriction' is not being applied evenhandedly across the boards with other similar packaging tools. I am sure that Flash being integrated with Chrome isn't helping things eithe

RE: [flexcoders] Re: Using an ArrayCollection to populate a Tree component

2010-04-07 Thread Battershall, Jeff
One of the problems with the code sample below is that its going to fire off a whole lot of events in creating the nested ArrayCollections and adding items to them. Better yet make an array and create your nested ArrayCollection in one shot, passing the source array in the constructor. -Or

RE: [flexcoders] Re: DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread Battershall, Jeff
up The labels definitely aren't rotated. And the fonts being used show up everywhere else in the application, including the same screens that contain the charts. (The posted chart graphics are a small subset of the entire screen.) --- In flexcoders@yahoogroups.com, "Battershall, Jeff&quo

RE: [flexcoders] DataVisualization Chart Axis Labels not showing up

2010-04-07 Thread Battershall, Jeff
Are the labels rotated? If so, are you sure that the font used is getting loaded as well? I've seen some funny font behavior when related to loading Data Vis RSLs in the past. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of ta

RE: [flexcoders] Re: Framework Choice

2010-03-25 Thread Battershall, Jeff
Some architectural pattern is going to be necessary if the app is of any size and has a team working on it. Otherwise, each developer will solve their problems in their own way and can lead to chaos. You can formulate the architectural pattern yourself or use a published framework. As you said,

RE: [flexcoders] Re: Framework Choice

2010-03-24 Thread Battershall, Jeff
Even if you organize your code to some sort of internally formulated organization, you're already kind of using a framework - of your own creation. The disadvantage to that IMO, as soon as you start writing one you now become responsible for documenting your particular approach and communicating

RE: [flexcoders] Re: Flex 4....Large recordset...how much is too much?

2010-03-16 Thread Battershall, Jeff
Sounds like you need to decouple the scrollbar from the list control so that you can set the scroll bar min/max values based upon the size of the dataset, which would have to be returned as metadata, independently of the entire dataset. You move the scrollbar, an rpc call is made, and a section

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

2010-02-24 Thread Battershall, Jeff
LineSeries - is it possible? You shouldn't need to do this. Try setting the minimum and maximum values on the date time axis to the desired dates and it should do the rest(regardless of which dates there are data for). From: "Battershall,

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

2010-02-23 Thread Battershall, Jeff
derers are necessary. On Tue, Feb 23, 2010 at 10:26 AM, Battershall, Jeff mailto:jeff.battersh...@dowjones.com>> wrote: I have a line chart with a DateTimeAxis that is stipulated to be about 750 pixels wide and it's used to display a decade's worth of data points. However, in

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

2010-02-23 Thread Battershall, Jeff
LineSeries - is it possible? Hi Jeff, Probably going to have to add mock data for the remaining months in the decade and then use a lineSegmentRenderer and itemRenderer to hide the lines/points that are in the future. -TH --- In flexcoders@yahoogroups.com, "Battershall, Jeff" wr

[flexcoders] Partial LineSeries - is it possible?

2010-02-23 Thread Battershall, Jeff
I have a line chart with a DateTimeAxis that is stipulated to be about 750 pixels wide and it's used to display a decade's worth of data points. However, in the current decade, there are only a couple month's worth of data points. As a result the line series takes up the entire chart's entire

[flexcoders] NetConnection.Call.Failed - Need to diagnose

2010-02-19 Thread Battershall, Jeff
I've built an AIR app using Cairngorm 2.x. My RemoteObjects are stored in the ServiceLocator singleton. Intermittently, users will get "NetConnection.Call.Failed". Possibly this is a performance issue with the ColdFusion service layer where specific calls are timing out or possibly the RO's c

RE: [flexcoders] Module Memory Leaks

2010-02-12 Thread Battershall, Jeff
king? On 2/11/10 4:24 AM, "Battershall, Jeff" wrote: Getting modules to fully unload has been something I've spent (wasted?) a good deal of time on in the past and I've just finished reading with great interest, Alex's article on the s

[flexcoders] Module Memory Leaks

2010-02-11 Thread Battershall, Jeff
Getting modules to fully unload has been something I've spent (wasted?) a good deal of time on in the past and I've just finished reading with great interest, Alex's article on the subject: http://blogs.adobe.com/aharui/2009/08/what_we_know_about_unloading_m.html My question is - how much of thi

RE: [flexcoders] Custom ItemRenderer still not working...

2010-02-08 Thread Battershall, Jeff
I'm a little late to this, so pardon me if my point has been raised previously...I've seen the behavior similar to what you're describing and it indicated that the ItemRenderer was not correctly written because ItemRenderers are recycled when scrolling for performance reasons. You have to write

RE: [flexcoders] Flex write xml file in server?

2010-02-08 Thread Battershall, Jeff
No. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of markflex2007 Sent: Monday, February 08, 2010 12:24 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Flex write xml file in server? Do you think if that is possible? I want to

RE: [flexcoders] Re: Steve Jobs on Flash .......

2010-02-08 Thread Battershall, Jeff
I believe FP 10.1 is specifically designed to address the two biggest issues that affect the deployment of Flash on devices: Memory consumption and global error handling. So help is on the way and I would think that Adobe's actions in that regard are anything but lazy. -Original Message---

RE: [flexcoders] HTTPService Responder ResultEvent -- how to know when the JSON data sent via HTTP are complete?

2010-01-12 Thread Battershall, Jeff
Tim, Maybe I'm missing something here, but to my understanding when the result event of your HTTP service fires, your call IS complete. You should have access to the json string that was pulled back from the service. Is there something else you need that the json string doesn't' supply? Jeff

[flexcoders] Status Code 504 Errors

2010-01-07 Thread Battershall, Jeff
Hi, I have an AIR app built in Flex that occasionally returns NetConnection.Call.Failed - Error: HTTP Status 504 for certain clients. I'm using CF8 as the backend. Any advice? Jeff Battershall Application Architect Dow Jones Indexes jeff.battersh...@dowjones.com (609) 520-5637 (p) (484) 477-9

[flexcoders] RE: cannot convert mx.charts.events::ChartItemEvent to mx.events.IndexChangedEvent.

2009-12-11 Thread Battershall, Jeff
ps.com] On Behalf Of Battershall, Jeff Sent: Friday, December 11, 2009 10:36 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] cannot convert mx.charts.events::ChartItemEvent to mx.events.IndexChangedEvent. Hello, I have a LineChart with selectionMode = multiple, living inside a con

[flexcoders] cannot convert mx.charts.events::ChartItemEvent to mx.events.IndexChangedEvent.

2009-12-11 Thread Battershall, Jeff
Hello, I have a LineChart with selectionMode = multiple, living inside a container and finally a ViewStack. I'm getting this error: cannot convert mx.charts.events::chartitemev...@ea1e341 to mx.events.IndexChangedEvent. If I remove the selectionMode attribute, everything works fine, except I

RE: [flexcoders] Keep an object in flash player memory despit swf unloading?

2009-10-30 Thread Battershall, Jeff
m... I didn't manage the code of the container application... :P Benoît Milgram / Flapflap http://www.kilooctet.net I'm also a music mashup / bootlegs producer : http://www.djgaston.net On Thu, Oct 29, 2009 at 2:45 PM, Battershall, Jeff mailto:jeff.battersh...@dowjones.com>> wr

RE: [flexcoders] Keep an object in flash player memory despit swf unloading?

2009-10-29 Thread Battershall, Jeff
I'm also a music mashup / bootlegs producer : http://www.djgaston.net On Wed, Oct 28, 2009 at 5:56 PM, Battershall, Jeff mailto:jeff.battersh...@dowjones.com>> wrote: What problem are you trying to solve? In order to save state you're going to need some kind of persistent scope.

RE: [flexcoders] Keep an object in flash player memory despit swf unloading?

2009-10-28 Thread Battershall, Jeff
What problem are you trying to solve? In order to save state you're going to need some kind of persistent scope. If Shared Object can't be used, something else needs to be a repository for your state information. Jeff From: flexcoders@yahoogroups.com [mailto:f

RE: [flexcoders] Binding & Model Objects

2009-10-27 Thread Battershall, Jeff
affiliates. If you are not the intended recipient please contact is.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: 27 October 2009 14:34 To: 'flexcoders@yahoogroups.com' Subject

RE: [flexcoders] Binding & Model Objects

2009-10-27 Thread Battershall, Jeff
s.helpd...@inps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: 27 October 2009 13:43 To: 'flexcoders@yahoogroups.com' Subject: RE: [flexcoders] Binding & Model Objects Gregor, I&

RE: [flexcoders] Binding & Model Objects

2009-10-27 Thread Battershall, Jeff
Gregor, I'm doing a good bit of what you describe already - like chunking the number of objects transferred, only transferring what is needed, etc. My big question based on Sean's preso was making domain objects bindable. Right now, I am, for the most part. For example, when editing a specifi

[flexcoders] Binding & Model Objects

2009-10-26 Thread Battershall, Jeff
I happened across the slides from a presentation that Sean Chirstmann did at Max 2008 about memory optimization in AIR (http://www.craftymind.com/wp-content/uploads/2008/11/sean_christmann_optimizing_air_final.pdf). One of his points was NOT to make DTOs or AMF objects bindable. I've been maki

RE: [flexcoders] ADOBE AIR Qs: How do you load modules from "app-storage" domain?

2009-10-09 Thread Battershall, Jeff
There is a way to do this and I've seen write ups on it. Search around and you'll find it. It would be nice if AIR supported this out of the box but there are security concerns when apps are being updated without involving someone who has admin rights to the machine. Jeff ___

RE: [flexcoders] Module to Module custom Events

2009-10-08 Thread Battershall, Jeff
One approach would be each module listening to events dispatched by the parent application. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Kevin Bowers Sent: Wednesday, October 07, 2009 8:55 AM To: flexcoders@yahoogroups.c

RE: [flexcoders] Re: Detecing AIR Network Timeout - Best Practices

2009-09-23 Thread Battershall, Jeff
m Subject: [flexcoders] Re: Detecing AIR Network Timeout - Best Practices We use an error handler on the Operation and then resend up to 3 times before raising a hard fail. --- In flexcoders@yahoogroups.com, "Battershall, Jeff" wrote: > > Thanks Alban, > > That would work fro

RE: [flexcoders] Detecing AIR Network Timeout - Best Practices

2009-09-23 Thread Battershall, Jeff
user presence", it is place in the menu AIR capabilities > coding technique. I don't know if it will serve you but when i read your message i remember this demo. Alban Battershall, Jeff a écrit : > > > In the AIR app I'm building, if the user leaves the app run

[flexcoders] Detecing AIR Network Timeout - Best Practices

2009-09-22 Thread Battershall, Jeff
In the AIR app I'm building, if the user leaves the app running for without interaction, the network times out and the user gets ChannelCall.Failed error when they next attempt to interact with the application. What's the best way to listen for a timeout? On the ChannelSet? Or to keep the netwo

RE: [flexcoders] Combobox in DataGrid

2009-09-17 Thread Battershall, Jeff
You'll have to subclass your ComboBox for starters. The available ComboBox items depend on an item in the DG's dataProvider, I would assume? If so, having one master list of available items, and then filtering the ComboBox's dataProvider based on a particular item's attributes might be a good

RE: [flexcoders] Preventing SWF from dis-assembling

2009-09-14 Thread Battershall, Jeff
Rohit, At one point I had lost some Flex source code for a particular project and used one of the publicly available SWF de-compilation tools for such out there. It 'worked' but realize that your MXML will not be recovered, only the AS code that exists behind it. Frankly, from the perspective

[flexcoders] Detecting Whether Current User has Admin Rights - is it possible?

2009-09-11 Thread Battershall, Jeff
If this is possible, it would be very useful information, specifically to provide better user experience during AIR app installs. Right now, attempting to install an AIR app without admin rights throws an exception - it would be nice to not even let it get that far. Jeff Battershall Application

[flexcoders] AIR Badge Install fails on Macromedia Certificate Error

2009-09-11 Thread Battershall, Jeff
Hello, I noticed my AIR Badge installer stopped working with the message "A download error occurred, would you like to try again" when the person did not have Adobe AIR installed previously. I had thought that the Badge was supposed to download air seamlessly as part of the process. I snooped

[flexcoders] RE: Chart Annotation Headaces

2009-09-01 Thread Battershall, Jeff
OK, callLater() seems to do the trick. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Tuesday, September 01, 2009 3:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Chart Annotation Headaces

[flexcoders] Chart Annotation Headaces

2009-09-01 Thread Battershall, Jeff
I'm attempting to add annotation items to a LineChart via CartesianDataCanvas,addDataChild(); There are two steps involved - one where the chart data is returned, immediately followed by my attempt at annotation. The results are inconsistent. Sometimes the annotation items (graphics) render p

[flexcoders] RE: CSV file: Coldfusion to Flex/Air

2009-09-01 Thread Battershall, Jeff
Easy - using either HTTPService or RemoteObject. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Scott Sent: Monday, August 31, 2009 5:46 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] CSV file: Coldfusion to Flex/A

RE: [flexcoders] Flex DMV 3.4.0

2009-08-27 Thread Battershall, Jeff
Where is DMV 3.4.0 available for download? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Tom Chiverton Sent: Thursday, August 27, 2009 11:14 AM To: flexcoders@yahoogroups.com Cc: Matt Chotin Subject: Re: [flexcoders] Flex DMV 3.

[flexcoders] RE: Adobe Air app losing connection to DB

2009-08-19 Thread Battershall, Jeff
Are you setting the person's credentials in your Remote Object using setRemoteCredentials()? Sounds like you might not be. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Scott Sent: Monday, August 17, 2009 10:16 PM To: flexcode

RE: [flexcoders] Re: better option than repeater?

2009-07-27 Thread Battershall, Jeff
This would be my approach: You need two dataProviders (ArrayCollections), one being for the available modules and the other for your list of staff. You'd only need two remote objects to retrieve them. Your modules dataprovider would be passed into each component instance and used by the compon

RE: [flexcoders] Calling List.change (or equivalent) from within a custom itemRenderer?

2009-07-13 Thread Battershall, Jeff
>From within your custom item renderer, you can execute this code: owner.dispatchEvent(new Event("change")); The TileList will broadcast this event to any listeners. If you need to pass data elements you may have to create a custom event that contains the elements you need. Jeff -Origina

[flexcoders] Flex/Excel integration

2009-07-07 Thread Battershall, Jeff
Hi, I've been using as3xls for a while now for importing &manipulating Excel files within Flex. Works well within certain boundaries - like Excel compatibility mode. It doesn't appear that much is being done with it currently - kind of a shame because it is a real need, IMO. The lack of broa

RE: [flexcoders] Re: Flex Browse File & Video

2009-07-07 Thread Battershall, Jeff
I've done similar things with AIR and images but not with video. Seems to me you might be able to do it with FileReference.load(), which gives you access to the btyearray of the uploaded file. Requires FP10. -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoo

RE: [flexcoders] panel rotation problem

2009-07-07 Thread Battershall, Jeff
Panel has a style declaration for the title �C titleStyleName which per the docs doesn’t inherit CSS. You’ll have to define the style and refer to your embedded font. From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of j2me_soul Sen

RE: [flexcoders] Flex View Stack / Component Life Cycle Best practice

2009-07-07 Thread Battershall, Jeff
Have each 'page' of your app extend a base class that has a publicfunction you can call when it becomes visible when the ViewStack changes. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of claudiu ursica Sent: Friday, June 2

RE: [flexcoders] CartesianChart not recognized in Flex SDK 3.3

2009-06-16 Thread Battershall, Jeff
Siraj, You need to install the datavis rsl's which are available on Adobe.com - the same location where you downloaded the Flex 3.3 SDK. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Siraj R. Khan Sent: Tuesday, June 16, 2009

RE: [flexcoders] Flex export to Excel

2009-06-11 Thread Battershall, Jeff
The dialog generated when doing FileReference.save() isn't going to have "open" as an option - I wish it did. To see that you'd have to be downloading from the browser itself. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of mhb

RE: [flexcoders] Creating animated graphics

2009-06-04 Thread Battershall, Jeff
I've had better luck doing things like this in straight ActionScript. There's a very lightweight library called Twease you might want to look into,and I am sure there are many other libraries available. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogr

RE: [flexcoders] Axis titles on CartesianChart blurry, but not on ColumnChart

2009-04-28 Thread Battershall, Jeff
Are you embedidng the font for the Axis titles? And if so, is advancedAntiAliasing = true in your @font-face declaration? Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of netdeep Sent: Tuesday, April 28, 2009 11:28 AM To: flexcoders

RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-04-28 Thread Battershall, Jeff
the debug SWFs. Alex Harui Flex SDK Developer Adobe Systems Inc. <http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui <http://blogs.adobe.com/aharui> From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoog

RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-04-27 Thread Battershall, Jeff
r tools and techniques for finding leaks. Alex Harui Flex SDK Developer Adobe Systems Inc. <http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui <http://blogs.adobe.com/aharui> From: flexcoders@yahoogroups.com [ma

RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-04-27 Thread Battershall, Jeff
@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Friday, April 24, 2009 11:57 AM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Unloading Modules - Binding is the Enemy?

RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-04-24 Thread Battershall, Jeff
bug, then Modules are effectively broken if something as commonplace as a combobox prevents an unload. Jeff -Original Message- From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: Thursday, April 23, 2009 10:13 AM To: flexcoders@yahoo

RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-04-23 Thread Battershall, Jeff
<http://livedocs.adobe.com/flex/3/html/help.html?content=18_Client_Syste m_Environment_5.html> VELO On Thu, Apr 23, 2009 at 11:13 AM, Battershall, Jeff wrote: Gregor, Very interesting indeed. If I logi

RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-04-23 Thread Battershall, Jeff
ps.co.uk From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Battershall, Jeff Sent: 23 April 2009 14:32 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Unloading Modules - Binding is t

RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-04-23 Thread Battershall, Jeff
Pedro Sena On Thu, Apr 23, 2009 at 9:34 AM, Battershall, Jeff wrote: Pedro, I've been running the GC immediately after unload - programmatically. The module instance is released immediat

RE: [flexcoders] Unloading Modules - Binding is the Enemy?

2009-04-23 Thread Battershall, Jeff
On Thu, Apr 23, 2009 at 9:09 AM, Battershall, Jeff wrote: In testing via the Profiler, binding UI objects in a module to a model (even if local to the module) appears to be causing a module's failure to unload. This happens as soo

[flexcoders] Unloading Modules - Binding is the Enemy?

2009-04-23 Thread Battershall, Jeff
In testing via the Profiler, binding UI objects in a module to a model (even if local to the module) appears to be causing a module's failure to unload. This happens as soon as the UI component becomes active. In fact, even if the source object (data provider) is set to null, the binding persists a

RE: [flexcoders] DataGrid Children Prevent Module Unload?

2009-04-22 Thread Battershall, Jeff
ar_1.php This problem is not the only one that you will face when working with Cairngorm + Modules, trust me HTH, Pedro Sena On Wed, Apr 22, 2009 at 10:32 AM, Battershall, Jeff wrote:

RE: [flexcoders] DataGrid Children Prevent Module Unload?

2009-04-22 Thread Battershall, Jeff
dule data? How are your grid and your module related? I think we need more info to help you. Regards, Pedro Sena On Wed, Apr 22, 2009 at 9:03 AM, Battershall, Jeff wrote: I'

  1   2   3   4   5   >