bug fixes for using Scale transition on flash target.

On flash target getChildIndex may not be called with "null" as parameter.
Merge pull request #175 from RudolfVonKrugstein/master

bug fixes for using Scale transition on flash target.