Archive | March, 2008

AutoSuggest Flex

Thu, Mar 27, 2008

Comments

The AutoSuggest Component behaves similar to the Firefox Search Component. It takes a dataProvider of type ICollectionView and when the user types it displays the closest match to that. If _usingAutoCompleteSuggest is true then it behaves by completing  the closest matching word sort of like the OpenOffice auto completion for a word. This Component will probably be written sometime again with better code and be more flexible. There are lots of comments in the code and of course view source is enabled.

AutoSuggest

Continue reading...

TextInputCue

Wed, Mar 26, 2008

Comments

The TextInputCue component displays a prompt in italics in the TextInput control to guide the user on what to type in. It is similar to the Windows Vista Prompt Log in page where it tells you to type the password in the TextField.

TextInputCue

Source Code is enabled with lots of comments.

Continue reading...

DragCanvas

Tue, Mar 25, 2008

Comments

This is the DragCanvas that is in the FlexLib, I rewrote it with comments to help others, it is structured the way I have written it so there aren’t any functions or variables floating all over the place. I wrote this a while ago, all new code. here is the link. Source Code is enabled

http://www.sherifabdou.com/FlexAIRExamples/DragCanvas/WordPress.swf

FlexLib

http://code.google.com/p/flexlib/

Continue reading...

AutoSave Form

Tue, Mar 25, 2008

Comments

The AutoSave Form is Used to save Any of the text that the user enters in the TextInput or any other of the supported  Controls such as ComboBox, CheckBox, RadioButton, It uses Ctrl+Y to Redo and Ctrl+Z to Undo, The _undoHistorySize will    be used to control how much of information should we undo or redo. The Default is 5. Also, There is an Optional Validation where the Submit Button or any other button will not be enabled unless all the Validation is correct. We Implement the
IHistoryManagerClient so we can use it to save the states of our text. Lots of comments and view source is enabled.
http://www.sherifabdou.com/FlexAIRExamples/AutoSaveForm/AutoForm.swf

Continue reading...

Page 1 of 11