[flexcoders] Encrypt image with http://crypto.hurlant.com

2009-12-16 Thread Christophe
Hello, I an trying to encrypt an image with the livrary http://crypto.hurlant.com. But the encrypted pixels have a different lenght than the original pixels. Do you know wich algorithm and mode to select ? Thank you, Christophe,

Re: [flexcoders] Swfloader stopping when 1mb

2009-12-16 Thread Fotis Chatzinikos
Might be completely irrelevant - but sometimes the swf output of flex builder is 'broken' ie it loads up tp 95% something and stops... Try rebuilding the problematic swf and see if it works? On Tue, Dec 15, 2009 at 10:30 PM, David Pariente xxmapach...@yahoo.eswrote: Hi all, Unexpectectly

[flexcoders] Re: Odd grouping issue in ADG

2009-12-16 Thread valdhor
Tom I have not been able to figure out why you get the display you get. I ran out of time so just tried to get something working the way that you want. There are probably other ways but this works... ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml;

[flexcoders] Re: drawing horizontal line in ADG based on data

2009-12-16 Thread valdhor
You have completely gone down the wrong track here. If you need to do anything in a datagrid based on data in the dat provider, you need to use an item renderer. I would recommend reading Alex Harui's blog postings regarding Item Renderers and also to modify someone's working code before

[SPAM] Re: [flexcoders] var token:AsyncToken = service.[str](); how to get this working?

2009-12-16 Thread jamesfin
A reminder that pre 3.5sdk there is a bug where the responder can get called twice. Bug SDK-22883 Incorrectly Functioning HTTPService responders are called twice Steps to reproduce: 1. Run HTTPServiceTest.mxml from the attached zip file. It calls one service that should succeed and one

[flexcoders] Eclipse Monkey getting started question

2009-12-16 Thread mitchgrrt
Somebody told me that Eclipse Monkey had a good little wizard for creating getters/setters/instance variables. I installed it using this example: http://eokyere.blogspot.com/2007/09/productivity-with-dash-in-eclipse.html I did the download, and created the scripts directory and the .js file

[flexcoders] Re: UITextField: text-align crops the text

2009-12-16 Thread m_koks
Hi Alex, thanks for the reply. It seems that it appears only when font is embedded. Also, I noticed that when text-align is set to right, the textwidth of the text increases. For ex. if the textWidth of the UItextField is 460 when the text-align is left, it increases to 480 as soon as

Re: [flexcoders] Re: Odd grouping issue in ADG

2009-12-16 Thread Tom McNeer
Steve, Thanks very much for spending time trying to help. I really appreciate it, even if you weren't able to find the answer. On Wed, Dec 16, 2009 at 9:37 AM, valdhor valdhorli...@embarqmail.comwrote: There are probably other ways but this works... Thanks. Doing this onCreationComplete

[flexcoders] How to change background color on text input / Linkbar in Flex4

2009-12-16 Thread boy_trike
I must be a dummy! I can not figure out how to change the lovely white background on either of these controls. Help please. Thank you Bruce

Re: [flexcoders] Swfloader stopping when 1mb

2009-12-16 Thread Tino Dai
Hi David, Try the firefox add-in called httpfox. That will give you a view into the http traffic going between your machine and the server. HTH, Tino On Tue, Dec 15, 2009 at 3:30 PM, David Pariente xxmapach...@yahoo.eswrote: Hi all, Unexpectectly one of my swfloaders stops loading

[flexcoders] getters before setters

2009-12-16 Thread Nick Middleweek
Hi, I've been told to put my getters before my setters when defining Interfaces and creating the Class functions... ... then Bind my getters. Is this a known practice? Any what's the benefit? Is it something to do with how Flex calls the getters when setting via the setters? Thanks, Nick

[flexcoders] Simplfying Repetitive Code

