actionscripting is difficult with this!
i guess you make a card with say 9 boxes and have an array of objects, get the 9 boxes to randomly pick an object from the array.
Then you need to mask the nine boxes with a mask layer, then some actionscript so when mouse press some of the mask disappears under the mouse???
Something like that i guess
well… say if you have 3 object which are the same ( that means you’ve won) how do i scrip that? en how do I add/embed a trigger event?? Say like ‘go to next frame if…’
9 boxes can have values assigned through a seperate array
ie
objects are[apple,pear,banana,donut,cup]
scratchcard array[apple,apple,pear,pear,banana,banana,donut,donut,donut]
you just add up the occurrences of each one in the box array so donut=3 in this case and youve won
and u use
if(donut==3)
{
myMovieClip.nextFrame();
}
or myMovieClip.gotoAndPlay(framenumber);
or myMovieClip.gotoAndStop(framenumber);
not entirely clear on your code there, Dravos.
well its not code more pseudo code, i was just explaining briefly