Monthly Archives: May 2009

Adobe Acrobat.com Presentations

Personally I like working everything I can on the Internet. One of my favorites applications is Buzzword and my favorite Service is Google Apps.
Well, today Adobe announced another of its services, this time called, “Presentations” and will be hosted on Acrobat.com. But, in the meanwhile, it is hosted on Acrobat.com labs.
Acrobat.com Presentations lets us create presentations that can be shared across the web, can be edited by multiple users at the same time and, obviously, can be viewed anywhere in the world because it lives in the Internet and because you only requires Flash Player 10.
All you need to test this new service is an Adobe account. With your account, go to https://acrobat.com/ and Sign in, then go to the address bar and enter https://labs1.acrobat.com/ this is the labs site of Acrobat.com. Ready!!! you can start playing with this amazing service.
There you’ll find a sample presentation that will show you how to use this service. I think, I will create a presentation for a new course.
The Official can be found here http://eon.businesswire.com/portal/site/eon/permalink/?ndmViewId=news_view&newsId=20090526005256&newsLang=en and you can find more information about this service in Adobe Labs.
Well, enjoy it!!!

The new office wall

After some days of thinking about how to use the biggest wall we have in our office (Activ), we decided to place our certificates and a poster and I think it looks really cool.Here you have some images.

Creating a new Twitter client for mobile devices

Yesterday I decided to create a Twitter client for mobile devices. This new client will be created in Flash and you will be able to use it if you have Flash Lite 3 installed on your device. Flash Lite 3 can be installed in many many devices and actually there are some of them that have Flash Lite 3 preinstalled.
Right now I’m in the planning stage and, with this post, I’m asking for feedback and some functionality that you’d like to see in this new client.
Some people already told me what they would like to see.I’ll list what I have today.

  • Based on Twhirl
  • Retweets
  • Direct Messages
  • Favorites
  • Identify conversations
  • Short URL
  • Support for images
  • Avatars
  • Lookup and search
  • Friends and Followers
  • Hints while typing twitter IDs
  • If you have any other functionality that you want to add to the client, please comment in this post.
    Kind Regards.

    Filter an ArrayCollection and don't lose the original data

    Yesterday, one of my students asked me about recovering the original data of an ArrayCollection if this ArrayCollection has a filter applied.In Adobe Flex, the ArrayCollection class has a property called filterFunction. We can assign a function reference directly to this property and then apply a refresh() to the ArrayCollection instance.This is an example.

    // Defining the ArrayCollection instanceprivate var ac:ArrayCollection = new ArrayCollection([{label:"Adobe Flex", data:"Fx"},{label:"Adobe Flash", data:"Fl"},{label:"Adobe After Effects", data:"Ae"},{label:"Adobe Flash Player", data:"fp"}]);//Defining the filter functionprivate function flashFilter(obj:Object):Boolean{return obj.label.toLowerCase().indexOf("flash") != -1;}//Applying the filterac.filterFunction = flashFilter;ac.refresh();

    Once the filter is applied, the ArrayCollection hides all the objects that don’t pass the validation in the function and shows the objects that do.
    An ArrayCollection stores internally an instance of the Array class. You can see that in the previous example where I place an array inside the constructor of the ArrayCollection.
    An ArrayCollection acts as a “wrapper” for the array instance enabling functionality that belongs to collections and lists. This functionality can be, filtering, sorting, add/remove/modify data and more.
    After you filter an ArrayCollection instance the “wrapper” only shows the unhidden objects and it seems like it only has 2 elements (in my example), I mean if you test the “length” property after the filter you will see that it shows the value 2. But we know the truth, the ArrayCollection actually has 4 elements. If you want to get back this 4 elements without clearing the filter you have to deep into the ArrayCollection and find the source. This source, as I said previously, is an Array.
    You will find the source using, in fact, the “source” property of the ArrayCollection. The array that will give you this property is the complete set of data that the ArrayCollection is storing without any filter. Just don’t forget that “source” is giving you an instance of an Array and not an instance of an ArrayCollection.

    //continuing the previous example...//Applying the filterac.filterFunction = flashFilter;ac.refresh();//Test the length property of the ArrayCollectiontrace(ac.length); // 2//Test the source property of the ArrayCollectiontrace(ac.source) // [object Object],[object Object],[object Object],[object Object]//Test the length property of the source propertytrace(ac.source.length) // 4