Active FLEX Posts

Hello again,

 

This time I want to talk about localization (a.k.a. i18n).

As Flex developers, as I assume you already know, all you have to do is create a *.properties file (say Messages.properties) and in it define keys with localized values, like:

columnHeaderName=Name

 

Then, in the main application mxml, you would define the resource bundles:

	<mx:Metadata>
		[ResourceBundle("Messages")]
	</mx:Metadata>

 

And basically you're done. All you need to do to use it, is use the ResourceManager class to access the localized value of the key.

Simple stuff, right?

 

Not so with GWT...

sefi 29/01/2012 - 18:51

Recently, I had to create a custom component that does live filtering on data presented in a grid.

 

If you are reading this series, you probably know how this can be done in Flex. If you don't, a quick google search will probably point you in the right direction. Enough to say that in envolves a custom component to get the search criteria and a filter function on the grid's dataProvider ArrayCollection.

 

I was surprised this is relatively straight forward in GWT (using uiBinder and GXT 3.0)

sefi 15/01/2012 - 21:51

Hi everyone,

 

I have a very strange an annoying problem:

I have an appliaction written in Flex 3, with BlazeDS 3.2 and Java in the backend.

I'm actually using a portal (liferay) to display portlets that contain Flex movies.

When I hit a refresh button on my page, all the Flex movies send a RemoteObject request to the server (using BlazeDS), which should go to java classes and invoke a method (standard BlazeDS usage I 'm guessing).

 

I'm experiencing VERY slow response (14 minutes) on the first hit, while the following hits are much faster.

I've enabled the BlazeDS logging (logging level="All") and I also have debug prints coming from my java classes.

I also use the "showBusyCursor" attribute for the RemoteObject - so I can see indication of the request being sent from the flex movie.

 

Here is what I see:

chibban 06/05/2010 - 00:41

There are few ways to download files in Flex, each one is good for specific case.

 

  In this post I want to share just one of those cases when we have specific constraints like download of files bundle by one download session. When it can be helpful? Encryption can be a case. Encryption is pretty expensive processing feature, especially if you are going to download a lot of files in one loading session.

 

vladislavm 19/12/2010 - 17:52

EventController

Event Management made easy. An Actionscript 3 Library.

 

What is Event Controller?

 

 

Essentially Event Controller is an easier way to keep track of events in actionscript 3. Event Controller is a simple extension to your normal workflow that allows you to easily tag, group and remove any and all events. Its designed to stay out of your way and follow nearly the same structure as you are already using for creating and removing events with AS3. Only now with a little extra horsepower under the hood.

 

http://fla.as/ec/index.html

sefi 14/05/2010 - 12:22

Tikal's Community Android application, developed over Flex during Fuseday #3, is up on the Android Market.

All you out there with Android 2.2 and up, can install it directly from the market, just search for Tikal!

 

 

sefi 28/02/2011 - 07:15

 The goal of this tutorial is to modify the spring roo vote sample application (found in Roo's sample scripts directory), so the sample will now use Flex as it's interface. This tutorial was written during a Tikal Fuseday workshop on Spring Roo Flex Addon, by Haim Raman, Shay Gabay and Lior Boord.
 

Introduction

In recent years, conventional Java and other traditional software development methods are challenged by new development platforms. Ruby, Grails, Django and other platforms introduce a faster and simpler approach for Software development. The current Global recession only made these new methods more popular, in today's enterprise world, companies are looking for ways to cut development costs and are questing traditional methodologies.

 

About Spring Roo

liorb 24/02/2011 - 15:20

A quick way to test flash builder 4 's profiler without import your existing flex 3 projects:

 

1. Download & Install the flash builder beta

2. Create a sample empty project

3. Go to the profiler perspective

4. Go to the upper menu and choose: Profile External Application

5. Choose "New" and write or browse a path to your HTML wrapper

6. Test the new & better profiler

 

 

Hope this is helpful (I've added a presnetation with screen shots)

Shai

shair 28/12/2009 - 00:22

Hey guys,

 

Few notes I took from the Yakov Fain lecture that took place last week:

 

When loading modules: you don’t have to load RSL in the main app, only link it as such to the module itself

 

Merge into Code – Yakov reminded us that in this linkage option, only classes I used will be compiled into the swf

 

Fonts slow the compilation – so always compile your css which embed the fonts as a separate SWF file, and load it dynamically.

 

Preloader as a flash content  – In his book “Enterprise flex application” he gives and example of using a flash preloader swf who looks like the initial login page in your application, and on the background he loads the rsls while the user verify his details.

 

shair 07/02/2011 - 15:38
I have a situation, where I have 2 internal properties, with the relevant setter/getter functions (say _a + aChanged, _b and bChanged).
Each setter calls invalidateProperties if the value has changed.
 
sefi 20/09/2010 - 07:22