Flasher Archive

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


Subject: Re: FLASH: JavaScript and Variable syntaxe-Simple Solution
From: Marc Pidoux
Date: Thu, 28 Oct 1999 16:38:28 +0100

Hi,

I was trying to set a value to a button which will open an html page according
to user's choice.
I wanted this new page to open not full screen but at 400*300 pixels.

So, I had to deal with variable and JavaScript in Flash...

I founded a simpler way to do it:
1. Flash deals with the variables and send it trough a "get url" action to open
the requested page.
2. The page automaticly adjust her size by her-self doing it by a little
JavaScript in the body tag.

Anyway, thanks Jason for your help.

Cheers

Marc


Jason Brown wrote:

> do you have a space after the : in the actual code? that's wrong too...
>
> -----Original Message-----
> From: Marc Pidoux [marcatpidoux [dot] com (mailto:marcatpidoux [dot] com)]
> Sent: 28 October 1999 15-28
> To: flasheratchinwag [dot] com
> Subject: Re: FLASH: JavaScript and Variable syntaxe
>
> Thanks Jason but it doesn't work :-(
>
> In a matter of fact, the command
> javascript: window.open(page,'flash','width=300,height=200');
> doesn't start anything at all...
>
> I keep trying.
>
> Marc
>
> Jason Brown wrote:
>
> > take the single quotes out. it thinks its a string not a variable.
> >
> > -----Original Message-----
> > From: Marc Pidoux [marcatpidoux [dot] com (mailto:marcatpidoux [dot] com)]
> > Sent: 28 October 1999 15-01
> > To: flasheratchinwag [dot] com
> > Subject: FLASH: JavaScript and Variable syntaxe
> >
> > Hi,
> >
> > I have the following command on a button using "load variable" and it's
> > work.
> > javascript: window.open('clients.swf','flash','width=300,height=200');
> >
> > Now, I want to remplace the 'clients.swf' by a variable called 'page', so
> > the command should be:
> > javascript: window.open('page','flash','width=300,height=200'); (Doesn't
> > work)
> >
> > But after setting the variable 'page' to client.htm' or any other thing,
> it
> > doesn't work...
> >
> > Do you know how to write the correct statement to be able to replace
> 'page'
> > by the value of a variable???
> >
> > Thanks
> >
> > Marc
> >
> > flasher is generously supported by...
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Streaming Media WEST '99 Conference & Exhibition
> > "The Worlds largest Internet Audio & Video Event"
> > December 7 - 9, San Jose Convention Center, California
> >
> > Reserve your space today at http://www.streamingmedia.com
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > To unsubscribe or change your list settings go to
> > http://www.chinwag.com/flasher or email helpatchinwag [dot] com
> >
> > -----------------------------------------------------------------------
> > This message has been checked for all known viruses by UUNET
> > in conjunction with the StarLab Virus Control Centre.
> >
> > flasher is generously supported by...
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > Streaming Media WEST '99 Conference & Exhibition
> > "The Worlds largest Internet Audio & Video Event"
> > December 7 - 9, San Jose Convention Center, California
> >
> > Reserve your space today at http://www.streamingmedia.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...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.com
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To unsubscribe or change your list settings go to
> http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>
> -----------------------------------------------------------------------
> This message has been checked for all known viruses by UUNET
> in conjunction with the StarLab Virus Control Centre.
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Streaming Media WEST '99 Conference & Exhibition
> "The Worlds largest Internet Audio & Video Event"
> December 7 - 9, San Jose Convention Center, California
>
> Reserve your space today at http://www.streamingmedia.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...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: JavaScript and Variable synta, Jason Brown

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