Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Subject: FLASH: CLICK STATE IN FLASH 3 |
From: | BJ Hoffpauir |
Date: | Fri, 9 Jun 2000 20:46:17 +0100 |
Jeff,
I recently went through the exact same dillemma. You can see how my
solution works on http://www.timetrend.com/redesign/ (note - the site is not
completely done but the nav elements are).
Basically, my flash movie for the left hand nav bar is controlled by
javascript. Each frame of the movie corresponds to a [particular area of
the site. I wrote a script that passes instructions to the flash movie and
tells it to go to a specific frame, depending on what page you are viewing.
You can view the source of the pages when you visit, but i would be happy to
share the FLA file if you need it.
There are some browser compatibiliy issues to deal with. We only had to
design for 4.0 browsers, so that wasn't too difficult to accomplish. You
should also remember that flash and javascript have a different way of
counting frames. Javascript (like most programming languages) starts
counting with 'ZERO'
Basically, if you opened the .swf file in flash 4, the timeline would start
with frame 1. Well, if you want to use javascript to tell the movie to go
to 'frame 1' you would actually code it to go to 'frame 0'
It's weird, especially for those who do much programming, but not that
difficult to get the hang of.
Email me if you need anything else
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.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 helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]