1 Reply Latest reply on Oct 19, 2008 6:53 AM by Newsgroup_User

    instance of TextFormat is being used as associative arry om RichTextEditor.mxml

    Ninja_Warrior
      Hi All,
      I was going through http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/frameworks/projects/framework/sr c/mx/controls/RichTextEditor.mxml ...
      in function setTextStyles .. I have seen assignment like "tf[type] = value;" ... which make me confuse as according to assignment "tf" is an associative array. But it is declared as... "var tf:TextFormat;" .
      Can anybody explain what exactly is happening there..
      Thanks
      N