Flasher Archive

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


Subject: Re: FLASH: Passing Variables through a frameset...
From: Helen Triolo
Date: Tue, 11 Jul 2000 22:47:59 +0100

Bryan,

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


Replies
  Re: FLASH: Passing Variables through a f, Bryan Rieger
  Re: FLASH: Passing Variables through a f, Helen Triolo

Replies
  FLASH: Passing Variables through a frame, Bryan Rieger

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