0 Replies Latest reply on Jul 17, 2006 8:59 AM by chintoo26

    Focus problem for rollovers on textinputs...help plss


      I am having a strange problem with focus.i am using tool tips and textinputs. I have rollovers(movie clip) on the text input boxes(some with no rollovers).When i run the .fla file for the first time, i am not able to click on the textinput, but i can see the rollover text with it. When i click a textinput box(with no rollovers) and come back and click this textinput with rollovers, I am able to change and edit everything. So it happens everytime when i go out of these textinputs(with rollovers) and click radiobuttons and come back again first time problem(not able to change textinput field). can someboedy help me in solving this problem.
      I want the textinput boxes to be active and whenever clicked on them,i should be able to change/delete the data anytime in the textinput.here is the code.

      private var tt:MyToolTip = new MyToolTip();
      public function onLoad() {
      sales_txt.onRollOver = function() {
      //show the rollover text
      tt.showTip(" Total sales.");
      sales_txt.onRollOut = function() {

      class ToolTip {
      private var my_mc:MovieClip;
      function ToolTip() {
      this.my_mc = _root.createEmptyMovieClip("tooltip",root.getNextH ighestDepth());
      this.theTip.createTextField("theText",this.my_mc.g etNextHighestDepth(),3,1,200,70);

      function showTip(text:String) {
      this.my_mc.theText.text = text;
      this.my_mc._visible = true;
      this.my_mc.onMouseMove = function() {
      this._x = _root._xmouse ;
      this._y = _root._ymouse+25;

      public function removeTip():Void {
      this.my_mc._visible = false;
      delete this.my_mc.onEnterFrame;