Updated for flash player external calls