Drop circles on screen
Create a SWF that:
- Starts with a blank screen.
- When the user clicks anywhere on the movieclip, a small circle appears (around 25px in diameter) at the clicked position.
- Each time the user clicks on the movieclip, another circle is visible.
Drag ’n Drop
Create an SWF that:
- Has a single square present, 50x50 pixels in size.
- Allows you to click and drag the square anywhere on screen.
Intermediate problems
MouseOver
Create an SWF with:
- Three rectangles shown on screen, filled with Red, Blue and Green colours.
- A textfield placed below the rectangles.
- Whenever you move your mouse over a rectangle, that rectangle’s colour is displayed in the textfield.
Drawing
Create a SWF that:
- 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.
- The colour of the lines you want to draw next can be changes using a ColorPicker.
- 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:
- Has a textfield where the user can input an image URL.
- A button labelled ‘show image’, on click of which the image referenced by the URL is loaded in an UILoader present on screen.
- The user can pan the image (either using mouse drag or scrollbars) if it is too large to view.
No comments:
Post a Comment