|
|
#1 (permalink) |
|
Junior Member
Join Date: Feb 2009
Posts: 2
|
When i change the font to bold the names disapear. Where can i change this?
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 found this: ..... 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; } I dont know how to at this to this code Stage.scaleMode = "noScale"; Stage.showMenu = false; Stage.align = "TL"; // CLICK HANDLER FUNCTION menu_mc.onItemClick = function(node:XMLNode, level:Number) { res_txt.text = "Label> "+node.attributes.label+" | Menu item level> "+level; }; menu_mc.onItemClick= function(node:XMLNode, level:Number){ if(level == 2){ getURL(node.attributes.url, node.attributes.target); } } menu_mc.onItemClick= function(node:XMLNode, level:Number){ if(level==2 || (level==1 && !node.hasChildNodes())) { getURL(node.attributes.url, node.attributes.target); } } // LOAD XML AND GENERATE MENU var xob:XML = new XML(); xob.ignoreWhite = true; xob.onLoad = function(s) { if (!s) { trace("Error loading xml file !"); return; } menu_mc.data = this.firstChild; }; xob.load("data.xml"); Thanks for your help! Great menu! |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT. The time now is 08:25 PM.








Linear Mode
