Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: FSCommand help
From: Marc Hoffman, Poison Dart Frog Media
Date: Wed, 22 Mar 2000 21:26:56 GMT

I'm interested in your solution, however your code did not come through in
my email (Eurora Pro). Can you paste it in some other way -- maybe as a
quote or as a comment? Not sure what works, but it seems straight code gets
stripped out by some servers or mail programs.

thanks,
Marc

At 12:55 PM 3/22/00 , you wrote:

>try this
>in html use this script to open the window, in the field launchWin you can
>name the window where the 2nd window is launched from. so you can acces this
>window as any other frame. in the flash movie in the get URL action put this
>name as target,
>i think it will work ok
>
>g b
>
>
>----------
> >From: "Scott Jeppesen" <sjeppesenatuniversityaccess [dot] com>
> >To: <flasheratchinwag [dot] com>
> >Subject: FLASH: FSCommand help
> >Date: mart., 21 marz 2000 14:47
> >
>
> > I have a remote window opened from an html page. The Remote window contains
> > a flash movie. When certain buttons are clicked in the flash movie(in the
> > remote file) I want it to go to that page in the "opener" window. I am
> using
> > an FS Command function that looks like this:
> >
> > From Inside the flash file:
> > On (Release)
> > FS Command ("UAopen", "http://www.universityaccess.")
> > End On
> >
> > From in the HTML/Javascript I have:
> >
> > <SCRIPT LANGUAGE=JavaScript>
> > <!--
> > var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
> > // Handle all the the FSCommand messages in a Flash movie
> > function nav_DoFSCommand(command, args) {
> > var navObj = InternetExplorer ? nav : document.nav;
> > if (command == "UAopen"){
> > window.opener.location.href=args
> > }
> > }
> > // Hook for Internet Explorer
> > if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 &&
> > navigator.userAgent.indexOf("Windows") != -1 &&
> > navigator.userAgent.indexOf("Windows 3.1") == -1) {
> > document.write('<SCRIPT LANGUAGE=VBScript\> \n');
> > document.write('on error resume next \n');
> > document.write('Sub nav_FSCommand(ByVal command, ByVal args)\n');
> > document.write(' call nav_DoFSCommand(command, args)\n');
> > document.write('end sub\n');
> > document.write('</SCRIPT\> \n');
> > }
> > //-->
> > </SCRIPT>
> >
> > My problem is that it isn't working in Netscape. When I click the button,
> > nothing happens. It works perfectly in IE. Why isn't it working in NS and
> > what do I have to do to make FSCommands work in NS. I have also tried
> > simplifying this Javascript down to an alert which also works in IE but not
> > NS. I am using NT with IE5 and NS4.6.
> >


Marc Hoffman

Poison Dart Frog Media
Flash Animation and Digital Audio Production
Featured in Flash 3 Web Animation, by Ken Milburn
http://www.dartfrogmedia.com


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Re: FLASH: FSCommand help, g b

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]