var _root.Pid = _root.pid;
import mx.core.Application; myPid = Application.application.parameters.Pid;