Archive for October, 2007

AS3/Flex Development With Eclipse

Wednesday, October 31st, 2007

I’ve always been fond of Eclipse for its incredible community. And I can’t say enough about Adobe’s move to the Eclipse platform with FlexBuilder. The Flash IDE has always been locked into this schizophrenic designer vs. developer experience. Breeding alot of interactive devigners. But I think its safe to say that we can finally split the roles back to designers and developers. Flash being the animation designers and Eclipse being the development environment. And maybe that’s what Adobe wants. Maybe Thermo will become the Interaction Designers IDE of choice and Flash will become the animators IDE. But for now, with that in mind, I’ve setup my environment in FlexBuilder/Eclipse and I just wanted to provide you all with some great tools I’ve come across over the years to facilitate a great coding experience in Flex.

So there are two forms of FlexBuilder right now, 2.0 and the beta 3.0. Both are using two seperate versions of Eclipse which is very important to how you setup your environment and what plugins and features you can use. First off is FlexBuilder 2 which comes bundled with Eclipse 3.2. To keep things kosher, it may be important for you now to just download the FlexBuilder 2 with Eclipse included because now the Eclipse environment is already in Eclipse 3.3 Europa and unsupported by Flex 2.0. Some of the plugins I’ll refer to that you can add to Eclipse are already included in Europa and you may not want to install them in Eclipse 3.2.

I’ll add the update manager links next to the websites. The update manager, for those of you not familiar, is the best way to install plugins for Eclipse. If you go to help, software updates, find new features to install. You can add a remote site, give it a name like Aptana Updates, add the link to the update manager, and it will install the latest updates for that plugin. For those links that you need to go to the website and perform a standard download, you can add a local site and point it to your local directory. I’d keep them all in a lib folder outside of Eclipse. And my best adivce is to refrain from dragging and dropping the plugins and features into Eclipse as much as possible. It will definitely break at some point and you’ll be cursing for hours. Believe me :)

So here are my plugins of choice:

Aptana : Update Manager Aptana is probably the best plugin out there for web development. Its seriously important to start here because it includes coding support for html, css, js, debugging support for js and ftp. Everything a web developer would want to start out with.

XMLBuddy : Xml buddy is one of the best freebees out their for xml support. If you’re hardcore like I am, you’ll want to jump right into Oxygen but it will cost ya. If not another tool I recommend is the XPath plugin below.

XPath Developer : Update Manager Comes with a slew of other great plugins, Multi clipboard for copy and paste craziness, QuickREx which is a great little regex tester much like Xpath dev, and tinyHTML which provides itty bitty html formatting.

JDT    Java Development Tools, if you’re downloading FlexBuilder 2 you should download this to get Ant Support.  Downloading is a bit different though, go to the Eclipse.org updates, which should already be added to FlexBuilder 2 and select the jdt option.

Subclipse : Update Manager Subversion is definitely the one and only cvs system out there and a great way to manage the repo.

FDT 3.0 : Update Manager For those of you totally interested in FDT I’m going to provide a link but 3.0 is still a little weird and buggy to me as far as AS3 is concerned. Plus the fact that it doesn’t support AS3 debugging yet is a show stopper for me.

FMS : Flash Media Server Editor, if you’re working with the Media Server this plugin is a no brainer and highly recommended.

So here’s a great list of tools that you’ll want to pickup. As far as Europa goes and Flex Beta 3, there are alot more great plugins for you to use that take advantage of the Eclipse Web Tools Project. These involve more of the scripting languages like php and ruby. But installing Aptana will give you alot of what you need. There are installation instructions on how to install other scripting language tools on the Aptana website and I’m just not going to get into them here to keep this post primarily Flash based. But when it comes to other languages there is ALOT more plugins out there.

If you have any other plugins that you like, go ahead and add a comment on the blog and I’ll post them up for others.

AS3 Amazing Isometric 3D Alternativa Game Engine Demo

Monday, October 29th, 2007

Alternativa Game is a leap forward in isometric 3d engines for flash. A gigantic leap…, would you expect this kind of quality of software out of anyone but the Russian Alternativa Game group? Check it out NOW.

The demo runs suprisingly smooth. I had to kick down the quality just a bit to get started but once I did that it was very smooth, full 360 degree turning, texturing levels, render quality, day/night, and many more features. You have to try the day and night, check the lighting coming out of the window…

More from Anton Volkov:

This is technological demoversion of an Alternativa3D Flash engine, which was made within Alternativa MMORPG development. This engine uses Flash player version 9 as a platform, and, as far as we know, works in all full-flash-supporting browsers. Alternativa3D is optimized with upcoming game features in mind, and utilizes some non-trivial solutions to show game graphics quickly.

Main features:

  • Three-dimensional geometry and 3D-sprites. Buildings and landscape are made in a fair 3D, objects with complex geometry — using sprites, including multi-phase ones.
  • Lighting system, including ambient, directional and omni lights. Changing daytime, diffuse and sunlight, automatical “in-corners” shading, dynamic shadows, including sprite shadows.
  • Texture and light quality settings (it is really important without 3D hardware acceleration in Flash).
  • Low processor load (excluding moments of lighting change and camera rotation, which happen not too often and is not critical for the game).

