Blogadda

Blogadda
Visit BlogAdda.com to discover Indian blogs

Monday, May 11, 2009

Flash Test.. Try it

Drop circles on screen

Create a SWF that:

  1. Starts with a blank screen.
  2. When the user clicks anywhere on the movieclip, a small circle appears (around 25px in diameter) at the clicked position.
  3. Each time the user clicks on the movieclip, another circle is visible.

Drag ’n Drop

Create an SWF that:

  1. Has a single square present, 50x50 pixels in size.
  2. Allows you to click and drag the square anywhere on screen.

Intermediate problems

MouseOver

Create an SWF with:

  1. Three rectangles shown on screen, filled with Red, Blue and Green colours.
  2. A textfield placed below the rectangles.
  3. Whenever you move your mouse over a rectangle, that rectangle’s colour is displayed in the textfield.

Drawing

Create a SWF that:

  1. Allows you to click-and-draw lines on-screen. Just straight lines, by clicking anywhere, dragging your mouse cursor, and releasing it. The line should start from the point where you clicked on and end at the point where you release the mouse cursor.
  2. The colour of the lines you want to draw next can be changes using a ColorPicker.
  3. Has a ‘Clear’ button. On click of this button, any lines on screen are removed, and you again have a blank slate to work with.

Advanced problems

External Image Viewer

Create an SWF that:

  1. Has a textfield where the user can input an image URL.
  2. A button labelled ‘show image’, on click of which the image referenced by the URL is loaded in an UILoader present on screen.
  3. The user can pan the image (either using mouse drag or scrollbars) if it is too large to view.

No comments: