Flasher Archive

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


Subject: Re: FLASH: variables set from JavaScript
From: Randy Kato
Date: Thu, 27 Jul 2000 19:18:17 +0100

Philippe,

You can set your variables when the HTML page loads by taking the lines of
code that set the vars out of the function and putting them between the
<script> tags "loose" meaning not contained inside a function. As the code is
read in by the browser these lines will be executed. When you put something
into a function it waits for the function to be called to execute.

HTH,
Randy

Philippe Warichet wrote:

> Hi Flashers,
>
> I'm trying to set variables from javascript to a Movie Flash.
> I Use GetURL(javascript:name_function()).
>
> This function (name_function) is supposed to set some variables. It does.
> But too late.
>
> So, it seems I could to do 2 things :
> - force the javaScript to set the variables Immediately!
> (I don't know how)
> - wait for the variables to be set.
> (I tried a loop, but it doesn't work since after a certain number of times
> (too small for me), FLASH gets out the loop. So, I don't know how to do.)
>
> Can you help me to do one of those things or find another solution?
>
> Many Thanks
>
> Phil
> Philatcreasoft [dot] com

--
'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master
Braincraft

627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
http://www.braincraft.com
...... . . . . . . . . .



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: variables set from JavaScript, Philippe Warichet

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