Quiz Tally 2004-02-18 - By Susan McDonough
Back I have Flash 5 quiz built in multiple SWF's which won't tally. I get different results everytime. This whole quiz then loads into a master SWF
I am a bit confused about when to use a Global variable.
In the first (intro)swf iI have: _global.Tally = 0;
in the next 20(answer) swfs I have when they hit a button Tally ++
To load various result pages For the last question on the button I have
on (release) { this.gotoAndStop (10); if (Tally == 20) { _root.content.loadMovie("result20.swf", 0); } else if (Tally == 19) { _root.content.loadMovie("result19.swf", 0); } else if (Tally ==18) { _root.content.loadMovie("result18.swf", 0); } else if (Tally ==17) { _root.content.loadMovie("result17.swf", 0); } else if (Tally ==16) { _root.content.loadMovie("result16.swf", 0); } else if (Tally ==15) { _root.content.loadMovie("result15.swf", 0); } else if (Tally ==14) { _root.content.loadMovie("result14.swf", 0); } else if (Tally ==13) { _root.content.loadMovie("result13.swf", 0); } else if (Tally ==12) { _root.content.loadMovie("result12.swf", 0); } else if (Tally ==11) { _root.content.loadMovie("result11.swf", 0); } else if (Tally ==10) { _root.content.loadMovie("result10.swf", 0); } else if (Tally ==9) { _root.content.loadMovie("result9.swf", 0); } else if (Tally ==8) { _root.content.loadMovie("result8.swf", 0); } else if (Tally ==7) { _root.content.loadMovie("result7.swf", 0); } else if (Tally ==6) { _root.content.loadMovie("result6.swf", 0); } else if (Tally ==5) { _root.content.loadMovie("result5.swf", 0); } else if (Tally ==4) { _root.content.loadMovie("result4.swf", 0); } else if (Tally ==3) { _root.content.loadMovie("result3.swf", 0); } else if (Tally ==2) { _root.content.loadMovie("result2.swf", 0); } else if (Tally ==1) { _root.content.loadMovie("result1.swf", 0); }
}
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=dept/features&pgmarket=en-ca&RU=http%3a%2f%2fjoin.msn .com%2f%3fpage%3dmisc%2fspecialoffers%26pgmarket%3den-ca
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
|
|