Flasher Archive

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


Subject: FLASH: onLoad & TGotoFrame
From: Dennis Martin
Date: Wed, 15 Mar 2000 22:54:04 GMT



I wanted to thank JD and Hal for your help yesterday... I'm a lot closer
then I was. But I have another problem.

I'm having a problem with the TGotoFrame.

Can anyone tell me why this is not working?

<SCRIPT LANGUAGE="JavaScript">
<!--

function goLabel()
{
document.sl_movie.TGotoLabel("_level0/","myhouse");
}


function goToFrameDM()
{
document.sl_movie.TGotoFrame("_level1/leftnav",4);
}

//-->
</SCRIPT>


All three of these examples work fine:

<a href="#" onClick="goLabel()">goLabel</a>
<a href="#" onClick="goToFrameDM()">goToFrameDM</a>
<a href="#" onClick="goToFrameDM();goLabel()">Both</a>



But when I try to use onLoad in the body tag:

<body onLoad="goLabel()"> Works

<body onLoad="goToFrameDM()"> Does Not Work

<body onLoad="goToFrameDM();goLabel()"> Only "goLabel()" Works


If anyone can I would appreciate it,

Thank you,
Dennis





flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California

-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


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