Adobe Flex, what does this language look like?

I recently heard about Adobe Flex. I'm not sure what kind of programming language it is. How can I use it in web development? For example, the gilded taste of google uses HTML5, CSS3 and Adobe Flex. Forgive my ignorance, I heard about this language yesterday.

+4
source share
2 answers

Flex is a framework for flash. In the Flex environment, you can use the following languages:

Flex was created to simplify and speed up the creation of flash applications, since you can do many things without having to use ActionScript 3.

For example, if you want to set the border color of a text field, add the text "hello" and add it to the scene. So you can do it in Flash using ActionScript 3:

var yourTextfield:TextField = new TextField(); yourTextfield..border.fill.color.value = 0xff3300; yourTextfield.text = "hello"; addChild(yourTextfield); 

And here is how you do it in the Flex framework using MXML:

 <s:TextArea text="hello" borderColor="#ff3300"/> 
+5
source

Ancide's answer covers the basics. But to answer the question a little more ("similar to") , ActionScript is often compared to Java for its similarities. (Although there are several differences. IMO AS3 has some nice feature enhancements over Java, such as implicit getters / setters, a more flexible switch () statement, simple "function pointers" - due to the lack of a better term, functions can be easily passed as parameters - useful for implementing event handlers, etc.)

MXML is similar to Microsoft WPF / Silverlight XAML and is commonly used for similar purposes.

+1
source

All Articles