ENART.HZRN.COM
welcome to my space
X
Search:  
 HOME   Problem interacting with flash application
Problem interacting with flash application
Published by: mike 2010-03-18
Welcome to:enart.hzrn.com

  • Hello,

    I run a flash application inside of an ext ContentPanel. The flash application uses the keys Shift, Ctrl, Alt as modifier keys to change its behavior, but the events did not reach the flash application. Does ext consume them?

    If I run the flash application without ext in a plain HTML environment the key events reach the flash application.

    Is this a known problem, are workarounds existing? Ext version is 1.1.1.

    I am grateful for every advice.


  • Does your flash app have focus? If it does not, there's no way for it to intercept key commands.


  • I have tested Firefox2, IE7, Opera, and Safari (all on Windows), and only the Internet Explorer worked well.


  • @jsakalos
    I use SWFObject javascript library to configure the flash, but I have two little test versions (HTML, ext) with the only little difference that the ext one is using a BorderLayout/ContentPanel for displaying the content. And this suffices to consume the keys. So for me it is not the debt of the other library.

    @JeffHowden
    I think the flash application has the focus, because I am working in it (e.g. mouse clicks), filling text boxes with numbers works.

    Is it possible that ext has a key listener on the window object to handle shortcuts or something similar which steals the key clicks of some special keys like shift, alt, ctlr?


  • If there is a form on the page there could be keyup listeners but there shouldn't be any filtering of keystrokes. Each event can have as many listeners as needed.

    Is your problem browser dependent?


  • Hmmm, I'm running out of ideas... I don't use flash at all so I don't have my own experiences.

    Somebody else?


  • I've studied ContentPanel and BorderLayout code and there is nothing regarding keys or key mappings. Couldn't any other part of your app collide? Which adapter are you using? Any third party javascripts?





  • [2.0-rc1] Help with XmlReader
    Is there an event for closing a tab?

    You are looking at:enart.hzrn.com's Problem interacting with flash application, click enart.hzrn.com to home
  • develop a belief system that works for you
  • listen to your inner voice
  • the key to genuine happiness
  • improve your personal life in awareness
  • the law of attraction
  • living in the now
  • why does the rabbi answer a question with a question
  • keeping a positive outlook on life
  • feelingization – when visualization just isn’t enough
  • be the center of attention anytime anywhere
  • make room for true love – clear your space and your mind
  • proper rest to improve your personal life
  • spiritual renewal
  • goddess inspiration
  •  
  • how to manifest a soul mate
  • diamonds let pressure form you into one
  • ways to make money from home
  • readiness – creating emotional space in your life – part 1
  • personal growth – sharing my story
  • the power of accountability
  • it will be alright
  • the inevitability of universal harmony
  • believe your soul mate is out there
  • meaning of each tarot card a brief study
  • “experiences from ‘the flow’ 2 coincidence or synchronicity from relapse to miracles ”
  • do not complicate your life
  • finding your soulmate
  • how to be inspired today
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 enart.hzrn.com        Site made:CFZ