Re: [flexcoders] IP adress for Language

2010-01-22 Thread Kevin Benz
Locale is the only thing that really works. IP/Country is fine if you have to model different business processes depending on the location (VAT tax vs Sales Tax). Export restrictions, etc etc. Remember, just because you know they might be in France, doesn't mean they don't prefer English. Over

Re: [flexcoders] Caringorm vs PureMVC

2010-01-08 Thread Kevin Benz
...@kbenz.com - (425) 785-7100http://www.kbenz.com - http://www.linkedin.com/in/kbenzbegin:vcard version:3.0 prodid:Microsoft-Entourage/12.17.0.090302 UID:C3AAA4E9-F33F-44F1-BDA3-4FB66E5D3D25 fn;charset=utf-8:Kevin Benz n;charset=utf-8:Benz;Kevin;;; nickname;charset=utf-8:Rusty Zoomer title;charset=utf-8

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

2009-03-04 Thread Kevin Benz
ps.com] On Behalf Of Kevin Benz Sent: Wednesday, March 04, 2009 10:00 AM To: flexcoders@yahoogroups.com Subject: {Disarmed} RE: [flexcoders] Credit card processing in Flex I would look at the authorize.net documentation as they present the most generic methods for HTTP based authentication.

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

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 obj

RE: [flexcoders] flexlib and subversion

2009-03-03 Thread Kevin Benz
The metadata for SVN will conflict trying to cover two repositories in the same source directories. There are a couple of ways to overcome this. The first (and probably least risky) would be to use build automation with Ant and have your Ant scripts copy over your source to a shadow direct

RE: [flexcoders] Multiple developer environment setup with subversion and all offsite

2009-02-28 Thread Kevin Benz
Where to start.. First and foremost, the changes you are contemplating are an absolute necessity for a growing organization as well as, in the end, deliver manageable projects in the long term. Common development environment configurations: 1. Speeds the ability of new developers to

RE: [flexcoders] Calling C++ app or service from flex on Mac

2009-02-24 Thread Kevin Benz
I have been moving forward with binding C++ objects into AppWeb which allows you to bind native DLL's (C or C++) into a pretty lightweight HTTP Server and calling it with an HTTP client. AppWeb is pretty neat as it has a rudimentary scripting language. K From: flexcoders@yahoogroups.com [ma

RE: [flexcoders] Flex server language

2009-02-19 Thread Kevin Benz
My thoughts.. Learning Java makes you a better Flex developer. Learning Java should make you a better OOP developer (which makes you a better Flex developer). From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of bsyyu Sent: Wednesday, February 18, 2009 4:32 PM T

RE: [flexcoders] Prob with CopyTo in AIR[getting File or directory does not exist Error]

2009-02-17 Thread Kevin Benz
You need to use the HTTP objects to download the file and save it as a local file. "File" which creates a reference to the file is incompatible with the stream based HTTP. As I remember, File can only reference the app:// and file:// local protocols. From: flexcoders@yahoogroups.com [mailto:fl

RE: {Disarmed} [flexcoders] "AIR update framework" only works to update AIR file

2009-02-16 Thread Kevin Benz
. > There are a number of references about determining whether it's the > first-run or not so adaptation of those techniques is probably worth > looking at. Could you please let me know where I can get these references? Thanks! --- In flexcoders@yahoogroups.com <mailto:flexcoders%

Re: [flexcoders] AIR Application is not Appearing

2009-02-14 Thread Kevin Benz
Please be aware of a very simple issue that I don't believe is well documented... When you go through an upgrade of an existing project from SDK 3.1 to 3.2 where Air is involved, the compiler links the appropriate Air objects based on what is contained in the app.xml file (YOUR APPLICATION NAME-app

RE: {Disarmed} [flexcoders] "AIR update framework" only works to update AIR file?

