[Editor’s note: Kudos to Kat Downs for wiring up this interactive, zoomable map of the United States showing unemployment rate by county. There’s a slider to see data back in time. I did the base map using my map generalization skills honed on Natural Earth. Using data that is appropriately generalized for the display scale cuts down on file size and reduces lag before data display.]
Posts Tagged ‘Flash’
[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.
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.
[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 firstname.lastname@example.org 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.
[Editor's note: This was demo'd at NACIS earlier this month. Raster thematic map tiles delivered via Flash API that are still interactive. ESRI's solution to Google mashups.]
Republished from Free Geography Tools.
As a demo of the ArcGIS API for Flex, ESRI has a new page that lets you create an embeddable/shareable map of demographic data by US county. Only seven datasets available now:
- Median Household Income
- Population Change 2000-2009
- Population Density (per sq. mile)
- Median Home Value
- Unemployment Rate
- Average Household Size
- Median Age
Map creation is trivially easy – select the demographic dataset from a dropdown, zoom the map to the desired extents, set a map size in pixels, and you’re done; links to a map with your parameters, and code for an embeddable map, are generated automatically. Here’s an embedded map, scrollable and zoomable; unemployment rate is the default dataset, but you can choose other sets with the dropdown menu at upper right:
More datasets would be nice, as would control over colors and ranges …
[Editor's note: I've known about the FXG format for exchanging content between Illustrator and Flash via Flash Catalyst for a while now but have never been excited about it until seeing this video from Adobe's MAX Sneaks session last week. It previews how FXG might one day (CS5?) allow live data binding (read automatically updating charting, etc) based on a design mocked up in Illustrator but deployed via Dreamweaver as HTML 5 (and iPhone compatible) or Flash via SWF.]
So take a look at this video that someone captured from this year’s Adobe MAX Sneaks session — a demo of technology showing integration between Illustrator and Dreamweaver. If it isn’t clear in the video clip below what is happening, I’ll spell it out for you: He starts by taking art drawn in Illustrator and copies it to the clipboard. Then he goes into Dreamweaver, selects a DIV and chooses a function called Smart Paste. Dreamweaver then pastes an FXG conversion of the Illustrator art directly into the page. If you aren’t familiar with FXG, it’s basically a better SVG (you can get more information on the open source FXG spec here). In other words, you draw in Illustrator, copy and paste into Dreamweaver (which converts it to code), and the art displays as vector art in a web browser. What’s more, the engineer proceed to actually bind XML data to the chart.
As I mentioned, I think this is probably something that is way way off in the future, but it’s still quite incredible. Maybe there’s some hope for us all, after all
[Editor's note: This handy JSX based script for Illustrator and InDesign from Ajar Productions will transfer spot and process color swatches of all varieties (RGB, CMYK, LAB, HSB) to RGB in Flash using Adobe's built-in color conversion routines to preserve color fidelity. Requires CS3 or CS4 (works best with CS4).]
Republished from Ajar Productions. Dec. 5, 2009
Following the merge text extensions for Flash, Illustrator, and InDesign, Keith Gilbert wrote me wondering about getting swatch information from InDesign to Flash via XFL or by way of importing an Adobe Swatch Exchange (ASE) file into the Flash swatches panel. There are several stumbling blocks in the way of such an extension. First, finding a way for extendscript or JSFL to read the contents of an ASE file (which is not open source and not plaintext) proves to be quite difficult. Second, JSFL (the Flash scripting language) doesn’t have any access (currently) to the swatches panel.
BREAKING NEWS (12/6/08): I noticed that the new Kuler extension for Flash CS4 has an “add to swatches” button, and it actually adds swatches to the swatches panel. After some decompiling and a lot of detective work, I found an undocumented JSFL call that was added to CS4. The feature is undocumented for a reason: it sends encoded XML data, and if the data is faulty, it crashes Flash. I have a few test cases working and I’m confident that I can add it to this extension, so the swatches will go right in the Flash swatches panel, rather than onto the stage, though it will only work in CS4. Be on the lookout for an update in the next few days.
UPDATE (12/7/08): Updated to version 1.1.0. If you have Flash CS4, the swatches will now go right into your Flash Swatches panel. Hooray!
There does seem to be a lot usefulness to such an extension, since XFL creates a new workflow between InDesign and Flash, and the Illustrator importer for Flash is fantastic, but neither one loads any of the swatches from the original document. I’ve certainly spent my fair share of time opening up the swatch properties, making sure the swatch is RGB or hex and copying all three fields one at a time.
So, I decided to plow ahead and see what I could come up with. The results are below. This extension takes the swatches from your current InDesign or Illustrator document and sends them to a new layer on the Flash stage. You can then use the eyedropper to pick up the colors, or you can add them to your swatches panel individually (similar to this demo of the Kuler panel).
UPDATE (12/7/08): If you have Flash CS4, you can skip the step above. Version 1.1.0 of this extension will send the Illustrator or InDesign swatches right to your swatches panel in Flash.
This extension will transfer spot and process colors of all varieties (RGB, CMYK, LAB, HSB). Rather than converting the CMYK with my own function, I used the applications themselves to convert the colors to RGB for Flash, so the transfer fidelity is quite good. It will ignore gradients, tints, patterns and fancy stuff like that. If you want to get your gradients into Flash see the bonus tip below.
[Editor’s note: This seems kinda odd given the poor image resolution, but I’m sure there’s a use for it and someone will figure out how to sample higher res tiles. Thanks Laris!]
2-D maps are great, but sometimes it’s cool to gaze into the distance. Today we’re happy to announce support for perspective in the Maps API for Flash. We’ve taken the regular API, added pitch and yaw, borrowed the look-around control from Google Earth, and thrown in some nifty camera trajectory support. The opportunity to see the world from a chosen point of view is now in the hands of a user!
Here’s a perspective map in action. Sit back and watch or dive in and drag the view. Try holding down the zoom plus (+) or minus (-) buttons to see the new smooth continuous zoom.
Play with demos and the possibilities emerge. Shadows stretch out as the land tilts back. Foreground detail blends with background context. Movement through the world becomes first-person in nature and distant features can rapidly be dragged to the fore. On a regular map a cluster of markers might only confuse. Spin a perspective map and their pattern becomes clear as nearer markers pass in front of their more remote partners.
A key strength of Flash is its ubiquitous nature and we’ve taken care to develop an API that preserves this advantage. While supporting the latest, greatest Flash players, the API requires only Flash 9. Build a single target and API runtime code matches implementation library to player version. Flash 10 users gain the benefits of the native 3-D graphics support–rendering speed and accuracy–but Flash 9 users won’t be left out.
So how do you create a 3-D map? If you’ve not used the Maps API for Flash before here we’ve got lots of documentation to help you get up and running. For those who’ve used the API and have an existing map to hand, three quick changes should suffice:
- Replace Map with Map3D
- Turn on perspective:
Map3D.viewMode = View.VIEWMODE_PERSPECTIVE;
- Replace the old position and zoom controls with the new navigation control:
As always, for those of us working on APIs, the most rewarding aspect is of seeing what developers do with it. Here’s what some of our trusted testers have done to date:
|UK Weather Tour||ArcGIS Services||PaperVision3D Scene|
|Ian Watkins||Nianwei Liu||Satoshi Ueyama|
|Eiffel Tower KMZ||3D Driving Simulator||Weather Radar GroundOverlay|
|Masashi K||Katsuomi.K||Andrew Trice|
Republished from Google Geo Developer Blog.
Monday, July 27, 200.
My name is XIAO Juguang – just call me Juguang. I am a freelance software developer based in Beijing, China. Technically speaking, I’m double sided. On one side, I specialize in knowledge management and business modeling, traditionally using LAMP and now experimenting with offerings like Google App Engine. On the other side, I love visualization in time and space, with charts, trees, graphs, and maps, always using the power of ActionScript/Flex, with the help of open-source projects like Degrafa, Axiis, and Birdeye, and of course, APIs like the Google Maps API for Flash.
To see how the AS3 MarkerClusterer works, try out the demo (shown above). As you zoom and pan the map, you can witness how the markers are clustered and re-clustered. To learn how to use MarkerClusterer on your own map, view the source code of the demo. To use the library, check out the source code and import it into your project.
The current algorithm is quite simple, just clustering markers in a grid and using static images for the cluster markers. Future extensions could include support for regional clustering or using arbitrary DisplayObjects for the cluster markers. If you’re interested in extending the library, join the project.
[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.
The Text Layout Framework is now an open source project.