FlexLayer#getByName()

getByName(name) → {any}

Searches the Group for the first instance of a child with the name
property matching the given argument. Should more than one child have
the same name only the first instance is returned.

Parameters
Name Type Description
name string

The name to search for.

Returns
any -

The first child with a matching name, or null if none were found.

Inherited From
Source code: core/Group.js (Line 1042)
doc_phaser
2017-02-14 10:46:59
Comments
Leave a Comment

Please login to continue.