Why isn't this AS line working?

  • mindfullsilence
  • Professor
  • Professor
  • User avatar
  • Posts: 854

Post 3+ Months Ago

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.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • mindfullsilence
  • Professor
  • Professor
  • User avatar
  • Posts: 854

Post 3+ Months Ago

wow I'm a rediculous person...

working code:
Code: [ Select ]
b1.buttText.buttonText.text = "Home";

Post Information

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