skeetsummers
05-18-2004, 04:00 AM
JavaScript: code i've written (started on a Mac, finished on a PC) is working for Windows based machines but when viewed on a Mac in any browser it simply does not work.
www.skeetersnewjob.net is my personal portfolio for graduation in a few weeks and is where i'm dealing with this problem. I've got a CSS laid out page, using JavaScript to control links that tell a Flash MX 2004 swf what to do. (please take into account that the SWF movie is just a UBER LAME place holder)
the beaut-code (can also see it at http://www.skeetersnewjob.net/):
function labelJump(labelName)
{
document.movie.SetVariable("jump", labelName);
document.movie.TPlay("_level0");
}
/*
Jumping into a deeper movie clip
Mouse Event Handler
onClick="jumpSub('Photo', 'test')"
2 arugments (movieClip[Instance Name], Frame Label inside that movie clip)
onClick="jumpSub('Print', 'Broch')"
*/
function jumpSub(movieClip, labelName)
{
document.movie.SetVariable("jumpSub", labelName);
document.movie.TPlay("_level0/" + movieClip );
}
Now is there something I'm forgetting? Some kind of formatting? Error I've written in? Anything? I'm a bit frustrated, because it started out working on my Mac, went beautifully on the Window's machine I used at school, and now isn't doing a thing back on my Mac.
If anyone has a hint, tip, etc. i would be in your debt! (please take into account that the SWF movie is just a UBER LAME place holder)
Thanks!
Skeeter Nummelin
skeeter@skeetersnewjob.net
skeetsummers (on yahoo and aim)
skeetsummers@hotmail.com (msn im)
www.skeetersnewjob.net is my personal portfolio for graduation in a few weeks and is where i'm dealing with this problem. I've got a CSS laid out page, using JavaScript to control links that tell a Flash MX 2004 swf what to do. (please take into account that the SWF movie is just a UBER LAME place holder)
the beaut-code (can also see it at http://www.skeetersnewjob.net/):
function labelJump(labelName)
{
document.movie.SetVariable("jump", labelName);
document.movie.TPlay("_level0");
}
/*
Jumping into a deeper movie clip
Mouse Event Handler
onClick="jumpSub('Photo', 'test')"
2 arugments (movieClip[Instance Name], Frame Label inside that movie clip)
onClick="jumpSub('Print', 'Broch')"
*/
function jumpSub(movieClip, labelName)
{
document.movie.SetVariable("jumpSub", labelName);
document.movie.TPlay("_level0/" + movieClip );
}
Now is there something I'm forgetting? Some kind of formatting? Error I've written in? Anything? I'm a bit frustrated, because it started out working on my Mac, went beautifully on the Window's machine I used at school, and now isn't doing a thing back on my Mac.
If anyone has a hint, tip, etc. i would be in your debt! (please take into account that the SWF movie is just a UBER LAME place holder)
Thanks!
Skeeter Nummelin
skeeter@skeetersnewjob.net
skeetsummers (on yahoo and aim)
skeetsummers@hotmail.com (msn im)