mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-06-27 20:06:28 -06:00
thai phrase translator
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
function getFlashMovieObject(movieName) {
|
||||
if (window.document[movieName]) {
|
||||
return window.document[movieName];
|
||||
}
|
||||
if (document.embeds && document.embeds[movieName]) {
|
||||
return document.embeds[movieName];
|
||||
} else {
|
||||
return document.getElementById(movieName);
|
||||
}
|
||||
}
|
||||
|
||||
function flashPlay(movieName) {
|
||||
getFlashMovieObject(movieName).Play();
|
||||
}
|
||||
|
||||
function flashPause(movieName) {
|
||||
getFlashMovieObject(movieName).StopPlay();
|
||||
}
|
||||
Reference in New Issue
Block a user