Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: controling movie navigation with javascript, problem |
From: | Matt Wobensmith |
Date: | Fri, 21 Jul 2000 22:08:50 +0100 |
Hi Roger -
A couple of things are wrong in your code.
1. You have "/internat2.swf" as the ID of the movie in the page. You need to
take out the forward slash here, as well as the ".swf" part - the name of
the SWF in this tag must match the name and path specified in your
JavaScript function.
2. The path to the object/method in the function itself is also wrong -
don't include the ".swf" extension. It should read:
function clicking(){document.internat2.Gotoframe(5);}
3. Your NAME parameter from the EMBED tag also has the wrong info - should
be identical to the name after the ID parameter in the OBJECT tag -
"internat2".
4. If this is to play a frame as soon as the page loads, you can't expect
the movie to be loaded in time for the JavaScript event to execute. Calls to
a frame that isn't loaded will fail.
Not to sound overwhelming, but you should study the JavaScript methods a bit
more before going any further. These are very fundamental issues.
Matt
---------------
Matt Wobensmith
Macromedia
Flash Community Manager
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]