permaculture playing cards*
The moose likes Flex and the fly likes Is Flex built on Java? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Is Flex built on Java?" Watch "Is Flex built on Java?" New topic
Author

Is Flex built on Java?

Jane Somerfield
Ranch Hand

Joined: Jul 20, 2002
Posts: 193
The UI components of Flex look similar to those of Swing. Are the Flex or Flash built on Java?
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Um, yes and no. Flex generates Flash which is...Flash, not java. However, the Flex compiler which does the conversion from the MXML and AS3 code to SWF files is done using Java.


GenRocket - Experts at Building Test Data
Jane Somerfield
Ranch Hand

Joined: Jul 20, 2002
Posts: 193
So mxmlc uses Java.
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

On linux mxmlc is just a shell script which eventually does this:


java $VMARGS -jar "$FLEX_HOME/lib/mxmlc.jar" +flexlib="$FLEX_HOME/frameworks" "$@"


In Windows there is an mxmlc.exe but it does the exact same thing. The description of mxmlc.exe even says "Jar Launcher".
 
 
subject: Is Flex built on Java?
 
Similar Threads
Making the case for Flex - one question
* Welcome Filippo di Pisa
Flex examples and case studies
Would like to have advice on Java programming.
which is best integration with flex and why ?