Flex Certification » Flex Examples
Html And Rich Text Utility functions for Flex.
{
//Common utility functions
public class HtmlAndRichTextUtil
{
public static function parseToHtml(rteString:String):String{
var t:RteHtmlParser = new RteHtmlParser();
t.ParseToHTML(rteString);
return t.StringFormat;
}
public static function parseToRichText(htmlString:String):String{
var t:RteHtmlParser = new RteHtmlParser();
t.ParseToRTE(htmlString);
return t.StringFormat;
//return convertFromXHtml(htmlString);
}
//Alternate approach to parseToHtml
public static function cleanHTML(str:String):String
{ Continue Reading
Filed under: Flex Examples
XMLSearch
XMLSearch.as
{
public class XmlSearch
{
public function XmlSearch(xml:XMLList)
{
if(xml != null)
{
this.xmlTree = xml;
}
}
public function findNode(lbl:String) : void
{
this.foundNode = false;
resultStr = null;
if(xmlTree != null)
{
for each(var xml:XML in xmlTree)
{
find(xml, lbl);
if(foundNode == Continue Reading
Filed under: Flex Examples
How financial services customers are benefiting from Adobe solutions

Filed under: Flex Examples
Adobe Flex ShowCase – Examples
Flex is a developer toolkit for building exceptional rich Internet applications on the Flash platform.
The HighLights
- Efficient Programming Model
- Developer Tools
- Server Integration
- Runtime Consistency
- Plentiful Components
- Outstanding Performance
Filed under: Flex Examples
Adding Version number to ContextMenu in flex.
build info > assets/buildInfo.txt
//Embed a text file that is autogenerated by the build process //it contains the revsion number of the project from subversion [Embed("assets/buildInfo.txt", mimeType="application/octet-stream")] private static const buildInfoText: Class;
/** * add the version number from the subversion generated file * to the context Continue Reading
Filed under: Flex Examples
Flex Examples
Here is a great site listing the flex examples.
I will be looking for more flex examples and list them hereon this page.
http://blog.flexexamples.com/
Few examples are:
Filed under: Flex Examples
Custom PopUp and Modal Dialog in Flex
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml" title="My Dialog" showCloseButton="true" close="closeDialog(event)">
<mx:Script>
<![CDATA[
import mx.managers.PopUpManager;
import mx.events.CloseEvent;
private function closeDialog(event : CloseEvent) : void {
PopUpManager.removePopUp(this); // close this dialog
}
]]>
</mx:Script>
<mx:VBox>
<mx:TextInput id="input" />
<mx:Button label="OK" click="closeDialog(null)"/>
</mx:VBox>
</mx:TitleWindow>
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> Continue Reading
Filed under: Flex Examples