wood burning stoves 2.0*
The moose likes Flex and the fly likes Flex 3 : Action script related code inside the Flex Application 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 "Flex 3 : Action script related code inside the Flex Application " Watch "Flex 3 : Action script related code inside the Flex Application " New topic
Author

Flex 3 : Action script related code inside the Flex Application

Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234

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 .


Save India From Corruption - Anna Hazare.
Ravi Kiran Va
Ranch Hand

Joined: Apr 18, 2009
Posts: 2234



include the script .

I got my answer .
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

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
 
 
subject: Flex 3 : Action script related code inside the Flex Application
 
Similar Threads
How to include YUI Widgets with in Flex APplication ??
Flex 3
Macromedia Flex future
Flex application on websphere
running a simple servlet (.war needed? )