Here is code
init=function(){        
           for (var i:Number=1; i<=maxId; i++){
                
var box:MovieClip=_root.createEmptyMovieClip(("box"+i),boxDepth);
                        //I will load picture in box
                        …….
                        box.onRollOver=function(){
                                //effect
                        }
                        box.onRollOut=function(){
                                //end effect
                                
                        }
                        box.onRelease=function(){
                                        ///move it out
                                
                        }

                  }
                
}


2010/11/8 Karl DeSaulniers <[email protected]>:
> Natalia,
> Do you have one invisible button for both rollover states of your MC?
> Try putting separate invisible buttons. One on the "up" frame, one on the
> "over" frame and one on the "down" frame if you have that.
> Because there will be a new button on each frame, it should force it to read
> it.
> Sometimes if you have one invisible button spanning three frames lets say,
> it doesn't register the rollOver again, because your already over it.
>
> HTH,
> Best,
>
> Karl
>
>
> On Nov 8, 2010, at 6:16 AM, natalia Vikhtinskaya wrote:
>
>> What do you mean?
>>
>> 2010/11/8 Cor <[email protected]>:
>>>
>>> Maybe using mouseover solve it for you?
>>>
>>> Regards,
>>> Cor van Dooren
>>>
>>> -----Original Message-----
>>> From: [email protected]
>>> [mailto:[email protected]] On Behalf Of natalia
>>> Vikhtinskaya
>>> Sent: maandag 8 november 2010 12:33
>>> To: Flash Coders List
>>> Subject: [Flashcoders] RollOver AS2
>>>
>>> I have some MovieClip with rollOver and rollOut functions. They
>>> overlap each other. After click on top mc it moves out and in this
>>> place show up another clip. But rollover for this next mc starts only
>>> if I move mouse out from this clip and place it again. Only after that
>>> I see rollover effect. How to make rollover function starts
>>> immediately when clip shows up under the mouse? AS2.
>>>
>>> Thank you in advance
>>> _______________________________________________
>>> Flashcoders mailing list
>>> [email protected]
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>> Geen virus gevonden in het binnenkomende-bericht.
>>> Gecontroleerd door AVG - www.avg.com
>>> Versie: 9.0.864 / Virusdatabase: 271.1.1/3241 - datum van uitgifte:
>>> 11/07/10
>>> 20:34:00
>>>
>>> _______________________________________________
>>> Flashcoders mailing list
>>> [email protected]
>>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>>>
>> _______________________________________________
>> Flashcoders mailing list
>> [email protected]
>> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Karl DeSaulniers
> Design Drumm
> http://designdrumm.com
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>

_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to