Jigsaw Puzzle AS2 Help
Flash Jigsaw Puzzle AS2 Class
Inheritance UIObject > UIComponent > JigsawPuzzle
ActionScript Class Name someFrogs.Puzzles.JigsawPuzzle
The properties of the JigsawPuzzle class allow you to set the content picture, render it as a jigsaw puzzle, and adjust the piece resolution at runtime.
Setting a property of the JigsawPuzzle class with ActionScript overrides the parameter of the same name set in the Property Inspector or Component Inspector panel.
Method summary for the JigsawPuzzle ActionScript 2.0 Class|
Method |
Description |
|
|
Starts or restarts the puzle with the given or preset paremeters if not passed any. |
| Usage | myPuzzle.startPuzzle([Linkage [,hRez [,vRez [,eRot, [shStyle]]]]]); |
| Parameters |
The parameters are not required. Last set or preset parameters are used instead of ones passed as |
| Examples |
|
Inherits all methods from UIObject and UIComponent.
|
Method |
Description |
|
|
A reference to the external image (jpeg, swf) file or the symbols library linkage ID to be rendered. Takes affect after |
|
|
The horizontal resolution number. Actually it may apply to vertical resolution according to dimensions of rendered symbol. Takes affect after |
|
|
The vertical resolution number. Actually it may apply to horizontal resolution according to dimensions of rendered symbol. Takes affect after |
|
|
Indicates whether |
|
|
Indicates whether rotaion of pieces using space bar is enabled. Use |
|
|
Indicates the style of the shapes. The possible values are: "classic", "oval", "sqare", "triangle" and "mixed". "classic" by default. (Added in v2.1). |
|
|
Indicates a number for blink counts on matched pieces. Enter 0 if you don't want the pieces blink on match. 5 by default. (Added in v2.2). |
Inherits all properties from UIObject and UIComponent.
|
Method |
Description |
|
|
Event; broadcast to all registered listeners when pieces of the |
|
|
Event; broadcast to all registered listeners when the |
| Usage | |
Inherits all events from UIObject and UIComponent.
Jigsaw Puzzle AS2Jigsaw Puzzle ActionScript 2.0 is a Flash MX 2004 UI Component developed by someFrogs. Unlike most other jigsaw puzzle generators for Flash, Jigsaw Puzzle AS2 recognizes the neighbour pieces put near in right direction and then groups them. This makes the puzzle game more real and more fascinating. With this easy to use and customizable flash puzzle script you can build your own jigsaw puzzles that can be published as online flash games or compiled as desktop flash game applications. |









