[flexcoders] Re: flash builder: how to create an as3 project WITHOUT flex sdk

2010-08-12 Thread seanmcmonahan
I may be wrong but I believe this is because MXMLC is used to compile AS projects in Flash Builder and the compiler may change with different versions of Flex. You can always look at the library path for your project to verify whether or not Flex is included in your project (it shouldn't be

[flexcoders] Re: Adobe AIR - interimittent online/offline storage (à la Google Gears)

2010-08-09 Thread seanmcmonahan
I have a similar setup for an app that needs to pull data from a server at certain times. This is not generally critical so the server stuff needs to fail silently and allow the app to continue about it's business. To do this I wrote a ServerMonitor class that wraps air.net.URLMonitor.

[flexcoders] Re: TextArea text change event doesn't work in all cases

2010-02-18 Thread seanmcmonahan
Maybe Event.CUT or Event.CLEAR? --- In flexcoders@yahoogroups.com, s_grollins s.groll...@... wrote: Hello everyone, I've recently come across a problem wherein we have a textarea with a listener listening for Event.CHANGE events - the problem with this is that an event isn't dispatched

[flexcoders] Re: Air File Is Damaged Error

2010-02-12 Thread seanmcmonahan
Have you recently changed sign certificates? Had a similar problem when our certain expired. Ended up having to migrate the old one to the new for each update. --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: Yes but the fact that other air files I make are working

[flexcoders] Re: Flex/PHP securing functions

2010-01-26 Thread seanmcmonahan
Have you looked into remoting with Zend AMF? When using Zend AMF you can use Zend's authentication features. Examples here: http://framework.zend.com/manual/en/zend.amf.server.html Authentication/access control stuff is at the bottom. --- In flexcoders@yahoogroups.com, Scott h...@... wrote:

[flexcoders] DateFormatter am/pm returning null

2010-01-26 Thread seanmcmonahan
This is a really peculiar problem I'm faced with. I'm using DateFormatter to format a date object into a string (of course) but part of my string comes back null every time. The format string is MM/DD/ L:NN A, which should give something like 01/26/2010 4:16 PM. In my AIR app I end up

[flexcoders] Re: Loading videos/sound in Flex (web) out of a ByteArray

2010-01-25 Thread seanmcmonahan
This article may be of some use for Sound: http://www.adobe.com/devnet/flash/articles/dynamic_sound_generation/index.html --- In flexcoders@yahoogroups.com, Mark auroraborea...@... wrote: Hello, I am working on a flex project for my job, and we have seem to of hit a road block. we

[flexcoders] Re: file extension missing when save the file.

2010-01-22 Thread seanmcmonahan
Are you running Windows by chance? I had a problem with missing file extensions on Windows because the system default is to hide extensions for known file types. A quick Google search will tell you how to disable this. Unfortunately there is no way you can know if your users have this

[flexcoders] Re: Escaping slashes in a file name in AIR

2010-01-20 Thread seanmcmonahan
if it does work at all. Thanks! putting a / in a filename, no matter how it's rendered by the OS seems pretty stupid to me, however. -Original Message- From: flexcoders@yahoogroups.com on behalf of seanmcmonahan Sent: Tue 1/19/2010 7:04 PM To: flexcoders@yahoogroups.com Subject

[flexcoders] Escaping slashes in a file name in AIR

2010-01-19 Thread seanmcmonahan
So this is a problem that's not really a problem yet it is. I think it's best explained with an example: A user wants to save a file so we open the save dialog box via File.browseForSave(). User then selects a folder my folder and types in a name like my/file/with/slashes.txt and hits the

[flexcoders] Re: File Locked in AIR after Saving File to Local File System using FileReferenc

2010-01-05 Thread seanmcmonahan
Since you are using AIR look at using File instead of FileReference. --- In flexcoders@yahoogroups.com, edlueze edlu...@... wrote: Hi Folks: I am trying to use the FileReference.save() function in AIR to save an XML object to the local file system. I'm using the following code:

[flexcoders] Re: Anyone using demonsterdebugger ?

2010-01-05 Thread seanmcmonahan
Love demonster -- saved butt so many times. I believe you need to initialize the debugger. Something like this (sorry, typing on my phone, don't have the code in front of me); var d:MonsterDebuggrr = new MonsterDebugger(this); where this refers to the application. I'll doublecheck my setup

[flexcoders] Re: Anyone using demonsterdebugger ?

2010-01-05 Thread seanmcmonahan
Yeah, the code I posted earlier is how you setup MonsterDebugger. Here's the link I used to get rolling: http://demonsterdebugger.com/features/howitworks --- In flexcoders@yahoogroups.com, seanmcmonahan s...@... wrote: Love demonster -- saved butt so many times. I believe you need

[flexcoders] Re: container layout performance: MXML or ActionScript?

2010-01-05 Thread seanmcmonahan
While I don't have any cold hard facts about MXML vs AS performance I'd wager that, all things equal, AS out performs MXML. As far as my practice, I typically use MXML for layout and do everything else in AS. Coming from a web dev/HTML background I find it very easy to visualize a layout

[flexcoders] Re: Localizing Flex App Demos

2009-12-24 Thread seanmcmonahan
I found this quite useful: http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization Currently supporting an app that is in English, German and French using the method described in that article. --- In flexcoders@yahoogroups.com, s_hernandez01 s_hernande...@...

[flexcoders] AIR App Not Compiling After Updating AIR SDK to 1.5.3

2009-12-11 Thread seanmcmonahan
I just updated my AIR SDK to 1.5.3 from 1.5.2 and when I attempt to build my application I get the following error: Unable to locate specified base class 'mx.core.WindowedApplication' for component class 'MyApp'. I've done some searching and not come up with anything. Fortunately I backed up

[flexcoders] Re: AIR App Not Compiling After Updating AIR SDK to 1.5.3

2009-12-11 Thread seanmcmonahan
the following command: ditto -V /Volumes/AIR\ SDK /Applications/Adobe\ Flex\ Builder\ 3/sdks/3.4.0 It is well now. --- In flexcoders@yahoogroups.com, seanmcmonahan s...@... wrote: I just updated my AIR SDK to 1.5.3 from 1.5.2 and when I attempt to build my application I get the following error

[flexcoders] Re: Encrypt image

2009-12-07 Thread seanmcmonahan
SSL will cover you on encrypted transfer. If the stored images are encrypted you might check out something like as3crypto: http://code.google.com/p/as3crypto/. --- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... wrote: Hello, I am working on a flex medical

[flexcoders] Re: language switch on mac does not work?

2009-11-23 Thread seanmcmonahan
I'd start by ensuring you have the Greek framework resources setup for Flex (see: http://labs.adobe.com/wiki/index.php/Flex_3:Feature_Introductions:_Runtime_Localization#Huh.3F_French_framework_resources.3F). It's possible that pasting works because you are pasting in UTF-8 characters but

[flexcoders] Re: Any issues with Windows 7(64bit) and Flex Builder

2009-11-19 Thread seanmcmonahan
Had an issue when using copylocale.exe with JRE not being installed. Never had this problem on Vista x64 but it was easily fixed by installing Java. Aside from that everything seems fine to me. --- In flexcoders@yahoogroups.com, Jeffry Houser j...@... wrote: I've had no issues. ;)

[flexcoders] ObjectUtil.copy() and Dictionaries

2009-11-05 Thread seanmcmonahan
I have an AIR project setup in Flex Builder 3 that copies a subclass of flash.utils.Dictionary just fine with ObjectUtil.copy() when the target player is set to 9.0.28. However, when the target player is set to 10.0.0 I get the following error when attempting to make a copy: TypeError: Error

[flexcoders] Re: AIR 1.5.1 Transaction issue: when begin() is called, it doesn't do anything.

2009-11-02 Thread seanmcmonahan
I can recommend three things as I've been doing a fair amount of debugging lately: 1) Check out MonsterDebugger for debugging from your release build 2) Try opening your SQLConnection before calling begin(). I think begin opens a connection but I'm not entirely sure. Also try adding an event

[flexcoders] Re: multiple filter function of combobox and two checkboxes

2009-11-02 Thread seanmcmonahan
While I don't have an example handy I can hopefully put you on the path. First thing, it doesn't matter what controls you are using to set the filter: the filter will function in the exact same way. For CheckBox and ComboBox you pretty much just listen for the change event and filter when the

[flexcoders] AIR Ant Build Script

2009-10-30 Thread seanmcmonahan
So I posted a question about Ant build scripts for AIR a few weeks ago and got some great answers, so here's another one. I have an Ant build script that I'm using to build my AIR project. It builds everything and packages the application just fine. The app runs with no noticeable problems

[flexcoders] Re: SharedObject problem/bug? Cannot store a subclass of ByteArray.

2009-10-30 Thread seanmcmonahan
I'm having a similar problem with a subclass of Dictionary. Unfortunately I haven't has an opportunity to try this fix yet, but maybe you'll find it useful: http://stackoverflow.com/questions/850466/properly-serializing-flash-utils-dictionary-to-a-sharedobject --- In

[flexcoders] [Resolved] Re: AIR Ant Build Script

2009-10-30 Thread seanmcmonahan
. --- In flexcoders@yahoogroups.com, seanmcmonahan s...@... wrote: So I posted a question about Ant build scripts for AIR a few weeks ago and got some great answers, so here's another one. I have an Ant build script that I'm using to build my AIR project. It builds everything and packages

[flexcoders] Re: bytearray.readObject doesn't convert my objects back

2009-10-30 Thread seanmcmonahan
Do you think the class being dynamic is causing this issue? I ask because I have a similar problem with a dynamic class that extends Dictionary. It works fine in Flash Player 9.0.28 but not in 10. --- In flexcoders@yahoogroups.com, Alex Harui aha...@... wrote: Yeah, I think that's because

[flexcoders] Re: Delay / Pause between script executions

2009-10-23 Thread seanmcmonahan
You definitely want to use Timer here. When you create a timer you can set the interval for the timer and you can set the number of times you want the timer to execute. Using your example you'd get something like: myTimer = new Timer(5000, 3); This will create a timer that executes every 5

[flexcoders] Re: Passing associative array to custom component

2009-10-18 Thread seanmcmonahan
In your example, switch the curly braces ( { ) with the square braces ( [ ). --- In flexcoders@yahoogroups.com, icepero icep...@... wrote: I built a custom button component and it has a property that accepts an array of values. In the main.mxml file, how can I pass an array when defining the

[flexcoders] Re: Does the Embed metatag still work in the latest versions of the SDK?

2009-10-16 Thread seanmcmonahan
Using Flex Builder 3 I had to add the leading slash to Embeds when using Ant as well. I'm pretty sure one of the previous posters is right: it's all about the paths and FB does some magic behind the scenes (adds a leading slash perhaps?) that Ant doesn't. --- In flexcoders@yahoogroups.com,

[flexcoders] Re: ADOBE AIR: Is it possible to move some files to appStorage during installati

2009-10-11 Thread seanmcmonahan
Just had to deal with this myself recently. There is no way to do this during install which leaves you with a couple of options: 1) Do a test to see if it's the first time the application has been run and copy the files to app storage 2) Test for the existence of the files in app storage, if

[flexcoders] Re: Key Return for button

2009-10-09 Thread seanmcmonahan
If you are using Form defautButton is the easiest way to go. Otherwise listening for the key down or key up events is what you want to do. --- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... wrote: Hello, I have a button on a page of a flex application. I want that a

[flexcoders] Re: change decimal separator to comma on input field

2009-10-07 Thread seanmcmonahan
Try listening for TextInput's valueCommit event. In you event handler do the number formatting. --- In flexcoders@yahoogroups.com, awesome cubesp...@... wrote: Hi, I am banging my head for a couple of hours with this problem and i'm drawing a blank. Please anyone for some help on this

[flexcoders] Re: New to FlexBuilder Development Tool

2009-10-02 Thread seanmcmonahan
Not sure if that demo uses the Flex charting components, but another thing to be aware of is that charting is only available in Flex Builder Professional. I think you get a 30 or 60 day demo so if you just installed that shouldn't be the problem. --- In flexcoders@yahoogroups.com, Angelo

[flexcoders] Re: Ant Task to Build Air Package

2009-09-29 Thread seanmcmonahan
...@yahoogroups.com] On Behalf Of seanmcmonahan Sent: 28 September 2009 20:18 To: flexcoders@yahoogroups.com Subject: [flexcoders] Ant Task to Build Air Package I'm working on an Ant build script to build and package my Air application. So far it works pretty well except I cannot get

[flexcoders] Ant Task to Build Air Package

2009-09-28 Thread seanmcmonahan
I'm working on an Ant build script to build and package my Air application. So far it works pretty well except I cannot get the script to use the password for the signing certificate. ADT is invoked like this: java jar=${ADT.JAR} fork=true failonerror=true