JUMP MENU - Changing Highlight Color
Hi there.Needing to use a jump menu on a local soccer team's site was no problem up to the point where I found out that their rival's colors were green, thus using this color on the jump menu's highlight has been flatly denied by them.Now, can someone point me to a place where I can change this?Thanks!
Adobe > Flash General Discussion
Posted on: 07/05/2007 03:22:33 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
JUMP MENU - Changing Highlight Color
Hi there.
Needing to use a jump menu on a local soccer team's site was no problem up
to the point where I found out that their rival's colors were green, thus
using this color on the jump menu's highlight has been flatly denied by
them.
Now, can someone point me to a place where I can change this?
Thanks!
Changing Highlight Color Of Input Textfield?
Is there any way of changing the highlight color of the input textfield, or changing the color of the text when you highlight something in the textfield? Right now the default is (when highlighted) a black highlight with white text.
Changing Font Color For Senocular's XML Menu
Dear Friends,
I am going through Senocular's beautiful tutorial on xml driver drill down menu and was trying to change the the font color with rollover effects. I have a function that I can use for this, but I am not able to call it appropriately from the main program. Please please through some light on this. Thank you.
Senocular's original code:
__________________________________________________ _____
// generates a list of menu items (effectively one menu)
// given the inputted parameters. This makes the main menu
// as well as any of the submenus
GenerateMenu = function(container, name, x, y, depth, node_xml) {
// variable declarations
var curr_node;
var curr_item;
var curr_menu = container.createEmptyMovieClip(name, depth);
// for all items or XML nodes (items and menus)
// within this node_xml passed for this menu
for (var i=0; i<node_xml.childNodes.length; i++) {
// movieclip for each menu item
curr_item = curr_menu.attachMovie("menuitem","item"+i+"_mc", i);
curr_item._x = x;
curr_item._y = y + i*curr_item._height;
curr_item.trackAsMenu = true;
//tracing curr_item
trace(curr_item);
//curr_item.initNewBtn(curr_item);
// item properties assigned from XML
curr_node = node_xml.childNodes[i];
curr_item.action = curr_node.attributes.action;
curr_item.variables = curr_node.attributes.variables;
curr_item.name.text = curr_node.attributes.name;
var c = curr_node.attributes.name;
// item submenu behavior for rollover event
if (node_xml.childNodes[i].nodeName == "menu"){
// open a submenu
curr_item.node_xml = curr_node;
//changing font color
curr_item.name.textColor = 0xff6600;
curr_item.onRollOver = curr_item.onDragOver = function(){
var x = this._x + this._width + 60;
//var y = this._y + 0;
var y = 10;
GenerateMenu(curr_menu, "submenu_mc", x, y, 1000, this.node_xml);
// show a hover color
var col = new Color(this.background);
col.setRGB(0x666666);
//curr_item.name.textColor = 0xff6600;
};
}else{ // nodeName == "item"
curr_item.arrow._visible = false;
//changing font color
curr_item.name.textColor = 0xff6600;
// close existing submenu
curr_item.onRollOver = curr_item.onDragOver = function(){
curr_menu.submenu_mc.removeMovieClip();
//curr_item.name.textColor = 0xff6600;
// show a hover color
var col = new Color(this.background);
col.setRGB(0x666666);
//curr_item.name.textColor = 0xff6600;
};
}
curr_item.onRollOut = curr_item.onDragOut = function(){
// restore color
//curr_item.name.textColor = 0xff0000;
var col = new Color(this.background);
col.setTransform({ra:100,rb:0,ga:100,gb:0,ba:100,b b:0});
};
// any item, menu opening or not can have actions
curr_item.onRelease = function(){
Actions[this.action](this.variables);
CloseSubmenus();
//curr_item.name.textColor = 0xff66cc;
};
} // end for loop
};
// create the main menu, this will be constantly visible
CreateMainMenu = function(x, y, depth, menu_xml){
// generate a menu list
GenerateMenu(this, "mainmenu_mc", x, y, depth, menu_xml.firstChild);
// close only submenus if visible durring a mouseup
// this main menu (mainmenu_mc) will remain
mainmenu_mc.onMouseUp = function(){
if (mainmenu_mc.submenu_mc && !mainmenu_mc.hitTest(_root._xmouse, _root._ymouse, true)){
CloseSubmenus();
}
};
};
// closes all submenus by removing the submenu_mc
// in the main menu (if it exists)
CloseSubmenus = function(){
mainmenu_mc.submenu_mc.removeMovieClip();
};
// This actions object handles methods for actions
// defined by the XML called when a menu item is pressed
Actions = Object();
Actions.gotoURL = function(urlVar){
getURL(urlVar, "_blank");
};
Actions.message = function(msg){
message_txt.text = msg;
};
Actions.newMenu = function(menuxml){
menu_xml.load(menuxml);
};
// load XML, when done, run CreateMainMenu to interpret it
menu_xml = new XML();
menu_xml.ignoreWhite = true;
menu_xml.onLoad = function(ok){
// create main menu after successful loading of XML
if (ok){
CreateMainMenu(10, 10, 0, this);
message_txt.text = "message area";
}else{
message_txt.text = "error: XML not successfully loaded";
}
};
// load first XML menu
menu_xml.load("menu1.xml");
__________________________________________________ _____
Here is the function that I am trying to use:
__________________________________________________ _____
function initNewBtn(me) {
me.onRollOver = function() {
setColor(me, "rollover");
showResources(me);
};
me.onRollOut = function() {
setColor(me, "rollout");
};
me.onPress = function() {
setColor(me, "pressed");
};
me.onRelease = function() {
setColor(me, "released");
};
}
//
function setColor(myBtn, btnstate) {
if (btnstate == "rollover") {
var colorChange = new Color(myBtn);
colorChange.setRGB(0xff9933);
} else if (btnstate == "rollout") {
var colorChange = new Color(myBtn);
colorChange.setRGB(0x00299A);
} else if (btnstate == "pressed") {
var colorChange = new Color(myBtn);
colorChange.setRGB(0xff3333);
} else {
var colorChange = new Color(myBtn);
colorChange.setRGB(0x00299A);
}
}
__________________________________________________ _____
Changing The Position (and Color) Of A Slideshow Menu Bar
Hi folks,
I found this great slideshow application done with Javascript and Flash, and I've been able to stumble around in the Actionscripting to remove the border and drop shadow it makes (I know, I'm so advanced, aren't I? *grin*). I was wondering if you folks could help me out in understanding what part of the actionscript determines the position of the slideshow menu bar (Previous Slide, Pause, and the Next Slide buttons), as well as to figure out how I can change the colors of the buttons so I can make it match with the color scheme of my site.
You can find the source code for the Flash file the same place I found it, which is at About.com.
Thanks in advance!
Patrick
Color Highlight
onClipEvent (load) {
_parent.colSetUp(this, "0xFFFF00");
}
This is for a color that a pen is writing. How would I write this so the color has a transparency to it? Like a highlighter.
I tried writing it as:
_parent.colSetUp(this, "0xFFFF00", _alpha=50);
But that didn't go over too well.
Thanks for the help.
Jo
Overall Highlight Color
I never use components, but I decided to on this one... I'm using the scrollpane and I want to change the overall color scheme instead of green.
I know that I can setStyle and change borderColor, buttonColor, etc etc....
But is there one global color variable that I can change???
So much for components being easy to work with... I liked the 1.0 ones better!
By the way if anyone knows of a list of all the properties etc.. please shoot me a link, documentation is HORRIBLE!
Highlight Color
how can u change the highlight color on flash? for me its black. but for windows its blue..when u highlight text
Highlight Color
how can u change the highlight color on flash? for me its black. but for windows its blue..when u highlight text
Change Highlight Color
Is there any way to change the highlight color of this file:
http://www.inter-pub.com/FTP_Clients...vey/player.zip
637k.
I want to change it from green to blue.
Tab Highlight Color - How To Set? - How To Disable?
hey guys
im new to flash
i seem to have a lot of trouble with the inconsistancy and uselessness with the flash documentation.. ive have searched google for an hour without any success looking for an answer to this question >
i have various objects on various flash documents.
the flash documents have a variety of mc's and text inputs..
when i view them on my website i have the following symptoms:
page 1: when i press tab to go between the objects an ugly yellow border is placed around the objects - i did not set this anywhere - it seems to have done it by itself
page 2: when i press tab to go between the objects a big ugly green border is placed around the objects - i did not set this anywhere - it seems to have done it by itself
page3 : when i press tab to go between the objects there is no border around the objects - the blinking text cursor moves betwwen the various text inputs - this is actually what i want
why do some pages have yellow borders around selectable objects, some dark green and some none?
flash is a mystery to me..
cheers
skywalker
Text Highlight Color
Hi yall,
Does anyone know if there is a way to change the text highlight color for a text box?
I have white text on a black background that is selectable...the only problem is it highlights the selection in black so it isnt visible. Any workarounds for this?
thanks in advance.
JTK
HotObjects Highlight Color
I'm using a HotObjects learning interaction, and it's working great, but when you click on the object, it highlights the whole thing in pink, which doesn't go with the rest of our color scheme. Does anyone know how (or if) you can change the autohighlight color in a HotObjects interaction?
Changing HighLight Colour
Hi,
I've got a website that I'm using scroll panes in to dynamically call in other movieclips that hold info with text and graphics that the user can scroll through.
So far so groovy, I've skinned it and it looks great and works great.
Now the prob. When it's clicked on I get the halo green border around the component. It looks awful - I'm not even a fluffy designer and I don't like it - please - if you know how to turn off the higlighting or at least change it's colour I'd appreciate any help.
I have gone through the theme with and can't find it anywhere.
I'm sure the solution is action script - but I can't find the right call on the Macromedia site, in the help or just by hacking around with code and changing the styles.
On another similar but slightly different point.
WHY OH WHY do we not have a place where the style properties for each component are listed with the action script calls? Surely it can't be too hard for Marcromedia to put a simple list like this together. Instead you find yourself going from page to page to page in the help or live docs in this case starting with the Scroll Pane - then going to the Scroll Bar - then going to the RectBorder Class - then going back to the Scroll Pane - then etc etc. I can't be the only one getting extreamly fed up with this massive waste of time just to find the right code to change a colour?
Sorry rant over - However I would be interested in collaborating with anyone who would like to set up a simple list such as the one I just talked about.
Back to the prob - how do I turn off the highlighting of the ScrollPane, or change it's colour? Help!!!!!
Cheers
Tim
Change Highlight Color Component
Hi,
How can I change the highlight color of a component, instead of the default darkgrey?
I tried
MyFtree.setStyleProperty("background", 0xFFFFFF); but that changes the instance background.
Help appreciated
cheers
Patrick
How Do Modify The Highlight Color Of A Button To RED?
HI! I want to know what is the easiest way to modify the highlight color or
a button to RED. ( I want the helo-green or orange theme).
I know how to change the theme or by using the setStyle("themeColor",
"haloOrange"); BUT there is no RED. so what is the easiest root to modify
all button instances.?
PaulD
ComboBox Selection Highlight Color Change
I've done a search through the forums to find the appropriate style change for this. I can't find one that refers to the highlight colour which is presently a gross green. Is there a way to customize this with the fstyle ?
Thanks in advance
HELP Simulate Background-color/highlight On Links
I need the links on an XML loaded menu to simulate css background-color or highlight. Since I first attempted this through CSS the dynamic text box containing the loaded menu is set to read html and all links are function calls through html ascommands.
So far I looked into setSelectedColor which does not work dynamic text (static only)
Actionscript skips background-color in CSS. TextField.backgroundColor affects the entire text field but I need to change only the string of text that the cursor rollsover on links.
It blows my mind how overly complicated this is in Flash.
Is there a way to do this? Existing tutorial perhaps? If not can you recommend a good XML scrolling menu tutorial using duplicate movieclip method since most likely I'll have to change my methodology in creating this menu.
thanks
mike
How To Change Highlight Color Of Tabbed Movie Clips?
Hi,
I have movie clips that act as buttons and have set them up for tabbing using tabindex. Is there a way to change the color that outlines a movie clip when it has focus? It is now showing a bright yellow.
Thanks!
Change Highlight Color Form Green To Blue
Does anyone know how to change the highlight color in this file from green to blue? http://www.inter-pub.com/FTP_Clients/upload/mgilvey/player.zip I tried going back to the original creator but all indications seem to imply that he has not been active with his website since 2004 or 2005.
How To Highlight An Active Menu Item In A Flash Menu
Hi,
I have a flash menu and I want each menu item to be highlighted according to which page it is on (e.g. Highlight the 'about us' link when the user is in the about us section) to save having to create more than one swf. At the moment I have all the highlights made invisible like this:
highlightOne._visible = false;
But have no idea how to make the swf know what page it is on or how to make a highlight visible accordingly.
Can anyone help me out?
Highlight Menu
Hi
I've got a tree menu and i want that the different points highlight after been clicked.
I've got this running by using the buttons as html coded text and that every button has 2 actions.
one says to set the font color to white and to underline it self
2nd says to set all other buttons to regular
for example: (i use set variabel)
aa = "Hallo";
ab = "Tag";
ac = "<font color ="#FFFFFF"><u>Bonjour</u></font>;(made with html code)
ad = "Moin";
this works fine but my problem now is that if i add another button i have to change the script of every button, up to day this means changing 30 scripts.
I wonder if there is no other way to to it. I've tried with
on (release){
ca = 3;
}
on (releaseOutside){
ca = 4;
}
This works but u have to click on the button and then drag outside and release an no one uses this.
So do u have a clue???
thanx
Gilo
Changing Fill Color And Line Color Dynamicly And Seperately
Hi community,
In this case, I am going to load a swf with a looping animation colored in black and white only. I want to change the color of the animation dynamicly so that I could have different color at each time. Here is my code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:Script>
<![CDATA[
import flash.display.*;
import flash.net.URLRequest;
private function init():void{
myCan.addEventListener(Event.ENTER_FRAME,capMotion);
}
private function capMotion(event:Event):void{
var bmd1:BitmapData = new BitmapData(mySwf.width, mySwf.height, true, 0x00CCCCCC);
bmd1.draw(mySwf);
var bitmap1:Bitmap = new Bitmap(bmd1);
bitmap1.x = 0;
bitmap1.name="org";
if (map.getChildByName("org") != null){
map.removeChild(map.getChildByName("org"));
}
map.addChild(bitmap1);
var bmd2:BitmapData = new BitmapData(mySwf.width, mySwf.height, true, 0xFFFFFFFF);
var pt:Point = new Point(0, 0);
var rect:Rectangle = new Rectangle(0, 0, mySwf.width, mySwf.height);
var threshold:uint = 0xFF999999;
var color:uint = 0xFFFFFF00;
var maskColor:uint = 0x00FF0000;
bmd2.threshold(bmd1, rect, pt, ">=", threshold, color, maskColor, true);
var bmd3:BitmapData = new BitmapData(mySwf.width, mySwf.height, true, 0xFFFFFFFF);
threshold = 0xFF000000;
color = 0xFF00CCCC;
maskColor = 0xFFFFFF00;
bmd3.threshold(bmd2, rect, pt, "==", threshold, color, maskColor, true);
var bitmap2:Bitmap = new Bitmap(bmd3);
bitmap2.name="dup";
bitmap2.x = bitmap1.x + bitmap1.width + 10;
if (map.getChildByName("dup") != null){
map.removeChild(map.getChildByName("dup"));
}
map.addChild(bitmap2);
}
]]>
</mx:Script>
<mx:Canvas id="myCan" x="10" y="10" width="650" height="603">
<mx:SWFLoader id="mySwf" width="100" height="250" horizontalCenter="0" verticalCenter="-7.5" source="dance.swf" complete="init()" scaleContent="false" autoLoad="true"/>
<mx:Image x="61" y="320" width="550" height="152" id="map"/>
</mx:Canvas>
</mx:Application>
It works quite fine but I afraid that it's quite resource consuming using enterframe and bitmap drawing. Is there any better method?
Thanks for help.
How Would I Go Changing Lots Of Movieclips Color And Border Color Seperatly?
I am in the making of a isometric level editor, and I have about 15 movie clips with more to come.
I want to let people change the color of tiles to what they want from a list of colors, so how can I let them change the color of a tile dinamicly with actionscript so that it changes a tile's color while preserving changes of "shadows"?
I mean I have let's say a cube and to make it look 3D I need to change each face to make a feeling of 3D and not a flat one.
thanks.
XML Menu Text Highlight
Regarding this tutorial:
http://www.kirupa.com/developer/acti...pdown_menu.htm
Does anyone know how to highlight the menu text rather than the button background (on rollover)? I tried using a color object, TextFormater, and finally, I tried making two frames for the menu text item (one for default and one for highlighted text) but nothing is working. I think the real problem is in finding the correct name for the menu items. I'd appreciate it if someone could figure out the correct clip name to use (for the above tutorial file).
Menu Highlight Like This Site
Hi there!
Yup a real newbie question here... can somebody please let me know what's the easiest and most effictive way to make a navigation bar like ultrashocks' and make the selections light up on mouse hovering ...like that..
i'm using flash 2004 mx .. thanks in advance
Changing Color On RollOut Then Back To Color After 2 Seconds
I am using the code below to make a shape turn color using on rollOver, then on rollOut is changes to a differant color(blue), then I want it to change back to the first color(white), either on another rollover or I perfer to make it change back to the fist color after a 2 seconds,
on (rollOver) {
var colorful = new Color("_root.shapes");
colorful.setRGB(0x006699);
}
on (rollOut) {
var colorful = new Color("_root.shapes");
colorful.setRGB(0x006688);
I want to be able to rollOver change color, onRollOut Change color again, then back to the first static color after 2 seconds.
Anyhelp would be great Thanks
[CS3] Changing Color (and Opacity Of That Color) Of Movie Clip
Hi. I have a pretty large movie clip filled with pngs. It's a sprite for a game and I want to change it's color. The setRGB method works, but I can't figure out how to set the opacity of the color. I don't want to change the alpha of the movie clip itself, just the color I'm applying to it so that it's just a shade over the normal images.
Is there any way to do this?
Menu Highlight Follow And Snap
Okay, I have a menu with let's say five buttons. When I roll over a button, I want a highlight to slide over and snap to the button, when click, the highlight stays on the button.
Now, while the highlight is locked on that button, when I roll over another button it still slides and snap to the new one I rolled over, but when I roll out without clicking on that new button the highlight slides back to the previous button that I clicked on.
Any clue on how to pull this off?
Menu - Active/Current Page MC Highlight
Hi Guys,
Actionscript 3.0 (
I'm hoping someone can help me as I really have no idea where to start with this.
I've a flash header with a menu in it. I also have standard links at the bottom of the page.
What I need is for the flash movie to know what page it's on by reading the file name so it can activate a current state icon for the menu.
Regardless of whether the flash buttons or standard html links are pressed it will know what page it's on.
Can someone please tell me if this is possible? And if so can someone really bail me out on it?
Someone suggested it be done via a querystring, but I've really no idea how to implement this.
I eagerly await the guru who can master this.
Thank you.
recap:
MC reads page/file name (bob.html) and determines which keyframe to go to in the MC to show the highlight.
Senocular's Drop Down Menu-Highlight Path
Hi,
Firstly, I must say I really liked the dynamic drop down XML menu tutorial!
I was wondering if there is a way to highlight the navigation path. Like highlight the parent button of the submenu and so-on so that the user can see where they are in the menu and where they came from. There is a menu like this on http://www.flash-menu.com. I was wondering if you can slightly modify senocular's code to incorporate the highlight. thanks.
Sliding Menu : How To Highlight Selected Button
Implemeting the wicked sliding menu code into a site.
Can someone show me how I can make a button stay highlighted after they have clicked on it. (i.e. the button is a different colour once it has been selected and then turns back to the original when another button is pressed).
I am not using flash buttons by movieclips with the code to make them work as buttons so I can get a nice mouseover / mouseout fade in and out.
Help you Flash gurus!
Senocular's Drop Down Menu-Highlight Path
Hi,
Firstly, I must say I really liked the dynamic drop down XML menu tutorial!
I was wondering if there is a way to highlight the navigation path. Like highlight the parent button of the submenu and so-on so that the user can see where they are in the menu and where they came from. There is a menu like this on http://www.flash-menu.com. I was wondering if you can slightly modify senocular's code to incorporate the highlight. thanks.
Changing Stage Color When Changing From Scene
Hi,
I would like to change the color of my stage when I get in my next scene, is it possible?
So when people look to the movie Scene one should be black and scene 2 white. Don't tell me to put a big white square at the button of scene 2 coz when put it online I want all my window to change from color.
Thx
How Detect Current URL And Disable/highlight Menu Link?
I created a site navigation menu in Flash. When I mouseover each link, the text highlights -- pretty standard stuff. I use the same navigation Flash file for all pages on my site.
What I haven't been able to find are instructions for the following:
when I am on the "Home" page, I would like the "Home" link to be highlighted and the link disabled -- indicating that "Home" is the current page. I would like the same to happen when I jump to any other page in the site -- highlight the link for the current page and disable the ability to click that link.
Can this be accomplished with ActionScript? Please advise, thanks!
John
Color Tweening Dynamically Loaded Images Makes Them Jump?
Hi,
Can any one help me out? I'm having major problems color tweening dynamically loaded jpgs in flash. It seems if you color tween a mc that contains an image which has not been broken apart, that any color tween applied to that mc will make it jump. I tried this out and sure enough if I break apart the image inside the mc it works fine.
But this is of course not possible when you are using
my_mc.loadMovie("image.jpg");
Has anyone out there had the same problem, or know of a work around?
It seems to be ok if I publish at low quality but this is not really an option as I have lots of drawing which need to be antialised.
any help would be much appreciated,
Kind Regards,
grandmasterC
Input Text Field "Highlight" Color?
Guys,
Got an easy (?) one here. How do I change (or disable), the color of the "highlight color" on a Input Text box when a viewer hits the "Tab" key?
Example Here:
Input Text Field "Highlight" Color?
Guys,
Got an easy (?) one here. How do I change (or disable), the color of the "highlight color" on a Input Text box when a viewer hits the "Tab" key?
Example Here:
CSS On Jump Menu
I am trying to change the color of the background of the jump menu...and the color of its dropdown arrow..to the one with the arrow colors of the browser window(which i have changed)..but cant seem to get the rite prop syntax....
Jump Menu
Is there a way to create a jump menu in flash using built-in features. Just need something fast and don't want to try to create one from scratch.
thanks
Jump Menu Help
im new to flash and trying to create a jump menu for my site.. can some1 help me with flash jump menu...i found this tutorial but its no use since i dont know any portuguese.. can some1 help me in english please my addy is thulag@gmail.com
Jump Menu...
Hello,
I got a website here
which I have used a lot of jump menu.
Now the problem is... I would like to add some pages more inside the website and I have to edit every jump menu in every pages in the website.
Is there any better way to edit the Jump Menu so that I can have the changes in just one touch... something like remote Jump Menu....
Can anybody here teach me or show me the tutorial for this kind of thing in flash? And is it easier if I build all of them in flash?
Jump Menu
Is there a way to create a jump menu on a web page, that links to different things in a flash file?
I've googled this and didn't find much. Please help.
Thanx.
[F8] Problem With Changing "Shape Fill Color" Color
Hi guys,
I am having some trouble trying to figure out how to change the Shape Fill Color for the corner which is currently in #FF6600.
Can someone advise me how I can access this attribute?
See files attached.
|