Need your Help with Drag n Drop!

Bloody hell, a lot of code…

First you need to sort out some code errors that show up in the console.

In the version I down loaded I got most of them.

I did this by using the debugger and break points. ( I posted a tip on this )
There are some errors that may be generated because of cross domain. ( I mean the ones that come up as object undefined )

After clearing most of the errors, I think I found your issue.

When you switch to the next scene you do not reset the ’ hypeDocument[hypeDocument.documentId()][‘resCount’] ’ count

I simply added

hypeDocument[hypeDocument.documentId()]['resCount'] = 0;

in the checkDrop() function. directly after ;

var timer = setTimeout( function () {
_ hypeDocument.showSceneNamed(‘2’, hypeDocument.kSceneTransitionCrossfade, 0.4)_

You will probably need to do this for all checkDrop# functions.


Also,
As you see the person who wrote code that you are using may not be available. Others may want to help you but on seeing this amount of code and functions may not want to start from cold.

What would help is if you explain where the code is you expect to work and what is supposed to happen, and some logic behind the code.

Just saying… :smile:

2 Likes