Posts Tagged ‘air’

Adobe posts Flash 10.1, AIR 2 betas with multi-touch (Electronista)

Thursday, November 19th, 2009

[Editor’s note: Adobe begins to catch up to Apple’s iPhone with multi-touch gestures, as the video below from BusinessWire demos.]

Republished from Electonista.

Adobe today fulfilled earlier promises and provided betas for both Flash Player 10.1and AIR 2. Both are the first from Adobe to have a Flash layer that supports multi-touch input, including gestures such as pinching to zoom the window. Flash Player specifically gets H.264 hardware decoding through newer video chipsets and, initially for Windows PCs, can significantly reduce the workload on the CPU or a notebook’s battery.

The gain is particularly helpful for netbooks using NVIDIA’s Ion chipset as it should enable HD video in Flash where it was previously only available for downloads.

Both add native support for microphones, but AIR 2 adds significantly more native communication with the system itself and can talk both to local apps as well as to mass storage devices like flash drives or memory cards. It works better for serving content and has a newer version of the WebKit rendering engine that supports HTML5 and faster JavaScript, much like Android 2.0 or Safari.

Either beta is available today for Linux, Mac OS X and Windows. Mobile betas, which should be the first to provide broadly available Flash on smartphones, aren’t due until early next year for Android and Symbian. The HTC Hero already offers an early version of in-browser flash.

A Magic Wand for Selecting Text in Adobe Illustrator – 11e (KELSO)

Wednesday, November 18th, 2009

[Editor’s note: The beta had expired; this is purely an extension of the testing period to November 2010. No new features. I’ve been caught up in Natural Earth the last year and will return to the project at a date uncertain.]

I have been developing a plugin / script for Adobe Illustrator to make it easier to select type in Illustrator by attributes like font family, style, size, and fill color. I hope to release this as a commercial plugin for designers and cartographers at some point. If you would like to beta test this plugin for me, please send me an email at nathaniel@kelsocartography.com or…

Download version 11e of Find and Replace Fonts Script (1.6m). Good thru November 2010.

More information on this script available in this March 2009 post.

Advanced Text Layout Framework for Flash Open-Sourced (Adobe)

Thursday, July 23rd, 2009

advancedflashtextengine1

[Editor’s note: Finally, Adobe’s purchase of Macromedia is bearing fruit! The fine-control that Illustrator and InDesign have over typography (text layout) is now available in Flash and Flex as an ActionScript 3.0 framework. There are even a few controls I wish would make it back to Illustrator, like where in the text container the text starts from (not always the top-left hand corner) and allowing images and graphics to be embedded in the text frame, ala Freehand. Also note the Photoshop style numerical control scrubbers!]

Republished from Adobe Labs.

Welcome to the beta release of the Text Layout Framework for Adobe® Flash® Player 10 and Adobe AIR® 1.5. The Text Layout Framework is an extensible library, built on the new text engine in Adobe Flash Player 10, which delivers advanced, easy-to-integrate typographic and text layout features for rich, sophisticated and innovative typography on the web. The framework is designed to be used with Adobe Flash CS4 Professional or Adobe Flex®, and is already included in the next version of Flex, code named Gumbo. Developers can use or extend existing components, or use the framework to create their own text components. Source code and component library for TLF are now available as open source at no charge under the Mozilla Public License at www.opensource.adobe.com.

Together with the new text engine in Flash Player 10 and AIR 1.5, the Text Layout Framework delivers multi-lingual, print-quality typography for the web, including support for:

  • Bidirectional text, vertical text and over 30 writing systems including Arabic, Hebrew, Chinese, Japanese, Korean, Thai, Lao, the major writing systems of India, and others
  • Selection, editing and flowing text across multiple columns and linked containers, and around inline images
  • Vertical text, Tate-Chu-Yoko (horizontal within vertical text) and justifier for East Asian typography
  • Rich typographical controls, including kerning, ligatures, typographic case, digit case, digit width and discretionary hyphens
  • Cut, copy, paste, undo and standard keyboard and mouse gestures for editing
  • Rich developer APIs to manipulate text content, layout, markup and create custom text components.

