Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: Info on Javascript Methods ............. |
| From: | John Croteau |
| Date: | Sun, 14 Jun 1998 16:50:08 +0100 |
Hi Tor,
> Macromedia's documentation of them is rather.....lacking
> If John Dowdell,Brian Payne,Erica Norton or Charles Corley
> would care to comment/redirect me to some documentation on
> TGotoLabel as it can be applied to a movie in layer 2
> (created by LOADMOVIE), I would be ecstatic.
Here are some examples derived from the sample Jonathan Gay posted to
this List a month ago. Note, you should use _level instead of _flash
which has been changed to standardize the code.
Note, to Jon "Could you have someone update your sample (story.htm) to
include this change?".
This will target frame 20 in the Movie on level zero:
TGotoFrame("_level0", 20)
This will target frame 2 in Movie Clip 'Display' in the Movie on Level
5:
TGotoFrame("_level5/Display", 2)
This will target a frame Labeled Park in the Movie on Level 2:
TGotoLabel("_level2", "Park")
Jon's original example (Hawaii Map Revised) is available at:
http://poppy.macromedia.com/~jgay/javascript/
http://poppy.macromedia.com/~jgay/javascript/fla
Hope this helps.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
FLASH 3 JAVASCRIPT METHODS
---------------------------------------
LoadMovie(int layer, String url)
TGotoFrame(String target, int frameNum)
TGotoLabel(String target, String label)
int TCurrentFrame(String target)
String TCurrentLabel(String target)
TPlay(String target)
TStopPlay(String target)
Play()
StopPlay()
IsPlaying()
GotoFrame (int frameNum)
TStopPlay()
TPlay()
TCurrentLabel()
TCurrentFrame()
TGotoLabel()
TGotoFrame()
FlashVersion()
FrameLoaded()
Forward()
Back()
CurrentFrame()
getWindow()
isActive()
destroy()
init()
getPeer()
wait()
notifyAll()
notify()
toString()
equals()
hashCode()
getClass()
----------- -----------------------
John Croteau croteau
------------- -------------------------
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
FlashTeK(Advanced Websites with Flash) http://www.CrownMall.com/Flash/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
Need a PC ? -- Computer King -- http://www.crownmall.com/computers/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
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-manager
Replies
RE: Info on Javascript Methods ........., Tor Kristensen
Replies
Info on Javascript Commands?, Tor Kristensen
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

