Win a copy of Murach's MySQL this week in the JDBC and Relational Databases forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Flex 3

 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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,
 
Author
Posts: 43
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

Thanks,
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic