Wrox Programmer Forums
|
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
 
Old November 3rd, 2008, 08:50 AM
Registered User
 
Join Date: Nov 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Adobe AIR: Create-Modify-Reuse (978-0-470-18207-9)

Hi,

I have downloaded the code for chapter3 of the book Adobe AIR : create-modify-reuse. The name of the chapter is Simple RSS Reader.

I have installed flex builder 3.0 and Adobe AIR runtime 3.0. Now When I publish the application and try to install the application I am getting this error message:

"Sorry an error occurred

This application requires a version of Adobe AIR which is no longer supported. Please contact the application author for an updated version."

I think this is due to the code which compatible with Adobe AIR runtime 2.0.

Now where do I have to modify the code so that the installer of the application get smoothly work with AIR 3.0?

Please help
 
Old November 15th, 2008, 10:30 AM
Registered User
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to nightmage80
Default

I didn't see any replies to this so...

The code worked fine for me in FlexBuilder 3.0.

Here are the steps to follow:

1) Create a New Flex Project
  a) File > New > Flex Project
  b) Choose AIR Project
  c) Name it RSSReader

2) Copy all files except for RSSReader-app.xml into the scr directory of the new project.
  a) Copy RSSReader.mxml into scr directory of your project
  b) Copy com directory into scr directory of your project
  c) Copy assets directory into scr directory of your project

3) Right click on RSSReader.mxml and Run as Air Application.

This procedure should work for all the apps in the book.


 
Old November 15th, 2008, 02:59 PM
Registered User
 
Join Date: Nov 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to nightmage80
Default

One note: This book is really written from a perspective of using the open source project from the command line rather than FlexBuilder. That is why, they seem to be telling you the file name that you need to save the project as after the the code for the project. Also the organization of the book is completely backwards for teaching projects from a FlexBuilder perspective. If you were using FlexBuilder, you would want to constantly test what you are doing and even walk through the code in the debugger to see how it is working. However, the book forces you to right a lot of code and basically complete the project before you are able to build anything. This is kind of annoying but I guess it is worth it because there are few books with these types of projects in them... I really with they would do a new book with FlexBuilder focus and explaination of how to configure Ant builds also.

 
Old April 16th, 2009, 11:48 AM
Registered User
 
Join Date: Apr 2009
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Yesterday it worked; today it doesn't.

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...





Similar Threads
Thread Thread Starter Forum Replies Last Post
modify create appointment wizard jeanhl BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 1 March 24th, 2008 03:37 AM
MSXML Object Reuse tclancy XSLT 0 April 27th, 2006 10:30 AM
How to reuse my application ankur_bhargava2000 VB How-To 1 October 17th, 2005 12:49 PM
Reuse in ASP. rupen Classic ASP Basics 3 June 29th, 2005 10:12 AM
Reuse the recordset object eapsokha Classic ASP Professional 4 February 27th, 2004 12:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.