If you need to access your Flash/ActionScript functions via JavaScript then the easiest way to do this is with the ExternalInterface API (click here to read the Adobe documentation).
If you need to access your Flash/ActionScript functions via JavaScript then the easiest way to do this is with the ExternalInterface API (click here to read the Adobe documentation).