Author Topic: how to make movement in mods  (Read 485 times)

Offline John brac

  • Experienced Member
  • *
  • Posts: 95
  • Reputation: 0
  • DFG User
  • Firmware: MFJF1, JTJL2, JPKC1, XEJE1
  • Model: GT-S5620
  • Mods: monte-sense
  • Service: Vodafone
how to make movement in mods
« on: February 29, 2012, 10:56:28 AM »
How to make movement???

What i mean is, in all mods, u can slide the screens and check out the other pages.

I tried it but cant make it movable
I cant even make the launcher movable.
If the expert modders dont mind, could you teach me how to do tat???
Making a tutorial would be better.i made everything in my mod xept tat sliding thingy.
Ill be realesing tat mod soon
any help regarding to moding and i am here........

Darkforest Group Handset Forums

how to make movement in mods
« on: February 29, 2012, 10:56:28 AM »

Offline lipka

  • Global Moderator
  • *
  • Posts: 373
  • Reputation: 1
Re: how to make movement in mods
« Reply #1 on: February 29, 2012, 11:08:16 AM »
Do you know basics of Actionscript ?
Have you heard about drag function ?


basic draging :
Code: [Select]
obj1.onPress = function(){
   this.startDrag();
}
obj1.onRelease = function(){
   this.stopDrag();
}


advanced draging:
Code: [Select]

obj1.onPress = function(){
   isDrag = true;
}
obj1.onRelease = function(){
    isDrag = false;
}
obj1.onMouseMove = function(){
   if(isDrag){
      this._x = _root._xmouse;
      this._y = _root._ymouse;
   }
}
Only s5620.pl and DarkForest ;) the best monte forums...

Offline John brac

  • Experienced Member
  • *
  • Posts: 95
  • Reputation: 0
  • DFG User
  • Firmware: MFJF1, JTJL2, JPKC1, XEJE1
  • Model: GT-S5620
  • Mods: monte-sense
  • Service: Vodafone
Re: how to make movement in mods
« Reply #2 on: March 29, 2012, 10:28:13 AM »
Thank you soo much..... But if you dont mind.....could you please upload a demo tutorial as example???
any help regarding to moding and i am here........

Darkforest Group Handset Forums

Re: how to make movement in mods
« Reply #2 on: March 29, 2012, 10:28:13 AM »