1 Reply Latest reply on Jan 25, 2008 3:46 AM by niki tsanov

    Movie clip buttons using dynamic text

    bonjourandy
      Hi there,

      I'm trying to create a re-usable movie clip animated text button that uses dynamic text. I currently have a movie clip within my button containing a dynamic text field with an instance name 'title1' and then on the frame above

      title1.text = "Home";

      This all works fine, but I'd like to be able then use the same mc within my site, changeing the text without having to duplicate any of the mc's. Any help would be greatly appreciated – I'm at my wits end with this!

      Thanks in advance, Andy
        • 1. Re: Movie clip buttons using dynamic text
          niki tsanov Level 1
          So if you use attachMovie simply you can change with newButtonName.title1.text="Home" or if you just copy and paste from the library into the movieclip that store your buttons you can put this code into Frame1 and you get one instance of button with two different captions.
          Path.Button1.Title.text="Home";
          Path.Button2.Title.text="About";
          and etc...Path mean the full path to your movieclip for example, _level0.Navigation