Archive

Archive for October, 2010

Flex Improved Image Component- Advanced resizing, aligning, and fitting functionality

October 8th, 2010

We prepared an small demo using three basic and easy concepts of our framework: ImageEx, CommitHandler and ImageCacheManager.

This is a version modified for easy and fast implementation and further usage in your own projects.

Description for demo:

ImageEx

ImageEx contains resize functionality for the BitmapData received from ImageCache class like:

  • basic resize – without keeping the aspect ratio (scale = true)
  • scale and keep the aspect ratio of the image – scale the content as long as it’s possible without losing image information  (scale = true,  maintainAspect=true)
  • scale and fit the image – scale the content as long as it’s possible in such a way that the whole drawing area to be filled by losing image information (cropping) (scale=true, fit=true)

and also alignment in the case which there is some available space around the image: vertical top, middle and bottom;  horizontal left, center and right

CommitHandler

A small simple concept for optimizing the drawing in this case of an image, by listening to a Timer event which will be surely executed much later after a series of 5 or 10 properties called one after another, thanks to the false ActionScript3 asynchronous Timer functionality. See the ImageEx for better understanding in commit() method and follow using trace console in debug mode for “drawings” values when click the Reset properties button.

ImageCacheManager (ImageCache)

Class that enables static caching of  loaded image in you application, an useful feature that must be seen in a DataGrid render for example when scrolling many images rows.

Please be careful because some extra functionality that was strongly tied to our framework was stripped, so please feel free to customize this code for your own implementation.

Use the example below to test this functionality:

Click here to view example in a new window

We hope that this will be useful for you.

Author: zmoky Categories: General Tags:

Example on how to create a business cards PDF document using ARX Reports

October 7th, 2010

This is our first example on how to use ARX Report Designer and ARX Renderer to create a simple business card pdf. You can follow our blog for more example that will come soon (here or on the product website )

Author: admin Categories: AIR, Actionscript, Flash, Flex Tags:

Advanced Report Creation Suite

October 2nd, 2010

We just launched a new product website www.arx-reports.com; soon we will start a beta-test program.

ARX (Advanced Report Creation Suite) is our answer to the AS3/Flex based applications for report creation necessity - we encountered over the time. We created a friendly Report Designer and Report Rendering library, used for fast designing and generation of reports, under this development platform.

Author: cipri Categories: AIR, Flash, Flex Tags: