Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: [flasher] Re: .swf communication? |
| From: | Phillip Kerman |
| Date: | Sat, 03 Mar 2001 06:55:40 -0000 |
Yeah, but having two separate .swfs talk to each other has some interesting
possibilities (that you can't necessarily achieve entirely within Flash).
For example, say you have one big .swf (with lots of audio) load into a
frame. Then have various small .swfs load as you navigate to other parts of
the site. You can have the small .swfs "talk" to the big .swf (telling it
to play sounds as needed). That way you don't have to download the audio
files but once. Also, you can keep a background sound playing as you
navigate to different parts of a site.
Check out: http://www.teleport.com/~phillip/digmusic/
Basically, you just have one .swf tell JavaScript to tell the other .swf to
do something.
There are plenty of resources on how to do this. Including:
http://www.teleport.com/~phillip/flashforward2000/presentation/
www.macromedia.com/support/flash/how/subjects/javascriptdemo/
www.moock.org/webdesign/flash/
www.bertoflash.nu
In my new book I have a workshop "Writing JavaScript Inter-movie
Communications"
See www.teleport.com/~phillip/actionscripting
Phillip
> Most folks instead choose to encapsulate the interactivity in Flash, where
> you know what you're getting and don't have to wrangle the various
> browsers.
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

