Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default button problem

    hi,

    please see that simple example :

    http://www.delizade.com/files/sil.htm


    I have lots of scene like that and I have a lot of buttons on my scene. I
    attach mc over of all. and buttons is active always. How can I prevent
    buttons when an mc cover it?

    thanks.


    Burak Guest

  2. Similar Questions and Discussions

    1. problem: button
      hello! I work on Flash2004 Professional. and I got the problem with standard button action. My button is inside the MC, ant this MC is marked...
    2. Flash Button URL Problem
      Hello, I am having problems with flash buttons that I've made. They're really flash movies that I have tried to convert to a button. Anyway, I...
    3. Option Button Problem.
      Hi. First time post here so thanks for looking. I am a home user of Publisher 2000 SR3 and I am trying to create an option button form. There are 6...
    4. button problem
      I have buttons inside a movie clip that ir the roll over of another button. My first button has a hit area that asign a movie clip in the roll...
    5. button problem, please help!
      Hi, I am creating a website with flash mx and have a problem with the buttons. They work fine and load each new movie, but I want them to be...
  3. #2

    Default Re: button problem

    button1._visible = false;

    --

    Pierre Alain

    com


    "Burak Delice" <com> a écrit dans le message de
    news:c28k1a$4nd$macromedia.com... 


    PierreAlain Guest

  4. #3

    Default Re: button problem

    thanks Pierre but scene is always changing, because of this i cant know how
    many buttons in scene when mc covered the scene. so I have to prevent
    buttons different way...it shold be any more useful and right way


    .. "PierreAlain" <org> wrote in message
    news:c28kge$53q$macromedia.com... [/ref]

    >
    >[/ref]


    Burak Guest

  5. #4

    Default Re: button problem

    if you name your button regarding the scene/level

    i.e. on a specific scene/level button1_1, button1_2, button1_3
    (and on another scene/level button2_1....)

    you can do

    for ( var i =1; i<MaxButton; i++){
    setProperty( "button_1_" + i , _visible, false );
    }

    or if you don't know the number of button :

    for ( var i =1; i<MaxButton; i++){
    var A = eval ( "button_1_" + i );
    if ( A.length < 3 ){
    break;
    }
    else
    {
    setProperty( "button_1_" + i , _visible, false );
    }
    }

    --

    Pierre Alain

    com


    "Burak Delice" <com> a écrit dans le message de
    news:c28p0b$9p8$macromedia.com... 
    how [/ref][/ref]
    scene. 
    > >
    > >[/ref]
    >
    >[/ref]


    PierreAlain Guest

  6. #5

    Default Re: button problem

    This is a simple but interesting problem Burak Delice,

    Why not remove the button from the second fram ie:

    Say frame 2, layer 1 has the button which you press to gotoAndStop at say
    frame 5
    frame 5, layer 2 has the gray square that comes in from the right.

    The point here is frame 5, layer 1 should be empty, do not insert a keyframe
    there or else the button will appear underneath the gray square.

    I hope this helps, if not write again.

    Shiftlock


    shiftlock Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139