|
Creating a jigsaw puzzle
(see
sample here) (a basic knowledge
of
flash is assumed for this tutorial)
1.Open
a new file.go to File-Import(Ctr+R) to import the image which you want
to breakup to create the jigsaw.
2.Break the image by going
to Modify-Break apart or Ctr+B.
3.Make a selection of a part
of the broken image-any size & shape as desired,using the lasso tool.eg.
the dome is selected in this picture.![](tuts_images/jigsaw.jpg)
For perfect selection use polygon lassotool. Convert this selection into
a movieclip by going to Insert- convert to symbol(F8) & check movieclip
radiobutton. Name the movieclip
part1.
4.On the stage right-click
on this movieclip and choose Edit in place.You now enter the movieclip
editing mode.Now convert this movieclip into a button by going to Insert-convert
to symbol & choose the button
radiobutton.Name it button1.
5.While you are still in the
movieclip editing mode right-click on the movieclip & choose actions.Under
the actions tab give the following actions:
on (press) {
startDrag("");
}
on (release){
stopDrag();
}
<<Page2>>
<<back
to tutorials>
|