A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: [RESOLVED] flash.html.HTMLLoader

  1. #1
    Senior Member
    Join Date
    Feb 2006
    Location
    Düsseldorf, Germany
    Posts
    142

    resolved [RESOLVED] flash.html.HTMLLoader

    Hello,

    is there any event dispatched in HTMLLoader class when any of the input text field is beeing selected inside the HTML? If yes how to track not onlyt the Event but the input field also?

    any ideas?
    --
    there is a place for those who dare to dream...

    Flash Developer
    VISTAPARK GMBH
    BÄRENSTRASSE 11-13
    D-42117 WUPPERTAL

  2. #2
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    There are several events, one of them is COMPLETE. Check the AS3 language references

    http://help.adobe.com/en_US/FlashPla...?filter_flex=4
    - The right of the People to create Flash movies shall not be infringed. -

  3. #3
    Senior Member
    Join Date
    Feb 2006
    Location
    Düsseldorf, Germany
    Posts
    142
    With some help i've found a solution for what i needed:

    This is the function onLoadComplete function:

    Actionscript Code:
    var inputs  = this.htmlMC.window.document.getElementsByTagName ( 'input' );
    var length : uint = inputs.length;
    for ( var i : uint = 0; i < length; ++i )
    {
        var inp : Object = inputs[i].addEventListener ( 'focus', this.onInputFocus);
    }
    --
    there is a place for those who dare to dream...

    Flash Developer
    VISTAPARK GMBH
    BÄRENSTRASSE 11-13
    D-42117 WUPPERTAL

  4. #4
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    Gut! Ich bin uebrigens original Dortmunder
    - The right of the People to create Flash movies shall not be infringed. -

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center