Flasher Archive

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


Subject: Re: FLASH: Urgent Question on a Deadline
From: Marc Hoffman
Date: Fri, 23 Oct 1998 22:52:10 +0100

At 10:21 AM 10/23/98 -0400, you wrote:
>Is it possible to have these 6 buttons in the .swf in "body" of the HOME
>page, change the content of the "body" to each of the button's
>corresponding html pages? While at the same time, load the .swf menu
>file into the "footer" to a SPECIFIC frame, that corresponds to the
>newly loaded "body" page? ( sorry, I hope that wasn't too convoluted)
>
>I only need this to happen once. Just when you leave the HOME page to go
>to one of the 6 sections. If this is possible can anyone describe the
>process (in layman's terms please!) of accomplishing this?
>
>Any help would be greatly appreciated. Thanks in advance!
>
>
>Kevin Harper

Hi, Kevin.

I hope I'm grasping this correctly.

One limitation is that you can't tell target a movie that hasn't loaded, so
you can't force the movie to go to a particular frame upon loading unless
it's set up within itself always to go to that frame.

But there are work-arounds. One way is the have the .swf movie load before
the html page, and have it go to and stop at a frame that looks empty (just
showing the background color of the frame). In that frame, the movie would
also have an action to get the URL of the page you want in the other frame.
And there are JavaScript commands you can use in that new html page so
that it will direct the .swf movie to go to the desired frame; just make
sure the .swf has loaded sufficiently before it calls up the html page that
in turn tells the .swf where to go.

For the definitive example of the use of JavaScript to control an .swf in
another frame, see the famous HawaiiMap demo at:
http://www.flashcentral.com/Tech/HawaiiMap/
It includes downloads for the .fla and html files.

Let me know when you have it working; I haven't had time to figure it all
out and would love to know :)


Marc Hoffman
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

View my Flash3 work: <http://www.jps.net/dartfrog/sampler>.
Play a virtual marimba: <http://www.jps.net/dartfrog>.
Find out where my band performs: <http://www.jps.net/dartfrog/littlebird>.
Complain about self-promoting email signatures:
<marchofatjps [dot] net (subject: complaint) (mailto:marchofatjps [dot] net?subject=complaint)>

------------------------------------------------------------------------
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
  FLASH: Urgent Question on a Deadline, Kevin Harper

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