[r98] The "or" conditional error

Forum Home Forum Home > Construct 2 Development > Bugs > Closed bugs
 Post Reply Post Reply
Author
2,712 Rep
Post Options Post Options   Quote sirLobito Quote  Post ReplyReply Direct Link To This Post Topic: [r98] The "or" conditional error
    Posted: 09 Jul 2012 at 2:41pm
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 .
Back to Top

Scirra Developer
84,359 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jul 2012 at 3:31pm
Think I got this fixed for next build... let me know when r99 is out if it works for you.
Back to Top
2,712 Rep
Post Options Post Options   Quote sirLobito Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jul 2012 at 3:34pm
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.
Back to Top

Scirra Developer
84,359 Rep
Post Options Post Options   Quote Ashley Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jul 2012 at 3:54pm
Closing this report, will follow up in the new one for r99.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down