Flex Builder 3 and Adobe Air have been released. I kind of knew about it already, we developed a sample AIR app for Adobe at my company that I hope you all enjoy. Have fun with the new AIR people!!
Archive for the ‘Flash’ Category
Flex Builder 3 and Adobe Air have been released!
Monday, February 25th, 2008Falcon for AS3 Data Class
Sunday, February 24th, 2008Well this is an ingenious little idea. Wrap all of your data access like xml, text and variables into one class. Pretty slick. Check it out for yourself.
Pure MVC 1.7 released for the AS3 Platform
Thursday, January 10th, 2008The latest version of the PureMVC framework distribution package for ActionScript 3 Platform is 1.7. The package is in ZIP format contains the AS3 source code, API documentation, and SWC library for use with the Flex, Flash or AIR platforms.The change is transparent, that is to say, it requires no code changes and will not affect the behavior of your application, except to fix a reported bug. For information on the changes in this version, see the version.text file inside the download, as well as this forum thread.In addition to the bug fix, (for which a new unit test was created), the Facade class and IFacade interface both received a removeCommand method. It simply passes through the request to the Controller. In practice removeCommand is rarely used, but for the sake of balance in it was added so that if you want to use it you don’t need to get the Controller singleton to do so.And in the Controller’s registerCommand method, there was a potential for a Command being registered to a previously registered Notification, the new Command could be executed twice. This was taken care of, so that the Observer is only created if there is no existing Command registered for the notification. The behavior is the same as before in that the newly registered Command is executed, only once as you would expect.
Google indexes Flash content
Tuesday, January 8th, 2008Google is now using Adobe’s Search Engine SDK technology. To summarize what’s going on for developers, you can run a program called swf2html and will output all of your text in the swf’s to an html doc. From there you can see what text Google is picking up. For more info check out the links here…
Google reads Flash text, so optimize it
http://blogs.cnet.com/8301-13530_1-9844989-28.html
Matt Cutts on how you can help Googlebot “see” your Flash content.
http://blogs.cnet.com/8301-13530_1-9834708-28.html
Search Engine SDK FAQ
http://www.adobe.com/licensing/developer/search/faq/
Textfield interfering with MOUSE_CLICK
Monday, January 7th, 2008Quick reminder, if you’ve been having a problem with the textfield on your custom buttons with the MOUSE_CLICK event, chances are you need to add textfieldinst.mouseEnabled = false to the textfield.
TODO/FIXME for Flex Builder 2
Friday, December 21st, 2007Finally!! I can add my TODOs!! Big props to this guy
Join the Facebook Cause to Get Flash on the iPhone
Sunday, December 9th, 2007Join the Facebook cause Flash Player for iPhone and spread the word!
Watch the presentation here.
AS3/Flex Development With Eclipse
Wednesday, October 31st, 2007I’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.
Adobe AIR Beta 2, What’s New?
Wednesday, October 3rd, 2007Adobe 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?
|
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/
Two Great Adobe AIR Samples
Monday, October 1st, 2007Alright EverythingFlex.com has released examples of a connection manager class to make sure your AIR app is connected to the internet and an update manager class that checks the internet to see if you’re application is up to date. Great examples.