Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: Inserting variable into Javascript command |
From: | patrickf |
Date: | Sun, 6 Feb 2000 17:34:08 GMT |
Markus,
Thanks for the suggestion.... and the EXCELLENT reply to the Branden-basher.
Patrick
> ** Original Subject: RE: FLASH: Inserting variable into Javascript command
> ** Original Sender: "Markus Gut" <ml-markusgutbluewin [dot] ch>
> ** Original Date: Sat, 5 Feb 2000 18:57:43 -0500 (EST)
> ** Original Message follows...
>
> Try to set the URL to something like this:
> "javascript:launchwin('"+sample+"', 'newwindow', 'height=350,width=350')"
> Note: '"+sample+"' is single quote, double quote, +sample+, double quote,
> single quote, and the whole thing is an expression. If 'sample' contains
> 'sample1a.swf', Flash will try to open following URL:
> javascript:launchwin('sample1.swf', 'newwindow', 'height=350,width=350')
> Which is the way you need it, I guess?
>
> HTH,
> Markus Gut
>
> > 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.
> >
> > >
> > > 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')
>
>
>
>
>
> 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 helpchinwag [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 helpchinwag [dot] com
Replies
Re: FLASH: Inserting variable into Javas, Brian
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]