Hey thank you for the reply! I really appreciate it. I ive taken a look at your code and am trying to get it to work/ understand it ( forgive my ignorance)… is that the only way you would go about doing this?
And here is my original code that was doing what I described in the first post…
local function startSpin (event)
wiseman.rotation = wiseman.rotation + 103
end
local startButton = nil
startButton = ui.newButton{
defaultSrc = "images/under2.png",
defaultX = 73,
defaultY = 39,
overSrc = "images/over2.png",
overX = 73,
overY = 39,
onEvent = startSpin,
id = "oneButton",
text = "",
font = "Helvetica",
textColor = { 255, 255, 255, 255 },
emboss = false
}
startButton.x = 67
startButton.y = 393
startButton.isActive = true
choice1:insert(startButton)
When I hit the start button the disc rotates 103 degrees… If I add an event listener to the Runtime the disc spins constantly at a speed of 103 degrees/s … Argg I need this to happen when the start button is hit…
[import]uid: 10355 topic_id: 10187 reply_id: 37540[/import]