sikshrik
08-22-2007, 10:28 PM
I'm new to scripting and flash. I have been working on this website redhawksbasketball.com. I've laid it all out, when you go to the site, homepage and its entire content are there. Then when you click to another page and try to click to the "home" button, all the content is gone. I’m probably missing something simple; can anyone tell me what’s wrong?? Thanks!
sikshrik
08-23-2007, 01:34 AM
here is the code:
stop();
#include "lmc_tween.as"
homeNav.navTxt.text = "Home";
newsNav.navTxt.text = "News";
resultsNav.navTxt.text = "Results";
rosterNav.navTxt.text = "Roster";
campsNav.navTxt.text = "Camps";
gearNav.navTxt.text = "Gear";
middleschlrNav.navTxt.text = "Middle Schl";
homeNav.onPress = function(){
gotoAndStop("Home");
}
newsNav.onPress = function(){
gotoAndStop("News");
}
resultsNav.onPress = function(){
gotoAndStop("Results");
}
rosterNav.onPress = function(){
gotoAndStop("Roster");
}
campsNav.onPress = function(){
gotoAndStop("Camps");
}
gearNav.onPress = function(){
gotoAndStop("Gear");
}
middleschlNav.onPress = function(){
gotoAndStop("Middle Schl");
}
stop();
homeNav.contrastTo(-100,.5,"easeOutSine");
newsNav.contrastTo(100,.5,"easeOutSine");
resultsNav.contrastTo(100,.5,"easeOutSine");
rosterNav.contrastTo(100,.5,"easeOutSine");
campsNav.contrastTo(100,.5,"easeOutSine");
gearNav.contrastTo(100,.5,"easeOutSine");
middleschlNav.contrastTo(100,.5,"easeOutSine");
i kinda followed this tutorial while putting the site up:
http://www.free-webmaster-resource.com/tutorials/flash/basics/tutorial001/index.php?tutorial_id=$get_tutorial_id
Thanks
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.