The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 3 of 3

Thread: nationality drop down menu

  1. #1

    nationality drop down menu

    hello all!
    seasons greetings and all that...

    i am looking to build a drop down/scroll menu with nationalitys inside it. A bit like this

    (on the right of the page you will see "country of residence")

    any direction/assistnace as ever much appreciated


  2. #2

    help has arrived

    Ok here's how you would do this,

    1 - make you button (don't convert to button)
    2 - convert to movie clip
    3 - now in the movie clip add a second keyfram
    4 - add a stop(); to both keyframes
    5 - on the second keyframe edit your button the way it's going to look after by addin a list over it or where ever you want it... oyu can add anything here but make sure it's near or over the button if you want the usuers to be able to click on it.
    6 - go to you main stage and add htis code to your movieclip

    onClipEvent (enterFrame) {
     if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
    //it checks if the mouse is overtop of the object, and if true it goes to frame 2 of the movie clip
     } else {
    //this keeps it from staying on frame 2 after the mouse leaves the object
    if you want you can change the if part of the code so it test if the mouse clicked the button... hope this helps

  3. #3
    TheCanadian's Avatar
    Noo doot aboot it, eh?
    It would probally be easiest to use a ComboBox component. You'll need an array with all of the countries you want in it. Then this simple code will populate the component:
    var nationalities:Array = new Array("Canada", "Italy", "Russia", "United States");
    myCB.dataProvider = nationalities;
    Proud Montanadian
    We tolerate living and breathing. And niches.

    Name Brand Watches

    Maybe getTimer() or TweenMax is the answer to your problem . . .

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012