For a complete list of features and more information regarding this beta, please see the release notes. Please help us ensure that the final release of the Text Layout Framework will be of the highest quality by installing and using this beta version and sending us your feedback on the Text Layout Framework forum.

Open Source

The Text Layout Framework is now an open source project.

Shapefiles, Actionscript 3.0, and Google Maps (Box Shaped World)

Monday, June 8th, 2009

[Editor’s note: Tutorial for using the vanrikom classes to read in shapefiles in Flash and Flex AS3 and display them on a Google Maps mashup.]

Republished from the Box Shaped World blog. 28 April 2009.

I’m working an Adobe AIR application and I wanted to be able to have the user select a shapefile, and then parse it to create a KML file.  I didn’t want to have the user be responsible for creating a KML file.  I thought I might try and crack the shapefile enigma since it is a well documented format, but that would have taken time and I suddenly realized I’m not actually a developer :).  Instead, I found this set of Actionscript Classes to parse a shapefile in Flash.  Unfortunately, I didn’t find a very good tutorial on how to work with the classes.  The example is a little confusing (at least for me) and also uses a far file.  I’d never heard of far compressed files.  So I took the classes and created my own parser.  I thought I would post a tutorial on how to use these shapefile classes in conjunction with AIR and the Google Maps API for flash.  This technique would work with flex as well, I just didn’t want to have to write the code to upload a file.  I presume a few things with this.  The shapefile you are using for this should already have a geographic projection (e.g. latitude and longitude Geographic NAD 83).  In order to use the Google Maps API with AIR, you need a URL with a key associated with it.  Below are two zipfiles available for download.  The testfile.zip is the shapefile I was using.  The vanrikom.zip is the downloaded actionscript classes from the Google Code repository.  I had trouble downloading the using an svn so I did it manually.  I’ll save you the time by making it available here…unless the original author asks me to remove them.  There are parts that I find confusing with the way the reader was set up.  For some reason polyline inherits from polygon.  Intuitively to me it should be the other way around…but like I said, I’m not a developer.

This was all done using FlashDevelop and the Flex SDK 3.  There are 4 custom classes in addition to the mxml file.  Each are shown here.

Continue reading at Box Shaped World . . .

A Magic Wand for Selecting Text in Adobe Illustrator (KELSO)

Wednesday, May 6th, 2009

[Editor’s note: The beta expired so this is purely an extension of the testing period. No new feature.]

I have been developing a plugin / script for Adobe Illustrator to make it easier to select type in Illustrator by  attributes like font family, style, size, and fill color. I hope to release this as a commercial plugin for designers and cartographers late 2009? If you would like to beta test this plugin for me, please send me an email at nathaniel@kelsocartography.com or…

Download version 11d of Find and Replace Fonts Script (1.6m). Good thru summer 2009.

More information on this script available in this March 2009 post.

Key to Eliminating U.S. Flight Delays? Redesign the Sky Over New York City (Wired)

Tuesday, March 10th, 2009
[Editor’s note: Maps show off the poor network topology for air traffic in and out of New York city and how to optimize the system to reduce flight delays across the US.]
Republished from Wired magazine.
By Andrew Blum Email 02.23.09

Two million flights pass through the New York area airspace each year.
Illustration: Aaron Koblin

Inbound JFK. The turns start while you’re still in the clouds. Engines howling, flaps down, the plane lurches and dives, jerky as a taxi in Midtown. Seatback upright and tray table locked, you’re oblivious to the crowded flight paths around you. But the air above New York City is mapped: a dense and nuanced geography nearly as complicated as the city below.

More than 2 million flights pass over the city every year, most traveling to and from the metropolitan area’s three busiest airports: John F. Kennedy, Newark, and LaGuardia. And all that traffic squeezes through a network of aerial routes first laid out for the mail planes of the 1920s. Aircraft are tracked by antiquated, ground-based radar and guided by verbal instructions issued over simplex radios, technology that predates the pocket calculator. The system is extremely safe—no commercial flight has been in a midair collision over the US in 22 years—but, because the Federal Aviation Administration treats each plane as if it were a 2,000-foot-tall, 6- by 6-mile block lumbering through the troposphere, New York is running out of air.

