-- Lingo syntaxmemberObjRef.modified // JavaScript syntaxmemberObjRef.modified;
Member property; indicates whether a cast member has been modified since it was read from a movie file. Read-only.
modified property is TRUE (1), the cast member has been modified since it was read from the movie file.
modified property is FALSE (0), the cast member has not been modified since it was read from the movie file.
This statement tests whether the cast member Introduction has been modified since it was read from the movie file:
-- Lingo syntax
if (member("Introduction").modified) then
_player.alert("Introduction has been modified")
else
_player.alert("Introduction has not been modified")
end if
// JavaScript syntax
if (member("Introduction").modified) {
_player.alert("Introduction has been modified");
}
else {
_player.alert("Introduction has not been modified");
}