read this tech note:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=4b687833

if thats not your problem, then try try calling the alert with a setTimeout.
i had a problem a little while back with alert, and calling it with
setTimeout solved it. also, in your example, you really dont need to define
a javascript function for a simple alert. try this:

ExternalInterface.call("alert", "Some message.");

if thats giving you problems, call it with setTimeout, like this:

ExternalInterface.call("setTimeout", "alert('some message');");

On 9/18/06, Mendelsohn, Michael <[EMAIL PROTECTED]> wrote:

Hi list...

[IE6, WinXP, FP9]
Why am I getting an error icon in the status bar when I try to do this
simple call to javascript?

Thanks,
- Michael M.


In the Flash:
/////////////////////////////
public function loadVideo(theVid, callingLink) {
        if (ExternalInterface.available) {
                var rslt:String =
String(ExternalInterface.call("flashAlert", theVid));
        }
}


On the webpage:
/////////////////////////////
<script language="JavaScript" type="text/javascript">
function flashAlert(msg){
alert(msg);
}
</script>

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
John Van Horn
[EMAIL PROTECTED]
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to