Ok, this is not working at all.
Firstly I opened up the example stacks that come with the AE as I did before. I put the script in the mainstack as before and kept the AE splash screen open. Nothing. Still returns error that I need to have AE.
Secondly, I opened up a new stack and the AE. I named my stack while the AE was open and then opened the properties inspector for the AE, BUT, the name of the AE in the inspector had changed already to the name I gave the new stack. Why the hell is it so complicated here? Anyway, I messed around further by re-doing things in a slightly different order but still the AE never became automatically a substack.
Thirdly I clicked on the splash screen as an alternative, well that was pretty darn useless... no more said.
I'm beginning to boil eggs down here!
There is no justification whatever for these ludicrous instructions:
and I am tired of encountering time and again instructions and guidelines that are faulty or incomplete - really - and yes this is a moan.
Open stack animationEngine.livecode, the stack you have downloaded from
http://www.runrev.com If you just want to play around a little, you can hit the checkbox labeled "Use me!" and you are ready to go. Next, open the liveCode messageBox and type:
aeMoveTo the long name of stack "animationEngine", the screenLoc,1000,"bounce"
and hit return. Congratulations! You moved your first object with animationEngine. If you want to start using animationEngine by script, you could do something like this:
-- in the script of the first card of your mainStack on openStack
if "animationEngine" is not among the lines of the stacksInUse then start using stack "animationEngine"
end if end openStack