rexrainbow's Recent Forum Activity

  • Braus

    The example only focus on "how to use system expression: find", that why I do not use iframe.

    SRC is the MainFrameURL , TARGET is the url you allow.

  • Here is the google map api in javascript. Geocoding is one of feature.

  • > I had made geocoding plugin before, download and invoking google api does not need google api key, although the document of google map api has key parameter.

    >

    I found some of that too, but i only see libs for Python, Java and Go

    Does this plugin not use google map api in javascript version?

  • I had made geocoding plugin before, download and invoking google api does not need google api key, although the document of google map api has key parameter.

  • Braus

    You only need provide part of url string if using "system expression:find".

    If someone embeds your application into an iframe, the expression:MainFrameURL will return different value, unless he embeds your main frame into his iframe ->

    His main frame - iframe ( your main frame ) - iframe ( your application ).

    I guess that the expression:MainFrameURL will still return your main frame's URL.

  • It does not need a google account, imo.

  • No, most of my property names uses method 1, only the names which I don't want to be changed uses method2.

    For example, you put an external library into your plugin, call the functions provided by this library, then uses method2 to keep the name of function call unchanged.

  • There are 2 ways to name the property (variable or function name) in an object-

    1. obj.name

    2. obj["name"]

    After exporting with minify, property name in Method 1 might be changed to obj.a, name in Method 2 will become obj.name. So uses Method 2 to keep the property name unchanged after minify.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I don't know why it does not work in intelXDK, because that this plugin does nothing, no code is inside the action and condition.

    Since this plugin do nothing, it is fine to remove this plugin from porject when exporting.

    Hi all.

    It seems that Rex Commen plugin is causing some problems if you export to Cordova and use XDK. This is what I experienced:

    1. My game (Take Down Zombies) did not work in XDK's emulator.

    2. I did not know why. So I started to remove stuff from my project.

    3. A lot of "Remove some stuff, Export, See if emulator works in XDK"

    4. When I remove the Rex Comment object, then suddenly the emulator in XDK worked just fine.

    I like the Rex Comment. It is really usefull. I hope this issue will be fixed. Can anyone perhaps verify my experience?

    I just want to pas on this info.

    Thanks,

    Mikael

    SolunaSoftware.com

  • Braus

    System comparing will test if all characters of two strings is equal or not. Or you might try system expression:

    find(src, text), Find the first index within src that text occurs, else returns -1. find is case-insensitive[/code:100k9xa7]. see official manual.
    Before you compare the URL, you might print it on a text object or a console of browser, to make sure your logic or my plugin is correct.
  • Update

    "condition:Is in acceptable iframe", "Action: Append" had been deprecated.

    Add new "Condition:Is in iframe" and "Expression:MainFrameURL" -

    "Condition:Is in iframe" will return true if current application is embedded into an iframe, get URL of main frame by "Expression:MainFrameURL".

    Braus

    Hope this changing will be more easy to use. First you detect if the application is in an iframe or not. Redirection url of main frame if application is in an iframe.

  • Braus

    I had updated the document of this plugin in this page.

    Property "Busting all iframes" had been removed.

rexrainbow's avatar

rexrainbow

Early Adopter

Member since 4 Apr, 2011

Twitter
rexrainbow has 84 followers

Connect with rexrainbow

Trophy Case

  • 13-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

15/44
How to earn trophies