Flasher Archive

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


Subject: Re: Variables and Generator
From: John Dowdell
Date: Mon, 17 Aug 1998 23:14:38 +0100

At 2:16 PM 8/17/98, Kelly R. Kerr wrote:
>When generator processes my flash movie, it replaces my text variables
>{text} with the info from the data source. (Can I now pass that
>variable to an html page that I call from a button?) User presses a
>button with a Get Url command, and the {text} variable is passed to the
>new page, and used by javascript, etc.

A way to think about Generator is that it turns template SWT files into the
regular SWF files you can display. Once Generator incorporates the new data
into the template, you've got just a regular SWF that's sent to the
browser.

In this case, it sounds like you're looking at replacing two variables
during generation: you'd change the display text itself, and you'd also
change the FSCommand assigned to the appropriate button. This would let a
capable browser know the new message inserted at the same time as the new
text. I haven't done this combo personally yet, but I do recall reading
prior messages in the Generator newsgroup where people have said they
succeeded with this.

(btw, Generator went live today... definitely do check out the new examples
on the Macromedia website, there's some great stuff 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


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