We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

calling procedures from a specific type of iframe

Home Forums Programming calling procedures from a specific type of iframe

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #28829
    dssctr
    Customer

    hi verge team, (Solved- see below)
    With the old ‘when called from JS’ puzzle was working, I was able to get a call back with my LMS parent via this code:
    LMS: `var iframeElements = document.getElementsByTagName(“iframe”);
    iframeElements(0).contentWindow.window.eye();`
    which talked well to
    Project.js: `function runCode(app) {
    window.eye = function() {
    app.ExternalInterface.eyecam();
    }}`

    My question is what should the new code for LMS and Project be now, since we are using Procedures?

    Solved– I got my answers from GlifTeks post here: https://www.soft8soft.com/topic/retrieving-global-variable-from-another-iframe/
    :yahoo:

    #28834

    :good:

    Chief 3D Verger | LinkedIn | Twitter

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.