Created a TextInput1 component which has an internal TextInput. We
basically have some custon drawing functions to display it differently
form the norm.
 
For some reason, I can TAB forward through a small form with two of
these TextInput1 boxes, but I'm unable to SHIFT+TAB backwards?
 
Within the init() funciton we have the following:
 
private function init() 
 {  
  //trace("I'm a text input");
 
  // hide the clips bounding box
  boundingBox_mc._visible = false;
  boundingBox_mc._width = 0;
  boundingBox_mc._height = 0;
 
  
  // need to direct focus to the txtInput field
  this.onSetFocus = function()
  {
   trace("SETFOCUS");
   
   if ((txtInput.enabled) && (txtInput.editable)) {
    txtInput.onSetFocus();
   }
   
  }
  this.onKillFocus = function(n)
  {
     txtInput.onKillFocus(n);
  }
  this.drawFocus = function(b)
  {
     txtInput.drawFocus(b);
  }
 }
 
Anyone any ideas?
 
Neil 
________________________________


[EMAIL PROTECTED]
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to