Re: Ming and flash detection
| From: | Jason Stechschulte | Date: | Mon, 02 Apr 2001 17:38:43 +0000 |
| Subject: | Re: Ming and flash detection | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-46658@lists.php.net to get a copy of this message | ||
On Mon, Apr 02, 2001 at 08:41:29AM -0700, Chris Adams wrote:
> 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.
I forgot to mention that I've also tried the different _level* arguemnts
too. _level0 actually breaks IE and still doesn't work in Netscape.
> 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).
I guess I will just have to implement this solution. I was hoping to do
it using Ming just to help familiarize myself with it, but this will
probably be more efficient than how it is being done today.
--
Jason Stechschulte
jpstech@unoh.edu
--
If you consistently take an antagonistic approach, however, people are
going to start thinking you're from New York. :-)
-- Larry Wall to Dan Bernstein in <10187@jpl-devvax.JPL.NASA.GOV>