Showing posts with label actionscript. Show all posts
Showing posts with label actionscript. Show all posts

Thursday, June 24, 2010

Creating more secure swf app

This is a good article on creating more secure swf app
http://www.adobe.com/devnet/flashplayer/articles/secure_swf_apps.html

If your primary focus is on making the data secure in transit, then you should read the "encrypting data" section.  That is how I found this article.  I had a need to encrypt data in transit.
http://www.adobe.com/devnet/flashplayer/articles/secure_swf_apps_12.html

Hope it helps.

Wednesday, December 30, 2009

Data binding in Flex

Data binding (usually done using {} in mxml) is one of the best features in Flex. It simplifies a lot of coding. Underneath the hood, Flex actually generates a lot of code to handle the data binding.


Note:
You can skip the rest of this article and just read Chapter 40 of the Flex Developer Guide.


The easiest way to do data binding is {} in mxml. It is so easy to use and so easy to understand that it is like magic. However, one often has questions about what can or cannot be put into the {}. Object properties (eg. object1.abc) are definitely allowed. Chains like object1.subobj.subsubobj.subsubsubobj.property are also allowed. Is functions allowed? Is array allowed? The best source is chapter 40 of the Flex Developer Guide.

To debug {} bindings, see Debugging bindings section in andybryant's blog:


Data binding can be done in many ways:
  1. {} in mxml
  2. <mx:Binding> tag in mxml
  3. BindingUtils class
  4. ChangeWatcher class
  5. good old event listener



Monday, June 8, 2009

Google Wave Actionscript API - v0.3 asDoc posted

Posted v0.3's asDoc at this location:
http://wave-as-client.googlecode.com/files/wave-as-client-doc03.zip

Google Wave Actionscript API - v0.3 released

Implemented wave.getParticipants() and wave.getParticipantById().
All methods are implemented.

Downloaded the source code and swc at http://code.google.com/p/wave-as-client/downloads/list

asDoc with Flex Builder

Martin RÃĪdlinger has a good article about how to setup asDoc right from Eclipse or Flex Builder. The instruction works great. The only thing you have to be careful is that the arguments should be "-window-tile" instead of "- window-title" (look at the screenshot that shows the argument and you'll understand what I mean).

Sunday, June 7, 2009

Google Wave Actionscript API - v0.2 out

Most of the major functionalities are working. It is tested on Wave developer sandbox. Yes, I get the sandbox access. :)

Saturday, June 6, 2009

Google Wave Actionscript API - status update

Most of the major functionalities should work. Will fix a couple more issue on Sunday.

Thursday, June 4, 2009

Google Wave Actionscript API

I have started creating an Actionscript library for Google Wave Gadget API. If everything goes as planned, one should be able to create gadgets that contain wave-enabled Flex/Flash using this library.
It is hosted at http://code.google.com/p/wave-as-client
It is not yet in any type of working version as it is not tested.