Why isn't this AS line working?

  • mindfullsilence
  • Professor
  • Professor
  • User avatar
  • Joined: Aug 04, 2008
  • Posts: 846
  • Status: Offline

Post August 15th, 2008, 8:48 pm

Flash CS3, Actionscript 2.0. I want to change the dynamic text to something else...
I'm follwing this tutorial. I know I've followed it to a tee, but I'm getting an "Expected a field name after '.' operator." error when trying to change the test text into something else.

Code: [ Select ]
b1.buttText.buttonText.this = "Home";


Everything else in the movie clip is working how it's supposed to, but the text isn't changing.
Use your words like arrows to shoot toward your goal.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post August 15th, 2008, 8:48 pm

  • mindfullsilence
  • Professor
  • Professor
  • User avatar
  • Joined: Aug 04, 2008
  • Posts: 846
  • Status: Offline

Post August 15th, 2008, 9:43 pm

wow I'm a rediculous person...

working code:
Code: [ Select ]
b1.buttText.buttonText.text = "Home";
Use your words like arrows to shoot toward your goal.

Post Information

  • Total Posts in this topic: 2 posts
  • Users browsing this forum: No registered users and 44 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
 
 

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