Flasher Archive

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


Subject: Re: Sending Variables Back To Generator
From: Kelly R. Kerr
Date: Fri, 7 Aug 1998 00:18:33 +0100

John,

Sorry for the confusing post. Let me try to clarify.

I have a text variable placeholder in my movie. (ie {myText})
Instead of having a text file that contains:

Name, Value
myText, "Hello World"

I want to send an FSCommand to the Javascript in my html page. The Javascript
then executes a function that sets:

myText = "Hello World"

and passes that back to Generator to replace the {myText} placeholder in the
.swf movie.

If I link to the .swt file directly with a link
(www.mysite.com/test.swt?myText="hello world") Generator replaces my
placeholder with no problem. Now all I want to know is how to do it inside a
function in JavaScript.

Make Sense? If not I will try again.

Thanks for your help.
Kelly

John Dowdell wrote:

> At 12:48 PM 8/6/98, Kelly R. Kerr wrote:
> > I am sending a FSCommand to my Javascript, the javascript updates a
> > variable, and I want to send that variable back to the movie...
> > The movie rewinds and plays, why does my variable not change?
>
> I may not have understood the description and implied intent correctly, but
> Generator produces a SWF from a SWT. It works on the server. It almost
> sounds like you're expecting Generator to be installed in each person's
> browser...?
>
> (If the core is "How can I change text in Flash?" then the usual approach
> is to prerender the text out into various SWF files on your server and set
> the level in a movie to call this new content. Rephrased, Flash can
> dynamically incorporate other movies as new levels at runtime.)
>
> Am I close to what you're considering there...?
>
> jd
>
> John Dowdell, Macromedia Tech Support, San Francisco CA US
>
> Private email options: http://www.macromedia.com/support/priority.html
> Search technotes: http://www.macromedia.com/support/search/
> Entertainment on the web: http://shockrave.macromedia.com/
> Luscious web graphics: http://www.macromedia.com/software/fireworks/
>
> ------------------------------------------------------------------------
> 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




------------------------------------------------------------------------
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: Sending Variables Back To Generator, John Dowdell

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