Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > Adobe Web Programming > BOOK: Adobe AIR: Create - Modify - Reuse ISBN: 978-0-470-18207-9
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Display Modes
  #1 (permalink)  
Old November 3rd, 2008, 07:50 AM
Registered User
 
Join Date: Nov 2008
Location: delhi, delhi, India.
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
  #2 (permalink)  
Old November 15th, 2008, 09:30 AM
Registered User
 
Join Date: Nov 2008
Location: , , USA.
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.


  #3 (permalink)  
Old November 15th, 2008, 01:59 PM
Registered User
 
Join Date: Nov 2008
Location: , , USA.
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.

  #4 (permalink)  
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...
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 26th, 2004 11:05 PM



All times are GMT -4. The time now is 06:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.