-
Button problem
It must be getting cold. I'm not thinking all that clearly. I have a simple problem with a red button within a small swi page. Press the red button and the red expands to fill the page. I want to be able to press the expanded red and for it to reduce back to its origianl button size. And suggestions as to how I should effect this. Example enclosed.
with thanks
Brian
-
1 Attachment(s)
Hint use skip
Code:
on (press) {
_root.nextFrameAndPlay();
}
Add another effect to return to the size location of origin.
[code]
onFrame (1) {
stop();
}
onFrame (12) {
stop();
}
onFrame (31) {
gotoSceneAndStop("<current scene>",1);
}
[code]
Easing helps too.
-
Magic Frets. With thanks
Brian