-
I was really wondering how in fact you create an interface so when a button is clicked a door closes and opens to reveal it's content? kind of like 2A..estudio and fantasy interfaces? whats happening when the doors close and so fourth? PLEASE HELP..
-
motiontween the doors
make both keyframes: when the door is closed then when de door is full open: and then when the door is closed again
like this:
close----------open-------------close
(stop) (stop) (stop)
put this mc in front of your text on the main stage
give it an instance name (for exemple: "door")
then make a button with the following code
Code:
on (release){
_root.door.gotoandplay(1);
}
make a close button
Code:
on (release)
_root.gotoandplay(15);
}
hope it helps?
[Edited by stijngysemans on 08-03-2001 at 04:58 AM]
-
Originally posted by stijngysemans
motiontween the doors
make both keyframes: when the door is closed then when de door is full open: and then when the door is closed again
like this:
close----------open-------------close
(stop) (stop) (stop)
put this mc in front of your text on the main stage
give it an instance name (for exemple: "door")
then make a button with the following code
Code:
on (release){
_root.door.gotoandplay(1);
}
make a close button
Code:
on (release)
_root.gotoandplay(15);
}
hope it helps?
[Edited by stijngysemans on 08-03-2001 at 04:58 AM]
Hello just stop by and read your suggestion here. May I ask you something please? What is _root anyway? cant it be just door.gotoplay(1)
Thanks
-
_root is refering to the main timeline
idd: door.blabla works also
maybe, cause the second one, it's a relative pad
you know what I mean?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|