Flasher Archive

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


Subject: Re: FLASH: Re: JavaScript & Flash
From: SOHH
Date: Wed, 16 Dec 1998 21:48:17 GMT

I'm not sure what kinda results would come from that script you gave me
to close a window but I put this in my GETURL variable in my flash file:
javascript:self.close()

You can see it working at:
http://www.sohh.com/awards/

Steven Samuel
http://www.sohh.com

>I'm pretty new to Flash, so I'm not exactly sure how you would make this
>work. But if there is any way in which one can assign a script to your
>button, here's one which will close a window. You'll have to href the
>parent window in order to get the user back to where they started, or in
>this case to the desired 'register' url. This is untested, so if someone
>with more JavaScript knowledge than I want's to have a look, let me know
>what's wrong. I used it previously in a straight poop HTML page, so I don't
>know how it will work in Flash.
><<<<<<<<<<<<<<Start Script>>>>>>>>>>>>>
> <script><!--
>function CSScriptInit() {
>CSAction(new Array('B29B5F3B0'));
>}
>function CSAction(array) {
> var result;
> for (var i=0;i<array.length;i++) {
> result = CSAct[array[i]][0](CSAct[array[i]]);
> }
> return result;
>}
>CSAct = new Object;
>function CSCloseWindow(action) {
>
>window.close()
>
>}CSAct['B29B5F3B0'] = new Array(CSCloseWindow);
>
>// --></script>
><<<<<<<<<<<<<<End Script>>>>>>>>>>>>>
>Good luck,
>
>Stefan Keel
>One's Design
>sakoneathalcyon [dot] com
>
>
>------------------------------------------------------------------------
>To UNSUBSCRIBE send: unsubscribe flasher in the body of an
>email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
>N.B. Email address must be the same as the one you used to subscribe.
>For info on digest mode send: info flasher to list-manageratshocker [dot] com
>


SOHH


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  Re: FLASH: Re: JavaScript & Flash, John Croteau

Replies
  FLASH: Re: JavaScript & Flash, Stefan Keel

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