Forbes89
12-07-2006, 04:21 AM
Hey guys I need to figure out how to run javascript functions within flash, so the icons I click on to go to Home, Forums, Wishlist, Documentation, and
Contact page being a javascript function. The function is
updatePage('wishlist.html')
this.dockActions = function(label) {
switch(label) {
case 'Preferences':
{getURL("index.html");};
break;
case 'Blog':
{getURL("smallwishlist.html");};
break;
case 'Forum':
{getURL("features.html");};
break;
case 'Store':
{getURL("forums.html");};
break;
case 'Tech Support':
trace('Actions here to handle t.s.');
break;
Thank you for any advice.:thumbsup:
Contact page being a javascript function. The function is
updatePage('wishlist.html')
this.dockActions = function(label) {
switch(label) {
case 'Preferences':
{getURL("index.html");};
break;
case 'Blog':
{getURL("smallwishlist.html");};
break;
case 'Forum':
{getURL("features.html");};
break;
case 'Store':
{getURL("forums.html");};
break;
case 'Tech Support':
trace('Actions here to handle t.s.');
break;
Thank you for any advice.:thumbsup: