I think the primary problem is that you are retrieving the next highest
depth value from a timeline OTHER than the one where the swapDepths is
being performed. Getting the depth value from "this" (which is the
timeline of the button/clip, itself, but swapping the depth of the
button/clip, which takes place in the timeline of the parent of the
button/clip.

-- 
Byron "Barn" Canfield


>> ...
>>                      curPhoto.onRollOver = function(){
>>                              // move to the front
>>                              swapDepths(this.getNextHighestDepth());
>>                              this.scaleTo(90, 90, 2);
>>                              var startPos = this.photoTab_mc._x;
>>                              var targetPos = startPos + 25;
>>                              var tabTween:Tween = new
>> Tween(this.photoTab_mc, "_x",
>> Strong.easeOut, startPos, targetPos, .5, true);
>>                      }


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to