This content has been marked as final. Show 3 replies
What are the exact errors you are getting when you tried out the examples?
Take a look at http://weblogs.macromedia.com/cantrell/archives/2007/10/generating_dyna.html
Also, take a look at this AIR application http://www.snackr.net/
It does the things you describe and its code is available on code.google.com.
thks a lot, i gone through the site http://www.snackr.net/
exactly the same i need. but i cannot find the code in google.
I have created the window on click of a news text, pls tell me how to close the existing window and open the new window on click on another news text.
i got struck up.
The code for snackr is available at http://code.google.com/p/snackr/source/checkout
You'll have to use svn to check it out.
Otherwise, you can browse through the code: http://code.google.com/p/snackr/source/browse/trunk/Snackr/src/Snackr.mxml
Regarding multiple windows:
In AIR, windows are of type NativeWindow or Window. Both these classes have a close() method which you can call to close the window.