write dragonBones prop in global scope