TheGlassPenguin's Forum Posts

  • 3 posts
  • I'm trying to use the Browser's Execute JavaScript action to set a text object to a result string from a JavaScript find and replace operation. Here's what I'm putting in the expression:

    Browser.ExecJS(TextInput.Text&"replaceAll(""' ', '+')")

    When I preview the project, the Text object just says "0". Any help?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I need a little help with the JSON object. I want to get the value at the first instance of "key1" (using the example).

    Here's the example JSON. This isn't the exact thing I'm working with, but it's close enough:

    [ { "key1": "thing1", "key": "thing", "key": "thing", "key": thing, "key": -thing, "key": "thing", "key": thing", "key": "thing" }, { "key1": "thing1", "key": "thing", "key": "thing", "key": "thing", "key": "thing" }, ]

    Any help is appreciated!

    Tagged:

  • Title. I've been trying "(text string [this isn't the actual string])"(Expression [again not the actual expression]) and it's not giving the expected results when I show the output in a text object.

  • 3 posts