Flasher Archive

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


Subject: Re: FLASH: How do you set a CGI redirect page
From: Jeff Sibley
Date: Fri, 14 Jan 2000 21:40:07 GMT

Jeff Sibley wrote:

> >> > I have built a Flash 4 form. Everything works fine but I am having trouble
> > > trying to figure out how to direct the CGI's reply response action to a
> > specific
> > > frame in Flash. My server's CGI application is "FormMail" and it has a
> > > "redirect" function that allows you to specify an HTML page to reply to.
> > If I
> > > specify the Flash index.html, the flash movie starts at the beginning and
> > you
> > > never get to the reply frame inside Flash. I figure there must be a way to
> > > specify some variables in the first few frames of the Flash movie to get
> > it to
> > > skip over the introduction frames and go directly to the reply frame but I
> > > haven't had any luck figuring this out. Can anyone help me out; are there
> > any
> > > examples on the web that you can tell me about?

Found the answer on page 234 of John Croteau's book, section title "Preventing a
movie from replaying an introduction": Put an "If Frame Loaded" action in the first
frame of the movie and specify the label of the frame that holds the form you want
to sent to the server then use a "Go To" action to specify the reply frame you want
to go to. First time the movie is loaded it will run the actions, see that no
frames are loaded and move on to the next frame (beginning movie introduction).
Later on in the movie, after filling out a form and sending it to the server, the
CGI will send a reply back to the index.html, run the actions in the first frame of
the movie.swf and notice that the form frame has been loaded and thus it will send
the movie to the reply frame (skipping the introduction). Simple.

This only works for one reply frame, for example you can't have a "reservation
form" reply and a separate "order form" reply. May be there is a variable mixture
that can work with this.



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
  FLASH: How do you set a CGI redirect pag, Jeff Sibley
  Re: FLASH: How do you set a CGI redirect, D
  Re: FLASH: How do you set a CGI redirect, Jeff Sibley

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