Oh yeah,

They were doing that back with Flex1, got ya

Thanks,

Peace, Mike

On 3/14/06, Manish Jethani <[EMAIL PROTECTED]> wrote:
On 3/15/06, Michael Schmalle <[EMAIL PROTECTED]> wrote:

>  PS Is it convention now that you put all child creation calls in an if() statement? I thought createChildren() only ran once. Did this change in Flex2?
>

`createChildren` only runs once, but a subclass can override
`createChildren` and create a child object different there.

function createChildren()
{
  if (!titleBar)
  {
   // if subclass has not created the title bar, create it here
   titleBar = new ...;
  }

  super.createChildren();
}

The superclass's `createChildren` is called last.

Manish


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS






--
What goes up, does come down.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to