I have a small rectangle (an icon of an article) that the user can click on to enlarge it (and read it). Then, I want this enlarged rectangle to scale down again on a second click.
When I assign a click on-action to scale it up, and a second click on-action to scale down, it just scales up and immediatley down.
A free template would be dream, I’m a journalist, not a coder and unexperienced with JavaScript and Hype.
I think about what you described, perhaps I can build it on my own. I didn`t think about timeline actions.
Create an invisible object that pops in front when you click the button. Then set an action for the invisible object that pops it out of the way and shrinks the enlarged item.
I feel I may be stepping on toes here but I would suggest just 1 timeline with an animation of the rectangle growing and shrinking
create a new timeline
animate the rectangle over perhaps 1 sec to enlarge (enough to be able to read) and then shrink.
place a pause at the 15 frame mark (.5 sec) at the end of the enlarge part
Create an action on mouse click that “continues the timeline” so when you first click it plays to the pause and on the second click it continues to the end (the shrink). Remember to tick “can restart timeline” so that it can play from the beginning the next time it is clicked.
That is strange, I dragged and dropped the template on Hype’s application icon and it opens without issue. I had to change it in the “Get Info Window” as it was defaulting to Hype 3.5.2
files of that “type” maybe setup to open using the Beta copy. If you right click the file and see what is says next to “Open with”.
You can change this behaviour by seeing the files information (⌘i) and looking down to Open with. and choosing the right application to open that file type with. (you can choose change all too)