Rive.be | Blog

Flash Platform Development. Mobile, Web & Desktop Applications.

Upload any file from Flex with AMFPHP

January 22nd, 2010 Filed under: AS3, Flex

This is so easy. I made a succesful AMFPHP multi file upload wich I’m using in my new release of the Rive.be CMS (clear your browser cache), by using this as a base. You can read all about it at Gertons’s blog (single file upload) and the Flex{er} blog (his multi file example didn’t work). So in the end if you throw these 2 examples together (merge them somehow) you should end up with a working solution.

Basically you have enough with these 2 snippets to upload any file you wish to a AMFPHP backend. More …

1 Comment »

Flash Platform Ditribution Service Demo

January 7th, 2010 Filed under: AS3, Flash, Flex

After I implemented the Flash Platform Ditribution Service into my Flex 4 web application at the Rive.be CMS Share Page. I decided to try it on to a pure Actionscript 3 project. Visit http://www.rive.be and click the Share button in the bottom right side of your screen.

Everything works out just great (try it out):

Comments Off

Switch from PureMvc to Mate for Flex development (ToDoList 2010)

November 19th, 2009 Filed under: AS3, Flex, Tips&Tricks

110208_1806_mateflexfr1There is just so much setting up to do with PureMVC, and enough is enough. Every time again, and again…The constants, the viewComponent wrapper, listNotificationInterests, handleNotification, there’s tons of stuff to do when setting up a Mediator.

More …

2 Comments »

First experience upgrading web application to Flex 4 SDK

November 15th, 2009 Filed under: Flex

flash-builder-logo-300x299The Rive.be CMS Flex web application has received an upgrade. Using the new Flash Builder software, I’ve now build it upon the new Flex 4 SDK. Wherever possible, the Halo (mx namespace) components have changed to Spark (s namespace) components.

The biggest improvements for me in adapting to this new Flex SDK? State handling, transition effects, preloading rsl’s, declarations, TextLayout Framework, Itemrenders, etc. This page helped me a lot: Differences between Flex 3 and Flex 4 beta (updated for beta 2)

More …

5 Comments »

Flash Platform Distribution Service

November 6th, 2009 Filed under: AS3, Flash, Flex

dsitrib3 great new Adobe technologies you should try out. They’re listed on http://www.adobe.com/flashplatform/services/

I’ve played arround with all 3 of them in the passed 2 days. One of which I’ve implemented yesterday. The Flash Platform Distribution Service.

If you go to http://www.rive.be/cms/#/Share you’ll see it working. Thanks to the Adobe Distribution Manager I’m tracking every sharing activity as we speak.

What I didn’t like about it, is the slowness of initializing the Gigya widget. It really should be improved. The whole Flex application hangs for a couple of seconds.

Also the Adobe Distribution Manager feels a bit like alpha versioned software. I can’t specify my application width’s and height’s in percentages. I can’t save all my settings, can’t delete unused applications, and several other usability issues.

All 3 of these services are worth checking out, there’s a bunch of settings to play/tweak arround with.

  1. http://www.adobe.com/flashplatform/services/distribution/
  2. http://www.adobe.com/flashplatform/services/collaboration/
  3. http://labs.adobe.com/technologies/social/

1 Comment »

Flash TextField wrapper class for XHTML subscript and superscript tags

August 3rd, 2009 Filed under: AS3, Flash, Flex, Tips&Tricks

einstein1_wideweb__470x314,0I know, I’m too late, as we all have seen the new TextLayout framework by now. But maybe the “dummy level” of this class will come in handy for other some small projects.

See an example of the SubSuperTextField wrapper class or download the Flex Archive

This class scans your text for the valid xhtml <sub> or sup> tags, and will replace that part by a special embedded font for superscript and subscript. Just use it as you would use any other TextField object.

You’ll only have to pass a style Object in the constructor containing a reference of the embedded font of your choice.

Tip: Checkout the “Fixing jumpy htmltext links” TextField wrapper class of Tomek too…

Comments Off

Custom AMFPHP Services for GeSHi & Google Analytics API

May 14th, 2009 Filed under: AS3, Flex

piechart

I made some new custom AMFPHP Service classes for the GeSHi – Generic Syntax Highlighter & Google Analytics API.

Which is very nice, because now I can do superclean datahandling in my Flex Backend application. You can already have a look at the first result in an animated PieChart component on the dashboard page. It’s showing More …

4 Comments »

New Facebook API for Actionscript

March 31st, 2009 Filed under: AS3, Flash, Flex, Tips&Tricks

facebook-logo-289-75There were already some earlier existing solutions & examples on the web. Only some days ago I had to do an estimation for a customer who wanted a facebook “send to a friend” etc. We came to the conclusion that it was very buggy, and not able to use for customers.

With this new API it should be a piece of cake and always stay nicely up to date with the fast evolving Facebook platform. Check it out, because it’s one which the customers will demand a lot in their future projects I’m affraid ;)

BTW: The new Tour de Flex is also out now.

Comments Off

Advanced Debugging PureMVC Console

March 21st, 2009 Filed under: AS3, Flash, Flex, Tips&Tricks

kaplabThanks to a good friend of mine Wim Van Buynder, I got to hear about this great tool. This you really should have to check out whenever you have freetime on your hands! It’ll save you a lot of time…

PureMVC Console of Kap Lab

It provides deep insights on what happens at the framework level: Notifications, Commands, Mediators and Proxies.
PureMVC is a highly recognized MVC framework, that has also many portages in various languages, and that’s now quite widely in Flex applications, though not as much as Cairngorm.

Really check it out

3 Comments »

Compile Flex project in existing Firefox tab

March 6th, 2009 Filed under: Flex, Tips&Tricks

new-firefox-logoWhen developping from Flex Builder you’ll have had this following situation propably more then once. No, not the situation in the photo, that’s just the new official Firefox logo…

Try to focus now…in Firefox you can have +100 tabs open with the same compiled Flex or AS3 project running. Taking up memory.

You can refresh the tab every time when you change the code, but then you loose your debugging mode. So, what should we do? Do what the cat would do…make your life more comfortable!

  1. Open Firefox and type about:config in to the address bar.
  2. Click the “I’ll Be Careful I Promise” button.
  3. Use the filter bar and type in browser.link
  4. Set browser.link.open_external to 1

Now every time you compile your project in Firefox, you’ll use the same existing active tab in Firefox. Saved me already a lot of time. Thanks to this article!

2 Comments »

About the author

Rien Verbrugghe is a Senior Flash Platform Developer/Consultant at Nascom.

Daily development with Adobe® Flash, Flex & AIR technologies, non-stop gathering of knowledge about mobile, web & desktop applications.

Contact me or Download my CV

View Rien Verbrugghe's profile on LinkedIn            Subscribe to my blog feed

Search