Resize managers components are a very handy tool for complex aplications that need some powerful capabilities, for example a video player is more likely to be resized and drag as if it were a window inside the page itself, today I will show you the ASB LABS resize and drag managers for flex written in AS3 and in Flex 3, the manager allows you to achive these tasks:
- Drag and drop of components (you can specify
- which component to drag, be the title of
a TileWindow or its close button) - Simultaneous vertical and horizontal Drag&Drop or just in one axis.
- Delete ot run-time using “Supr” or “Del”
- Resize for vertical or horizontal only
- ….and a bonus behaviour, if a component is dragged and is contained within a VBox or
HBox
component inside is repositioned according to the index where it was dropped(feature i will
show in further posts). - The managers are fully written using ActionScript 3.0 so you can be sure they will work in your current and further projects!!!
ASB LABS Flex 3 Decompiler :-). In addition to the previous mentioned Drag&Drop ;-) Component I include in this Flex application as a first time release the decompiler i was working on, it is capable of decompile Flex 3 Components and Layout so you may ask, is it possible to decompile AS3 Using AS3, my answer is “sort of” :-|, first add some components to the sandbox stage and when you are done press “Guardar” then the Decompiler will output the mxml code corresponding to the stage you just did. It is also capable of Recompile the mxml code, no matter if the mxml defines another component (in such case you should have that class already created within the swf file).
Check out the Flex application where you can edit components on the fly!!
CHECK OUT THE APPLICATION RIGHT HERE!!
Flex viene con managers que permiten realizar
algunas tareas que facilitan el ”feel” de las
aplicaciones Flex, sin embargo hay algunos
managers que hacen falta para completar esa
experiencia única en flex y esos son los managers
que son manejadores encargados de
algunos procesos,en esta ocación quiero mostarles algo en lo que he trabajado, esta demos-tracion implementa ResizeManager con ActionScript3 para poder modificar el tamaño de los componentes en tiempo de ejecucion, de la misma forma que para arrastrarlo y darle comportamiento drag&Drop aunque no lo tengan definido, el ResizeManager cuenta con un comportamiento extra, tiene la capacidad de reordenar elementos dentro de un VBox y un HBox asi puedes mover los elementos internos y reordenarlos.
Pero eso no es todo, el único y exclusivo Descompilador de Flex 3 también esta incluido
puedes hacer uso de el al hacer click en guardar, verás que descompila en un mxml lo que
se encuentra en el sandbox, también tiene la capacidad de descompilar componentes
predefinidos para que pueda integrarse en tus proyectos. Les dejo unas imagenes y
no olviden dejar sus comentarios.
Saludos!













22 Sep 07 18:35
[...] unknown wrote an interesting post today!.Here’s a quick excerpt… some powerful capabilities, for example a video player is more likely to be resized and drag as if it were a window inside the page itself, today I will show you the ASB LABS resize and drag managers for flex written in AS3 and [. … [...]
02 Oct 07 11:31
Great! Can you share the source code?
03 Oct 07 17:21
Hi, I hope to do it soon, i am rewriting the Decompiler from scratch due to Flex 3 Beta 2, now if you wonder why well remember when the Flash 9 went out? people using the beta were up to date and people who don’t are saying “wow can you believe F9 can do this?”….stay tuned
14 Mar 08 1:34
thanks for sharing