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 integrate with an existing backend), 
that knowledge can be minimal.

There is a 3rd case though, which is pretty common.
Since experienced flex developers are in high demand, allot of companies 
are willing to hire Java developers with minimal flex skills (or 
beginner Flex developers with Java skills) to train them as Flex 
developers. In this case, knowing Java tells them that you were able 
master a structured language and it should be fairly easy for you to 
learn Flex.

I wouldn't go as far as to say that you are screwed. While learning Java 
would give you an advantage, if you have a solid knowledge of Flex, in 
most cases, the requirement for Java wouldn't be a deal breaker.

Hope this helps,

Tibor.

www.tiborballai.com




fred44455 wrote:

 How much knowledge in Java do they required?? I mean that's ridiculous 
 , last year there were just a few companies who were requiring some 
 Java Knowledge now 80% of the job ads for Flex Developers (on 
 dice.com) require some Knowledge in java. I understand that it is 
 probably to connect to back end servers. My question is : How much 
 knowledge are we talking about here?? I know nothing about Java. so I 
 guess I am screwed?
 You end up finishing learning Flex to find out that they require 
 another core technology!! That;'s stupid.

 Thank you.

 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
flexcoders-dig...@yahoogroups.com 
flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



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 contentWidth  contentHeight I just get the current 
 displayed width and hight, not the image files width and height?

 - Stephen

 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
flexcoders-dig...@yahoogroups.com 
flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



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

Tejas Patel wrote:
  
 I've used TabNavigator control in my flex application.
 When I run my application, looks perfect.
 But when i select any tab from TabNavigator control, Application URL 
 having some strange text.
 when i select second tab, it looks like this..
 http://localhost/TestingControls-debug/TestingControls.html#app=e41e7a01-selectedIndex=1
  
 http://localhost/TestingControls-debug/TestingControls.html#app=e41e7a01-selectedIndex=1

 when i again select first tab, it looks like this..
 http://localhost/TestingControls-debug/TestingControls.html#app=e41e7a01-selectedIndex=0
  
 http://localhost/TestingControls-debug/TestingControls.html#app=e41e7a01-selectedIndex=0

 Why this (#app=e41e7a01-selectedIndex=0) text comes with application URL?
 How to stop displaying this text?



 
 The INTERNET now has a personality. YOURS! See your Yahoo! Homepage 
 http://in.rd.yahoo.com/tagline_yyi_1/*http://in.yahoo.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 
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/package.html#getClassByAlias%28%29 
methods in the flash.net package 
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/package.html


You can register an alias for all of the classes you'll want to 
instantiate at runtime based on their name and then instantiate them 
based on the alias you set.


Hope this helps,

Tibor.

www.tiborballai.com


asea19 wrote:
 

I'm trying to instantiate an object based upon it's name. I don't have 
the fully qualified classpath or an instance of the object. I just 
have a string representation of the object...i.e Sprite. Is there 
any way to achieve this? The object is available in the .swc I am 
including, but I need a way to dynamically instantiate it.


Thanks in advance!






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 
functionality you want to add.


Hope this helps,

Tibor.

www.tiborballai.com

Warren wrote:
 

I'm want to make a ComboBox on which I can force the dropdown menu to 
go up or down.  It should be a simple matter of adding a variable and 
changing the way the displayDropdown method works.  I tried extending 
the ComboBox and overriding the displayDropdown method but I can't do 
that since the method is private.
 
How can I do this with my own class ?  I feel like I'm missing 
something basic here.  
 
I'm using Flex 3.2.0 SDK
 
Thanks!






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.

www.tiborballai.com

invertedspear wrote:
 


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] Override private ComboBox function

2010-01-11 Thread Tibor Ballai
You can simply override the open and close functions as well. (public 
override function open():void{ ... ).


Tibor.

www.tiborballai.com

Warren wrote:
 

Very good idea.  I didn't think to look for the calling functions. How 
do I handle the two public functions (Open and Close)?  Can I simply 
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 private ComboBox function

 


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 functionality you want to add.

Hope this helps,

Tibor.

www.tiborballai.com

Warren wrote:

 
I'm want to make a ComboBox on which I can force the dropdown

menu to go up or down.  It should be a simple matter of adding a
variable and changing the way the displayDropdown method works. 
I tried extending the ComboBox and overriding the displayDropdown

method but I can't do that since the method is private.
 
How can I do this with my own class ?  I feel like I'm missing
something basic here.  
 
I'm using Flex 3.2.0 SDK
 
Thanks!







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 this helps,

Tibor.

www.tiborballai.com


Christophe wrote:

 Hello,

 There is the upload function to upload an image to the client PC to 
 the server, but is it possible to have a download function to put an 
 image from the server to the client PC ?

 Thank you,
 Christophe,

 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Alternative FAQ location: 
https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
flexcoders-dig...@yahoogroups.com 
flexcoders-fullfeatu...@yahoogroups.com

* To unsubscribe from this group, send an email to:
flexcoders-unsubscr...@yahoogroups.com

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



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 have an item renderer for a column of a table and I want to display 
the column of the table in a different way independent of the data 
that is sent to the item renderer.


For example if John is logged in I want the column to use two radio 
buttons and if Pete is logged in I want the column to use tick boxes.


I was toying with setting up a public variable inside the item 
renderer but when and where do I pass the variable in if each row runs 
separately?


Any ideas?

- Stephen Brown






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 it's value by referring to it using the class name:

MyRendererName.allowEdit=true;

Note, MyRenderName is the class name, not a specific instance!

Once your user logs in, you can set the allowEedit value:

if (username==pete) MyRendererName.allowEdit=true;

inside your renderer, you can refer to the allowEdit property just as if 
it was a class member.



Tibor.

www.tiborballai.com





criptopus wrote:
 


My item renderer is as follows:-

===code
?xml version=1.0 encoding=utf-8?
!-- itemRenderer for foldEdit --
mx:HBox xmlns:mx=http://www.adobe.com/2006/mxml 
http://www.adobe.com/2006/mxml horizontalAlign=center

mx:Script
![CDATA[
import mx.events.FlexEvent;

public var retValue:String;

override public function set data(value:Object):void
{
if (value != null)
{
super.data=value;

if (value.shastatus == E)
shared.selected=true;
else
shared.selected=false;
}
dispatchEvent(new FlexEvent(FlexEvent.DATA_CHANGE));
}

private function change():void
{
if (shared.selected == true)
retValue=E
else
retValue=D;
}
]]
/mx:Script
mx:CheckBox id=shared change=change();/
/mx:HBox
===code

So are you saying I set up a:: Static Public var allowEdit:Boolian; :: 
in here and how do I define it from the Datagrid, do I have to include 
it and set an instance up of it, that doesn't sound right to me. - I'm 
only a beginner any code hints would be great.







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 outside 
source (since it appears to come from a file on my server even tho its 
pulling from a foreign database)?







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



criptopus wrote:
 

With using a static public variable is their any chance that multiple 
users will inter fear with each others


comps.librCntr.librFold.itemRend.tickBox.allowEdit

values?

- Stephen






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 first 5 characters to bold
this.textField.setTextFormat(bold, 0, 5);

//set the next 5 chars to normal
this.textField.setTextFormat(normal, 5, 10);


Tibor.

www.tiborballai.com


cvsikh wrote:
 


Hi,

I was curious to know if it is possible to have both bold and normal 
text in a text component? I know this can be achieved using htmltext 
however I am not interested in using that since you cannot pass 
dynamic fields to it.