Open content

Hi !!

i need some help …
Please visite this site.nazwork
Its a flash site … clik on the button
see the content load…AN open
it opens ,n can b drag and closed…
PLEASE MAKE A TUTORIAL ON HOW TO DO THIS…
I WANT TO USE IT IN MY HOMEPAGE…

kavish

Create a new movie clip.

Create a blank keyframe in Frame 2. Add a stop() action to frame 1

In frame 2 Create your window and add a stop() action to the frame.

Make the top part a button. Add these actions to the button…

on (press) {
startDrag(this);
}
on (release) {
stopDrag();
}

Now create another button for the close button. Add these actions to the button

on (release) {
gotoAndStop(1);
}

This goes back to the empty frame at frame 1 and stops it there.

Now to open your window make sure you have an instance of your movie clip on the stage. Give it the instance name of “openWindow” (without quotes). Now create a button on the main timeline to open the window. Apply these actions to the button…

on (release){
_root.openWindow.gotoAndStop(2);
}

This goes into your movie clip with the window and stops on frame 2. This is the frame that contains your window.

This is the most basic form of this method, but you can easily improve it with movie clips and transitions and such.