hi,

I'm building a Map application, for which I'm using Fuse to control
the zooming etc.

I have a series of moviecips, which trigger the zooming, and I need
the map to zoom to exact co-ordinates, eg:

// set basic map props
map._x = 50;
map._y = 50;
map._xscale = map._yscale = 25;

// works as expected
mc.onRelease = function ()
{
  map._x = 50;
  map._y = 50;
  map._xscale = map._yscale = 90;
}

I'm trying to simulate the above with Fuse, so I tried:

var fSequence:Fuse = new Fuse();
var objTween:Object = {
      target:this.objRef.mcMap,
      x:50,
      y:50,
      xscale:90,
      yscale:90,
      time:3,
      ease:"easeOutQuad"
}
fSequence.push (objTween);
fSequence.start ();

but for some reason, the xscale values are being += to the existing
value, not overwriting as I was expecting.

This meant that rather than the map being scaled to 90%, it was in
fact being scaled to 115%!!

is it possible to make this igore it's current value, and instead base
it on 100%

thanks in advance,

Jon

--


jon bennett
t: +44 (0) 1225 341 039 w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett
_______________________________________________
[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