Re: Ming and flash detection
| From: | (Chris Adams) | Date: | Mon, 02 Apr 2001 15:41:29 +0000 |
| Subject: | Re: Ming and flash detection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46631@lists.php.net to get a copy of this message | ||
On 2 Apr 2001 07:58:42 -0700, Jason Stechschulte <jpstech@unoh.edu> wrote:
>// This movie simply redirects to the appropriate page.
>$m->add(new SWFAction("getURL('$thisURL', ''); stop();"));
>I added code to write $thisURL to a file so I could see if it is getting
>passed correctly, and it is. So there must be a problem with the movie
>somewhere. In the getURL() function, I have tried many different things
>for the second argument. _self, _parent, _top. None of these makes any
>difference. Anyone have any ideas I could try??
Try _level0 - that's what you'd need to replace the current movie.
Alternately, you can avoid needing to load Flash at all - use JavaScript to
iterate over the plugins array on Netscape and use VBScript with an On Error
handler to instantiate the Flash ActiveX control - if it fails, your VBScript
can assume Flash isn't installed (which is the sane default).