LOADING
Loading
Hi , welcome back.
LogoutLOGOUT
 
  Lost password?  
Hi
 


Prev Previous Post   Next Post Next
  #1  
Old 09-27-2005, 02:26 PM
Isekream Isekream is offline
Registered User
 
Join Date: Mar 2005
Posts: 152
Rep Power: 9
Isekream is on a distinguished road
importing components

hello,

i have a movie clip in which resides a label component named buttonText.

on the movie clip's first frame i have
Actionscript:
import mx.controls.Label;
var buttonText:mx.controls.Label;
buttonText.setStyle('fontFamily', 'Font 1');
buttonText.setStyle('embedFonts', true);
buttonText.setStyle('color', 0xFFFFFF);
buttonText.text = 'news';
yet i get an error
Quote:
no method with the name 'setStyle'.
buttonText.setStyle('fontFamily', 'Font 1');
What gives here?
Quote:
How does the label component react when it is masked?
Kendall

Last edited by Isekream : 09-27-2005 at 02:31 PM
Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Which Components Should Best Work For This Maniky80 Flash CS3 / Flash 9 2 10-26-2008 06:03 AM
Skinning 2004 Components : Tutorial FrozenMedia Actionscript 2.0 Components 43 12-12-2007 06:41 PM
Flash 8 Components Skinning FlashMove Actionscript 1 Components 0 02-08-2007 07:21 AM
Components...too heavy Jeehemdee Flash MX 2004 3 10-06-2004 10:02 PM
how to transfer the components from flash MX to flash MX 2004 Pro?? firefly Flash MX 2004 3 10-09-2003 11:13 PM




All times are GMT. The time now is 04:26 AM.