Change to addComponent function for better linux AIR compatibility.
Authored by: maximus3d 2008-10-30
Parent: [r33]
Child: [r35]