This is a nightmare for New York travelers; delays affect about a third of the area’s flights. The problem also ripples out to create a bigger logjam: Because so many aircraft pass through New York’s airspace, three-quarters of all holdups nationwide can be traced back to that tangled swath of East Coast sky.

Six years ago, Congress green-lit a plan to solve this problem. The Century of Aviation Reauthorization Act calls for a new system, dubbed NextGen, that uses GPS to create a sort of real-time social network in the skies. In theory, it should give pilots the data they need to route themselves—minus the huge safety cushions.

But NextGen needs some serious hardware: roughly $300,000 in new avionics equipment for every cockpit. That’s a lot of peanuts for the struggling airlines. Add to the tab nearly 800 new federally funded ground stations to relay each plane’s location and trajectory to every other plane in the sky and—by the time NextGen finally launches in 2025—the price tag could reach $42 billion.

Jetliner Photos: Jeffrey Milstein

In the meantime, the New York-area skies have seen a huge traffic bump over the past two decades—including a 48 percent increase between 1994 and 2004. So the FAA has set out to coax new efficiency from old technology.

To help reorganize this airspace, the FAA called on Mitre, a Beltway R&D firm that works exclusively for the government. Mitre’s scientists and mathematicians, in cooperation with some of the region’s air traffic controllers, are completely rethinking the flow of aircraft in and out of New York City. Current flight patterns evolved like a rabbit warren, with additions tacked on to an existing architecture. As airports grew busier and airplanes started flying higher and faster, that architecture became increasingly inefficient. The plan, the unfortunately named New York/New Jersey/Philadelphia Metropolitan Area Airspace Redesign, aims to bring order to the air.

Think of it as a redrawn map of the roadways in the sky. While planes used to chug in and out of the city on a few packed roads, the redesign spreads out the aircraft by adding new arrival posts (exit ramps), departure gates (on-ramps), and takeoff headings (streets leading up to the intercity highways). But the biggest move will be making the space for all these additions. Mitre’s proposal is to extend the boundaries of this airborne city into a 31,180-square-mile area that stretches from Philadelphia to Albany to Montauk.

Unclogging the Skies

A new FAA plan—the New York/New Jersey/Philadelphia Metropolitan Area Airspace Redesign—aims to streamline the air traffic over New York. Here are two highlights.

Adding Lanes
Flights heading west out of New York have to squeeze onto two airborne highways over New Jersey before they merge with air traffic from the rest of the country. The redesign adds more lanes, allowing more planes to take off per hour.

Expanding Control
The New York regional air traffic control center is the busiest in the world. The redesign integrates its authority with other regional centers so controllers can direct planes that are farther away, clearing the high-altitude flight paths for through-traffic

The FAA started implementing the first part of the plan—the new takeoff headings—in December 2007 and should have the full strategy in place by 2012. By then the agencies hope to have reduced delays in New York by an average of three minutes per flight. And in a system as interconnected as the US air traffic network, those few minutes could quickly cascade into hours.

Continue reading at Wired . . .

A Magic Wand for Selecting Text in Adobe Illustrator (KELSO)

Friday, March 6th, 2009

[Editor’s note: This is largely a republish of my post here last September and before but with the added benefit of now being a public alpha (download version 11d) of the script that is good thru summer 2009. Why am I expanding testing? I’d like more feedback as I haven’t heard of any major problems with the script. And I need a little motivation to finish programming 😉 ]

I have been developing a plugin / script for Adobe Illustrator to make it easier to select type in Illustrator by  attributes like font family, style, size, and fill color. I hope to release this as a commercial plugin for designers and cartographers first quarter 2009? If you would like to beta test this plugin for me, please send me an email at nathaniel@kelsocartography.com or…

Download version 11d of Find and Replace Fonts Script (1.6m). Good thru summer 2009.

¡¡Warning!! This is not final release-quality product!!! Please save your work before running the script. I have never had it crash my machine but don’t take chances!!! Use at your own risk!!!

