Customisation Of Combo Box
Hi All, I'm trying to use the combo box component, but I'm having trouble getting it exactly as I want it to look. How do I go about changing the spacing of items in the drop down list? any help much appreciated
cheers
FlashKit > Flash Help > Flash MX
Posted on: 06-27-2002, 02:19 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Menubar Customisation
I was trying to play around with the menubar component and managed to change the theme color only.
Is there any way to change the base color of the menubar on the whole?
And also it seems like there's only 3 colors to choose from for the them color? Any way to set it to other colors? TIA.
Listbox Customisation
Hi,
I'm looking for a way to set the font and the font color inside a listbox....
I've lookes to setStyle, and textformat but it doesn't seem to work...
Please Help!
Menubar Customisation
I was trying to play around with the menubar component and managed to change the theme color only.
Is there any way to change the base color of the menubar on the whole?
And also it seems like there's only 3 colors to choose from for the them color? Any way to set it to other colors? TIA.
Freeware Jukebox W/customisation
Guys
Im looking for a jukebox so that I can play music loops on my website as people are browsing. I have seen a couple of jukeboxes around but im really looking for something that I can customise and make it 'house style'. Ideally I would want some different operation buttons, use of my logo and a playlist.
Is there such a thing available?
Would anybody be interested in developing one for us?
Ive done some programming, would it be hard to do myself?
Let me know - I look forward to hearing from each an devery one of you!
Nick
URGENT Customisation Request
Hi all.
I run a website design / hosting company and the guy that does my flash has been taken ill.
Is there anyone here that could customise a flash banner for me? All i need is to have the links sorted, The whole banner is ready to go, I just need the navigation links pointing to the right place.
In return I will offer you any service that I can.
If you feel you can help please add me to msn messenger as gwsebay@hotmail.com as I will be on there a lot in the next day or so.
Many thanks, I REALLY hope someone can help!
ScrollPane Component Customisation
SOMEBODAY PLEASE HELP!
I have managed to make the Scrollpane component read the swf file, all paramters are easy to set but how do I change the appearacne of the scrollpane and it's scroll bar?
I have looked at styles and skins and get very confused, I have found the setstyle command but don;t know how to use it properly, i can change a colour to another colour (of the scrollpane, not the scrollbar) but how do I remove the element or make it transparent?
also, how do i chnage the attributes of the scroll bar itself (this being the only element i actually want to see and I don't want it in grey).
i have tried a few tutorials and that but get so confused by it all,can anyone point me in the direction of a good tuorial please, with refernces on syntax fo setstyle - when I go to help it sais it doesn;t use styles and skins but the scrollbar does but the link on how to do it doesn't go anywhere.
any help apprecieated as always....
AAAARGH!
[F8] Tree Component Customisation
I've achieved a certain amount of customisation over the tree component, but I'm struggling with a couple of things.
Data is coming from an xml file... it's in quite a simple format eg:
Code:
<section label="section title">
<link label="Resource 1" path="blah/blah.pdf" fileType="pdf" userType="a" />
<link label="Resource 2" path="blah/blah.flv" fileType="video" userType="b" />
</section>
First, I want leaf items to have a dfferent font style to branch items. ie, how do I apply a style to all the 'section' nodes and a different one to all the 'link' nodes?
Next, I want to display different icons against leaf items, depending on the fileType attribute. ie, for all iems with attribute 'fileType="x"', display icon 'x'?
Any ideas or pointers to good tutorials files?
Thanks!
Radio Button Customisation
Hi, I'm a complete novice to flash but was wondering if it is possible to set up an a-z list in the form of 1 long horizontal bar with only 1 character selectable at a time - I used a line of radio buttons to achieve this already as they were 'good to go' but now would like to display the characters A-Z with the selected letter highlighted by colour if selected, plain if unselected and also will need to be able to have a few blanks for unused letters.
As I've already got the script working as a radiobutton group, is there a way to make this work graphically whilst retaining the radio button coding?
I'm using AS2 by the way.
Thanks in advance.
You don't see me smilin!
Treeview Component Customisation
Hi all,
The treeview component has a "depthColors" capability for varying the background colour of the tree cells according to depth. However, I would like to implement something similar for varying selection colours according to the tree branch.
e.g. the nodes would be like:
<node label="Node 1" col='0x000000'>
<node label="Child Node 1" col='0x000000'>
</node>
<node label="Child Node 2" col='0x000000'>
</node>
</node>
<node label="Node 2" col='0x00FF00'>
<node label="Child Node 1" col='0x00FF00'>
</node>
<node label="Child Node 2" col='0x00FF00'>
</node>
</node>
<node label="Node 3" col='0x0000FF''>
<node label="Child Node 1" col='0x0000FF'>
</node>
<node label="Child Node 2" col='0x0000FF'>
</node>
</node>
and I want each of these rows and their children to have a different selection colour (I want all children to have same selection colour as their parent).
I have tried modifying SelectableRow.as but have run into problems because each cell does not have a static hierarchical id.
Does anyone have any suggestions - other than building my own treeview component from scratch (I wanted to use the built-in component to save development time)?
ade.
Edited: 03/30/2007 at 06:39:16 AM by Ade Rutter
Advanced Customisation Of The ActionScript Editor
Is it possible to customise the ActionScript editor's syntax colouring so that I can specify a colour for a specific words such as 'myNewCode'? I'd like to be able to do this as I'm working on a file developed by another developer and I need to be able to quickly find my changes to the original code.
Many thanks
NB. Please could any replies only answer this specific question and not suggest alternative methods as I am aware that there are other ways to find my new code.
Text Area Line Height Customisation With Css
Does anyone know if there is a way to customise the line height of text in a TextArea component that uses css to control the xml content? Most other styles seem to work fine in the stylesheet, but not that one...
Simple Flash Context Menu Customisation..?
I've been scouring the web for a simple, designer (read idiot-that's me!) friendly way of customising the context (right-click) menu which appears when viewing flash online or in the standalone player. Could anyone recommend one and where to find one in a flash source file format? I don't want anything fancy, i just want to remove the standard text, add in one or two lines and links, and that's it.
thanks!
Populate Combo Box Values Using Another Combo Box Instance
Hi,
I have two combo boxes. The first combo box's data is added through an XMLConnector object, the second combo box, I would like to populate through an on (change) event in the first combo box. The items in the second combo box would relate to the selection made in the first combo box.
I have attempted the following within the Actions for the first combo box:
on(change) {
switch(this.value) {
case "value1":
comboBox2.addItem({Label:"Label",Data:"Data"});
break;
} // end switch
} // end event
which is not working.
should an event be dispatched by comboBox1 and a listener be attached to comboBox2? I can't find any examples of this on the internet.. but i might be using the wrong search terms. any help with this would be greatly appreciated. Seriously, i'll buy beers.
-Thanks
Combo Box...Please Help
Hello...
I have a combo box(vtgCombo) with values that, when selected, should jump to a certain scene. I have the following code written on the first frame of the timeline which the component lies on:
indexData = new Array();
indexData[0] = {label:"Select...", data:""};
indexData[1] = {label:"The Resort", data:"Resort"};
indexData[2] = {label:"Guest Rooms", data:"Intro"};
indexData[3] = {label:"Leisure", data:"Leisure"};
indexData[4] = {label:"Restaurants", data:"Restaurants"};
indexData[5] = {label:"Meetings", data:"Meetings"};
indexData[6] = {label:"Gallery Index", data:"Index"};
// Combo box attributes
vtgCombo.setDataProvider(indexData);
vtgCombo.setChangeHandler("sceneSelector");
// Playing the scene selected
function sceneSelector(){
gotoAndPlay(vtgCombo.getSelectedItem().data);
Would this conflict in any way what parameters are set on the box? I just can't get this to work. Any help is much appreciated.
Thanks!
COMBO BOX
Can anyone point me in the right direction on how to use a combo box to load MC's or to "goto" a particualr scene within a swf? or even call an outside swf to load? I would like to have the combo box as a "quick link" feature, but keep getting stumped with the action scripting...
http://www.redjetdesign.com/highwoods/
that's where is file is that I am working on, nevermind the homepage (I only use it really to test files) I haven't even considered building my own, I work for a commerical real estate brokereage that bombards me with flash projects like this one at the URL above, 2 - 3x or more a week. Any input. Thanks!
Please Help With Combo Box
I am try to use a combo box for the first time and do not know what to do. Lets keep it simple I have a combo box with labels (1,2,3,4,5) I want when the number is selected to display that number in a text box with variable (number).
The combo box instance name is (combo1). Could someone show me what what the action script function would be also show me what to put in the change handler(I think it would just be the function call but I am unsure). Thanks in advance. This is crucial for what I want to do so I hope someone can help.
Combo Box
Hi all,
I want to use the combo box component, the thing is I want it to jump to a label withing the same timeline, is this possible or do I have to go to a http//:www..etc
Many Thanks!
XML Fed Combo Box
Just been running through the macromedia xml gallery tutorial, now want to have a combo box to select each gallery via xml. How do i set the combo box to retrieve and display xml values?
I'm new to xml in flash - go easy on me!
Thanks
Combo Box
Hey there all you flashmasters outthere,
I got a problem with a combo box. It's located in an external *.swf which is being loaded into a dynamically created holder MC [loader.loadMovie("MC_containing_Combo_box.swf")]
It's working pretty fine. There's a big problem though, since the combo box loses the labels. You can still click it (i.e. the entries) and it's still working but you cant read the labels anymore !?!?!
Has anybody had this problem too? Does anybody know how to "cure" this ?!!?
Any help will be appreciated
Natsurfer
Combo Box Help
Dear all,
Could someone please explain to me in simple terms what code i put in the main timeline to make the main movie jump to a different frame when someone selects a choice in the combo box components list.
I have set up the combo box with all the choices but i dont know how to set up the change handler.
I want it so that when someone clicks on the first choice, the movie jumps to frame 12. when they select the second choice it jumps to frame 20, and when they select the default choice nothing happens.
Thank you very much.
Combo Box Help
Can someone please help me with this pain in the arse mx component problem.
I have placed a combo box component on the stage and filled in the labels.
There are 3 labels, the first says please select a language, the second choice says german language, and the third choice says english language.
Everything is ok so far, but what i need is the actionscript that i put in the main timeline to - do nothing if the user clicks on SELECT A LANGUAGE, send the main timeline to frame 10 if the person clicks on GERMAN LANGUAGE, or sends them to frame 20 if they click on ENGLISH LANGUAGE.
I have looked everywhere for the bloody answer and all i keep finding is useless examples using the trace command.
PLEASE PLEASE try to help me.
Thank you very much.
Combo Box
hi all
ive got a bit of a problem i'm trying to imbed the font for a flash mx combo box dose anyone know how to do it??
More Combo Box ?'s
I have a combo box that is getting its information from an array, is what i need to do is have combo box 1 populate another combo box with an array based on what was clicked on.
Hopefully this makes sense.
Thanks in advance for the help
MX Combo Box
How to create combo box like macromedia.com home page. Example: go to macromedia.com, please click any one of the shortcuts in the top flash part. there u can see the combo box...Can anyone help me?
Combo Box
I want to create a combo box with a list of approx. 10 labels. I want to be able to select a label from the combo box which opens up the relevant url for my label.
e.g. - I choose "dogs" from the combo box
- "dogs.html" opens.
I can't work out how to add the url elements, hopefully someone out there can help.
Thanks,
Darren
Combo Box
Hi all,
Is there any chance to select an item from a combo box via a button?
Sounds odd I guess. What I have is some sort of a quiz where people have to chosse answers from combo boxes.
Now I want to include a hint button to reveal the answer. That's why I need to kinda select the combo box item with a button.
Any ideas?
Natsurfer
Combo Box's
How do I assign a variable to a combo box so that when the user selects and option from the combo box, it can be sent to a cgi script.
I can set a input box with a variable, but how do i do the same thing for a combo box?
Combo Box
I am using the combo box component. When a user clicks on one of the drop down buttons I want that choice to come up later in a dynamic text box. This seems like it would be easy, but I can't find an example of it. Any ideas?
gamist
Combo Box
I am trying to use a combobox as a drop-down menu I have 5 basic subjects. What I am trying to do is simply advance t a frame in the movie related to the choice made in the box....Not only can I not get this to work, when I go to test the movie no words apear in the box until I click the drop-down arrow....... Please help....
Thank you
Anthony
XML Combo Box
I'm trying to build a dropdown menu which pulls the information from an XML Document.
What I need is for the Drop Down Menus to say it's "name", but display it's "value" as a variable on another frame.
ie: dropdown consists of 3 choices:
Name: Value:
Red red.com
Blue blue.com
Green green.com
If choice Blue is chosen, on the next frame, I would need it say blue.com
Any ideas or suggestions on how to write up the xml and fla code would be very helpful.
Thanks
Combo Box/asp
I have form that uses a combobox/dropdown and i am trying to submit the value of the combobox to and asp page ; but low and behold it is not working.
code on button..
on (release) {
models.getValue();
getURL("form_test.asp", "_blank", "POST");
}
code for ASP Page
myBody = myBody & "Info Requested: "& request.form("models") & vbcrlf
any thoughts as to what i am doing wrong??
much appreciated
Best Way To Use Combo Box
Hello,
NEVER used a Combo Box before but considering using one for choosing to display one member out of a list of members as part of a truck owners site.
I have not formatted the individual member sections because what I can or cannot do with the combo box will determine how I design the sections.
My question is can you use a Combo Box to go to specific frames in the timeline, and or load movie clips and swf files.
Depending on what the responses are, I may have some more questions but this is a good place to start.
Thanks!
Help I Almost Got It (combo Box)
I am new at flash but have been a developer for about 10 years now. I have went through all of the tutorials and everything else. I have been working on getting information from an external file into a flash movie that will update a dynamic drop down box. I will try my best to explain what I have going on below.
test.txt file
contents: intCount=8&txtVar1=10&txtVar2=20&txtVar3=30&txtVar 4=40&txtVar5=50&txtVar6=60&txtVar7=70&txtVar8=80&d one=okay&
If flash I have LoadVariables layer which has a movie clip on it.
The movie clip is setup like this:
frame 1:
_parent.stop();
done = "";
loadVariables("test.txt", this, "POST");
frame 2:
if (done == "okay") {
// all variables are loaded
gotoAndStop(4);
}
frame 3:
// loop back to text if all variables are loaded yet
gotoAndPlay(2);
frame 4:
trace("==================================");
_root.section = section;
intCounter = Number(intCount);
intCounter = intCounter+1;
trace(intCounter);
for (i=1; i<intCounter; i++) {
array[i] = this["txtVar"+i];
trace(array[i]);
}
_root.Combo1Array = array;
trace("==================================");
Now on the main movie I have another layer called LoadCombo and my script here is:
trace(_root.Combo1Array[1]);
and that is it.
When I test the movie the tracing on the movie clip shows my data from the external file and I can access it in the move clip. What i read was that "_root" would put it into the main movie that is the reason why I am saying in the last frame "_root.Combo1Array = array". However the "trace(_root.Combo1Array[1])" return undefined and I am at a lot at what to do now.
I was thinking I would be able to just do a databind on Combo1 and add the Combo1Array and the drop down would be filled in.
I forgot to mention that on the layer Load Combo I have a drop down box called Combo1.
Please help!!!!!!
thanks
Combo Box & PHP
I need help with a combo box...not sure how to actually get varibles from it. I want to do a simple mail form, using PHP and Flash, however, instead of the recipient being hardcoded....I would like the end user to select a recipient from a drop down list in a combo box
I'm doing this for a company, they want end users to be able to email different departments.
How do I pass variables from a drop down box in Flash to PHP? for a typical Mail Form?
Any help is greatly appreciated!
Thanks!
How Do I Do This Combo?
I would like to show a series of names of people, and when a user moves their mouse over a person, I would like more information about that person to appear to the right or somewhere beside the name.
I will be updating this flash movie constantly, so I would think it would be easier to load all the text data from an external .txt file. Please help me and/or include a .fla file for reference. Thanks.
Combo Box
I'm having trouble figuring out how to put script in an combo box. What I want to do is have the user be able to select what song they want playing in the background. I know how to make the labels but is there a way to write code for each label individualy so that I can for say have them select on mozart and it will play mozart.
Combo Box
hello,
i have a small question regarding combo box! By default, a combo box's selected element in the unfolding list is highlighted by a deep grey. i've just modified the attributs of a combo box so that the default grey is lighter and more related to the colors of my site. The problem is that not only does the default settings highlight the selected choice in a deep grey, it also puts the text in white ( thus making it unreadable on a lighter grey as i've selected.
Where can i tell the combo box to not put the text in white when "over" element. I've tried editing the combo but the text inside the combo is a dynamic text set to black which exposes the variable in black. but probably theirs a script somewhere telling "on over choice highlight in grey and change text color to white"
thanks in advance
priff
Combo Box
Please tell me is there a way to force Combo Box to display list of options above it, instead of below it how its usually shown.
Thanks.
Combo Box
I have a form that my customers can edit and update. The form contains a combo box with about 5 options. The form posts to an asp.net page. I have everything working as far as updating the database from the form and repopulating the input boxes with their previous settings. The problem is how to repopulate the combo box with the choice they had previously made. Getting the variable value into the form is no problem I just need a small sample of code that tells the combo box to show their previous value not the default value. Thanks in advance.
Combo Box, And URL
Funny enough I never used the combo box.
Well, today I have to
When I click the drop down box and click a selection I want it to goto a web site. How can I accomplish this with the combo box?
I put info in the data field but it didnt work. How am I missing this? Makes me feel like a NEWB again.
Combo Box
Hi
How do you make the Flash ComboBox jump to HTML pages, Ive added in the options, but i need them to jump to the relevant pages when selected, also can you target a frame with them.
Cheers
Lee
Combo Box
I am using the following code to try to trace the selection by the user in a combo box named "myCombo". It's not working. Seems like this would be simple.
Any help would be appreciated. I am using Flash MX 2004 Professional.
Thanks!
Alysen
_root.myCombo.addItem("label", "data");
_root.myCombo.addItem("label2", "data2");
_root.myCombo.sortItemsBy("label", "ASC");
_root.myCombo.setChangeHandler("myValue");
function myValue() {
trace(_root.myCombo.getSelectedItem().label);
}
stop();
XML In Combo Box.....
Using this XML
[QUOTE<?xml version="1.0"?>
<creature>
<category id="mammal" has="hairy_skin,mouth,warm_blood">
<species id="cat" has="fur,tail,whiskers">
<breed id="tiger" has="stripey_fur"/>
<breed id="lion" has="brown_fur,mane"/>
<breed id="panther" has="black_fur"/>
</species>
<species id="dog" has="hair,tail,wet_nose">
<breed id="labrador" has="soft_hair"/>
</species>
<species id="pig" has="snout,trotters"/>
<species id="cow" has="nose,hooves"/>
</category>
<category id="reptile" has="scaly_skin,mouth,cold_blood">
<species id="lizard" has="tail,legs">
<breed id="iguana" has=""/>
</species>
<species id="snake" has="tail,no_legs,forked_tongue">
<breed id="cobra" has="hooded_head">
<subbreed id="greatcobra" has="big_hood"/>
</breed>
</species>
</category>
<category id="bird" has="feathers,beak,wings,warm_blood" />
<category id="fish" has="scales,mouth,cold_blood">
<species id="mullet" has="thick_lips"/>
<species id="pike" has="sharp_teeth"/>
</category>
</creature>[/quote]
can i adapt this AS to fill a combo box named "dropDown" with "species, breed and sub breed"
code:
dataXML = new XML();
dataXML.onLoad = convertXML;
dataXML.load("creatures.xml");
function convertXML () {
mainTag = new XML();
elementTag = new XML();
dataList = new Array();
elementList = new Array();
mainTag = this.firstChild;
if (dataXML.loaded) {
if (mainTag.nodeName == "category") {
dataList = mainTag.childNodes;
for (i=0; i<=dataList.length; i++) {
if (dataList[i].nodeName == "species") {
elementList = dataList[i].childNodes;
for (j=0; j<=elementList.length; j++) {
elementTag = elementList[j];
elementType = elementTag.nodeName;
if (elementType == "breed") {
breed = elementTag.firstChild.nodeValue;
}
if (elementType == "subbreed") {
subbreed = elementTag.firstChild.nodeValue;
}
}
// Adds the label and data to the URL.
dropDown.addItem(breed, subbreed);
}
}
}
}
}
many thanks
Combo Box
Anyone who can help, I am using a combo box component as a drop down list for an mp3 player and when testing in flash it works ok. However, when I export it to dreamweaver the drop down list doesn't operate as it does in flash. Am I missing something basic here or what?
when you're smiling, whe whole world smiles with you
Combo Box
How do i make a value apear in the editable are of the combo box based on an external value
Combo Box
Hi all,
I have a weird problem here... hope you all can help
function doAdd() {
subject = subject.getValue();
trace (subject);
dateset = dateset.getValue();
trace (dateset);
}
subject and dateset are both editable combo boxes.
When I click the button 'Add', whose handler is doAdd(), doAdd() is invoked. The first click gives me the correct values of the combo boxes, but the subsequent times i click only returns two 'undefined'.
Really puzzled...
Please help
Combo Box
How can I read the value of a combo box to see what item the user has selected from the drop down ?
Help With Combo Box
how do i get a combo box to show the label that has been selected in a input texfield?
cheers
aron.
|