Quick answer appreciated - Calling Edge function from an HTML page that is embedded in iFrame in Comp

It's a delicate issue, but maybe it's just that I do not understand the syntax,

Location:

I have a composition of edge animate that acts as an interface and a container in which any content is integrated by using an iFrame.  I have several functions in Stadium > creationComplete, and for one of the embedded content items, I want to include a button that calls a function Edge.

Challenge:

I read on SEO elements within edge when it's the Edge file that is embedded in an HTML page, but I can't understand how to reference Edge in the back.

I tried these options where headerselect (page) is my function:

AdobeEdge.getComposition("EDGE-531849691").getStage () .headerSelect ("community");

window.top.Edge.getComposition("EDGE-531849691").getStage () .headerSelect ("community");

It is a project that is time sensitive.  Your help is greatly appreciated!

Thank you!

Fred

Success!  I thought about it.  I'm a little embarressed.  It was a combination of the two options I listed above:

window.top.AdobeEdge.getComposition("EDGE-531849691").getStage () .headerSelect ("community");

So... Nevermind.  But I hope this will help you, too!

Thank you!

Fred

Tags: Edge Animate

Similar Questions

  • Calling a function in the HTML window that course is located inside - 8 Captivate

    Hello

    I scoured the forums to answer this but still have developed in white.

    Our LMS is launching a course in a pop-up window and inside that the Captivate output file .htm lies.

    Currently this pop-up window has a button that performs a function.  The problem is this button is rather unsightly sitting above the price in the HTML window and I wish I could call this function inside the Captivate course itself.

    The function is called closeSCOContent() and it closes the window of course but basically sends the user to a page of comments.

    So, basically is it possible to call this function using the Javascript function in Captivate 8?

    I hope that I have explained that sufficient

    Thank you very much!

    You should be able to call the function, but you would need to know where he is regarding parents/children/opener. Looks like there's frameset inside the popup.

  • Huh?  Or, call a procedure from a dynamic page portlet

    I have a procedure which returns the number of records in a table. Works very well.
    I want to call this procedure from a dynamic page portlet in Oracle portal.
    Here is (close to the) the content of the page:
    < HTML >
    < TITLE > example < /title >
    < ORACLE >
    HTP. P (SCHEMANAME. PROCEDURENAME());
    < / ORACLE >
    < / BODY >
    < / HTML >

    I get an error
    ORA-00900 invalid sql statement.
    Could not be parsed as portal_app - HTP. P (SCHEMANAME. PROCEDURENAME()); WWV-08300
    (The procedure has been granted execute privileges to the public and anonymous.)

    So, it is a FUNCTION and not a PROCEDURE that you are trying to call from a dynamic page? Then try something like the following:

    
    DECLARE
    v_test VARCHAR2(4000);
    BEGIN
    v_test := SCHEMA.FUNCTION();
    htp.p(v_test);
    END;
    
    
  • Call a function from C++ QML

    How to get there? How to call a function QML file c ++.

    I have a list view, and an indicator of activity in the qml and after extraction of xml data from a web service call, I'm unable to fix the datamodel as the XMLDatamodel does not work GroupDataModel works, but to make it work I have to use the data source and I can't set the property type of the DataSoure in c ++

    I'm getting below the code to load the data to GroupDataModel

    dataModel = new GroupDataModel();
    
    DataSource *ds = new DataSource(this);
    ds->setSource(QUrl("file://" + QDir::homePath() + "/model.xml"));
    
    ds->setType(bb::data::DataSourceType::Type.Xml);
    ds->setQuery("/ArrayOfPeople/People");
    

    Hereby, I get Compilation error to

    ds->setType(bb::data::DataSourceType.Xml);
    

    error: wait before create primary expression '.' token

    To work around, I want to load the data source and model of QML function, but this function must be called those the network connection has data extracted and stored in the file.

    Hel me please on this...

    You must give a signal of c ++ and set up a slot in qml connect.

    Example:

    C++

    mQmlDocument->setContextProperty("_myClass", myClass);
    
    emit mySignal()
    

    QML:

    _myClass.mySignal.connect(doSomething);
    
    function doSomething() {
        // logic here
    }
    
  • Calling JavaScript function from c ++

    Hello

    I need to call a function javascript from c++ code. I have a webview in which an html page is opened.

    I can connect to c ++ js using navigator.cascades.postMessage. I have to call vice versa.

    c ++ for js now.

    Concerning

    Hello

    I tried another way of calling JavaScript function continue in every 5 seconds.

    Steps to follow:

    1 import im .js QML file.

    2. create a function in QML and call the java script of QMLfunctuion function.

    3 the signal of the CPP in every 5 seconds and connect this signal to function in QML whare you call java script function.

    4. it indirectly calls the java script function.

    Thank you

    Anand

  • Calling a function from a view

    Hello, I have a question:
    I create a view, and I need to call a PL/SQL to function. I would like to know if there is some difference between these two variants
    CREATE OR REPLACE FORCE VIEW TEST_VIEW
    AS
    SELECT Package_Name.Function_Name(Some argument)
    FROM
    ...
    and
    CREATE OR REPLACE FORCE VIEW TEST_VIEW
    AS
    SELECT (SELECTPackage_Name.Function_Name(Some argument) FROM DUAL)
    FROM
    ...
    Thanks for the tips.

    Hello

    The second version will allow you to take advantage of the query as the caching that can be a significant reduction in the number of calls to your function. If you must call a function in a SQL statement, this would be a way advised to...

    XXXX> create or replace package pkg_call_test
      2  AS
      3
      4      procedure p_reset;
      5
      6      function f_call(ain_arg in number) return number;
      7
      8      procedure p_print;
      9
     10  end;
     11  /
    
    Package created.
    
    Elapsed: 00:00:00.23
    XXXX> create or replace package body pkg_call_test
      2  AS
      3      pn_ct       number;
      4
      5      procedure p_reset
      6      IS
      7
      8      BEGIN
      9
     10          pn_ct := 0;
     11
     12      END;
     13
     14      function f_call(ain_arg in number) return number
     15      IS
     16      BEGIN
     17
     18          pn_ct := pn_ct + 1;
     19
     20          RETURN ain_arg;
     21
     22      END;
     23
     24      procedure p_print
     25      IS
     26
     27      BEGIN
     28
     29          dbms_output.put_line(pn_ct);
     30
     31      END;
     32
     33  end;
     34  /
    
    Package body created.
    
    Elapsed: 00:00:00.10
    XXXX>         CREATE TABLE test_data
      2  (   id  number
      3  )
      4  /
    
    Table created.
    
    Elapsed: 00:00:00.04
    XXXX> insert into test_data select mod(rownum,5) from dual connect by level <= 10
      2  /
    
    10 rows created.
    
    Elapsed: 00:00:00.01
    XXXX> set serveroutput on
    XXXX> exec pkg_call_test.p_reset;
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.01
    XXXX>
    XXXX> select
      2      pkg_call_test.f_call(id)
      3  from
      4      test_data
      5  /
    
    PKG_CALL_TEST.F_CALL(ID)
    ------------------------
                           1
                           2
                           3
                           4
                           0
                           1
                           2
                           3
                           4
                           0
    
    10 rows selected.
    
    Elapsed: 00:00:00.15
    XXXX>
    XXXX> exec pkg_call_test.p_print;
    10
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.01
    XXXX> exec pkg_call_test.p_reset;
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.00
    XXXX>
    XXXX> select
      2      (SELECT pkg_call_test.f_call(id) from dual)
      3  from
      4      test_data
      5  /
    
    (SELECTPKG_CALL_TEST.F_CALL(ID)FROMDUAL)
    ----------------------------------------
                                           1
                                           2
                                           3
                                           4
                                           0
                                           1
                                           2
                                           3
                                           4
                                           0
    
    10 rows selected.
    
    Elapsed: 00:00:00.03
    XXXX>
    XXXX> exec pkg_call_test.p_print;
    5
    
    PL/SQL procedure successfully completed.
    
    Elapsed: 00:00:00.01
    XXXX>
    

    Note with the second version, the function is called once for each value in the column id rather than once for each line.

    HTH

    David

  • calls to functions from class to class

    How to call a function that is in one class from another class? My first class creates instances of a second class. The second class is emerging. I want it so that if a user clicks an instance of the second class, first class will know which instance of the second class was clicked. I try to use a clickHandler inside the second class that then calls the function (do) in the first class, but I get this error:

    1180: call to a method may not set of doubts.

    Here is a very simplified version of what I have in progress:


    This works! Using a single object to pass parameters is a great way to do it...!

    Thank you!!!

  • call a function from a webview actionscript

    In the mobile application that I develop, I need to be able to open a webview that displays a Web site that is saved locally in the app. Then, I need to be able to press a button in the webview and do call a function in the application itself. Is there a way to do this? Can a webview (via javascript or something) call a function in the application? If so, how?

    In JavaScript, set the custom document.location on some channels of URL property. You can use your own URL scheme to pass parameters of JS to AS3, as3 example: / / actions/document/record? overwrite = false. Then in ActionScript, handle the LocationChangeEvent.LOCATION_CHANGING event and examine or decode the URL.

    Call Event.preventDefault () in your AS3 event handler to cancel the navigation and stay on the same page.

  • Cannot call the functions from Javascript using ExternalInterface

    Hi all, I use external Interface to call Javascript in an HTML document with an embedded flash object, but I can't call functions in the flash JavaScript object.

    JavaScript:
    function call_actionscript {}
    If (document.getElementById ('flashObj')) {}
    Alert ('object flash found.');
    document.getElementById('flash2').test_from_javascript ();
    }
    }


    ActionScript:

    package {}
    import flash.display.MovieClip;
    to import flash.external.ExternalInterface;
    import flash.events.Event;

    SerializableAttribute public class extends MovieClip {} FlashObj
    public void FlashObj() {}
    ExternalInterface.addCallback("IsStatic",IsStatic) ('test_from_javascript', test_from_javascript)
    }

    public void test_from_javascript(e:Event):void {}
    ExternalInterface.call("saveglobalscore",score) ("alert", "javascript test received in actionscript!")
    }
    }
    }

    Call the "call_actionscript()" javascript function produces no result. Call Test_from_javascript() manually to code Actionscript product alert "javascript test has received in actionscript!" without problem. So the ExternalInterface.call("saveglobalscore",score) method works fine, but the the ExternalInterface.addCallback("IsStatic",IsStatic) doesn't seem to work at all. What I'm missing here?

    Try to change/add the JS in your HTML code to the following.

    TS

  • How to call a function of my html code to js created by animate cc, I had used 'exportRoot.functionName' and said this function in my document of flash pro with html5 canvas, but now on cc animate this way doesn't work.

    My html code created by animate cc was changed to php for me, because I send and received variables via get and catch the cookies and much more. the function that I used to call function on my .fla of the document is passId() and it worked before when animate was Flash pro with html5 canvas.

    Captura de pantalla 2016-09-27 a las 12.19.59 p.m..png

    And function of .fla, I frame_0 only assign to the variable "id_usuario", this is the feature on fla:

    Captura de pantalla 2016-09-27 a las 12.20.12 p.m..png

    First of all, the title of your thread is horrible. Titles are supposed to be securities, not paragraphs.

    As for your problem, you are probably trying to call catchIdUser before it is defined. handleComplete() is raised when the content is ready to run. He did not actually yet. I guess you should have script code call the function of window parent, not the other way around.

  • How to call a function from creationComplete clicking a button?

    Hello

    I wrote a function called getJson (jsonUrl) within the complete creation.  I need where to load the default power json in the carousel.

    However, I also need to be able to call from button clicks, i.e.

    var blogJsonURL = ' http://mywebsite.com/ui_jsonFeeds/blog.aspx?callback=?';

    getJson (blogJsonURL);

    This is so that I can switch between different json stream.

    Any help would be most appreciated.

    Thank you.

    And you should also keep the definition above the function call:

    Thus,.

    var defaultJsonURL = 'http://dev-www5.coj.net/ui_jsonFeeds/coj2/mayorsBlog.aspx?callback=?';

    sym.getJson = function (jsonURL) {...};

    sym.getJson (defaultJsonURL);

    HTH,

    Vivekuma

  • Calls to functions from loaded SWF files

    I have a Flex application that uses the SWFLoader object to load an external SWF file (which has also been developed in Flex) in a section of the page. The parent SWF file defines several variables and global functions in ActionScript I would use from all SWF files loaded in the SWFLoader. Is it possible in ActionScript to access the functions and variables that are defined in the SWF file the SWF load/child parent? The two SWF files are on the same domain, so there should not be problems of security.

    Peter thank you very much for your answer. I have tried loading in the same ApplicationDomain, but he did not what I expected from him. I, however, found the solution to my problem. I needed to understand how cross-script from a SWF file loaded the loaded SWF file. I discovered how and published a description of my conclusions on another thread that was no longer relevant to my question. The described solution has allowed me to do what I needed without touching the ApplicationDomain.

  • How to call a function from another script.

    Hallo

    TypeError: Error #1009: cannot access a property or method of a null object reference.
    next / NEXT)

    and here is my script.

    Main.As

    package
    {
    import flash.display.MovieClip;
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;

    import flash.events.Event;
    import flash.events.EventDispatcher;
    import flash.events.MouseEvent;
    import flash.net.URLRequest;
    import flash.net.URLLoader;


    SerializableAttribute public class Main extends MovieClip
    {
    public void Main()
    {
    trace ("Startup");
    }

    public void PRINT (): void
    {

    trace ('work');

    }
    }
    }


    Next.As

    package
    {
    import flash.display.MovieClip;
    import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;

    import flash.events.Event;
    import flash.events.EventDispatcher;
    import flash.events.MouseEvent;
    import flash.net.URLRequest;
    import flash.net.URLLoader;


    SerializableAttribute public class then extends MovieClip
    {

    private var _main:Main;

    public function Next()
    {
    NEXT_INT();
    }


    private void NEXT_INT (): void
    {

    mc.buttonMode = true;
    mc.addEventListener (MouseEvent.MOUSE_DOWN, NEXT_PRINT, false, 0, true);
    }

    private void NEXT_PRINT(e:MouseEvent):void
    {
    _main. PRINT();
    }

    }

    }

    http://noLabel.pl/QuickTest.rar

    http://noLabel.pl/QuickTest.zip

    Try this. I can't compile your application in case of location (names of variables with national characters). Here you have a quick example: we have two symbols in the library buttonMC and playerMC related to clssses Player and button. There handleClick (click event handler) method in the Button class, who do the work for you.

    concerning

    JK

  • Calling the function from inside a onEnterFrame action

    I have a class file called MonsterGame. Inside her, one of the methods that are called "queueAnim" creates a onEnterFrame function to wait until the current film is play before making the following visible.

    That works fine, but I have certain conditions that the Main() function is called just after a certain movie is played (called "eatMovie"). Everything works except the call to Main();

    I think it's a problem with SEO in the wrong place, but I don't know why.

    The trace for "this should be the root name" returns "MonsterGame", which is the name of the class where the Main() method. So if this ._name returns MonsterGame and MonsterGame has Main() inside, why used Main() or that. Main() run the function?

    PS: It's NOT because I remove the onEnterFrame before calling the Main(), at least I'm sure it's not because I put a trace here, and it works very well, proving that after deleting lines are always executed.

    PM me if you want the link to the source code and swf file

    Try the attached code. If not post a link to a zip with all the files.

  • How can I call two functions in the HTML Form element attributes

    Hello

    I want the same value in the text field two, when I select the value to select the list then the value with a number increment should be two text field.
    I use both java script

    < script >
    function sumItems() {}
    function getVal (item) {}
    If ($x (point) .value! = "")
    Return parseFloat ($x (item) .value);
    on the other
    return 0;
    }
    $x('P19_LAST_END_YR').value = getVal ('P19_LAST_STR_YR') + 1;
    }
    < /script >


    < script >
    function per1Items() {}
    function getVal (item) {}
    If ($x (point) .value! = "")
    Return parseFloat ($x (item) .value);
    on the other
    return 0;
    }
    $x('P19_LAST_END_YR').value = getVal ('P19_START_YEAR') + 1;
    }
    < /script >


    now how can I call function onchange two attributes of the element in the HTML form for the discount:
    ' onChange = "javascript:sumItems()" onChange ="javascript:per1Items().

    Hello

    Try

    onchange="sumItems();per1Items();"
    

    BR, Jari

Maybe you are looking for

  • How to activate the blank home page?

    I always want to have my homepage in white without any announcement, as I do in Internet Explorer. How can I activate the blank page?

  • tab container

    Hallo, I have five graphs into 5 tabs in a tab container.  How to change the names of the tabs in a tab container automatically?  Or how to to change the caption of a graph automatically with the entry into channels for these names. Thanks in advance

  • Adding new user limited now that it is the only account that I can connect to

    I can not connect as administrator on my windows xp pro 2002.  After you have configured the new limited user can't access a login screen other than my limited user account.  I did some research and tried several fixes. all to nothing does not.  Here

  • Monopoly Tycoon does not work on windows 7

    I recently bought a new laptop running windows 7 and I can't Monopoly Tycoon to function normally, it will be in safe mode, but not totally, I also went to find patches for it, Hasbro and programmers who could not help.

  • Printer driver for Lexmark X 7170

    Since installing windows 7 my Lexmark X 7170 printer no longer works.  is there a driver available that is compatible with windows 7?