To install new scripts you need to:

  • Download the ZIP file using “Save as”.
  • Quit Illustrator
  • Copy the script files into the Illustrator application folder’s “Presets” » “Scripts” subfolder
  • After restarting Illustrator, you can find the scripts in the menu “File” » “Scripts”;
  • TIP: You can create subfolders in the scripts folder to organize your scripts

NOTE: You will need version CS3 or CS4 of Illustrator. If you have CS or CS2, get a trial version of CS4 from Adobe.

Insure you get further updates to the Script by joining this email list:
Name:
E-mail:

What is this tool and why would you use it?

  1. A magic wand for clicking on text and selecting like-styled text
  2. A non-modal eye dropper tool for copying font attributes and pasting them onto other text objects without directly eye dropping (like Freehand’s copy and past attributes).
  3. Menu items for Select > Type > Same font, same style, same size, same font color, overprinting, etc
  4. A pro version of the Find Fonts dialog already in Illustrator that does find / replacing in locked and hidden layers, or only in the active layer, sublayer, or window view.

Usage Tips

The resulting non-contiguous text can only be affected (eg: by the Character panel) by:

  1. Hitting escape on the keyboard and then making changes
    • but the original instance will not be changed
    • all others will be, though
  2. The entire text object was selected
  3. Initiating the “similar text (described in 2nd New features below) in text object mode, NOT text range or text insertion point mode.
  4. Using the Full Dialog mode’s replace functions
Looking Forward

Developing the plugin has taken a lot longer than I expected to implement all the basic and advanced features but I am now 90% complete with the script version, which is over 8,000 lines of code or a 300 page book! I need to start working on the plugin version which will entail completely translating the script from JavaScript into C in XCode on the Mac and Visual Studio on the PC.

  • Port to XCode and start testing as Illustrator Plugin, first for Mac, second for Windows

  • Settle on price and start selling. Perhaps thru a distributor.

  • There will be a cheap version and a pro version.

Turning the script into a plugin will bring several benefits:

  • Speed: much faster execution
  • Work with 1,000s of type objects / characters, not 100s
  • Menu items that can be assigned keyboard shortcuts
  • Can be recorded with Actions for automating routine tasks
  • New tool: magic wand for text and non-modal eyedropper for text font appearances
  • Allow me to recoup development costs

Example uses:

  • Selection:
    • Find all other type objects with same font – View video
    • Find all other type objects with same type size – View video
    • Find all other type objects with same character fill color
  • Applying / creating character styles:
    • Cartographer: ArcMap text imported to Illustrator >> have plugin apply matching style or create new styles that match each of the implicate styles
    • Designer: Quickly comp out a design and select all matching text with certain font attributes with the new Text magic wand tool and make them styles. Great for deadline projects.
  • Find and Replace fonts on hidden and locked layers (better than Illustrator’s default Find Font)

Demonstration videos:

Selecting by Font Color – Basic

Including exactly the same color, pattern, swatch, same color mode, by character and by object.

View video – 7.8 megs

Selecting by Font Color – Advanced

Including selecting type object NOT a color and overprints, replacing with knockout.

View video – 17.2 megs

Changing Alignment and Registration of Type

Includes limiting to just point, area, or line type objects

View video – 11.0 megs

Why Change the Registration for Point Type?

To scale type size when it is registered to a townspot or other graphic element.

View video – 1.1 meg

Finding Scope

Limit your selection to active layer, sublayer, current view, selection, artboard/page, and document.

View video – 20 megs

Finding by Text Content

Find all type that has the “River” or “Road” or “Street” in it and then change those text range’s attributes. Options include Is, Starts, Ends, and more.

View video – 13.5 megs

Replacing by Text Contents

With exact phrase or add to the end or beginning of the matched text.

View video – 9.3 megs

Simplified Interface

This dialog is similar to what’d you see for the planned “magic wand” for type tool settings. Thanks to Tom for this suggestion!

View video – 7.6 megs