This is on par with Paul Spitzer’s amazing FPS flash engine.

You can follow this amazing development over at the Alternativa Game blog. I suspect quite a bit of interest now that they have thrown it down. Apparently when Anton and the guys of Alternativa throws down, they bring it!

This is only possible in AS3, this would be nothing more than a prototype test in AS2 but in AS3 it is fast enough and much much more capable of building stuff like this.

Tags: , , , , , , , , , , , , , , , ,

Absolutely Incredible!!!

Sunday, October 28th, 2007

OK, this is just awesome!!! I’ve completely ditched all of my browsers for Flock after reading this article. I’m just absolutely astonished that I’m sitting here grabbing urls and images and posting them up to my blog all through the web browser.  The Facebook and Twitter implementations in the 1.0 Beta are awesome.  But definitely download 1.0, totally cool.

Blogged with Flock

Upload your picture and creates 3D singing avatar.

Monday, October 22nd, 2007

Nice trick

Incredible Video on New Technologies in China

Wednesday, October 17th, 2007

More Chinese Toys Recalled

Friday, October 5th, 2007

D22C11C4-7E51-4B47-A3EC-9574C70D5B0A.jpg

Quake II Port to AS3… Yes Quake

Friday, October 5th, 2007

The second video down, but they’re all pretty good vids.

Shut the Front Door!!! Microsoft is Letting Us View Source???

Friday, October 5th, 2007

Every once in a while Microsoft comes out with something just crazy. Something that completely blows you away and reminds you that they’re not ACTUALLY working for Lucifer. Well anyway they made an announcement that they’re going to be making the source code available for a significant portion of the BCL, ASP.NET, ADO.NET, WinForms and WPF from day one. Eventually WCF, WWF and LINQ will be available too.

New Adobe UX Site

Wednesday, October 3rd, 2007

Adobe has just launched the Inspire Experience Design site to showcase the work of “90 experience-focused professionals” with “expertise in interaction, visual and motion design, user research, information architecture, engineering” and “backgrounds in architecture, education, mathematics, writing, and game design”, who are all “unified around the idea of creating great digital experiences”.

“We are obsessively focused on the quality of digital experiences for a reason: most digital experiences suck. Experience design doesn’t mean making something pretty. It means empowering a user, easing their burden or leveraging their skills. It means connecting people to the things they need, when they need them.

Experience design is born of the recognition that interaction is a process and not a static thing. Experience matters because what’s really important is how it makes you feel, think and respond. The world that we are creating digitally is complex and dynamic. The quality of the experiences that are enabled will determine how we all feel about living in that (this!) world.”

Adobe AIR Beta 2, What’s New?

Wednesday, October 3rd, 2007

Adobe has released AIR Beta 2. This release tackles a number of issues and dramatically improves desktop integration. What’s new:

  • System Tray icon/Dock Bar Bounce
  • Synchronous database API
  • Native menus
  • Drag and drop enhancements including bitmap support
  • Windowing improvements such as Z-order control and enhanced Activation and focus support
  • Improved Install dialog look and feel
  • Application-initiated runtime updates
  • HTML security model improvements
  • Mouse support for double-click and scroll-wheel
  • Per-machine runtime installs
  • Performance and memory enhancements
  • XSLT support
  • Support for Windows 2000
  • Hundreds of bug fixes

Full details of these changes can be found in the Developer FAQ.

Security Updates

Adobe spent a lot of time revamping the security model for AIR specifically breaking out security into two sandboxes to allow developers to better manage their security needs:

Capability

AIR Application Sandbox

AIR Classic sandbox

Default access to AIR API’s?

Yes

No

Access to functions written in Application Sandbox that use AIR APIs via SandboxBridge?

N/A

Yes

Can load remote script? For example, <script src=“remote_url”></script>

No

Yes

Can execute cross-domain requests (XHR)?

Yes

Yes

Support for getting strings to code after load event?

  • eval() function
  • setTimeout(“string”, milis)
  • setInterval(“string”, milis)
  • "javascript: " urls
  • attribute handlers on elements such as onclick=“myClick()" that are inserted via innnerHTML
  • creation of script tags and setting textContent

No

Yes

Ajax frameworks will work without any changes?

No

Yes

The AIR HTML Security FAQ goes into great detail about the rationale behind the changes and how they might effect AIR application development.

Important Links

Adobe AIR
http://labs.adobe.com/technologies/air/

Develop with Adobe AIR with HTML and JavaScript
http://labs.adobe.com/technologies/air/develop_ajax.html

Migration instructions (moving from Beta 1 to Beta 2)
http://labs.adobe.com/wiki/index.php/AIR:Migration

AIR SDK for Building Applications:
http://www.adobe.com/go/getairsdk

Sample Applications:
http://www.adobe.com/go/air_samples

AIR Dreamweaver CS3 extension
http://labs.adobe.com/wiki/index.php/AIR:Dreamweaver_CS3_Extension

Aptana plugin (beta 2 compatible)
http://www.aptana.com/air/