Hello ppl,
after few years of not using flash i decided to try it out again and build a little site for my self. Every thing went good besides action script, its always been my weak point and well flash has changed alot since version 6.
I was wondering if any body could help me with these problems:
1. menu
as you can see, i need every button to goto a diffrent page in the main Scene1. However i have a little problem due to complication of this, i'm just confused.
on scene1, 141 i have such a script:
code:
--------------------------------------------------------------------------------
_root["item"+_root.button].gotoAndPlay("s1");
_root.link = _root.button;
--------------------------------------------------------------------------------
and for the button the script is:
code:
--------------------------------------------------------------------------------
on (rollOver) {
if (_root.link<>5) {
this.gotoAndPlay("s1");
}
}
on (releaseOutside, rollOut) {
if (_root.link<>5) {
this.gotoAndPlay("s2");
}
}
on (release) {
if (_root.link<>5) {
_root["item"+_root.link].gotoAndPlay("s2");
_root.link = 5;
}
}
on (release) {
??????
}
--------------------------------------------------------------------------------
How can i fix the menu?
2. when you click on a button it stays open, which is good, but when i click on another button the other should close.
How?
3. is the loading script actually working?
how can i check? i want the whole site to preload before it opens..
I think it would be alot more clear if i post the fla file so here it is.
http://www.anvarian.biz/asa.fla
thank you in advance