[flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Mike Anderson
Greetings All, Whenever I study code generated by seasoned programmers (i.e. all the Adobe people supporting Flex on this list) as well as countless others on this list, I notice that some use this when referencing local variables contained within a Class. The last thing I want to do here, is

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Bjorn Schultheiss
drop the 'this' unless its necessary to explain something.. On 08/04/2008, at 5:39 PM, Mike Anderson wrote: Greetings All, Whenever I study code generated by seasoned programmers (i.e. all the Adobe people supporting Flex on this list) as well as countless others on this list, I notice

[flexcoders] Re: Determining text control's height in a ListItemRenderer.

2008-04-08 Thread geraldshastri
Thanks guys, I was finally able to solve it. --- In flexcoders@yahoogroups.com, Alex Harui [EMAIL PROTECTED] wrote: You should set the Text's width to some portion of the item renderer's explicitWidth before measuring the Text. Note that ListItemRenderer already does wordwrapping and

[flexcoders] Google App Engine

2008-04-08 Thread Giles Roadnight
Hi All Have any of you guys treid App Engine with Flex yet? It seems like a fantastic system to me and completely free! Surely this will be an issue for hosting companies? All of the websites that I have developed for myself / family and friends uses well below the limits imposed by google so I

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Christian
I personally prefer to use it, as it makes it clearer for me later when I come back as to what is a class member/function and what is in the local/global scope. I say use which one you prefer. I came from a java background, and I remember always using 'this' with java classes. But that's just my 2

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread shaun
Mike Anderson wrote: Greetings All, Whenever I study code generated by seasoned programmers (i.e. all the Adobe people supporting Flex on this list) as well as countless others on this list, I notice that some use this when referencing local variables contained within a Class. The last

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Giles Roadnight
ctrl - space? On Tue, Apr 8, 2008 at 10:55 AM, Scott Melby [EMAIL PROTECTED] wrote: I am not a big fan of the this, but it is the way I get flexbuilder to offer code assistance so I don't have to remember and type out the names of the methods and member variables of my class. So... it

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Scott Melby
I am not a big fan of the this, but it is the way I get flexbuilder to offer code assistance so I don't have to remember and type out the names of the methods and member variables of my class. So... it frequently ends up staying in the code. If there were a hot-key sequence that produced the

Re: RES: [flexcoders] How to change the mouse scroll range of datagrid component

2008-04-08 Thread bigbb_kimo
I have fixed this problem. Thanks for your advice. I override the mouseWheelHandler instead of the scrollVertically for mouse wheel. override protected function mouseWheelHandler(event:MouseEvent):void { if(event.delta0){ event.delta=-1;

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Scott Melby
A great practice is to put a prefix on member variables to avoid exactly what Shaun is talking about. I typically use an underscore as follows. This completely eliminates the need for the this even for readability sake. Additionally I pretty much use only private members. If I want to

Re: [flexcoders] Google App Engine

2008-04-08 Thread Johannes Nel
yeah, we have moved all our mail already to google and also use their sites for document management. added to that we have air apps that speak to docs as well. all good stuff IMO. On Tue, Apr 8, 2008 at 9:35 AM, Giles Roadnight [EMAIL PROTECTED] wrote: Hi All Have any of you guys treid App

Re: [flexcoders] General list consensus using 'this' when referencing local vars

2008-04-08 Thread Scott Melby
NICE... actually that is even better since it includes locals as well as members etc. Guess I should have said If I knew of a hot-key sequence :) Thanks! Scott Scott Melby Founder, Fast Lane Software LLC http://www.fastlanesw.com http://blog.fastlanesw.com Giles Roadnight wrote: ctrl -

Re: [flexcoders] Google App Engine

2008-04-08 Thread Josh McDonald
I'm waiting for Java support, can't be assed learning Python atm. But I intend to be *all over it* when that happens to host a backend for various flex / air ideas I have floating in my head :) -J On Tue, Apr 8, 2008 at 5:35 PM, Giles Roadnight [EMAIL PROTECTED] wrote: Hi All Have any of

[flexcoders] Trace stopped working

2008-04-08 Thread dave_defusion
I had trace setup and working fine, then I ran the Profiler (okayed the default options that the profiler had given me) from Flex Builder and now the flash player doesn't trace to a file. I've tried un-installing and re-installing the Flash debug player, removing and re-creating the mm.cfg file

[flexcoders] Re: General list consensus using 'this' when referencing local vars

2008-04-08 Thread actionscript_czar
The most important thing is to find a way of doing things and be consistant. If you work for a company, it might be a good idea to create a style guide for code in the company. Studies have actually shown that consistantly formatted code makes it easier to understand. So going back to code

[flexcoders] Flex 3 and Web Services

2008-04-08 Thread nikulin.andrei
Hello! I am very new to Flex, so my question may be very silly. Here it is. I am playing with Flex and WebServices. A have generated the WebService client-classes from WSDL using FlexBuilder. my mxml is like that: ?xml version=1.0 encoding=utf-8? mx:Application

[flexcoders] can I dispatch a dataTipFunction event

2008-04-08 Thread Stephen More
I currently have a working mx:LineChart with a dataTipFunction that shows up on mouse over. I would like to add some animation to this Chart, is there a way to show dataTip1, sleep some, then show dataTip2, sleep, etc without having the user mouse over the data points ? -Thanks Flex newbie

[flexcoders] Re: HttpService post error 2032:iostream error

2008-04-08 Thread mailamannow
Hi Dmitri Can you please explain me if WireShark could prove to be a useful tool for debugging Web Services. I tried it, but couldn't get it working to debug my Web Service

[flexcoders] Re: Deployment of flex and Java on a webserver

2008-04-08 Thread mailamannow
Hi I used POJO based web service as an intermediary between Flex and Database. The web service is deployed in the WEB-APPS folder of my Tomcat server(in which it is deployed in the Axis2 folder). For deploying Flex's application refer

[flexcoders] Problem:SoundChannel.soundTransform

2008-04-08 Thread mouhong.lin
Hi. I use Sound class to load a mp3 file. Code: var _url:URLRequest = new URLRequest(...); var _mp3:Sound = new Sound(); _mp3.load(_url); _mp3.addEventListener(Event.COMPLETE, onLoad); var _soundChannel:SoundChannel; ... private function onLoad(event:Event):void { _soundChannel

[flexcoders] FlexManiacs 2008 is just FIVE weeks away!

2008-04-08 Thread Steve Drucker
During this three day FLEX/AIR conference on May 21-23 in Washington, DC you will learn all of the tips and tricks that industry veterans use to produce award winning web sites and applications using AIR and FLEX. Conference Highlights: * Four concurrent HANDS-ON sessions where you will

[flexcoders] Create A Suicide Note (Nice Photoshop Tutorial)

2008-04-08 Thread (0)(0)
learn how to create a gruesome suicide note complete with all materials, including brushes and fonts. Now before we start this tutorial you are going to need a few things, Concrete texture, Picture of a knife, Grunge brushes, Blood brushes, Coffee stains brushes. All these items are

[flexcoders] deprecated method ColumnChart.localToData() used in Flex 3 manual

2008-04-08 Thread mavdzee
Hi, I noticed that one of the examples in the Advanced Data Visualisation Developers Guide (on page 218/219) uses a deprecated method. I get the following warning: 3606: 'dataToLocal' has been deprecated. Please use 'IChartElement2.dataToLocal()' I copy pasted the example below. Does anybody

Re: [flexcoders] Changing the Font in Alert box

2008-04-08 Thread Chitra S.Pai
Thank you Alex, I will try it out... Chitra

Re: [flexcoders] Profiling AIR apps

2008-04-08 Thread Vaan S Lanko
Thanks for your reply Kevin, I am a complete jackass, my client firewall was blocking incoming connections for the flex builder java VM. Got it going, plugged the leaky holes, cant beleive I haven't use it before, its a fine tool. Cheers Vaan Kevin Aebig wrote: It works. I use, Run Profile

[flexcoders] TextArea.htmlText issue

2008-04-08 Thread steve_j76
Hi all I'm pulling in RSS data via HTTPService and displaying a result/s in a TextArea using the htmlText=foo approach. However, the a links are all displayed with no decoration at all -- though they do work. What CSS do i specify to be able to set text-decoration:underline for a elements in