2009-02-13 Thread Kevin Benz
You need to be aware of the two paths to update Air applications. The UI approach, one where you configure the UI of the update process through a XML file and an API approach where you take programmatic control of the update. Ultimately the goal of the UpdaterUI was to update the Air file alone (an

[flexcoders] Alchemy

2009-02-11 Thread Kevin Benz
I've been through the Alchemy documentation (what there is) and am wondering if anyone has made any progress with it? Mostly interested in guidelines regarding what type of project might be a good target and what might not be. For example, would a sound object that processes PCM sound data alte

RE: [flexcoders] localConnection not working from Air to Air

2009-02-05 Thread Kevin Benz
There is a security context that runs between Air applications that you need to make happy. Air expects to share a security token between caller and callee in order to accept the transport. As a fast-track, I would explore Arthropod to see their discussion of security integration between Air an

RE: [flexcoders] Encrypted html

2009-02-02 Thread Kevin Benz
From: Kevin Benz <mailto:kb...@passalongnetworks.com> To: flexcoders@yahoogroups.com Sent: Monday, February 02, 2009 4:25 PM Subject: RE: [flexcoders] Encrypted html No reason why you couldn't do it locally without the web server. Op

RE: [flexcoders] Encrypted html

2009-02-02 Thread Kevin Benz
No reason why you couldn't do it locally without the web server. Open a file, decrypt it, display it, no need for http as it ultimately is a file servlet. K From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Paul Andrews Sent: Sunday, February 01, 2009 3:50 PM

RE: [flexcoders] Re: Flex Builder 3 crashes (Vista)

2009-01-19 Thread Kevin Benz
en, I just recreated the new workspace and so far (2 days yet) have not got any crashes. Who-hoo! PS Do you have any idea why FlexBuilder.ini is ignored under Vista? Cheers, Dmitri. --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Kevin Benz" wrote:

RE: [flexcoders] Flex Builder 3 crashes (Vista)

2009-01-17 Thread Kevin Benz
Been there, done that. OK.. There are two paths for you. Eclipse Errors: Eclipse makes mountains of log entries so you need to isolate Flex issues from Eclipse Issues. Go through the eclipse logs looking for errant components and Null Pointer Exceptions. Although the openness of eclipse

RE: [flexcoders] Re: LocalConnection issue in AIR to AIR application

2009-01-16 Thread Kevin Benz
And one other important note. The ADL runtime (the debug player) needs special handling in order for enable communication to happen. You need to set command-line arguments to make it work with Air to Air communication work. Note: When you run your application with ADL (or with a development too

RE: [flexcoders] Re: LocalConnection issue in AIR to AIR application

2009-01-16 Thread Kevin Benz
So if I understand you, this is the calling (outbound side of the request) and this error is in the console output? Phase 2 means that it was in the targeting phase of the dispatch. Are you calling allowDomain() on the connection object? From: flexcoders@yahoogroups.com [mailto:flexcod..

RE: [flexcoders] LocalConnection issue in AIR to AIR application

2009-01-15 Thread Kevin Benz
Have you looked to see how Arthropod does it? There is a unique identifier that is shared between Air apps to allow them to interact. http://arthropod.stopp.se/ KFB From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Pete Appleby Sent: Thursday, January 15,

RE: [flexcoders] Re: AIR and SQLLite

2009-01-13 Thread Kevin Benz
end db? Thanks, Bonny --- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , "Kevin Benz" wrote: > > What are you asking? > > > > Are you wanting to synchronize all client sqlite db's from a common > back-end db? > > Are you wan

RE: [flexcoders] AIR and SQLLite

2009-01-12 Thread Kevin Benz
What are you asking? Are you wanting to synchronize all client sqlite db's from a common back-end db? Are you wanting to replicate the client data on the server? Air doesn't provide any facilities to help with either although both could be accomplished with a non-trivial development effort

RE: [flexcoders] Creating Asynchronous Classes

2009-01-02 Thread Kevin Benz
We use MD5 and understand the issue completely. We use classes that look at the file a chunk at a time as we don't want to load 60+MB MP4 files into a ByteArray. Our solution did help in keeping the general memory overhead under control. The issue becomes one of time as although our Air client can

RE: [flexcoders] Any Developers on a Mac?

2008-12-30 Thread Kevin Benz
Speaking for my organization, we have a team with both platforms as well as a number who run Mac's in a virtualized environment with Flex on both the Mac and PC sides. Speaking for us, I can say the biggest single issue we have is the fact that project files get checked in. Although the project fil

RE: [flexcoders] Pattern for capturing multi-key/click actions?

2008-12-16 Thread Kevin Benz
Two and three key sequences private var _escIsDown:Boolean=false; private var _f1IsDown:Boolean=false; private var _f2IsDown:Boolean=false; private var _f4IsDown:Boolean=false; private function onKe

RE: [flexcoders] Upload file(from local machine) via web service

2008-10-23 Thread Kevin Benz
Depends on what you mean by support and what you are actually trying to do. Can I assume you are talking about an AIR application (as you are referring to the FileReference class). Is there a canned function that takes a file reference and uploads it to a server? No Is there a HTTP cl

RE: [flexcoders] Re: FZip loads cached zip before downloading online

2008-10-17 Thread Kevin Benz
m <mailto:flexcoders%40yahoogroups.com> , "Kevin Benz" <[EMAIL PROTECTED]> wrote: > > Not sure exactly what is happening but I suggest an improvement to your > approach. > > > > You should detect the change in network connection status and use that > ev

RE: [flexcoders] Re: Flex uploader / accessing local files?

2008-10-17 Thread Kevin Benz
This actually isn't very tough at all. You need to get the File object, load its BitmapData and use the Matrix object to size it and then either PNGEncode or JPGEncode back out. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Friday, October 17, 2008 6:41

RE: [flexcoders] FZip loads cached zip before downloading online

2008-10-17 Thread Kevin Benz
Not sure exactly what is happening but I suggest an improvement to your approach. You should detect the change in network connection status and use that event to flush any objects that are waiting on an event to fire. AIR fires a NETWORK_CHANGED event and I would make sure you clean up your ob

RE: [flexcoders] Can AIR call local DLLs?

2008-10-16 Thread Kevin Benz
The basic answer, anointed by Adobe, no.. There is no COM bridge in Air, and I don't expect there to be one either. Of note: http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ another approach http://www.merapiproject.net/ Alt

RE: [flexcoders] AS3 within eclipse with Flex SDK

2008-10-01 Thread Kevin Benz
Tell them to buy the software. How many developer hours are excessively consumed without an integrated debugger, profiler, etc... How much does that cost? From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of gabriela.perry Sent: Wednesday, October 01, 2008 4:56 AM To: flexcod

RE: [flexcoders] Odd message on export of release build of AIR app

2008-10-01 Thread Kevin Benz
I believe what you are seeing is an issue with FlexBuilder where the list of classes in the Library Build Path includes a reference to the missing class. We see this mostly when we use either SubClipse or Subversive dealing with the Asset List. They basically trigger a build before all the project

RE: [flexcoders] REST Library for Flex or ActionScript?

2008-09-04 Thread Kevin Benz
There are a couple but none are comprehensive. The ones of note are - Flickr actionscript API's on google which are nice if you need to see both the API and a number of comprehensive ways they are used. I would rate them "ok": - Arc90restlib - is more of a pattern then a ni

[flexcoders] Anybody found a workaround for this compiler bug?

2008-08-30 Thread Kevin Benz
This is sapping our productivity and wondered if anybody had seen this or had any ideas? I certainly see the association with Font rendering as the obvious first instinct would be to question the font file however with two machines seeing the same behavior, a wider look seems appropriate. There is

RE: [flexcoders] Save Object with EncryptedLocalStore

2008-08-26 Thread Kevin Benz
Nope.. Strings only although why not XML as a string? Be careful as well... .10mb max storage although that's a lot of xml. K From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of markflex2007 Sent: Tuesday, August 26, 2008 12:53 PM To: flexcoders@yahoogroups.com Sub

RE: [flexcoders] Re: How to check a table already exist in SQLite?

2008-08-25 Thread Kevin Benz
Execute a query and see if the table name exists in the sqlite_master table. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tim Rowe Sent: Monday, August 25, 2008 5:10 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: How to check a table already exist in

RE: [flexcoders] Question for AIR Application?

2008-08-20 Thread Kevin Benz
Good luck.. I suggest looking at Mike Chambers Post http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integra tion-proof-of-concept/ regarding the CommandProxy concept. It's interesting reading along with his conclusions. I would almost think the Mac piece might be a little eas

RE: [flexcoders] Date type in AIR application?

2008-08-20 Thread Kevin Benz
Adobe did add support for dates in SQLite, see excerpt below. The problem is most third party applications that support SQLite don't understand it so you will have limited ability to work with them, for example in the Firefox SQLite Extension For precision and for wider access to the database b