 |
BOOK: Adobe AIR: Create - Modify - Reuse ISBN: 978-0-470-18207-9
 | This is the forum to discuss the Wrox book Adobe AIR: Create - Modify - Reuse by Marc Leuchner, Todd Anderson, Matt Wright; ISBN: 9780470182079 |
|
Welcome to the p2p.wrox.com Forums.
You are currently viewing the BOOK: Adobe AIR: Create - Modify - Reuse ISBN: 978-0-470-18207-9 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
|

April 16th, 2009, 09:17 PM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Problem compiling AIR suddenly
I compile a program at the command line, which worked fine yesterday, like this -
> mxmlc AIRVideoPlayer.mxml
Loading configuration file C:\bin\Flex\frameworks\flex-config.xml
C:\bin\Flex\pkproj\AIR\videoPlayer\AIRVideoPlayer. mxml: Error: Unable to locate
specified base class 'mx.core.WindowedApplication' for component class 'AIRVideo
Player'.
But, now it says "Error: Unable to locate specified base class..." All three prototypes I made yesterday are hosed by this error. Everything was perfect, just got started with book, and suddenly a problem. However, seems fixable, since like I said, it worked perfectly yesterday. Any thoughts by anyone? Appreciate the life saver...
|
|

April 17th, 2009, 10:38 AM
|
 |
Wrox Staff
Points: 18,059, Level: 58 |
|
|
Join Date: May 2003
Posts: 1,906
Thanks: 62
Thanked 139 Times in 101 Posts
|
|
Does Rich Tretola's discussion on a similar error here:
http://blog.everythingflex.com/2008/...am-within-air/
help?
__________________
Jim Minatel
Associate Publisher, WROX - A Wiley Brand
Did someone here help you? Click  on their post!
|
|

April 18th, 2009, 12:37 AM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
AIR book, chapter 10
Thanks, Jim for the reply. Turns out, I just needed to add the correct parameters to amxmlc to compile the AIR app, such as "-locate-config". Problem fixed.
I have another question about chapter 10, which is on the "Blogger Agent". Apparently, when I download the source code and compile it, I get the following error:
>amxmlc -load-config "c:\bin\flex\frameworks\air-
config.xml" -output BloggerAgent.swf BloggerAgent.mxml
Loading configuration file C:\bin\Flex\frameworks\air-config.xml
C:\bin\Flex\pkproj\AIR\blogger\com\aircmr\bloggera gent\services\BloggerService.a
s(5): col: 43 Error: Definition com.aircmr.bloggeragent.events:BloggerServiceEve
nt could not be found.
import com.aircmr.bloggeragent.events.BloggerServiceEvent ;
^
However, the book's code for the BloggerService.as does not have the fifth liine, e.g. -
"import com.aircmr.bloggeragent.events.BloggerServiceEvent ;".
I guess this is a modification to the original example. If I comment this line out, I can compile and run the AIR app, and I can retrieve my blogs, but I cannot post to my blogger blog. Is there a way I can get this missing BloggerServiceEvent class?
Thanks. Pat
|
|

April 18th, 2009, 12:57 AM
|
|
Registered User
|
|
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
errata issue for air book
Jim, I just this issue to the Errata section for this book. Since it seems there's a difference between the book and the source code from the web site, the new event class should be offered through the web site. Look forward to hearing back on this issue. Fantastic book! Looking forward to playing with each program - all eleven of them! 
|
|

June 3rd, 2010, 04:02 AM
|
|
Registered User
|
|
Join Date: Jun 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Unable to locate specified base class 'mx.core.WindowedApplication' for component cla
Hello Friends,
1.Web Application
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Label text="Hello World! 12345"/>
</mx:Application>
it's ok Build xml successfully.
2.AIR Application
<mx:WindowedApplication xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Label text="Hello World! 54321"/>
</mx:WindowedApplication>
Error: unable to locate specified base class âmx.core.WindowedApplicationâ for component class â
Please give me solutionâ¦
Thanks,
manu
|
|
 |