Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Game.IsScrolling equals null  (Read 2714 times)

0 Members and 1 Guest are viewing this topic.

Mihulik

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 71
    • View Profile
Game.IsScrolling equals null
« on: November 23, 2010, 09:44:46 PM »

Hi,
I have following code in my script:
Code: [Select]
...
Game.MainObject = null;
Scene.ScrollToAsync(someObject);
while(Scene.IsScrolling){
//doSomething
}
...


However, Scene.IsScrolling equals null...I can't find out why.

Any suggestion?:-)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Game.IsScrolling equals null
« Reply #1 on: November 24, 2010, 07:55:38 AM »

It seems to be a documentation glitch. Scene.IsScrolling() is actually a method, not a property.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

Mihulik

  • Occasional poster
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 71
    • View Profile
Re: Game.IsScrolling equals null
« Reply #2 on: November 24, 2010, 11:00:44 AM »

Then it'll be no problem to fix the code :)
Thanks! ;)
Logged
 

Page created in 0.038 seconds with 19 queries.