I found a new but old way of tackling problems in AS3.
I find it hard keeping track of code even with labels if i put all the code in one file.
So I've resorted to placing the code on frames.
The downside is that there's a lot of duplicating code.
But that's as easy as a simple copy and paste.
I've had an issue with drag N' drop.
I can get drag and drop to work well, but I cant get flash to recognize the difference between the user wanting to D-n-D and the user wanting to select (click).
What I wanted was to have a drag-able button that you can also click.
Flash see's the D-n-D as a "click". So when the user starts to drag the object Flash registers it as a click as well. . .
So after stuffing around for a few hours I've come up with a simple and easy AND probably more interactive way around this.
Drag the object (Card) into another object (Cup) to activate the "selection" (Start mini game).
No comments:
Post a Comment