Javascript/Flash question
Javascript/Flash question
- Started
- Last post
- 1 Response
- frankosonik
I have a javascript in an HTML page that receives data from a flash file. I just need to test it. I want an alert box to pop up when the user clicks inside the flash movie, listing the appropriate data. It works when I use an alert box with a static text string, but not the dynamic one listed below. Any suggestions? Thanks!
function call_fc_flash(arg1, arg2) {
if(typeof(fc_flash) == "function") fc_flash(arg1, arg2);
alert(fc_flash(arg1, arg2));
}
- UndoUndo0
does your condition need to check for function not "function" as a string??