How can I call a flash function from a javascript action ?
Like : onClick=“ChgType(Type1)”
javascript:
function ChgType(args){
//tell flash to execute function “ChangeType”
}
In flash :
ChangeType = function() {
switch (strType) {
case “Type0”:
trace(“this is Type0”);
break
case “Type1”:
trace(“this is Type1”);
breack
case …
}
}
Or is there any other way ???
Many thanks for help.