Drag & Drop - Upper Case Letter

  • zee
  • Born
  • Born
  • No Avatar
  • Joined: Mar 11, 2005
  • Posts: 1
  • Loc: london
  • Status: Offline

Post March 11th, 2005, 9:13 am

Hi,
New to all this. Need some guidance please. Using Flash MX and need to set up an exercise whre all the letters of a sentence are initially in lower case.
At the bottom of the screen are upper case letters and students have to drag the correct uppercase letter of the sentence and drop it on the sentence. This in turn causes the first letter of the sentence to be capitalized and a tick should appear - or a sound saying well done.
Any help, pointers etc appreciated.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 11th, 2005, 9:13 am

  • Abelius
  • Proficient
  • Proficient
  • User avatar
  • Joined: Sep 17, 2004
  • Posts: 260
  • Loc: Miami Beach, FL, USA
  • Status: Offline

Post March 16th, 2005, 11:25 pm

Well, for that you will first have to break your sentence apart. Then, make a MC of each letter that can be transformed into capital letters.

Then create another movieclip and place the capital letter there, and make it dragable on press()...

To make something dragable, use this code:
Code: [ Select ]
on(press) {
  this.startDrag(false);
}
on(release, releaseOutside){
  this.stopDrag();
}
  1. on(press) {
  2.   this.startDrag(false);
  3. }
  4. on(release, releaseOutside){
  5.   this.stopDrag();
  6. }


Fairly easy...
Cordially,
Abel K - Miami Beach, FL, USA
http://www.worldkit.com

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 31 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.