So I'm playing around with Adobe Air and Aptana, and I want to make a hexagonal interface element [actually several, tiled]. I really, really, really want it to be hexagonal. Sadly, Air does not support SVG, I don't know how to do Flex or Flash (and it looks like it would require redesigning everything else in the app), and reimplementing SVG on a canvas with an image map is not an appealing prospect. So. Is there some way to make a hexagonal div? If not, what's the best way to do this?
Announcement
Collapse
No announcement yet.
please help me figure out how to do this
Collapse
X
-
Illustrator should directly export to .fxg, which you should be able to bring into Air. You may still need to script in Flash/Flex on the way through though, I don't know. Maybe Fireworks would have a simple button-builder? In any case, I suspect you'll have to do the scripting outside of Air."In the beginning was the Word. Then came the ******* word processor." -Dan Simmons, Hyperion
-
Air is the platform, not the development environment - I'm using Aptana. The problem is that I want to dynamically generate the hexes, dynamically alter color/border/etc, and have the elements be clickable without writing bounds checking. I've found a really awful CSS hack to make this work, but that means I still have to write bounds checking in my onClick()
[Obviously, this is for a game.]Last edited by Kuciwalker; August 9, 2010, 17:17.
Comment
-
Originally posted by Kuciwalker View PostAir is the platform, not the development environment - I'm using Aptana. The problem is that I want to dynamically generate the hexes dynamically, dynamically alter color/border/etc, and have the elements be clickable without writing bounds checking. I've found a really awful CSS hack to make this work, but that means I still have to write bounds checking in my onClick()
[Obviously, this is for a game.]"In the beginning was the Word. Then came the ******* word processor." -Dan Simmons, Hyperion
Comment
-
Originally posted by Provost Harrison View PostHow is that rock and roll lifestyle working out for you Kuci?"Flutie was better than Kelly, Elway, Esiason and Cunningham." - Ben Kenobi
"I have nothing against Wilson, but he's nowhere near the same calibre of QB as Flutie. Flutie threw for 5k+ yards in the CFL." -Ben Kenobi
Comment
-
Originally posted by Kuciwalker View PostHC: I'm making them like this: http://tantek.com/CSS/Examples/polygons.htmlIf there is no sound in space, how come you can hear the lasers?
){ :|:& };:
Comment
Comment