2009-12-16 Thread AJC2357
Hi all, If I have a function like this. private function changeSeries(): void { series1.yField = 'male'; series2.yField = 'male'; series3.yField = 'male'; series4.yField = 'male'; series5.yField = 'male'; series6.yField = 'male'; series7.yField = 'male'; series8.yField = 'male';

[flexcoders] Re: Simplfying Repetitive Code

2009-12-16 Thread Tibor
Hi Alex, You can use a for loop. for (var i:uint=1; i=10; i++){ this[series+i].yField = 'male'; } Hope this helps, Tibor. www.tiborballai.com --- In flexcoders@yahoogroups.com, AJC2357 ajc2...@... wrote: Hi all, If I have a function like this. private function changeSeries():

[flexcoders] Re: Simplfying Repetitive Code

2009-12-16 Thread invertedspear
simple for loop would do it: for(var i:int=1; i=10;i++){ } --- In flexcoders@yahoogroups.com, AJC2357 ajc2...@... wrote: Hi all, If I have a function like this. private function changeSeries(): void { series1.yField = 'male'; series2.yField = 'male'; series3.yField = 'male';

[flexcoders] Passing parameters to flashplayer while launching from Flexbuilder

2009-12-16 Thread Benjamin
All, When I launch my flex application using browser, I am able to pass the parameters through html page/javascript etc. But during development, my run configuration in Flex builder refers to the .swc file, so flex application is launched directly using flash player. Is there any way to

[flexcoders] Re: Simplfying Repetitive Code

2009-12-16 Thread AJC2357
Thanks so much, Tibor. This structure - this[series+i] - was what I needed! --- In flexcoders@yahoogroups.com, Tibor ballai.t...@... wrote: Hi Alex, You can use a for loop. for (var i:uint=1; i=10; i++){ this[series+i].yField = 'male'; } Hope this helps, Tibor.

RE: [flexcoders] getters before setters

2009-12-16 Thread Gordon Smith
I'm pretty sure that this ordering is just a convention. Gordon Smith Adobe Flex SDK Team From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Nick Middleweek Sent: Wednesday, December 16, 2009 8:57 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] getters

[flexcoders] Re: getters before setters

2009-12-16 Thread Tibor
Hi Nick, As long as you define the [Bindable] metadata tag right before a getter, the order of the setters/getters doesn't really matter. However, as a coding convention, most people do define getters before setters, it helps by making your code more maintainable. Here are a few examples

[flexcoders] Re: How to change background color on text input / Linkbar in Flex4

2009-12-16 Thread turbo_vb
s:TextInput contentBackgroundColor=#ff/ -TH --- In flexcoders@yahoogroups.com, boy_trike boy_tr...@... wrote: I must be a dummy! I can not figure out how to change the lovely white background on either of these controls. Help please. Thank you Bruce

Re: [flexcoders] Swfloader stopping when 1mb

2009-12-16 Thread David Pariente
Thnx, The swf is a flipbook export from indesign. Even compiling it again gives same result. The other swf are similar. Even in another server i get similar result :( Stops before getting around 70% -- David Pariente RIA consultor --

[flexcoders] Re: Simplfying Repetitive Code

2009-12-16 Thread Tibor
You are welcome. Be careful though, if you are using the array access notation, the compiler won't be able to catch any mistakes you might make. For instance, this[series11].yField = 'male'; will compile without errors, even if you don't have a series11 property, but you will receive a

Re: [flexcoders] Swfloader stopping when 1mb

2009-12-16 Thread David Pariente
Thank you, Trying it now... -- David Pariente RIA consultor -- El 16/12/2009, a las 17:42, Tino Dai obe...@gmail.com escribió: Hi David, Try the firefox add-in called httpfox. That will give you a view into the http traffic going

RE: [SPAM] [flexcoders] How to change background color on text input / Linkbar in Flex4

2009-12-16 Thread Tracy Spratt
First place I start with styling question is with the Style Explorer: http://examples. http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer .html adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html Tracy Spratt, Lariat Services, development services

[flexcoders] Re: Simplfying Repetitive Code

2009-12-16 Thread mitchgrrt
private var seriesArray:Array = [series1, series2, series3, series4, series5 ];// etc. private function changeSeries():void { for each (var series:Object in seriesArray) { series.yField = 'male'; } } I haven't tried to compile it and run but it should work. --- In

Re: [flexcoders] Passing parameters to flashplayer while launching from Flexbuilder

2009-12-16 Thread David Pariente
Maybe im completely wrong but when you save in flex builder, it should build the html and swf. You can have a special html with the params, just save the app in builder and load ur html from any browser. So u change ctrl+f11 into ctrl+s, alt+tab, f5. ;) -- David

Re: [flexcoders] Swfloader stopping when 1mb

2009-12-16 Thread David Pariente
Tried with httpfox and seems that, even my upload to the ftp is done correctly until 1.6mb, when i try to load the file i get 0.2mb only. Deleted my cache with the same results. I know the problem seems to not be related to flex at all, but if someone has any idea with what could be happening

[flexcoders] AS3 Error Code! Why?

2009-12-16 Thread s_hernandez01
I am building an app where a user can insert an image from their local file system, but I get an error with the .load() method from the FileReference class. Don't really know why. Errors 2 items: 1061: Call to possibly undefined method load through a reference with static type

[flexcoders] Re: Simplfying Repetitive Code

2009-12-16 Thread invertedspear
Tibor, I have been needing something like 'this[string+var]' for awhile. Would have saved me a lot of time to know about that sooner. Thanks. ~Mike

Re: [flexcoders] Swfloader stopping when 1mb

2009-12-16 Thread Tino Dai
What is the specs of your machine? -Tino On Wed, Dec 16, 2009 at 3:42 PM, David Pariente xxmapach...@yahoo.eswrote: Tried with httpfox and seems that, even my upload to the ftp is done correctly until 1.6mb, when i try to load the file i get 0.2mb only. Deleted my cache with the same

[flexcoders] Re: getters before setters

2009-12-16 Thread Ariel J
As long as you define the [Bindable] metadata tag right before a getter, the order of the setters/getters doesn't really matter. I remember Alex Harui saying Bindable can indeed go before the setter, too. See this page: http://livedocs.adobe.com/flex/3/html/databinding_8.html#194574 Note

Re: [SPAM] [flexcoders] How to change background color on text input / Linkbar in Flex4

2009-12-16 Thread Ariel J
The Flex 3 Style Explorer is not always valid for Flex 4. --- In flexcoders@yahoogroups.com, Tracy Spratt tr...@... wrote: First place I start with styling question is with the Style Explorer: http://examples. http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer

[flexcoders] Re: Passing parameters to flashplayer while launching from Flexbuilder

2009-12-16 Thread Benjamin
Thanks for quickly responding. Yes, this will work if I am using using the html to launch the application in flexbuilder, but I am using the swc to launch the application. The reason I am using the swc instead of html is that I don't have debug version of flexbuilder in my browser. If I use swc

Re: [flexcoders] AS3 Error Code! Why?

2009-12-16 Thread Geoff White
I think that flash player 10 is required for some of the newer FileReference stuff, be sure that your settings in Project-Flex Compiler reflect this. From: s_hernandez01 s_hernande...@yahoo.com To: flexcoders@yahoogroups.com Sent: Wed, December 16, 2009

Re: [flexcoders] Swfloader stopping when 1mb

2009-12-16 Thread David Pariente
Solved! Seems filezilla had some problem uploadinf and said it did right when actually didn't. Thanks to all for your help. -- David Pariente RIA consultor -- El 16/12/2009, a las 20:50, David Pariente xxmapach...@yahoo.es escribió:

RE: [SPAM] [flexcoders] How to change background color on text input / Linkbar in Flex4

2009-12-16 Thread Peter DeHaan
mx:TextInput text=mx:TextInput contentBackgroundColor=red / s:TextInput text=s:TextInput contentBackgroundColor=haloGreen / mx:LinkBar dataProvider=[one,two,three] contentBackgroundColor=haloBlue / From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of

[SPAM] Re: [flexcoders] var token:AsyncToken = service.[str](); how to get this working?

2009-12-16 Thread MicC
Thanks Tracy - that dot keeps on getting me :-) ... I get a value is not a function error for service[str]. The code var str:String = 'Sel_all_mgrs' ; var token:AsyncToken = service[str] (); token.addResponder( this.responder) ; is inside a Cairngorm Delegate ... but this should not make