IntelliJ open source
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Win a copy of Flex 4 in Action this week in the Flex forum!
Reply Bookmark it! Watch this topic JavaRanch » Forums » Application Frameworks » Flex
 
RSS feed
 
New topic
Author

Flex 3 : Action script related code inside the Flex Application

Ravi Kiran V
Ranch Hand

Joined: Apr 18, 2009
Messages: 1193

Hi

right now i am adding all Action script related code directly inside my MXML file like this :

and the code looks clumpsy .

Is it possible to write actionscript code sperately and include that file inside my Custom Component files ??

Thank you .


I tried to change the world, but I couldn’t find the source code
Ravi Kiran V
Ranch Hand

Joined: Apr 18, 2009
Messages: 1193



include the script .

I got my answer .

I tried to change the world, but I couldn’t find the source code
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Messages: 8529

Ravi Kiran V wrote:Hi

right now i am adding all Action script related code directly inside my MXML file like this :

and the code looks clumpsy .

Is it possible to write actionscript code sperately and include that file inside my Custom Component files ??

Thank you .



Yes. Or it is possible to write your component entirely in ActionScript.

JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Application Frameworks » Flex
 
RSS feed
 
New topic
The most intelligent Java IDE