FLASH HELP!!
- Started
- Last post
- 10 Responses
- PonyBoy0
THIS IS ASSUMING...
... woops... sorry... ;)
... *ahem...
... this is assuming you're wanting this to occur after the release of the mouse:
myButton_mc.onRelease = function() {
gotoAndStop("rank");
};
- OBBTKN0
Yes... but when the user drops the LAST piece in the puzzle
- tommyo0
On a quick look at your file it seems like you're missing some code to make this all happen, first of all you're probably going to want to 'snap' each piece into it's spot if the user drops it close enough to the co-ordinates you want. So you logic might follow something like:
1 drag piece A
2 drop piece A
3 if piece A _x value is greater than __ and less than ___
4 repeat #3 for _y value
5 if that statement is true then you would want to 'snap' the piece into it's exact co-ordinantes
6 Set a boolean true variable that declares piece A is in its home.
7 run a for loop to check and see if all the pieces variables are now true.
8 if that function passes and all are in their place then you would gotoAndStop ("rank");at least that's the logic I would use to solve your flash dilemma.
- OBBTKN0
Thanks tommyo...
The problem comes when i don´t know how to do this.
Tell me if you, or another, can do it rapidly and how many money or waht do you want for this and i can (i´m not rich) i´ll transfer it via paypal.
ta
- mattgovaere0
Here you go:
http://www.restartmyheart.com/nt…I just created a function that added +1 to a variable every time a piece was dropped in the correct spot. It knows to go to the "rank" frame once it hits 9...9 being the total of pieces. Let me know if you have any questions.
- OBBTKN0
Hi man! You got it!! :D
Please, let me know (you can use my mail for this) if someday you need some help.
TYVM!!
- OBBTKN0
Hi mattgovaere... i´ve got problems!
send you a e-mail
- OBBTKN0
bump!
can a flash master help me on this
TA
- mattgovaere0
hey, i checked my mail..didn't see anything though.
- OBBTKN0
Thanks for responding...
I´ve writed you to the mail on your profile (perhaps i´ve got problems with).
write me to and i´ll explain you
TA!