Old 02-23-2009, 12:41 AM   #1 (permalink)
Junior Member
 
Join Date: Feb 2009
Posts: 2
Default Font and menu

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!
impulsum is offline   Reply With Quote
Old 02-26-2009, 09:46 PM   #2 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 1,981
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Please read here. It will help you understand the embed issues in flash and how to solve them.
Adrian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 08:25 PM.