have problem using AE
Moderators: heatherlaine, kevinmiller, robinmiller, malte
-
- Posts: 29
- Joined: Fri Jun 08, 2012 9:54 am
have problem using AE
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
Re: have problem using AE
Hi prexsoccer,
did you add the AE stack to your standalone?
If not, well then it is no wonder that nothing AE related will work in your app
Do this:
1. open your mainstack, the one that you make a standalone from
2. open the AE stack
3. in the inspector for the AE stack, set its mainstack to your mainstack -> 1.
4. Save your mainstack
5. create standalone or "simulate" (which will create a temporary and hidden standalone)
6. be happy
Best
Klaus
did you add the AE stack to your standalone?
If not, well then it is no wonder that nothing AE related will work in your app
Do this:
1. open your mainstack, the one that you make a standalone from
2. open the AE stack
3. in the inspector for the AE stack, set its mainstack to your mainstack -> 1.
4. Save your mainstack
5. create standalone or "simulate" (which will create a temporary and hidden standalone)
6. be happy
Best
Klaus
-
- Posts: 29
- Joined: Fri Jun 08, 2012 9:54 am
Re: have problem using AE
hi klaus,
thank you.
I read the pdf file of animation engine and its not in the direction that i have to include the stack
but problem solve
tnx2x.
but klaus? i have one more thing to ask.
im using the aeMoveDone then I notice that when I use visual effect like push right, its not working. it just direct me to the card with no visual effect.
thank you.
thank you.
I read the pdf file of animation engine and its not in the direction that i have to include the stack
but problem solve
tnx2x.
but klaus? i have one more thing to ask.
im using the aeMoveDone then I notice that when I use visual effect like push right, its not working. it just direct me to the card with no visual effect.
thank you.
Re: have problem using AE
Hi prexxsoccer,
Best
Klaus
Okie Dokieprexsoccer wrote:hi klaus,
thank you.
I read the pdf file of animation engine and its not in the direction that i have to include the stack
but problem solve
Sorry, I do not work with AE (yet), so I cannot anwser this.prexsoccer wrote:im using the aeMoveDone then I notice that when I use visual effect like push right, its not working. it just direct me to the card with no visual effect.
Best
Klaus
Re: have problem using AE
Hi,
if you are using a visual effect, this is not handled by animationEngine. THis is a liveCode engine thing, so AE can not handle this.
Cheers,
Malte
if you are using a visual effect, this is not handled by animationEngine. THis is a liveCode engine thing, so AE can not handle this.
Cheers,
Malte
-
- Posts: 29
- Joined: Fri Jun 08, 2012 9:54 am
Re: have problem using AE
hi malte,
so is there anyway i can put effects of livecode?
i have sample script here:
on aeMoveDone
if the loc of button "playmenu" is 1298,172 then
aeMoveTo the long ID of this card ,1298,603,600,"out"
go to card selectChar
--VISUAL EFFECT PUSH RIGHT FAST
end if
end aeMoveDone
any solution to achieve this effect?
thank you for your time.
so is there anyway i can put effects of livecode?
i have sample script here:
on aeMoveDone
if the loc of button "playmenu" is 1298,172 then
aeMoveTo the long ID of this card ,1298,603,600,"out"
go to card selectChar
--VISUAL EFFECT PUSH RIGHT FAST
end if
end aeMoveDone
any solution to achieve this effect?
thank you for your time.
Re: have problem using AE
Hi prexsoccer,
...
VISUAL EFFECT PUSH RIGHT FAST
go cd "whatever"
...
Please try to get used to take a look in the dictionary first, it isn't really that bad, thank you!
Best
Klaus
yes, and exactly how the dictionary describes it!prexsoccer wrote:so is there anyway i can put effects of livecode?
...
VISUAL EFFECT PUSH RIGHT FAST
go cd "whatever"
...
Please try to get used to take a look in the dictionary first, it isn't really that bad, thank you!
Best
Klaus