jQuery in Action, 3rd edition
The moose likes Flex and the fly likes Flex 3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Flex
Bookmark "Flex 3" Watch "Flex 3" New topic

Flex 3

M Srilatha
Ranch Hand

Joined: Aug 27, 2008
Posts: 137
Hello Satish,

Congratulations on the release of your book!
At present, we are working on flex with ABAP WedDynpro.
Even though we are not using JAVA to integrate flex UIs, I hope your book will be helpful for general flex concepts.

We were facing issues with large mxml application file due to lot of actionscript code inside script block.
We cant extract classes out of that code also.
And couldnt find much appropriate samples on the net on how we can split the file into multiple actionscript files.
We just know that we can use "include" tag to point to an external actionscript file. But havent understood it well.
Could you please explain the same if possible with an example?
and could you please let me know whether you will be covering this kind of coding practices in your book?

Thanks in Advance,

Thanks,<br />Srilatha M
Satish Kore
Ranch Hand

Joined: Feb 10, 2004
Posts: 43
Hi Srilatha,

I hope your book will be helpful for general flex concepts.

Yes, very much. This book is targeted to the developers who want to get started with Adobe Flex 3 programming. If you read table of content you would see that I have covered all important aspects of Flex and ActionScript starting from basics to advanced. Have a look at the http://www.packtpub.com/flex-3-with-java/book and http://www.amazon.com/Flex-3-Java-Satish-Kore/dp/1847195342#reader_1847195342 for detailed information.

About using include directive, I have covered this in my book in Chapter 3 Page 90. The include directive is an ActionScript directive that copies the content of an
external ActionScript file into your MXML application. You will have to create ActionScript File not ActionScript Class to use in include the ActionScript File is a normal file with .as as its extension, but this file will have no package or class declaration.
Example inside your <script> tag use

Where Util.as is an simple ActionScript file in cars package having some methods and variables.

Hope this helps.


Satish Kore
"Flex 3 with Java" @ packtpub.com and amazon.com
I agree. Here's the link: http://aspose.com/file-tools
subject: Flex 3
It's not a secret anymore!