Skip navigation
Currently Being Moderated

spell check for kids using flash

Nov 13, 2012 9:15 PM

I am creating a spell check for kids using flash.

The flash starts with a silhouettes of a word say B A N A N A and below it shows a jumbled up letters. The kids drags and drops each letter on top of the dark silhouettes. If it matches scores points.

Any help in creating AS3 script will be apreciated. I did create one using mc and target mc and works fine when the mc is draged on to target mc. Only problem arises when there are duplicate letters.



Thanks in advance

  • Currently Being Moderated
    Nov 14, 2012 5:23 AM   in reply to kisanbhat

    The same approach should work, you just need to think about what you use to check whether a drop is correct or not.  If there are multiples of the same letters, then you just want to check that the letter dropped matches the letter associated with the target.


    You could assign a property to each letter and target that is assigned the letter.  Then you just check if the letter properties of the dropped letter and the target match.

    Mark as:
  • Currently Being Moderated
    Nov 14, 2012 6:42 AM   in reply to kisanbhat

    What I described will work as you describe wanting.  If every A movieclip has a property (name this property anything you want, like "myLetterValue")  with a value of "A" and every A-target movieclip also has a property with a value of "A", then you can use those properties to determine when any object with an "A" is planted on any target with an "A"


    So when you drop a letter on a target you compare the property of each to see if they are equal...  if(targetMC.myLetterValue == letterMC.myLetterValue){  // correct match  }

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points