need action script help please

  • miss rare|wear
  • Born
  • Born
  • miss rare|wear
  • Posts: 2

Post 3+ Months Ago

This is the site I am trying to change http://www.rarewear.com.au/exitgear/jerseylayout.htm
I am trying to make the magnify glass start big.
I am guessing its the cript on the magnify controller which is below

Code: [ Select ]
if (Number(../:dragging) == Number(true)) {
    setProperty("/drag/bob", _xscale, Number(((..slider/:_y*-1)/100)*/:max)+100);
    setProperty("/drag/bob", _yscale, Number(((../slider/:_y*-1)/100)*/:max)+100);
}
  1. if (Number(../:dragging) == Number(true)) {
  2.     setProperty("/drag/bob", _xscale, Number(((..slider/:_y*-1)/100)*/:max)+100);
  3.     setProperty("/drag/bob", _yscale, Number(((../slider/:_y*-1)/100)*/:max)+100);
  4. }

Any help would be great
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Jorgen
  • Born
  • Born
  • Jorgen
  • Posts: 2

Post 3+ Months Ago

Put this on the slider MC.

Code: [ Select ]
onClipEvent(load){
this._x = <The maximum X position of the slider.>
}
  1. onClipEvent(load){
  2. this._x = <The maximum X position of the slider.>
  3. }
  • miss rare|wear
  • Born
  • Born
  • miss rare|wear
  • Posts: 2

Post 3+ Months Ago

Thanks for the help. but can you tell be exactly where to put the script. After the top script. Because there are errors msg when i put it after.
or do i need to insert anyother text in the script which you have provied

Thanks
  • IceCold
  • Guru
  • Guru
  • User avatar
  • Posts: 1254
  • Loc: Ro

Post 3+ Months Ago

Jorgen wrote:
Put this on the slider MC.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 16 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.