dynemic text box level

  • vijayprakashsoft
  • Born
  • Born
  • vijayprakashsoft
  • Posts: 3

Post 3+ Months Ago

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
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

create an empty movie clip and place it using getNextHighestDepth() than put your textfield inside of that.
  • vijayprakashsoft
  • Born
  • Born
  • vijayprakashsoft
  • Posts: 3

Post 3+ Months Ago

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
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

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. }
  • vijayprakashsoft
  • Born
  • Born
  • vijayprakashsoft
  • Posts: 3

Post 3+ Months Ago

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 9 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
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.