[flexcoders] Flex builder automation?

2010-02-11 Thread Nick Middleweek
Hello, Is it possible to setup an automation task to do this... 1. Open Project Properties of a Flex Library Project 2. Deselect all items in the Classes tab 3. Reselect all items in the Classes tab 4. Deselect assets in the Classes tab 5. *Reselect all but 'com' in the Assets

[flexcoders] Combo and mouse roulette wheel selection

2010-02-11 Thread Christophe
Hello, I have a combo in my Flex Application. I want to navigate into the combo when the user is using the mouse roulette wheel selection. How to add this functionality ? Thank you, Christophe,

[flexcoders] Credit Card number encryption

2010-02-11 Thread Christophe
Hello, I use Flex and Amfphp with php / mySql. In the database, I want to encrypt Credit card number with MD5. How to add this functionnality ? Thank you, Christophe,

[flexcoders] Re: Future Of Flex Developers?

2010-02-11 Thread GeorgeB
Hi Pravin, Another thing for you to consider is that due to Adobe's dropping the name Flex Builder in favor of Flash Builder, obviously the future for Flex developers is rather gloomy, as they should be called Flash developers!!! Of course this is a bitter joke, but as you ask: ...which will

[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

Re: [flexcoders] Re: Future Of Flex Developers?

2010-02-11 Thread Paul Andrews
GeorgeB wrote: Hi Pravin, Another thing for you to consider is that due to Adobe's dropping the name Flex Builder in favor of Flash Builder, obviously the future for Flex developers is rather gloomy, as they should be called Flash developers!!! I don't think being a Flex developer has

[flexcoders] One Problem Solution Leads To An Even Worse Problem - Collecting Garbage

2010-02-11 Thread James
I've recently been having java heap space errors when attempting to save and run a big application leading to out of memory errors and have tried resizing my permsize etc in the flexbuilder.ini file but now whenever I try to switch to design view on this project I get the message:- An internal

[flexcoders] Re: Future Of Flex Developers?

2010-02-11 Thread GeorgeB
Exactly Paul! I am now using Flex Builder3.x and will (when time comes) upgrade to whatever they call it. As I will have to. Obviously! The only question I have for the time being (but will have to wait) is what will be the upgrade policy from 3 to 4? As I mentioned elsewhere I have been

[flexcoders] Re: A security question...

2010-02-11 Thread valdhor
You need to set the correct channel for the remoting operation. In my case I am using WebORB. In my remoting-config.xml I can set the destination node to use whichever channel that I want to use. For example: destination id=MySecureDestination channels channel ref=my-secure-amf/

Re: [SPAM] [flexcoders] Animating items in a tilelist when filtering arraycollection

2010-02-11 Thread valdhor
I'm sorry. I obviously didn't explain myself very well. I really need a self contained application that will run without modification and shows the problem. This way I can copy/paste or import into FB and play with it until I get it to work (Or give up). --- In flexcoders@yahoogroups.com,

Re: [flexcoders] Re: Future Of Flex Developers?

2010-02-11 Thread Paul Andrews
GeorgeB wrote: Exactly Paul! I am now using Flex Builder3.x and will (when time comes) upgrade to whatever they call it. As I will have to. Obviously! The only question I have for the time being (but will have to wait) is what will be the upgrade policy from 3 to 4? As I mentioned

[flexcoders] Re: Credit Card number encryption

2010-02-11 Thread valdhor
http://php.net/manual/en/function.md5.php --- In flexcoders@yahoogroups.com, Christophe christophe_jacque...@... wrote: Hello, I use Flex and Amfphp with php / mySql. In the database, I want to encrypt Credit card number with MD5. How to add this functionnality ? Thank you,

[flexcoders] ArrayCollection of a specific type?

2010-02-11 Thread Nick Middleweek
Hello, Is it possible to specifc a class property to be an ArrayCollection of a certain Interface rather than just an ArrayCollection? Thanks, Nick

[flexcoders] Re: One Problem Solution Leads To An Even Worse Problem - Collecting Garbage

2010-02-11 Thread valdhor
This blog may help (Although I have never had your problem - touch wood): http://nwebb.co.uk/blog/?p=156 --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: I've recently been having java heap space errors when attempting to save and run a big application leading to out of

Re: [flexcoders] Re: A security question...

2010-02-11 Thread Jochem van Dieten
On 2/11/10, valdhor wrote: You could also do it directly in ActionScript without a remoting-config.xml file: channelSet = new ChannelSet(); amfChannel = new AMFChannel(my-secure-amf, https://myserver.com/WebORB/weborb.php;); That should be: amfChannel = new SecureAMFChannel(...,

Re: [flexcoders] A security question...

2010-02-11 Thread Jochem van Dieten
On 2/11/10, Booking Heaven wrote: The best thing you have to do is you should encrypt it in client side before it is passed to webservice (whatever it is, https or http) because man in middle attack can tap your creditcard information before it is passed to webservice. With the method

[flexcoders] Re: ArrayCollection of a specific type?

2010-02-11 Thread jaywood58
You want something like Java 5 generics... sorry to say Actionscript does not have it, so you are stuck with type-casting the members of your collection. Here's a link to an article that outlines the differences between Java 5 and Actionscript:

Re: [flexcoders] Credit Card number encryption

2010-02-11 Thread W.R. de Boer
As far as I am aware you aren't allowed to store credit card numbers yourself without a weekly security audit from the card issuer...

[flexcoders] Panel BackgroundImage

2010-02-11 Thread Darrin Kay
Good Day, I thought this was simple, I have a xml feed coming in and all the data is working fine, except for one. I am displaying the data in a Panel and each panel can have a different background image : backgroundImage={imageRepeater.currentItem.background} in the xml :

[flexcoders] Re: ArrayCollection of a specific type?

2010-02-11 Thread tntomek
I make custom wrappers for all my AC's So instead of getItemAt() : Object I have getCustomTypeAt() : CustomType etc. Its a 10 second copy paste job and well worth it esp when you plan on using this collection more than once. The Web Services AS proxy generation does this. --- In

[flexcoders] Re: Limited Heap Space Problem

2010-02-11 Thread tntomek
'New' and '2Gb of ram' is an oxymoron in 2010 :) buy some RAM. 2 Gb for serious flex work doesnt cut it. My Flex/Flash Builder uses easily uses a gig. --- In flexcoders@yahoogroups.com, James garymoorcroft_...@... wrote: Ok I've managed to find the file which controls the heap space which Flex

[flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Lee Jenkins
Web based flex applications seem to take magnitudes longer to return a result than do Air based application. I've tried with HTTPService and URLLoader components and it is the same. I've created one small air application and one small web based flex app identical. Air app is almost

Re: [flexcoders] Credit Card number encryption

2010-02-11 Thread Lee Jenkins
W.R. de Boer wrote: As far as I am aware you aren't allowed to store credit card numbers yourself without a weekly security audit from the card issuer... I don't think that is the case. You need to have a business use for storing credit card data and of course, it then needs to be

Re: [flexcoders] Re: Future Of Flex Developers?

2010-02-11 Thread Scott Langeberg
I'm developing Flex 3 apps in FlashBuilder 4 beta 2, right now - not too many probs On Thu, Feb 11, 2010 at 7:15 AM, GeorgeB grg_b...@yahoo.com wrote: Exactly Paul! I am now using Flex Builder3.x and will (when time comes) upgrade to whatever they call it. As I will have to. Obviously!

Re: [flexcoders] Credit Card number encryption

2010-02-11 Thread Paul Andrews
Lee Jenkins wrote: W.R. de Boer wrote: As far as I am aware you aren't allowed to store credit card numbers yourself without a weekly security audit from the card issuer... I don't think that is the case. You need to have a business use for storing credit card data and of

[flexcoders] Re: Credit Card number encryption

2010-02-11 Thread Flex
Christophe, MD5 is a one way hash so it's not like you can use the number meaningfully later on or get the card number back. There are other alternatives to credit card processing...payments gateways. Sorry to toot my own horn here, but we use Google checkout and Paypal simply because we

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Lee Jenkins
Lee Jenkins wrote: Web based flex applications seem to take magnitudes longer to return a result than do Air based application. I've tried with HTTPService and URLLoader components and it is the same. I've created one small air application and one small web based flex app

[flexcoders] Re: Credit Card number encryption

2010-02-11 Thread Jeff
PCI Compliance is a nightmare. ;) I'm sure Amazon.com goes through the process of being PCI compliant; and has high level security for storing and encrypting credit cards. For example, I'm sure their credit card storage machines are in a secure building [with guards and limited access] on

[flexcoders] ArrayCollection, addAll and Refresh

2010-02-11 Thread johncch85
I understand that ArrayCollection.addAll was added in flex sdk 3.4. I'm coding a simple application and I'm hitting this problem. I would like to ask if anyone knows what's happening: Here's the source, just a simple mxml: ?xml version=1.0 encoding=utf-8? mx:Application

Re: [flexcoders] How do create two different charts?

2010-02-11 Thread Patricia Han
Thanks so much! I will try that. Pat From: Richard Rodseth rrods...@gmail.com To: flexcoders@yahoogroups.com Sent: Wed, February 10, 2010 4:52:30 PM Subject: Re: [flexcoders] How do create two different charts? Quick answer, and I may not have time to

[flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-11 Thread s_hernandez01
Okay well, thanks everyone for your help, but I got too frustrated with figuring it out so my last resort is just have to upload my php files to the server and call them with a url so I don't get the sandbox error with testing them locally. This sucks that I get the error locally, I hope Flash

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Lee Jenkins
Lee Jenkins wrote: Lee Jenkins wrote: Web based flex applications seem to take magnitudes longer to return a result than do Air based application. I've tried with HTTPService and URLLoader components and it is the same. I've created one small air application and

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Jochem van Dieten
On 2/11/10, Lee Jenkins wrote: Everything including server is running local on my computer (3 Gigs of RAM, Vista 32bit) and just to be sure, I disabled all add-ins and plug-ins for Firefox and the result is consistently the same. Using either a URLLoader or HTTPService to pull down xml,

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Jake Churchill
I've been told that Firefox limits the amount of processor power that the flash player plugin is allowed to use. That may be your problem. Perhaps it also limits network usage/bandwidth. I can't confirm this is true but your results seem to point that direction. FYI, FF 3.6 was recently

Re: [flexcoders] HTTPService return times Air vs Flash

2010-02-11 Thread Lee Jenkins
Jochem van Dieten wrote: On 2/11/10, Lee Jenkins wrote: Everything including server is running local on my computer (3 Gigs of RAM, Vista 32bit) and just to be sure, I disabled all add-ins and plug-ins for Firefox and the result is consistently the same. Using either a URLLoader

Re: [flexcoders] Credit Card number encryption

2010-02-11 Thread Laurence MacNeill
At 09:35 AM 2/11/2010, you wrote: As far as I am aware you aren't allowed to store credit card numbers yourself without a weekly security audit from the card issuer... Do what?! I've never heard of this... If that's the case, then the company I work for has been breaking the law for YEARS!

[flexcoders] Re: Credit Card number encryption

2010-02-11 Thread Jeff
You need to make your superiors aware of the PCI Compliance regulations. You're not actually breaking the law, but you may be breaking your contract with your merchant provider. I read all 80+ pages or so of my merchant account contract. Someone at your company should do the same to make

[flexcoders] Clearing datasource for ADG/ArrayCollection/ Getting unwanted Duplicates

2010-02-11 Thread charliecrystle
Hi--I populate an ADG from a SQLite database. Works great. But I when I add a record, I want to repopulate the ADG with the data I just added, so I call the query function again, populate the ArrayCollection with result.data, and refresh the ADG. My AC is goalsAC. I tried

[flexcoders] Build UICompenent Widgets, add drag and drop, keep widgets within Panel

2010-02-11 Thread timgerr
Hello all, I have this panel that I have a button in. I add the ability for the button to be dragged around the panel, but I don't want the button to be dragged out of the panel? Here is my code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

Re: [flexcoders] Re: Credit Card number encryption

2010-02-11 Thread Laurence MacNeill
At 12:51 PM 2/11/2010, you wrote: You need to make your superiors aware of the PCI Compliance regulations. You're not actually breaking the law, but you may be breaking your contract with your merchant provider. I read all 80+ pages or so of my merchant account contract. Someone at your

[flexcoders] A framework to help with busines apps?

2010-02-11 Thread Nick Middleweek
Hi, Are there any frameworks/ methods of working/ general thoughts on how to design business applications. By this I mean best practices to load a flex app, show a login screen, display a search screen, get data, show results, double click to view detail form, etc... I realise we can use

Re: [flexcoders] Credit Card number encryption

2010-02-11 Thread Lee Jenkins
Laurence MacNeill wrote: At 09:35 AM 2/11/2010, you wrote: As far as I am aware you aren't allowed to store credit card numbers yourself without a weekly security audit from the card issuer... Do what?! I've never heard of this... If that's the case, then the company I work for

[flexcoders] Re: LocalConnection has me really confused

2010-02-11 Thread djhatrick
Anybody anybody??! I am on mac, and localConnections is not working between flash and air. Connections stay open, and my desktop client doesn't receive a connection from my browser. See, if navigateToURL posted it's params, I wouldn't be here. Any reason why navigateToURL doesn't post

RE: [flexcoders] TileList performance

2010-02-11 Thread Philip Smith
Thanks. Where can I download SuperImage? To: flexcoders@yahoogroups.com From: aha...@adobe.com Date: Wed, 10 Feb 2010 17:10:41 -0800 Subject: Re: [flexcoders] TileList performance Also, if you are scrolling, images will get reloaded and a

RE: [flexcoders] TileList performance

2010-02-11 Thread Philip Smith
Found the link. Thank you. To: flexcoders@yahoogroups.com From: loudj...@hotmail.com Date: Thu, 11 Feb 2010 19:11:37 + Subject: RE: [flexcoders] TileList performance Thanks. Where can I download SuperImage? To:

[flexcoders] Re: Credit Card number encryption

2010-02-11 Thread Jeff
That is unequivocally wrong. However, depending what you're doing there are different levels of Compliance. Since you are storing credit cards; I thought you get bumped up to the highest level of compliance. DotComIt ( Flextras ) does a self assessment questionnaire and a quarterly web site

Re: [flexcoders] Re: Credit Card number encryption

2010-02-11 Thread Lee Jenkins
Jeff wrote: That is unequivocally wrong. As I said, that was my understanding and it was so when the mandate was first released, but I assume that it was phased out in one of the steps to full PCI/DSS or maybe it is different for web facing models? I'll ask my compliance rep next time I

[flexcoders] Re: Credit Card number encryption

2010-02-11 Thread Jeff
I know the mandates have gotten stricter after they have been released. It sounds like you've been dealing with it longer than I have. Without a doubt a lot of compliance issues have very little to do with coding, but rather relate to administrative type of issues for how data is handled and

[flexcoders] Re: CROSS-DOMAIN POLICY HELP PLEASE!!!

2010-02-11 Thread valdhor
You could try just adding the bin-debug folder to the trusted locations at http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html --- In flexcoders@yahoogroups.com, s_hernandez01 s_hernande...@... wrote: Okay well, thanks everyone for your help, but I got

[flexcoders] Re: ArrayCollection, addAll and Refresh

2010-02-11 Thread valdhor
This looks like a bug in the ListCollectionView.as file. If you'd like, you can monkey patch this code to work. The bug is at line 529: this.addItemAt(addList.getItemAt(i), i+index); should be: list.addItemAt(addList.getItemAt(i), i+index); I figured this out from the addItemAt function. If

[flexcoders] Re: A security question...

2010-02-11 Thread valdhor
Sorry, I have no idea. Maybe someone who uses ColdFusion can chime in here.

Re: [flexcoders] Re: A security question...

2010-02-11 Thread Jochem van Dieten
On 2/11/10, Laurence MacNeill wrote: So that works for PHP... What if I'm using ColdFusion? Would it be: amfChannel = new AMFChannel(my-secure-amf, https://myserver.com/myappdirectory/cfcs/dao/paymentsDAO.cfc ); mx:RemoteObject destination=ColdFusion id=retrieveData

[flexcoders] Re: ExternalInterface : debugging, DOM, Export Release Build

2010-02-11 Thread Netaman
I make changes in the html-template directory in the file index.template.html in flex 3 these changes do not get overridden when added to the html wrapper, remember to do a clean then build. Randy --- In flexcoders@yahoogroups.com, Tim Romano tim.rom...@... wrote: My browser-deployed Flex

Re: [flexcoders] Build UICompenent Widgets, add drag and drop, keep widgets within Panel

2010-02-11 Thread Alex Harui
I recently posted a way to constrain drag/drop on my blog On 2/11/10 10:11 AM, timgerr tgallag...@danati.com wrote: Hello all, I have this panel that I have a button in. I add the ability for the button to be dragged around the panel, but I don't want the button to be dragged out of the

[flexcoders] Another security question...

2010-02-11 Thread Laurence MacNeill
With all this talk about security, I figured now was the time to get SSL running on my Windows Server 2003 computer... I'm sure that others here have dealt with this before -- so although it's not specifically a Flex topic, I'd imagine it'd be of interest to enough members that my posting this

Re: [flexcoders] Module Memory Leaks

2010-02-11 Thread Alex Harui
In Flex 4, styles are “per-module” and thus much less likely to leak. That’s the only change. Everything else is the same. Are you seeing evidence that embedded image assets are leaking? On 2/11/10 4:24 AM, Battershall, Jeff jeff.battersh...@dowjones.com wrote: Getting modules to fully

[flexcoders] FB 4 serial number?

2010-02-11 Thread Jeff Hindman
Howdy group, My FB 4 Beta is asking for a serial number . my trial has expired. How do I go about getting one that will last me until it is finally released? Thanks, --Jake

[flexcoders] AdvancedDataGrid Grouping with XML

2010-02-11 Thread srieger_1
OK, I have made some progress on this issue but still unable to resolve it completely. It's getting embarrassing already. . . . I am trying to use some XML that I get from an application to feed an advanceddatagrid where I can group the entries. you can see the xml file when viewing the

[flexcoders] Re: A security question...

2010-02-11 Thread jp...@pacbell.net
Well, yes, you can encrypt in the flex client, but in order to decrypt on the server, you will need to share the *key*. If the decryption key is in the Flex client, then your same man-in-the-middle will be able to obtain your swf, decompile it can find the decryption key; even if you keep the

[flexcoders] Initial sort on computed column

2010-02-11 Thread Richard Rodseth
I'm thoroughly confused by the DataGrid sorting stuff. Is there a recipe for sorting initially on a column which has a computed value in it? Some code I inherited is doing this by overriding the dataprovider setter and calling if (sortEventCounts value is ArrayCollection

Re: [flexcoders] A security question...

2010-02-11 Thread Warren
You can and (i think) should do both. In my world of flex 3, I have created a secure destination (and channel) in the Flex services-config.xml file and use this for my remote object connection. I can post it if you like. Warren Koch - Original Message - From: Laurence To:

[flexcoders] Re: Clearing datasource for ADG/ArrayCollection/ Getting unwanted Duplicates

2010-02-11 Thread charliecrystle
bump --- In flexcoders@yahoogroups.com, charliecrystle charlie.crys...@... wrote: Hi--I populate an ADG from a SQLite database. Works great. But I when I add a record, I want to repopulate the ADG with the data I just added, so I call the query function again, populate the ArrayCollection

[flexcoders] Re: Best practices regarding XML to VO conversion

2010-02-11 Thread jc_bad28
Here is how I convert XML from a SOAP web service into a VO. The VO Class: package vo { [Bindable] public class Product { public var ID:String; public var Category:String; public var Price:String; public var

Re: [flexcoders] Initial sort on computed column

2010-02-11 Thread Alex Harui
Also assign the sortCompareFunction to the column. On 2/11/10 5:07 PM, Richard Rodseth rrods...@gmail.com wrote: I'm thoroughly confused by the DataGrid sorting stuff. Is there a recipe for sorting initially on a column which has a computed value in it? Some code I inherited is doing

Re: [flexcoders] Initial sort on computed column

2010-02-11 Thread Richard Rodseth
It is. Sent from my iPhone On Feb 11, 2010, at 9:30 PM, Alex Harui aha...@adobe.com wrote: Also assign the sortCompareFunction to the column. On 2/11/10 5:07 PM, Richard Rodseth rrods...@gmail.com wrote: I'm thoroughly confused by the DataGrid sorting stuff. Is there a recipe for

Re: [SPAM] [flexcoders] Animating items in a tilelist when filtering arraycollection

2010-02-11 Thread ZIONIST
hi Valdhor i sent the self contained app to your email. hope you got it.

Re: [flexcoders] Initial sort on computed column

2010-02-11 Thread Alex Harui
I also noticed your code snippet did not call refresh() On 2/11/10 9:32 PM, Richard Rodseth rrods...@gmail.com wrote: It is. Sent from my iPhone On Feb 11, 2010, at 9:30 PM, Alex Harui aha...@adobe.com wrote: Also assign the sortCompareFunction to the column. On 2/11/10 5:07 PM,