dynemic text box level

  • vijayprakashsoft
  • Born
  • Born
  • No Avatar
  • Joined: Feb 09, 2010
  • Posts: 3
  • Status: Offline

Post February 9th, 2010, 11:17 am

Hi, I am trying to crate a dynemic tex feild in flash through script while rollover on a movie clip . that text box is contaning the text comming from xml file. I am faceing the problem to make that text feild on uper most level in flash movie so that it will appear over the other graphics. Currently it comming behind the other movie clip. Please help me.

I am using flash8.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 9th, 2010, 11:17 am

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post February 9th, 2010, 11:43 am

create an empty movie clip and place it using getNextHighestDepth() than put your textfield inside of that.
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • vijayprakashsoft
  • Born
  • Born
  • No Avatar
  • Joined: Feb 09, 2010
  • Posts: 3
  • Status: Offline

Post February 9th, 2010, 12:07 pm

It is allready generating in a movile clip using for loop. when i rollovr that moive clip the text box will appear. Currently the text feild is comming behind the other movie clip loaded by for loop.

Please guide and i would appritiate it i will pe provided some sample code as well.

Regards,
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post February 9th, 2010, 12:16 pm

It would actually help if you post your code. But the general idea is to swap depths so in your rollover you would use something like:
ACTIONSCRIPT Code: [ Select ]
button.onRollover = function(){
   this.swapDepths(this._parent.getNextHighestDepth());
}
  1. button.onRollover = function(){
  2.    this.swapDepths(this._parent.getNextHighestDepth());
  3. }
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • vijayprakashsoft
  • Born
  • Born
  • No Avatar
  • Joined: Feb 09, 2010
  • Posts: 3
  • Status: Offline

Post February 9th, 2010, 1:05 pm

Hi graphixboy , thanks for your help. I think this will work.

let try and check.

Regards,

Post Information

  • Total Posts in this topic: 5 posts
  • Users browsing this forum: No registered users and 35 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
cron
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.