QT in html, events fired and movie internals doc

Hi,
The Javascript Scripting Guide says under "Executing JavaScript Functions From QuickTime", page 11:
Wired actions can be triggered by user interaction, as a result of a frame in the movie being displayed, or as the
result of arbitrary wired calculations.
It also briefly describes (page 23) the matrix and rectangle properties, saying "You can use a movie’s transformation matrix to scale, translate, and rotate the movie image. For details on the transformation matrix, see Movie Internals."
And the Rectangle is defined as "void SetRectangle(string rect)"
Where can I find the reference to the events fired by QT automatically ?
Where can I find this Movie Internals description ?
I'm not very familiar with javascript... That's not a QT issue, but where can I find a description of the rect ?
Many thanks
Jean-Pierre
  Windows XP Pro  

Yes, you can navigate to other pages using buttons/code in an swf file.  And you can trigger an event as well, though I don't know if that's what you intended to say if navigating to another page is what you are really after.
In AS3, to make a button work with code, you need to add an event listener and event handler function for it.  You might need to add a few (for different events, like rollover, rollout, clicking it, but for now we'll just say you want to be able to click it to get a web page to open.  In the timeline that holds that button, in a separate actions layer that you create, in a frame numbered the same as where that button exists, you would add the event listener:
btn1.addEventListener(MouseEvent.CLICK, btn1Click);
The name of the unique function for processing the clicking of that button is specified at the end of the event listener assignment, so now you just have to write that function out:
function btn1Click(evt:MouseEvent):void {
   var url:String = "http://www.awebsite.com/awebpage.html";
   var req:URLRequest = new URLRequest(url);
   navigateToURL(req);

Similar Messages

  • Sequence of Events Fired and Triggers Fired in Forms.

    Hi,
    Please help me to know how the events and Triggers will be fired in Forms Developer 9i.
    Thanks in Advance.

    Please take a look into Forms-Builder Online Help, there you'll find some sequence diagrams describing the order of Triggers firing on certain actions.
    e.g. search for "Post and Commit Transactions"
    brds,
    Peter

  • How to disable iCloud for iCal and move events back to your Mac?

    How can I disable iCloud and move my iCal events back to my Mac? I no longer want to store my private calendars in iCloud and want them back on my Mac but I don't know how to do it! Does anyone know what to do? Thanks

    To move your calendars, follow the second set of numbered instructions here:
    http://www.wilmut.webspace.virginmedia.com/notes/icloudmovecalendars.html
    Then you can sign out of iCloud in System Preferences>iCloud.

  • Photos and movies don't appear in Events/Photos but do appear in Last 12 months

    Hello. I'm using the latest version of iPhoto 11 (9.1.1). When I browse through my photos via the Events or Photos section of the iPhoto sidebar (under Library), certain photos and movies are missing. They simply don't appear there at all. However, when I click the "Last 12 Months" section of the iPhoto sidebar (under Recent), the photos and movies are there. If I try re-importing the missing photos and movies I'm told they are duplicates, so they must be in my iPhoto Library - they just refuse to show up under Events or Photos! I've tried ticking all the rebuild options by holding down command and option when I start iPhoto, but to no avail. Perhaps there's a setting I've inadvertently ticked that hides certain photos and movies? Hidden Photos is ticked under the View menu. I have View > Sort Photos set to "By date" / "Ascending".
    Thanks for all your help!
    Cheers,
    Greg

    since both last 12 months and events or photos are simply different views of the same photos in your library they are there - the most common issue is incorrect dates so you are looking in the wrong event - you can find the event by selecting the photo in the last 12 months view and and right clicking and using the show event command - you can correct the dates by selecting the photo and using the photos menu ==> adjust time/date command
    LN

  • ApplesScript needed to copy iCal event and move into different calendar

    Hello
    I hope someone can help with this request.
    For starters, I'm clueless on AppleScript and don't have the time or energy to learn it.
    I am looking for a script that will copy an event in one calendar and move it to my CalDav (Google) calendar - which I intend using as my primary calendar going forward.
    My techie friends give me strange looks when I explain how I came to this situation: I have to accept Outlook meeting invitations in Entourage to avoid the problem of events showing up 2 hours early (or late - can't remember which) in iCal. I have iCal and Entourage synced, with the events being pushed to iCal in a calendar named 'Entourage'.
    I would like any 'Entourage' events to be copied and moved to my Google calendar, after which it syncs with the cloud.
    Any assistance or advice?
    Many thanks
    Johann

    There's a strong element of irony in coming across a solution after doing a search on 'Entourage' and 'Google Calendar' syncing.
    Calgoo Connect - http://www.calgoo.com/connect/index.do - does a decent job of syncing iCal & GCal.
    Thanks to MacBitz for the solution and setup guidelines: http://macbitz.wordpress.com/2008/11/08/entourage-and-google-calendar-all-synced -up/
    The nice thing is you can choose which of your iCal calendars to sync.
    I use Entourage to accept meeting requests - iCal used to have trouble with time zones in meeting requests sent from Outlook - so have used the work-around of accepting in Entourage, and syncing it with iCal. This syncing process creates a separate calendar in iCal.
    In theory, I could simply use that as my primary calendar - which I haven't thus far, but may well do.
    As the synched Google Calendar shows up in iCal, you do end up with duplications showing if you have all calendars visible. So all I've done is hide the visibility of the Entourage calendar (and my other calendars) so that all I see is my GCal.
    It's a little clumsy, I'll admit, but it does the job. Which is all a little too Microsoft-ish for my liking
    Hope this helps anyone else trying to sync with GCal
    Message was edited by: jboriginal

  • Select and move multiple events at once

    I´m trying to find a command who let me select and move/drag several events for example 15 min down/later in the day. Maybe I have dreamt it but I think I have used ealier a command where I could use this forgotten command and by pressing down the left mouse click over the events I could select the events at once. I think this is much easier than command + click all the individual events. Next question is, how can I move several event at once. I have tried control + arrow down but that only lets me move one individual event. Not multiple, even if I have marked several. I don´t won´t to copy paste. Since I think this is a slower procedure. I´m pretty sure I have done this the "right" way before but could someone remind me of how it should be done I would be very thankful!

    Hi everybody - thanks for using my tip BUT BE AWARE!!!!
    The move function in the current iMovie 09 version STILL has a very serious bug.
    Whenever you move an event to a different disc, iMovie loses the Favourite/Reject and Keyword information. This can be a real drama when you rely on this information and find out that all this info has gone on the new disc.
    There is ANOTHER workaround though (sigh). You Select multiple events (like described in my tip before) and then you do COPY (and not move).
    Then you have duplicate events and you can delete the original. But the metadata will be present in the copy. I just found this solution in this thread
    http://discussions.apple.com/thread.jspa?messageID=11854650#11854650
    thanks harryfear
    cheers
    gfisch

  • Syncing - loss of photos and movies / ipad only shows movies under 'events'

    Two issues
    1 - I have recently upgraded ipad to 5.1. Syncing with pc on windows 7. Sync has omitted 65 photos and 60 movies, with no apparent logic e.g. 50 photos have been omitted from the middle of a folder on pc with 1010 photos. The other 15 are random omissions over several folders, where the other photos in the folders have been taken with the same camera on the same day as others that have successfully synced to the ipad. Has anyone else had this problem and does anyone know the solution? I can sync again and see what happens, but I would rather understand why the photos have been omitted.
    2 - Also, none of the movies show in 'photos' or 'albums' on the ipad, although they do show under 'events' (nnnIMPRT), and play in a 'slideshow' of 'events'. I am unclear on what defines an 'event' in Apple's ipad world, but it is not a good basis for a slideshow. Does anyone else have this problem with movies not showing in 'photos' or 'albums'? Or does anyone understand what the purpose of the 'event' option is?

    since both last 12 months and events or photos are simply different views of the same photos in your library they are there - the most common issue is incorrect dates so you are looking in the wrong event - you can find the event by selecting the photo in the last 12 months view and and right clicking and using the show event command - you can correct the dates by selecting the photo and using the photos menu ==> adjust time/date command
    LN

  • Event Log Trigger on New-Mailbox Event in MSExchange Management Event Log and Email in HTML Format

    I created a custom event view and created "Attach Task to this custom view" task scheduler job based on the custom view. Whenever a new user is created a receive the email however, the body of the email is blank. I'd like to pass the event detail
    into the body of the email as HTML. Any assistance on how to create a script to accomplish is much appreciated.

    Did you find an answer to this question yet?
    ¯\_(ツ)_/¯

  • Page cannot be displayed' error when 2 events (FireAction and GO) fired

    We have created a framework page where FireAction event will be executed
    when the value of a calendar item is modified. When we modify the
    value and leave the cursor in the field (without tabbing out), and click
    GO button, 'Page cannot be displayed' error message will be displayed.
    When FireAction event is started, we use CO to retrieve the event. And
    when the cursor remains in item1 after being modified and click GO,
    2 events will be started (the FireAction event and the GO button's event)
    and 'Page cannot be displayed' error will be shown since CO is retrieving
    2 events at the same time.
    Since by changing certain fields of framework page without tabbing out
    is a regualar operation, how can we go around this error when we are
    using FireAction event?
    sample34_00co.java
    package oracle.apps.xx03.ap.webui;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.OADialogPage;
    import java.util.Calendar;
    * Controller for ...
    public class Sample34_00CO extends OAControllerImpl
    public static final String RCS_ID="$Header$";
    public static final boolean RCS_ID_RECORDED =
    VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
    public StringBuffer message = new StringBuffer();
    * Layout and page setup logic for a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    Calendar cal = Calendar.getInstance();
    // When the browser back button is not executed
    if (!pageContext.isBackNavigationFired(false))
    System.out.println("NOT FROM BACK BUTTON!! ["+cal.getTime()+"]");
    // When the browser back button is executed
    else
    System.out.println("FROM BACK BUTTON!! ["+cal.getTime()+"]");
    //Action being performed when the browser back button is executed
    OADialogPage dialogPage = new OADialogPage(STATE_LOSS_ERROR);
    pageContext.redirectToDialogPage(dialogPage);
    * Procedure to handle form submissions for form elements in
    * a region.
    * @param pageContext the current OA page context
    * @param webBean the web bean corresponding to the region
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    Calendar cal = Calendar.getInstance();
    if ( "updateItem1".equals(pageContext.getParameter(EVENT_PARAM)) )
    //When FireAction is executed
    System.out.println("item1 FireAction is executed! ["+cal.getTime()+"]");
    else
    //When other actions beside FireAction is executed
    System.out.println("item1 FireAction is not executed! ["+cal.getTime() +"]");
    sample34_00pg.xml
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <!-- dbdrv: exec java oracle/jrad/tools/xml/importer XMLImporter.class java &phase=dat+24 checkfile:~PROD:~PATH:~FILE &fullpath:~PROD:~PATH:~FILE -username &un_apps -password &pw_apps -dbconnection &jdbc_db_addr -userId "1" -rootPackage /oracle/apps/~PROD -rootdir &fullpath:~PROD:mds:directory -->
    <page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="9.0.3.8.11_1183" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header$">
    <content>
    <oa:pageLayout id="PageLayoutRN" windowTitle="Sample34_00 WindowTitle" amDefName="oracle.apps.fnd.framework.server.OAApplicationModule" title="Sample34_00 PageHeader">
    <ui:corporateBranding>
    <oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif"/>
    </ui:corporateBranding>
    <ui:contents>
    <oa:messageComponentLayout id="MainRN" controllerClass="oracle.apps.xx03.ap.webui.Sample34_00CO">
    <ui:contents>
    <oa:messageTextInput id="item1" prompt="item1" dataType="DATE">
    <ui:primaryClientAction>
    <ui:fireAction event="updateItem1"/>
    </ui:primaryClientAction>
    </oa:messageTextInput>
    <oa:messageLayout id="ButtonLayout">
    <ui:contents>
    <oa:submitButton id="Go" use="/oracle/apps/fnd/attributesets/Buttons/Go"/>
    </ui:contents>
    </oa:messageLayout>
    </ui:contents>
    </oa:messageComponentLayout>
    </ui:contents>
    </oa:pageLayout>
    </content>
    </page>
    ----------

    Shive...good one..!!
    One thing that you can do if you don't wanna have PPR, is to validate date column in fire action event in CO in process form request, and raise an error if you don't find appropriate format or null , as per your requirement.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Qt_ended Event firing in IE

    I want to add image at end of quicktime movie,for that i m firing qt_ended and its working alright in Firefox,for IE im getting confused abt what change i have to made.Read the tutorial here http://developer.apple.com/library/safari/#documentation/QuickTime/Conceptual/QT ScriptingJavaScript/bQTScripting_JavaScri_Document/QuickTimeandJavaScri.html#//appleref/doc/uid/TP40001526-CH001-SW6 But unable to make it work.If someone can please give me some example for making me do above functionality in IE.Below is my code
    <script src="AC_QuickTime.js" language="JavaScript" type="text/javascript">
    </script>
    <script language="JavaScript" type="text/javascript">
    <!--
    /* define function that shows percentage of movie 1 loaded */
    function showProgress()
    var percentLoaded = 0 ;
    percentLoaded = parseInt((document.movie1.GetMaxTimeLoaded() / document.movie1.GetDuration()) * 100);
    document.getElementById("loadStatus1").innerHTML = 'Movie loading: ' + percentLoaded + '% complete...';
    /* define function that executes when movie1 loading is complete */
    function movieLoaded()
    document.getElementById("loadStatus1").innerHTML = "Movie Loaded" ;
    /* define function that shows percentage of movie 2 loaded */
    function showProgress2()
    var percentLoaded = 0 ;
    percentLoaded = parseInt((document.movie2.GetMaxTimeLoaded() / document.movie2.GetDuration()) * 100);
    document.getElementById("loadStatus2").innerHTML = 'Movie loading: ' + percentLoaded + '% complete...';
    /* define function that executes when movie2 loading is complete */
    function movieLoaded2()
    document.getElementById("loadStatus2").innerHTML = "Movie Loaded" ;
    /* define function that adds another function as a listener for a DOM event */
    function myAddListener(obj, evt, handler, captures)
    if ( document.addEventListener )
    obj.addEventListener(evt, handler, captures);
    else
    // IE
    alert("IN IE");
    obj.attachEvent('on' + evt, handler);
    /* define functions that register each listener */
    function RegisterListener(eventName, objID, embedID, listenerFcn)
    var obj = document.getElementById(objID);
    if ( !obj )
    obj = document.getElementById(embedID);
    if ( obj )
    myAddListener(obj, eventName, listenerFcn, false);
    function alertonend()
    //document.getElementById("loadStatus2").innerHTML = "Movie Loaded" ;
    alert("HEREEE");
    /* define a single function that registers all listeners to call onload */
    function RegisterListeners()
    RegisterListener('qt_progress', 'movie1', 'qtmovie_embed', showProgress);
    RegisterListener('qt_load', 'movie1', 'qtmovie_embed', movieLoaded);
    RegisterListener('qt_progress', 'movie2', 'qtmovie_embed2', showProgress2);
    RegisterListener('qt_load', 'movie2', 'qtmovie_embed2', movieLoaded2);
    RegisterListener('qt_ended', 'movie1', 'qtmovie_embed', alertonend);
    //-->
    </script>
    Two Movies with JavaScript Play/Stop Controls
    and Progress/Load Monitors
    <script language="javascript" type="text/javascript">
    QT_WriteOBJECT('b.mp4', '760','416', '', 'obj#id', 'movie1', 'emb#id', 'qtmovie_embed', 'emb#name', 'movie1', 'postdomevents', 'true', 'enablejavascript', 'true');
    </script>   
    <!--<script language="javascript" type="text/javascript">
    QTWriteOBJECT('samplesorenson.mov', '360','256', '', 'obj#id', 'movie2', 'emb#id', 'qtmovie_embed2', 'emb#name', 'movie2', 'postdomevents', 'true', 'enablejavascript', 'true');
    </script>-->
    <table width="100%">
    <tr>
    <td align="center">
    MOVIE LOADING...
    </td>
    <td align="center">
    MOVIE LOADING...
    </td>
    </tr>
    <tr>
    <td align="center">
    Play 1
    </td>
    <td align="center">
    Play 2
    </td>
    </tr>
    <tr>
    <td align="center">
    Stop 1
    </td>
    <td align="center">
    Stop 2
    </td>
    </tr>
    </table>

    Very curious to see answers to this post — I'm not getting a 'qt_ended' event in either Safari or Firefox (3.5.2). Nor were some of the other events firing (qt_timechanged comes to mind). Have noticed numerous messages on boards regarding troubles with the QT events, so I may just keep using my workarounds -- setInterval() monitoring loops.
    N

  • Events move_contol and size_control in class cl_gui_dialogbox_container

    Hello,
    Here's quite a tricky problem, which I could need some help for.
    I have an object of class cl_gui_dialogbox_container with some HTML in it. The users can resize and move the control on the screen. Now position and size shall be kept in a dictionary table for each user.
    I've registered the three events close, move_contol and size_control
      CALL METHOD gc_dialogbox->set_registered_events
        EXPORTING
          events                    = gt_events
    with event_ids 8, 11 and 12 and set the three handlers, e.g.
      SET HANDLER cl_event_receiver_tree=>handle_close
      FOR gc_dialogbox.
    I created three corresponding methods handle_close, handle_move_control and handle_size_control.
    Well, so far for what I've done. Now the results:
    If I close the dialogue box, ABAP correctly jumps into method handle_close. But at that point, the control has already been closed! So I can't read size and position any more.
    If I move or rezise the window, nothing at all happens... Not even the debugger would pop up if I do anything with the box.
    Does anyone here know how to do this?
    Thanks!
    Jan
    Edited by: Jan Krohn on Nov 22, 2008 3:17 PM

    A quick update in case anyone else is looking for a solution:
    I've still not found out how to handle the events move_control and size_control.
    However, when handling close_control, it's possible to catch size and position:
    call the methods to obtain size and/or position
    call a cfw flush
    only then the parameters will be filled with the correct values.
    Important: This must happen after the close button has been pressed, but before the control will be destroyed. So put it in the correct place in your source code.

  • REMOVED_FROM_STAGE event firing when it shouldn't...

    Hello everyone,
    Wondering if someone has seen this before. I have an application that has a few navigation points on the main timeline. The document class stops the movie at the first frame, and the "home" movieclip's class has Event.ADDED_TO_STAGE and Event.REMOVED_FROM_STAGE listeners on it. Funny thing is, it is calling the ADDED function as normal, then firing the REMOVED function immediately after. However, when I run it, it doesn't actually remove the movieclip from the stage. It is still there. When I navigate to a different section ("remote" or "assist") and navigate back to "home", it doesn't fire a second time, everything works properly after the first time.
    So I guess my question is, what would fire the REMOVED_FROM_STAGE event without actually removing the object from the stage? And why would it only happen once?
    Thanks for looking!
    -Nick
    Here is some code as well as a screen shot of my main timeline:
    package src.modules {
        import flash.display.MovieClip;
        import flash.events.Event;
        import flash.events.MouseEvent;
        import src.utils.greensock.TweenLite;
        import src.utils.greensock.easing.*;
        public class ModHome extends MovieClip {
            private static const DISTANCE:int = 700;
            private static const TWEEN_DURATION:Number = 1.0;
            private var _currentPage:int = 1;
            private var _isDone:Boolean = true;
            public function ModHome() {
                super();
    //            trace("home initialized");
                addEventListener(Event.ADDED_TO_STAGE, onAddedToStage, false, 0, true);
            private function onAddedToStage(evt:Event):void {
                trace("home added to stage");
                removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
                addEventListener(Event.REMOVED_FROM_STAGE, onRemovedFromStage, false, 0, true);
                // BUTTONS
                pageLeft_btn.addEventListener(MouseEvent.CLICK, onMouseClick, false, 0, true);
                pageRight_btn.addEventListener(MouseEvent.CLICK, onMouseClick, false, 0, true);
            private function onRemovedFromStage(evt:Event):void {
                removeEventListener(Event.REMOVED_FROM_STAGE, onRemovedFromStage);
                // BUTTONS
                pageLeft_btn.removeEventListener(MouseEvent.CLICK, onMouseClick);
                pageRight_btn.removeEventListener(MouseEvent.CLICK, onMouseClick);
    //            trace("home removed from stage");
            private function onMouseClick(evt:MouseEvent):void {
                if(_isDone) {
                    switch (evt.target.name) {
                        case "pageLeft_btn" :
                            movePages("left");
                            break;
                        case "pageRight_btn" :
                            movePages("right");
                            break;
                        default :
    //                        trace("home -- nothing");
                            break;
            // SCROLLING WINDOW
            private function movePages(thedirection:String):void {
                _isDone = false;
                var x1:int;
                switch (thedirection) {
                    case "right" :
                        if (_currentPage > 1) {
                            _currentPage = _currentPage - 1;
                            x1 = pages_mc.x + DISTANCE;
                            TweenLite.to(pages_mc, TWEEN_DURATION, {x:x1, ease:Quint.easeInOut, onComplete:onTweenComplete});
                        } else {
                            _isDone = true;
                        break;
                    case "left" :
                        if (_currentPage < 3) {
                            _currentPage = _currentPage + 1;
                            x1 = pages_mc.x - DISTANCE;
                            TweenLite.to(pages_mc, TWEEN_DURATION, {x:x1, ease:Quint.easeInOut, onComplete:onTweenComplete});
                        } else {
                            _isDone = true;
                        break;                   
            private function onTweenComplete():void {
                _isDone = true;
                pageMarker_mc.gotoAndStop(_currentPage);
    //            trace("complete");

    No reason in particular, when I created the class, FlashBuilder put it in there (I'm using Flash Pro CS5 + Flash Builder 4). I read that it calls it by default when the class is constructed, so having it in or out didn't really matter. I did comment it out with no luck, but I ended up shifting around the timeline quite a bit today and the problem has gone away. It seemed to only do it when it was in the first frame.
    Thanks for your help, I'm going to investigate it further when I have time just for reference, I'll post anything I find here.
    -Nick

  • Disable event firing while updating list item in custom timer job

    Hi
    I am adding new items in the list usign custom timer job.
    While adding the items in the list event receiver of another list (which is not related to list which is updating) is getiing fired due to which I am getting data wrongly updated and exceptions are comming.
    why the another lists event recevier is executing while updating my list?
    How can I disable event firing from timer job code?
    please suggest any solution

    Hello,
    It seems you have deployed your event receiver globally and it is applied to all the lists. I can suggest two ways:
    1. Either you update your event receiver feature.xml file and attached to specific list, wherever you want. You can follow below link to attach event with specific list via code:
    http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.speventreceiverdefinition.aspx
    Or instead of code you can also pass ListUrl in feature.xml file:
    http://msdn.microsoft.com/en-us/library/ff398052.aspx
    2. OR delete event receiver from the list: You can use below code in your timer job to delete event receiver
    http://sarangasl.blogspot.in/2009/11/remove-event-receiver-in-sharepoint.html
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • [svn:osmf:] 11159: Updating unit test with a check to all expected events firing properly.

    Revision: 11159
    Author:   [email protected]
    Date:     2009-10-26 12:12:10 -0700 (Mon, 26 Oct 2009)
    Log Message:
    Updating unit test with a check to all expected events firing properly.
    Modified Paths:
        osmf/trunk/framework/MediaFrameworkIntegrationTest/org/osmf/content/TestContentElementInt egration.as

    camickr wrote:
    Do you really expect us to read all that code to try and understand what you are attempting to do?
    If you need further help then you need to create a "Short, Self Contained, Compilable and Executable, Example Program (SSCCE)", that demonstrates the incorrect behaviour.
    http://homepage1.nifty.com/algafield/sscce.html
    Absolutely not, I wouldn't post such a large amount of code expecting people to read it. I indicated that I believe my error only lies within one of two classes, and that I highlighted the two methods with comments.
    I was told to create an SSCCE as you have mentioned, but I believe all of this code is necessary for the program to run properly, so I only provided it all for compilation purposes.
    I'll check the examples posted, and if I need to I'll see if I can change my methods to use the swing timer class as the first reply mentions, but I did not think this would be necessary.
    Edited by: Drew___ on Nov 29, 2007 3:28 AM
    I have just figured out what my problem was, sorry it was quite a simple mistake. When checking for user input, I was immediately resetting the eventFlag or something afterwards. This meant the object would stop moving as it couldn't remember my last keypress. Thanks for your help, those tutorials are really good.

  • Event firing multiple times (et_Got_Focus)

    Hi,
    I just noticed while debugging my Add On code that the et_Got_Focus event which I have added to my event filters is triggered 64 times when I change a field value and then move to a different field.  This not only happens in the matrix when changing field values and tabbing through but also in the header fields.
    This has got to be a bug and it is not only slowing down the A/P Invoice form but it is potentially very dangerous to have an event firing 64 times when it should only be fired once. 
    To test this all one needs to do is add the et_Got_Focus event to the event filter with the A/P Invoice form, then add a debug statement to write out the itemvalue properties and you will see once you edit a value and tab you will get 64 statements that are the et_Got_Focus event, BeforeAction false for the same field or column when it should only occur once.
    I have a very digrunted client that is very frustrated due to the amount this slows down data entry in the A/P Invoice.  I cannot get rid of this event because there is a particular field I am monitoring for the got focus event so I can stop it under certain circumstances.
    If anyone else has experienced this or knows how to resolve this please let me know.  I guess if I don't find out why this is happening I will post a CSN to SAP.
    Thanks very much,
    David Wall
    Here is a sample of my debug output messages for one update of a single field and then tabbing out:
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False
    et_GOT_FOCUS -  - False

    Hi David,
    We at Self Informatique France have the same problem of getfocus firing many times at one of our customers in Algeria although wae are not using formated search.Any solution ?
    Best Rgds.
    Antoine Egeileh
    President
    Self Informatique
    [email protected]

Maybe you are looking for