PDA

View Full Version : the last piece of the puzzle (F5) HELP PLEASE!



bentaltoid82
September 9th, 2005, 05:11 AM
heres what im working on:

http://tomsriverpizza.com/lhd/layout.html

when you click on DATES it will bring up an event calendar

everything works fine but when i click on another nav link like PHOTOS the dates remain visible!

this is a serious problem and i cant figure out how to unload whatever operations cause that layer

i used the script from this page: http://www.flashkit.com/movies/Scripting/XML/Calendar-Siddhart-7645/index.php

Stage1
September 9th, 2005, 05:17 AM
can't you not just put the calendar in 1 MC (if it isn't already) and set the visibility or alpha to false or 0?

haven't looked at the script but that's what popped up at first.

bentaltoid82
September 9th, 2005, 05:20 AM
i tried to but couldnt figure it out, maybe its too complicated for me to understand

how would you code on a frame to make the visibility 0?

i tried _root.Numbers1._alpha = 0;


can't you not just put the calendar in 1 MC (if it isn't already) and set the visibility or alpha to false or 0?

haven't looked at the script but that's what popped up at first.

Stage1
September 9th, 2005, 05:25 AM
Let's assume you have a button like "guestbook"
you can assign on that mc the following code:



on(press){
_root.Numbers1._alpha = 0; // or )root.Numbers1._visible = false;
gotoAndPlay(whatever you want, the desination behind the button);
}



don't forget to set the values back to visible or 100 when you press the dates button again.