I`v got to finish my school project, and now i`m stuck !!!
I`ve made a flash-site with draggable windows, but how do i
link it to a button. So that whenever i clic a button that movieclip (draggable window) appears, prefeably at predefined coordinates?
PLEASE HELP ME O WISE ONES WHO MASTER THE ART OF FLASH !!!!
NICE PHOTO SIDNEY!!!!
U can leave the first frame of the clips empty with a stop action. Put all your content in frame 2. So they all will be present but invisible.
Then assign a script to each button to tell the right clip to goto frame 2.
Like
on (release){
_root.theclip.gotoAndStop(2);
}
moved all my content to frame 2, put a stop action in frame 1
dragged an instance on the stage (got a little cwhite circle ?) attached the :
on (release){
_root.bugme.gotoAndStop(2);
}
tested the movie and it didn`t work !
i`v got draggble windows, dont the work different ?
Have you got another sollution to my problem ?
(i`ts already 1:15 in the morning here and i got to hand it over at 9:35 HELP ?, I know i`m a bit late )
on (press) {
startDrag ("");
}
on (release) {
stopDrag ();
}
on the minimize ive got:
on (release) {
gotoAndStop ("bar");
}
and :
on (release) {
gotoAndStop ("full");
}
and on the close :
on (release) {
gotoAndStop ("blank");
}
Fisrt frame has got a stop action
First label, frame 2 (with whole window) is called full
Second label, frame 3 is called bar (only bar shows)
Third label, frame 4 is called blank (notting shows)
Ok,
the name that we use in the _root.theclip is not the name of the clip in the library but a new name that refferes to the instance of this clip. So u must open the instance panel, select the mc in the stage and put "theclip" (or something) in the name field.
_root.theclip means that there is an instance called theclip inside the main timeline (_root).
It also seems that u forgot a closing { in a button.
I`m tired gonna get some sleep now (or what`s left of it...)
z
z
z
z
z
Is there any way i can reach you ? email, webpage ?
so i can tell you what my teatcher thought about it, and ofcourse what grade I got ! (or sent your emailaddres to mine so i can respond ?)