Web Design Forum: Changing text properties in Actionscript - Web Design Forum

Jump to content

WDF
WDF Premium Memberships Reseller Hosting
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Changing text properties in Actionscript Rate Topic: -----

#1 User is offline   Evan Sharpe 

  • Forum Newcomer
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 15-February 11
  • Reputation: 0
  • Gender:Male
  • Location:London, UK
  • Experience:Beginner
  • Area of Expertise:I'm Learning

Posted 15 February 2011 - 06:37 PM

Hey,

I'm currently developing a website where users can change the tracking of a piece of sample text.

I've created a text field and given it an instance name of trackingText - how do I change its properties in Actionscript?

Thanks,
Evan
0

#2 User is offline   web-itec 

  • Expert
  • PipPipPipPip
  • Group: Members
  • Posts: 533
  • Joined: 23-March 11
  • Reputation: 53
  • Gender:Male
  • Location:United Kingdom
  • Experience:Advanced
  • Area of Expertise:Web Developer

Posted 24 March 2011 - 12:50 PM

View PostEvan Sharpe, on 15 February 2011 - 06:37 PM, said:

Hey,

I'm currently developing a website where users can change the tracking of a piece of sample text.

I've created a text field and given it an instance name of trackingText - how do I change its properties in Actionscript?

Thanks,
Evan


i think this should work in either as2 or as3
trackingText.textColor = 0xFF0000;

should make the text red...hopefully :p works for me in as2 haha
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users