[r98] The "or" conditional error

  • Hi there, I�m back again with the "or" error.

    I�ve done a simple new capx to test the or statement (or at least, what I�m trying to get in a bigger project), and I�m getting some errors.

    If I only have one condition, everything is right. If I add a second condition in an "or" condition style, errors appear.

    I�m getting the next error in a javascript alert:

    "Javascript error!

    Uncaught TypeError: Cannot read property "opacity" of undefined..."

    I think the or statement makes the condition to lose reference of the affected objects, but I don�t know.

    I�ve uploaded a simple capx with the or conditional (link). What you only have to test is activating the second statement and getting near a green box by the right (if both statements are active, the right box doesn�t work too, but at least, it doesn�t throw an error).

    Thanks for all your atention and patience, and once more, sorry for my bad english <img src="smileys/smiley9.gif" border="0" align="middle">.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Think I got this fixed for next build... let me know when r99 is out if it works for you.

  • Thanks Ashley, but it�s not fixed at all (allthough it�s working better than before).

    Here is the new post: link.

    Thanks once more.

  • Closing this report, will follow up in the new one for r99.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)