Dropdown Combo Box Problems
I have a script which loads external swf's from my combo box, I am using Quote:
myDataTable = new Array("adr", "aez", "alessio", "amg", "antera", "arospeed", "atp", "azev", "bk racing", "breyton", "chromes", "carlsson", "dare", "dezent", "dj", "dotz racing", "bsa", "fox", "hartge", "kahn", "kn wheels", "konig", "league", "limited", "mangles", "mb italia", "miglia", "mvr", "niche", "oxigin", "oz", "polo", "replica", "rondell", "player wire", "specialist", "tekno", "toora");wheel_data.setDataProvider(myDataTable);wheel_data.setChangeHandler("myHandler");function myHandler() { container.loadMovie(wheel_data.getValue()+".swf", 2);}
to aquire the data however my swf's must be in the root of the movie to load how do I make it so they load from a folder say wheelsI have tried adding container.loadMovie(wheel_data.getValue()+"wheels/.swf", 2);but this didn't workcan anyone help
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 07-13-2005, 10:42 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Dropdown Combo Box To Display Countries
I am trying to find the code I need to display all the Countries in a combo box component that I need for a form for when you "Select your Country". I want to try and save time and not have to insert all of them into the Parameters of the component. Is there code out there or a source file I can grab to quickly create this selection box.
Thanks in advance,
Mike
Combo Box Will Not Display Dropdown On Click
I have three combo box drop down menu instances on a form and they are all being filled with data from an array. The problem is that none of them will display the menu when the arrow is clicked. They are also having a problem tabbing through them. I can see all of the data by selecting one of the combo boxes and using the arrow keys, but I need to get the drop down menu working.
Thanks!
Seeking Tutorial For Making Xml Dropdown (combo Box)?
Anyone have a link to such beast?
I've got an xml file with various countries, cities, & data. I'd like to populate a dropdown list with the country & city, and populate a textarea with data based on the choice. The latter I already know. It's the dynamic creation of the dropdown where I'm clueless.
Here's an example of the xml:
<?xml version="1.0" encoding="iso-8859-1" ?>
<Country_data>
<Location>
<LocationID>US</LocationID>
<Country>United States</Country>
<Region>North Atlantic</Region>
<City>Boston</City>
<Data>Some facts & trivia</Data>
</Location>
<Location>
<LocationID>AU</LocationID>
<Country>Australia</Country>
<Region>Tasmania</Region>
<City>Hobart</City>
<Data>Some facts & trivia</Data>
</Location>
</Country_data>
Any thoughts?
Form Dropdown Help, One Dropdown Works How Do I Code The Other ?
I have a form with 2 comboboxes. One mc is comboselect the other comboselect2. My php code is:
<?php
$sendTo = "myemail@email.com";
$subject = "Contact Flash Form";
$headers = "From: $name<$email>
Reply-To:$email";
$message = "1.Name:$name
4.Email:$email
5.Contact Address:$address
6.Inquiry:$temp
7.Comments:$com ments";
mail($sendTo, $subject, $message, $headers, $category);
?>
the flash AS on submit button is:
on (release) {
trace(name+'
'+email+'
'+address+'
'+temp+'
'+ comments);
}
on (release) {
loadVariablesNum("contacts.php", 0, "POST");
_root.nextFrame();
}
the flash AS on one of the comboboxes is:
this.stop();
myData = new Array('New York', 'Beverly Hills', 'Miami', 'other');
for (i=0; i<myData.length; i++) {
comboselect.addItem(myData[i], i);
}
function comboDisplay(component) {
temp = component.getSelectedItem().label;
}
comboselect.setChangeHandler("comboDisplay");
2nd combobox AS:
this.stop();
myData = new Array('10mil', '50mil', '100mil');
for (i=0; i<myData.length; i++) {
comboselect2.addItem(myData[i], i);
}
function comboDisplay(component) {
temp = component.getSelectedItem().label;
}
comboselect2.setChangeHandler("comboDisplay");
only info comes through is for the 2nd combobox - 10mil, 50mil, or 100mil
what do I need to add to the PHP and AS to have the other combobox info be emailed ?
One Dropdown Affects A Second Dropdown, HOW?
i have an HTML form where one dropdown (DEPARTMENT) causes another dropdown (AUTHORIZE) to to have it's contents changed.
For example, if the user selects 'Accounting' from DEPARTMENT, then in the AUTHORIZE dropdown, only Accounting department names appear. The user then has to select one of the names.
I want to do the same thing in a flash form, can I just copy and paste my scripts? I am using arrays.
ANY help is greatly appreciated!!!!!
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
Dropdown
My drop down menu is at the start of the timeline.
All the pages the menu refers to are later in the timeline.
I am trying to have the dropdown menu so that it does not return to the start of the timeline on rollover,
I.E the dropdown menu is shown over the current page.
Any suggestions?
Dropdown
i need help, i'll put the file up on here, could someone sort out my dropdown menu and get a photo to appear depending on what day of the week it is, download it and you'll get what i mean.
this is very urgent, thanks.
Dropdown
We have our project in MAcromedia Flash,it will be our personal portfolio..how can I add dropdown to the stage?how will it work?tnx...
or better yet,is there anyone who had developed his/her personal resume in flash that is willing to share his/her project to me,so that I can study it..thank you for your affirmative response...
Xml Dropdown
This a tutorial on how to make an XML Dropdown Menu
http://www.kirupa.com/developer/acti...pdown_menu.htm
Is it possible to make the submenus load within the initial menuitem? I ask this question because my menuitem has a button in it that plays a shapetween. I want the submenus to be shown on top of the shapetween at frame 30 inside menuitem.
here is a link to show what the dropdown menu is supposed to look like.
http://www.coimagen.com.pe/designgallery/gallery.swf
the xml would look somthing like this:
Code:
<?xml version="1.0"?>
<menu name="Menu">
<menu name="Menu1">
<item name="item1" action="message" variables="image path"/>
<item name="item2" action="message" variables="image path"/>
</menu>
<menu name="Menu2">
<item name="item3" action="message" variables="image path"/>
<item name="item4" action="message" variables="image path"/>
</menu>
</menu>
MX: Set Dropdown
Hi, I think I'm being really stupid - so I thought I'd show everyone.
I have two dropdowns. I would like them to change - depending on what the other one does.
This code is not production quality or particularly efficient - it just for demo.
Code:
function setstate1(){
selectedState1 = stateinput1.getValue();
trace("selectedState1= "+selectedState1);
this.stateinput2.selectedIndex = 0;
}
function setstate2(){
selectedState2 = stateinput2.getValue();
trace("selectedState2= "+selectedState2);
this.stateinput1.selectedIndex = 0;
}
I dont see why it doesn't work. I'm tired - but I've had no beer tonight...
The fla is at:
www.3ainteractive.com/dropdown.zip (mx compatible) - if you wana see for yourself...
M@)
Dropdown Menu
I want to emulate an HTML dropdown menu.
I know how to script out a scroller, but
I'm having troubles getting the menu to
disappear if nothing's selected (on rollout). Meaning:
I need a simple mouseout piece of scripting
or something. Any ideas?
Using a mousevent doesn't work because I can't put
a button on top of my scroller.
thanks,
fred
Dropdown Navigation Help Please
Does anyone know of the most efficient way to make a drop down navigation system using actionscript? I want to be able to click on a top level navigation item, and have it open to sublevel navigation items. I also need when the user clicks on another top level navigation item, the sublevels that are open will close.
Does anyone know of any GOOD tutorials or other actionscripts that could help me out with this? the tutorials that I tried to use so far aren't exactly what I am looking for.
Any information would be greatly appreciated!
Dropdown Menu?
how can I finish my dropdown menu so that the menu which "drops", stays on it`s position when I move my cursor on it and leave the sourcebutton which drops it?
it just pulls back where it came from, quite annoying
Dropdown Nav Smartclip 4 MX
Hey, i just tried to use the Mickey Live smart clip on the macromedia site, and i dont thinik the clip parametres box work for MX.. but it looks like what i need..
Is there another smartclip/component created for MX?!
or is there a better one
because basically what i want to do is create a dropdown menu in flash mx, but without a tonne of hassle..
thnx in advance..
Coz
[Edited by CozmiX on 08-06-2002 at 04:04 PM]
XML Dropdown Menu
where can i find a XML dropdown menu similar to the one in the FLASH MX's builtin Templetes . i cant use that one cos it can only go to different url links but i want to traverse thru the frames and scenes. n e idea? urgent
thnx
aLi
Dynamic DropDown
Hi everyone,
I am trying to develop a small menu system with flash. I was wondering if anyone knows of a way to do a dynamic drop down in flash. Basically, by dynamic - I need to have the swf file load a .txt file which would have the contents of the menu.
Does anyone know if this is possible? Im pushing a deadline, and could use any help available!
thanks!
Dropdown Component
hi,
i have a dropdown component with some values in it. when i click a buttons i want to set the value in the dropdown to the first label
can anybody help me with this please?
Help With Dropdown Menu's
Ok, I tryed doing this on my own, however failed so I think, lets try finding a tutorial that does what I want. I found one that was very close to what I wanted (placement really was only thing different, working ability was the same). For reference please visit this link.
I have followed this through and it does not seem to be working. I have checked and dbl checked and still can't get it to work. I have sent an email to the creater of this for assistance, but havn't recieved any word back. Maybe I'm not waiting long enough, however this is of high importance to me and I would like to get it working as quickly as possible. Thus I have come to you great people for help. Here is the situation.
I am making a menu (drop down) in the same form as the one provided by the link above. I followed the instructions. Although it was designed for flash 5 I didn't think I would have a problem with it. I am using Flash MX. I created my mc with my first button. In a different frame, I have my first button and all other buttons (on different layers) I have the text for the buttons on thier own layers (not that this should matter). I have the first frame (where main button is) labeled Hidden. At frame 20 I have the frame labeled Shown (this is where all my other buttons are (the dropdowns)). In the the actionscript for the first button on frame one I have...
on (rollOver) {
gotoAndStop("Shown");
}
however when I hover my mouse over, it doesn't go to shown. Nothing changes. I have set the properties to both track as button and track as menu item, however neither work. I have attached the .fla file to this for more info if needed. I would like to know what needs to be done rather than have you do it and send it back. Thanks in advance for your help!!
Sparkyfire
Dropdown Menus
Can someone help me with the script of the dropdown menus??
Dropdown Menu
I am a new user to flash stuff, and have been experimenting with creating menus in a MC, using Flash 5. My problem is that I cannot get the buttons to link to different scenes and or frames within the main timeline, I have tried the goto command which just keeps taking me back to the start of the MC no matter what scene and frame number I put in. Anybody got anything that will help.
Dropdown Menu
Hi,
I 'm trying to make a dropdown-menu...
I've attached a test file that I'm using to experiment.
When I press Sub1, it drops down and some new buttons(in this file the subbuttons don't work... you'll see) should appear.
When I press Sub2, first it should return to the normal state and then Sub 2 with some other buttons need to drop down.
How can I do this? I' ve tried with tweening, but that doesn 't seems to work.
Can anyone help me on my way?
thx already,
ilClandestino.
Help With Dropdown Menu
I have been following this tutorial here:http://www.flashkit.com/tutorials/Ac...-121/index.php. I did everything it asked and got the menu working fine, accept it doesnt go anywhere when I click on the sub buttons! I have spent at least 3 hours trying to find out why and have failed. I am quite positive I have the action script correct for linking it to another scene but it just won't work. Please help me out with this as it is kind of important. I attached the file. Please help me!
Help With Dropdown Menu
I have been following this tutorial here:http://www.flashkit.com/tutorials/A...a-121/index.php . I did everything it asked and got the menu working fine, accept it doesnt go anywhere when I click on the sub buttons! I have spent at least 3 hours trying to find out why I have failed. I am quite positive I have the action script correct for linking it to another scene but it just won't work. Please help me out with this as it is kind of important. I attached the file. Please help me!
Dropdown Problem ?
Does anyone know how to get the value out of a dropdown box ??
I want to get the value so that I can compare that variable to others.
Please
Dropdown Menu
i want to make a dropdown menu so that when u move the mouse over another dropdown section in the menu or if u move the mouse of the menu the dropdown section that was down gose up.
how should i go about this and what action scripts would i need to use?
thanks
Advance Dropdown
Hi
I have created a simple dropdown menu in flash and i need to use it in a map of countries also created in flash.
The map holds 51 countries. If the user is scrolling on a country, the menu for that country would appear directly next to the mouse pointer position. The menu is the same for all countries.
For example, a user needs to search Canada. user would scroll on Canada, the menu appears and he selects the "search" menu item.
I have attached a smaller version of the map and the menu i need to use. I dont know whats the most effective way to make this work and secondly also if the menu needs to be dynamic because I have alot of countries to work with. really stuck
Any help would be truly appriciated..
Thanks
Dropdown Button
This may seem a little dumb, but Ive been trying and it doesn't seem to work for me. I want to have a regular button where when u put your mouse over it, a dropdown of buttons appears under it so pick the specific category...its for a website. For example. A button with the label Interests. When you place your mouse on top of it, 2 dropdown buttons appear: Games and Drawing. Im not that experienced in actionscript so im not sure if it has anything to do with actionscript. Can someone please help me. Id really appreciate it.
Thanks
Dropdown Info For 5
im trying to make a movie about a mechanic shop with 5 people in which i need a dropdown window to show info on each person. what is the best way to do this? i was thinking that i should make a movieclip to dropdown the window when the picture of the person is clicked on and have the info for the person on the same movieclip. but if i do it that way ill need to have the persons button play the animation of the dropdown then goto the info for that person. is it possable to make a button goto and play one part then when its done goto another part of the movieclip? or is there a better way that i dont know about? anybody?
thanks for your time,
j-son
Dropdown Menu Help
I'm having serious difficulties trying to make my dropdown menu work. I've gotten the whole movie clip so that when I mouse over it, it shows the other three subcategories, but when I click in either one of them they don't connect to the other scenes of my project...
I've make such sub-buttons to be tracked as menu items, and tracked as buttons and none of these options work. Each one of these sub-buttons have a "on release" action script "to go to and stop" on frame 1 of x,y, or z scenes...
Basically my sub-buttons are dead as a tired donkey!
I need help, I've been dealing with this for weeks.
Thanks community!
Dropdown Menu
I was just wondering if you could help me with this file that’s on flashkit.com. I can’t seem to duplicate the menus properly. I need about 7 menus and the example only contains 2. I tried duplicating them, but the references are pointin to the original 2 menus. I’m not sure how to go in and change the actions on the instances of knop1. I hope you can help me. This is probably something stupid, at least I hope so. Thanks!
This is the link to the file:
http://www.flashkit.com/movies/Inter...dex.php?chk=no
I use Flash MX on a PC.
Dropdown Menu
i have a search conected to a access database and it works perfect but i want to put a dropdown menu to select from.does anyone know how do do this? here is my file.thanx alot
MX Dropdown Issues
Hi, I think I'm being really stupid - so I thought I'd show everyone.
I have two dropdowns. I would like them to change - depending on what the other one does.
This code is not production quality or particularly efficient - it just for demo.
Code:
function setstate1(){
selectedState1 = stateinput1.getValue();
trace("selectedState1= "+selectedState1);
this.stateinput2.selectedIndex = 0;
}
function setstate2(){
selectedState2 = stateinput2.getValue();
trace("selectedState2= "+selectedState2);
this.stateinput1.selectedIndex = 0;
}
I dont see why it doesn't work. I'm tired - but I've had no beer tonight...
The fla is at:
www.3ainteractive.com/dropdown.zip (mx compatible) - if you wana see for yourself...
M@)
Dropdown Menu
I'm having difficulties setting up a dropdown menu.
i have one button appear in frame 1, then i've put a stop action in until the button is pressed.
I then put the same button from frame 1 at the top of the menu and then another seven buttons underneath.
I put in 'on (press) gotoandplay (2)), but it says it won't work.
Anyone got simple ways to put in a basic dropdown menu?
Need A Pro Dropdown Menu ...
Need A Pro! Teach me a trick or two...
Using the Flash MX template for dropdown navigation structure.
And need to add the button image only to the main button object.
The sub button objects should be below and slightly smaller text size, with no button image. See attached zip file includes the following:
Fla, XML, html, txt (code.txt is just the functions in flash in a notepad txt file for the ease of looking at it outside of flash editor)
Cindy
Dropdown Menu Help
Im looking to build a menu that the main menu is on the left and when u hit one of the buttons it slides out to the right and the drops down to show links. If there are any examples anyone has that I can look at becouse I dont know if it can be done in flash. thanks.
DropDown Menu Help
Can someone help me with this? Ive got one button to work, but I cant seem to get any other to work. I think it has something to do with the actionscript. Also, I want it so when the mouse goes off the menu, it closes. Thanks!
|