Media source API in flash