riaxe snippets
Posts tagged as3
Top 10 Transform Tools/Transform Managers built in AS3 for Flex and Flash
Jan 24th
AS3 Transform tool [Flex 4 Support] with text scaling and dynamic menu
Jan 22nd
New AS3 – Flex 4 Transform tool with text scaling
Features Listed:
Flex 3 and Flash Builder 4 support. Works on both mx and spark components
Attachable Menus where functionality can be added programmatically
Tranforms almost all the components – Video, Image, Buttons etc without creating bitmap
Advanced tranform features like – Scale, Rotate, Horizontal and Vertical Flip
Automatic calculation of boundary while live transforming
Scaling of target using width and height ratio
Ability to add dynamic controls onto the transform tool
Fully customizable design of the transform tool
100% customizable code and graphic assets
Well documented actionscript methods and properties
Live Example can be found here
Pagination in Flex
Jun 9th
Recently while working on a flex project, had an issue while paginating a list of data. Could find many solutions for paginating of Datagrid and lists on the web but I needed little different. So created an application to paginate a large amount of data. This isn’t using any Datagrid or List but a simple VBox. I added some effects as well to it. I used a canvas having a list of images and at the bottom the paginator is placed with the “First”(<<), ”Previous”(<), “Next”(>) and “Last”(>>) buttons for navigation. One can click on the page number to navigate to any specified page.
We need 4 properties to set on application loading complete.
1. Set selectedIndex = 0 ; // As we need to show the first page on load complete.
2. Set visiblePages = the number of pages we want to show every time. Here the visiblePages = 3.
3. Set totalItems = the total number of items
4. Set itemsPerpage = the number of items to be shown in a page.
Screenshot given below.

You can click here to see the example.
I think this sample could be useful for all. Do post back for any issues or suggestions.
Thanks.









