Creating Code on Actions
You first have to have the second shape (Rounded Rectangle) to 'Hide' on 'stage'. Therefore it wont appear when you first view the website.
Then, on 'click' you have to 'Hide an Element' and 'Show an Element'. The purple 'Ellipse' will 'hide' and then the 'Rounded Rectangle' will 'show'.
In order to reverse this effect so that when you click on the 'Rounded Rectangle' it'll hide and the 'Ellipse will show, you have to do the opposite. So on click You have to 'Hide an element' which would be the 'Rounded Rectangle', and then the 'Ellipse' will 'Show'. Then it becomes a repetitive pattern.
No comments:
Post a Comment