[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

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

2009-12-16 Thread Peter DeHaan
From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Ariel J Sent: Wednesday, December 16, 2009 1:04 PM To: flexcoders@yahoogroups.com Subject: Re: [SPAM] [flexcoders] How to change background color on text input / Linkbar in Flex4 The Flex 3 Sty

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 escribió: Thank you, Trying it now

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 To: flexcoders@yahoogroups.com Sent: Wed, December 16, 2009 1:32:48 PM Subject: [flexco

[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: [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" wrote: > > First place I start with styling question is with the Style Explorer: > > http://examples. > .html

[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: [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 wrote: > > > 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 kno

[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

[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 flash.net:FileR

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 i

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 Pa

[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 flexcoders@yah

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. adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html Tracy Spratt, Lariat Services, development services av

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 escribió: Hi David, Try the firefox add-in called httpfox. That will give you a view into the http traffic going between your machi

[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 run-ti

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 -- El

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

2009-12-16 Thread turbo_vb
-TH --- In flexcoders@yahoogroups.com, "boy_trike" 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 >

[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 whe

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 befo

[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" 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. > > www.tibo

[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 pass

[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" wrote: > > Hi all, > > If I have a function like this. > > private function changeSeries(): void { > series1.yField = 'male'; > series2.yField = 'male'; > series3.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" wrote: > > Hi all, > > If I have a function like this. > > private function changeSeries(): v

[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'; series9.yFie

[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

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 wrote: > > > Hi all, > > Unexpectectly one of my swfloaders stops loading when i put the we

[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] 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 wrote: > There are probably other ways but this works... > Thanks. Doing this onCreationComplete won't work in my case, becau

[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 text-alig

[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 bu

[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 se

[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 embarking

[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... http://www.adobe.com/2006/mxml"; layout="absolute" creationComplete="onCreationComplete()">

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 wrote: > > > Hi all, > > Unexpectectly one of my swfload

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