Flasher Archive

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


Subject: Re: FLASH: Passing Variables through a frameset...
From: Jon Williams
Date: Wed, 12 Jul 2000 14:38:20 +0100

One trick that a LOT of developers use is to have a hidden
frame where they store all their data, so that you don't
have the ok-so-when-i-load-a-new-page-it-blows-everything-away
problem.

Then you just combine the FSCommand yadda with the
Javascript to pass variables across frames, and shazzam!

-jon

Branden Hall wrote:

> okay, my Javascript is a bit rusty, but using location.search you can snag
> all of the variables off of the URL...
>
> So... have the page that pops open the HTML page pass it the variable...
> then have the frameset dynamically built and have the variables tacked on to
> the end of the URL of the top frame... then have the top frame dynamically
> write the inclusion code for the flash movie tacking on to the end of the
> flash movies URL the variables...
>
> -= Branden J. Hall
> -= Multimedia Developer / Instructor
> -= Fig Leaf Software - "We've got you covered!"
>
> -----Original Message-----
> From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Helen
> Triolo
> Sent: Tuesday, July 11, 2000 5:41 PM
> To: flasheratchinwag [dot] com
> Subject: Re: FLASH: Passing Variables through a frameset...
>
> Aack, never mind that first option. When you force framesetdoc.html to
> open, it'll wipe out the variable info you just passed. Sorry, I always
> think of these things 30 seconds after I click Send. I think you're
> going to have to use a server side script to accomplish what you want
> (option 2).
>
> Helen
>
> > Two things come to mind as possibilities. One: since you can't get the
> > variable from the frameset to the topframe html, how about calling the
> > topframe html directly with the variable and including javascript in
> > that file to open the frameset doc, like this :
> >
> > <script language="JavaScript">
> > <!--
> > if (parent.location.href == self.location.href)
> > window.location.href = 'framesetdoc.html';
> > //-->
> > </script>
> >
> > (problem if user has js disabled, but not if that's how you're already
> > opening the new window)
> >
> > Two: use ASP (you can run it fine from a laptop if you have PWS
> > installed) and put code like this in the first frame tag of your
> > frameset doc:
> > <frame name="top"
> > src="topframe.asp?frame=<%=request.querystring("framenumber")%>"
> > frameborder="0" framespacing="0" marginwidth="0" marginheight="0">
> >
> > Regards,
> > Helen
> > ---------------------------------------------------
> > helen triolo � http://i-technica.com � 301-424-6037
> > Flash Q&A archive � http://i-technica.com/flashlist
> >
> > Bryan Rieger wrote:
> > >
> > > Hello,
> > >
> > > I've got a bit of a dilemma...
> > > We have a swf file that on selecting a button will launch a new window,
> > > passing a variable to the next swf file, that will then jump to the
> > > appropriate screen. Here's the catch.
> > >
> > > The new window is a frameset as follow
> > >
> > > frameset
> > > topFrame
> > > Flash file jumps to label as set by incoming variable
> > > /topFrame
> > >
> > > mainFrame
> > > Content (html) in this frame is set by label in the top frame
> > > /mainFrame
> > > /frameset
> > >
> > > So my question is - how do we go about passing our variable from our
> > > triggering Flash movie to the Flash movie contained in 'topFrame'. BTW -
> > > using Perl, CF or ASP is out of the question as our BD people want to be
> > > able to demo it on their laptops.
> > >
> > > It seems that the variable is getting dropped after being passed to the
> > > frameset.
> > >
> > > Any help greatly appreciated.
> > >
> > > Cheers,
> > >
> > > Bryan Rieger
> > > developer/designer
> > > Trapeze
>
> flasher is generously supported by...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.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...
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> flashforward2000 and the Flash(tm) Film Festival
> July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
> www.flashforward2000.com
> Produced by United Digital Artists and lynda.com
> Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
> shockwave.com and Electric Rain.
> 1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
> Register before June 30 and save $200!!-- www.flashforward2000.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...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: Passing Variables through a f, Branden Hall

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