have problem using AE
Posted: Thu Oct 04, 2012 8:27 am
I have problem on it when I simulate in the xcode.
when I type in this code in the messagebox
aeMoveTo the long ID of btn "playmenu",770,172,900,"inOut"
it works fine, but when I simulate it, nothing happens.
here are the sample codes:
local sMenuanimate,sFrameCounter,sMenuanimation
on openCard
if "animationEngine" is not among the lines of the stacksInUse then
start using stack "animationEngine"
end if
end openCard
on preOpenCard
menuLocations
end preOpenCard
on mouseEnter
if the loc of button "playmenu" is 1298,172 then
menuMove
end if
end mouseEnter
on menuMove
aeMoveTo the long ID of btn "playmenu",770,172,900,"inOut"
end menuMove
on menuLocations
set the loc of button "playmenu" to 1298,172
end menuLocations
anyone please help me on this.
thank you
when I type in this code in the messagebox
aeMoveTo the long ID of btn "playmenu",770,172,900,"inOut"
it works fine, but when I simulate it, nothing happens.
here are the sample codes:
local sMenuanimate,sFrameCounter,sMenuanimation
on openCard
if "animationEngine" is not among the lines of the stacksInUse then
start using stack "animationEngine"
end if
end openCard
on preOpenCard
menuLocations
end preOpenCard
on mouseEnter
if the loc of button "playmenu" is 1298,172 then
menuMove
end if
end mouseEnter
on menuMove
aeMoveTo the long ID of btn "playmenu",770,172,900,"inOut"
end menuMove
on menuLocations
set the loc of button "playmenu" to 1298,172
end menuLocations
anyone please help me on this.
thank you