« AS3 -- on the lack of private and protected constructors | Main | Openings on the Adobe Flex team »

April 10, 2006

New Flex component - Sliding Drawer v 0.5

I created a panel that slides into view when you mouse near the edge of the screen as part of a personal project. I'm distributing the sliding drawer under creative commons so that other people can use it.

To use the drawer component, just add the tag to your view:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:ui="sho.ui.*">
	
    <ui:Drawer title="Left" dockSide="left">
        < !-- drawer contents go here -- >
    </ui:Drawer>

</mx:Application>

This results in a drawer that pulls out from the left edge of the screen like so:

DrawerDemo.png

NOTE: Requires Flash Player 8.5 beta 2.

[Demo - sliding Drawers]
[Source code]

Known issues:

Posted by sho at April 10, 2006 10:36 AM