FEATURES NEW THIS VERSION (and the Last)

  1. Significant speed increase
    • Will now deal with 100s of text objects (or characters in a single text object)

    • But still slow in 1000s of text objects; change seach scope to text frame for best result
  2. Now selects ranges of text, not just text objects!
  3. “Just do it” non-dialog scripts
    • Select text with same font face and style
    • Select text with same font size
    • Select text with same font face, style, and size
    • Select like text within current selection
  4. Zoom to next and previous matching objects

  5. Can initiate “similar” text font styling based on currently selected

    • Text object

    • Selected text range within text object

    • Text insertion point within text object
  6. Non-contiguous text that matches search criteria will be selected in the same text object
  7. Character styles can now be found and replaced
  8. Find options revamped
  9. Selection (results) scope now functional
  10. Hidden and locked layers now (mostly?) functional
  11. Less use of pure math logic in GU

  12. Fill color now works.

  13. Registration and Justification now work

  14. Simple dialog interface

  15. Search in active layer, active sublayer, and current document view

STILL NOT FIXED
  • Character styles has a few bugs relating to color

  • Find by text string still hinky

CONCLUSION

Please let me know what you think, what bugs you find, and how it can be made more useful. Send to nathaniel@kelsocartography.com.

If you couldn’t find the download links above, here it is again:

http://kelsocartography.com/beta/frf/files/FindReplaceFonts_a11d.zip

Google Earth… in your browser… on your Mac! (Google)

Thursday, December 4th, 2008

[Editor’s note: Google Earth web browser plugin finally arrives for Mac, too. See related article about Google Maps for Flash AS3 now working for AIR.]

Republished from Google Geo Developers Blog.

A long time ago, at a conference not too far away, Google launched the Google Earth Browser Plugin, with the Google Earth API. At the time, we promised that we would bring it to the Mac, and now we have.

Today, we’re excited to announce the release of the Google Earth Browser Plugin for Mac OS X 10.4+ (PowerPC and Intel). The Mac plugin is supported on Safari 3.1+ and Firefox 3.0+. The download link should now be available to all users from any Earth API-powered site. We also released a game, Puzzler, in honor of the new Mac plugin. It is, of course, playable on a PC as well. And as usual, it’s open source, so you’re free to adopt the code.

In addition to the Mac release, we’ve also upgraded the Windows version of the plugin. See the release notes for more details.

A Magic Wand for Selecting Text in Adobe Illustrator

Sunday, June 15th, 2008

find and replace fonts screenshot b8

I’ll be showing off my new script / plugin (here, in beta testing) for Adobe Illustrator this Tuesday in DC at the MiniMax conference (June 17th at 8PM ET) at the Lafayette Room at the Grand Hyatt Hotel in downtown Washington. I hope to release this as a commercial plugin for designers and cartographers this summer.

What is this tool and why would you use it?

  1. A magic wand for clicking on text and selecting like-styled text
  2. A non-modal eye dropper tool for copying font attributes and pasting them onto other text objects without directly eye dropping (like Freehand’s copy and past attributes).
  3. Menu items for Select > Type > Same font, same style, same size, same font color, overprinting, etc
  4. A pro version of the Find Fonts dialog already in Illustrator that does find / replacing in locked and hidden layers.

Example uses:

  • Selection:
    • Find all other type objects with same font
    • Find all other type objects with same type size
    • Find all other type objects with same character fill color
  • Applying / creating character styles:
    • Cartographer: ArcMap text imported to Illustrator >> have plugin apply matching style or create new styles that match each of the implicate styles
    • Designer: Quickly comp out a design and select all matching text with certain font attributes with the new Text magic wand tool and make them styles. Great for deadline projects.
  • Find and Replace fonts on hidden and locked layers

I have some videos that show the tool in action here.

MiniMAX 8 is a series of 15 minute tutorials provided by some of the best experts in the web, print, broadcast and interactive design and development community in the Greater Washington DC and Capitol Region area and across North America. Expect to see sessions on ColdFusion, Flash, After Effects, AIR, Flex, Photoshop, Dreamweaver as well as other Adobe related applications mixed in for good pleasure. Attendance is free but preregistration is required.