is thare any function on Action script that works like php global var basename("$SCRIPT_FILENAME");?
it means that my swf could read the actual filename of the php page containing it.