It is not what I need Look here http://www.mightybook.com/test/slide.html On click- boxes moves, on over - side boxes should move to the left or to the right side. But if you click and mouse is still over one of side boxes it does not move to the right or the left. I should move mouse and only after that over effect works.
2010/11/8 Karl DeSaulniers <[email protected]>: > Hi Natalia, > My solution was more for a MC that is added with attachMovie() and has the > frames pre-made. > In your case, I would look into swapping the two MCs depths with the > onRelease. > This, I am thinking, will force the new MCs onRollOver state and let the > mouse do its job. :) > > http://www.kirupa.com/developer/actionscript/swapdepth.htm > > HTH, > Best, > > Karl > > > On Nov 8, 2010, at 7:10 AM, natalia Vikhtinskaya wrote: > >> Sorry I sent without question. Should I uttach this invisible button >> to each box? How then Rollover funtion should look? >> >> 2010/11/8 natalia Vikhtinskaya <[email protected]>: >>> >>> 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 > > 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

