Drag & Drop - Upper Case Letter

  • zee
  • Born
  • Born
  • zee
  • Posts: 1
  • Loc: london

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Abelius
  • Proficient
  • Proficient
  • User avatar
  • Posts: 260
  • Loc: Miami Beach, FL, USA

Post 3+ Months Ago

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...

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 13 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
 
cron
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.