|
|
#1 (permalink) |
|
Junior Member
Join Date: Nov 2008
Posts: 4
|
Adrian,
I bought it, and love it... but I have one big need -- How do I make the second level background stay on when clicked...just the background. (not the letters highlight).So when clicked a second level choice, I want the background to stay on like it does on level 1. I am using it to show a movie that has a few steps - Introduction, Features, Conclusion I also have the need to be able to call the second level background dynamically, I need to let the user know which part of the movie he is watching. If I get this answered your work will be on a huge site in the US..and I will post it shortly after in your forum. Please help I always like helping my Romanian friends with exposure...its the least I can do. Multumesc mult - in avans, Lenroc |
|
|
|
|
|
#2 (permalink) |
|
OYXLUSFlash.com Staff Member
|
Hi,
Open source\oxylus\TwoLevelsMenu\Level2Item.as and add the following code (written in bold): Code:
.....
private var txtCol:Number;
private static var crt:MovieClip;
public function Level2Item() {
....
private function onRelease() {
onClick.call(this, node, 2);
crt.enabled = true;
crt.onRollOut();
crt = this;
crt.enabled = false;
}
All the best, Adrian |
|
|
|
|
|
#4 (permalink) |
|
Junior Member
Join Date: Mar 2009
Posts: 6
|
How do I get the second level buttons to reset after closing the accordion by clicking on Top level buttons.
The second level button stays highlighted/disabled after the accordion has been closed and reopened. |
|
|
|
|
|
#5 (permalink) |
|
Junior Member
Join Date: Mar 2009
Posts: 6
|
Hey Oxylus,
Nice work!...I just have a small problem regarding the solution above... The above solution was applied and it worked very well, thank you. But, how do I get the second level buttons to reset after closing the accordion by clicking on Top level buttons. Currently...The second level button stays highlighted/disabled after the accordion has been closed and reopened. I want to have the second level buttons stay highlighted and disabled when they are selected and being used, but when the top level nav is engaged then I'd like the sub Nav to reset... Thanks for your help... Rico |
|
|
|
|
|
#6 (permalink) |
|
OYXLUSFlash.com Staff Member
|
Add a static function in Level2Item.as:
Code:
public static function resetSub(){
crt.enabled = true;
crt.onRollOut();
}
Code:
oxylus.TwoLevelsMenu.Level2Item.resetSub(); Save and republish. |
|
|
|
|
|
#9 (permalink) | ||
|
Junior Member
Join Date: Aug 2009
Posts: 9
|
both my as files do not have the same exact coding as you have shown here..which means i can't say i'm sure where i am putting in the changes...
Quote:
Quote:
Last edited by pelsar; 11-06-2009 at 07:12 PM. |
||
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 08:24 PM.








Linear Mode
