Flasher Archive

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


Subject: RE: FLASH: Inserting variable into Javascript command
From: patrickf
Date: Sat, 5 Feb 2000 23:45:19 GMT

I've tried that, but the problem is that now the Javascript doesn't work. It needs the single
quote marks around the file name. I've tried making those a part of the variable, but with no
better success.

Patrick


> ** Original Subject: RE: FLASH: Inserting variable into Javascript command
> ** Original Sender: "Eric Dunham" <brokenatcorridor [dot] net>
> ** Original Date: Sat, 5 Feb 2000 18:24:22 -0500 (EST)

> ** Original Message follows...

>
> Don't use quotes when you pass 'sample' as an argument if it is a variable.
> If you do that, the word 'sample' will be literally interpreted as that, and
> it will try to open the document 'sample', instead of the one that you want.
> For example... javascript:launchwin(sample, 'newwindow',
> 'height=350,width=350')
>
> HTH,
> Eric Dunham
>
> -----Original Message-----From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On
Behalf Of
> patrickfatbestweb [dot] net
> Sent: Saturday, February 05, 2000 2:25 PM
> To: flasheratchinwag [dot] com
> Subject: FLASH: Inserting variable into Javascript command
>
>
> Hello all!
> I've got a simple question (I hope). I've got a "Get URL" command that
> calls a piece of
> Javascript:
> javascript:launchwin('sample' , 'newwindow' , 'height=350,width=350')
>
> Here's my dilemma:
> The word 'sample' is actually the name of a variable that contains the
> correct file name that
> should be opened in the new window.
> - Currently I've got the URL window set to "string litteral".
> - I tried it with the URL window set for "Expression" with equally negative
> results.
> - With the Get URL window set to either mode, it actually works as far as
> opening up a
> separate window, but doesn't supply the file name that the variable "sample"
> contains (it is
> "sample1a.swf", in this case).
>
> Any feedback would be appreciated.
>
> Patrick
>
>
>
>
>
>
> 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
>
>
> 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
>


>** --------- End Original Message ----------- **

>




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: Inserting variable into Javas, Markus Gut
  RE: FLASH: Inserting variable into Javas, Eric Dunham

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