The solution I am using is much the same as yours:

//JavaScript:
function displayStatus(theStatus){
        var msg = theStatus;
        window.status = msg;
}

Bear in mind though that this will not work in Firefox (and possibly
Safari - havent checked on a mac) - on these browsers, Javascript
cannot be used to change the status bar unless the user has
specifically allowed it...

hth

PBH

On 1/8/06, Amanda Kuek <[EMAIL PROTECTED]> wrote:
> Hello Listites,
>
> I'm having a great deal of difficulty getting a message to show in the
> browser window status bar from my swf.
>
> I wanted the appropriate button rollovers to show the URL of the page
> they linked to.
>
> I thought the following code should do the trick:
>
> //On the button
> on (rollOver) {
>   getURL("javascript:setStatus('http://www.somesite.com/somepage.html')");
> }
>
> //In the HTML file
> <script type="text/javascript">
> function setStatus(msg) {
>   window.status = msg;
> }
> </script>
>
> No joy there. I also tried following the TechNote instructions at the
> following address:
>
> Setting the browser status bar from a Flash movie
> http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_14827
>
> That didn't work either. Ditto for various forum answers.
>
> I'm sure this question has been asked many times, but as far as I can
> google (AFAICG) I haven't yet found a response that works.
>
> Thanks for any ideas!
>
> Amanda.
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to