Re: [flexcoders] How much knowledge in Java do you actually need to be hired as a Flex Developer

2010-02-17 Thread Tibor Ballai
Hi Fred, As the reasons they ask for Java vary, so does the required level of knowledge... If they are looking for an end-to-end developer they require a pretty solid knowledge of Java. If they are looking for a Flex UI developer with Java knowledge (so you'll have a basic idea on how to

Re: [flexcoders] Quick Question?

2010-01-21 Thread Tibor Ballai
Hi Stephen, You'll find those values in the Image component's contentHeight and contentWidth properties. Tibor. www.tiborballai.com criptopus wrote: I have loaded an image into a mx:Image/ component, how do I get the dimentions of the source image in the file it comes from. when I try

Re: [flexcoders] TabNavigator Problem.

2010-01-19 Thread Tibor Ballai
Hi Tejas, What you are seeing is Flex's default history management. You can read about it here: http://livedocs.adobe.com/flex/3/html/help.html?content=deep_linking_8.html To disable it, you can set the TabNavigator's historyManagementEnabled property to false. Tibor. www.tiborballai.com

Re: [flexcoders] Get Qualified Class Name From String / Dynamically Instantiate Obj

2010-01-12 Thread Tibor Ballai
Hi, Unfortunately you can't use getDeffinitionByName without the fully qualified name. However, you can use class aliases. Check out the registerClassAlias http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/package.html#registerClassAlias%28%29 and the getClassByAlias

Re: [flexcoders] Override private ComboBox function

2010-01-11 Thread Tibor Ballai
Hi Warren, While the displayDropdown method is private, the methods which call it (downArrowButton_buttonDownHandler keyDownHandler) are both protected. You can override these 2 methods and have them call a new private method which can mimic the behaviour of displayDropdown along with the new

Re: [flexcoders] Re: Simplfying Repetitive Code

2010-01-11 Thread Tibor Ballai
Hi Guys, This discussion inspired me to write an article about the dynamic elements of the language. It took a while to finish but after nearly a month I found enough time to wrap it up. http://tiborballai.com/blog/2010/1/11/dynamic-elements-of-the-actionscript-3-language.html Tibor.

Re: [flexcoders] Override private ComboBox function

2010-01-11 Thread Tibor Ballai
create new functions for them in my class? - Original Message - *From:* Tibor Ballai mailto:ballai.t...@gmail.com *To:* flexcoders@yahoogroups.com mailto:flexcoders@yahoogroups.com *Sent:* Monday, January 11, 2010 8:29 AM *Subject:* Re: [flexcoders] Override

Re: [flexcoders] Function to download an image

2010-01-09 Thread Tibor Ballai
Hi Christophe, With flash player 10, you have the ability to save files with FileReferrence. However what I usually do, which doesn't require flash player 10, is to create a servlet, set the content type to application/force-download and use naviteToURL in flex to start the download. Hope

Re: [flexcoders] Passing parameters into Component Item Renderers

2010-01-08 Thread Tibor Ballai
Hi Stephen, You can define a static property in your item renderer which you can set to the appropriate value based on who logged in before displaying the table. Or, alternatively, you can use a singleton to define and check who logged in. Tibor. www.tiborballai.com criptopus wrote: I

Re: [flexcoders] Re: Passing parameters into Component Item Renderers

2010-01-08 Thread Tibor Ballai
Yes, you define a static public var allowEdit:Boolean; in your item renderer. that variable will be a member of the class, rather then a member of a specific instance. Only a single copy of allowEdit exists, regardless of how many instances of your renderer you have. Thus, you can get/modify

Re: [flexcoders] Cross Domain File

2010-01-08 Thread Tibor Ballai
Hi Dan, No, in your case, the data will be considered local to your server from the flash player's perspective. Tibor. www.tiborballai.com Dan Pride wrote: If I am accessing a database from another server with php files which sits on my server, does flash consider that as data from an

Re: [flexcoders] Re: Passing parameters into Component Item Renderers

2010-01-08 Thread Tibor Ballai
That depends on weather or not you'll have multiple users logged into the same session. A static member is unique in the scope of a loaded application. I doubt that you'll have multiple users logged into the same browser session so this wouldn't be a problem. Tibor. www.tiborballai.com

Re: [flexcoders] Text with bold and normal formatting

2010-01-08 Thread Tibor Ballai
Hi, You can extend the Text component and change its textField http://www.adobe.com/livedocs/flex/3/langref/mx/controls/Label.html#textField property's text format. var normal:TextFormat=new TextFormat(); var bold:TextFormat=new TextFormat(); normal.bold=false; bold.bold=true; //set the