A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] Button Level Problems

Hybrid View

  1. #1
    Junior Member
    Join Date
    Sep 2006
    Posts
    27

    [F8] Button Level Problems

    I've been working on this one for hours...
    When subbuttonmaskX is rolled over a 'thought bubble' pops up. The bubble pops up fine and text is placed into it fine. The problem lies in the fact that its not being placed on the highest level. If i have any other MC's around it (which should be on lower levels as this is called only after everything else has loaded and user rolls over it) those MC's are placed ontop of this bubble/lvl. (those images/MC's are ontop of this movieclip)

    im not sure what im missing.. im creating the MC's using _root, and _root.getNextHighestDepth()
    Any help would be greatly appricated.


    Code:
    this["subbuttonmask" + a].onRollOver = function () {
    	_root.createEmptyMovieClip("theBubble",_root.getNextHighestDepth());
    	// and some more drawing code i removed
    
            // text box
    	_root.createEmptyMovieClip("theBubbleText",_root.getNextHighestDepth()); 
    	_root.theBubbleText.createTextField("ctext",this.getNextHighestDepth(),this._x+2,this._y,145,75);
    	_root.theBubbleText.ctext.selectable = false;
    	_root.theBubbleText.ctext.htmlText = true;
    	_root.theBubbleText.ctext.multiline = true;
    	_root.theBubbleText.ctext.wordWrap = true;
    	_root.theBubbleText.ctext.text = result_lv["child" + mouseovernum];
    	_root.theBubbleText.ctext.setTextFormat(_root.tfStyle);
    }

  2. #2
    Junior Member
    Join Date
    Sep 2006
    Posts
    27
    worked on it most of the night and still couldnt figure it out - any help would be appriciated

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