I downloaded the demo version of KoolMoves and am immediately struggling with docmentation, specifically the location of ActionScript samples for Button states that appear in the .pdf file you are directed to download. I cannot find these scripts anywhere in what appears to be the newer version of KM as opposed to the older version of KM that appears in the pdf?
If you are using the word “action script”, you are referring to Flash export which KoolMoves can export but which is not currently supported by web browsers. I presume the only advantage to creating a Flash animation in KoolMoves at this point in time is to convert it into a video format. The Flash export has special effects and filters which cannot be easily created in Html5. Also, Flash export contains all the font characters used in the animation which Html5 export doesn’t (instead they are downloaded from Google fonts or pulled from the users machine).
Many thanks for the helpful response.
EDIT: oh yes…html5 export is what I am interested in 🙂
- This reply was modified 1 year, 10 months ago by DK.
T1.text = “clicked!”;
where T1 is the text whose display text is changed on pressing a button.
Make sure T1 is globally defined (set Is programmable property to yes in its property panel).
I can email you the .fun file if you like.
I hope I am not frustrating you too much being a complete beginner.
Yes I see the view java script examples. But from a non programmers perspective I can’t seem to find examples there of what I need to get me going. I tried following your JS prompt and made this piece of code S1.scaleX = 1; which I assumed would change the size of a circle, (I had to add the last part =1;) I can’t get it to work???
Basic strings of button code like changing an object color, size, position, opacity, visibility, I’ve spent 2 days on it now and it’s starting to get a little frustrating but I will stick with it as it will be an extremely useful tool when I get to know it.
I welcome the opportunity to see where users have difficulties.
scaleX = 1; won’t do anything because that is the default scale size.
I can easily add more examples to the example set.
I would check out some of the other non-button scripting examples because they deal with changing position, for example.
There may be CreateJS demos that do what you are trying to do (the syntax will be the same).
I got scaleX to work 🙂 but why did it move the shape as well as scale the object on the X axis? I also tried scale= 1.5; but nothing happened.
Would it be possible for me to send you a small selection of Hippani codes that I need to work with and get them converted to something I can work with in KM? I am more than happy to pay you to help me and happy to share the examples I create with you to use as example beginner tutorial files. These would be a set of files that cover basic code for new users.
You must be logged in to reply to this topic.