This week's book giveaway is in the Java in General forum.
We're giving away four copies of Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework and have Michael Redlich on-line!
See this thread for details.
  • 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
  • Tim Cooke
  • paul wheaton
  • Liutauras Vilda
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Scott Selikoff
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
  • Frits Walraven
Bartenders:
  • Stephan van Hulst
  • Carey Brown

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,
 
It's fun to be me, and still legal in 9 states! Wanna see my tiny ad?
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic