This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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
 
jQuery in Action, 2nd edition
 
subject: Flex 3 : Action script related code inside the Flex Application
 
Similar Threads
running a simple servlet (.war needed? )
How to include YUI Widgets with in Flex APplication ??
Flex 3
Macromedia Flex future
Flex application on websphere