Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > ActionScript Forums Group > Simple Stuff (Newbies)

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-17-2002, 01:59 PM   #1
mark_anderson_u
Registered User
 
Join Date: Oct 2002
Posts: 7
Default Getting at a text fields properties in a button

Hi All

I'm having problems with dynamic text fields. I have set them to single line auto expand (hollow circular handle at bottom right), and when I assign text to the variable it doesn't fit the field.

Firstly, I don't understand wh they're not autosizing, but ignoring that, I can't seem to get at the autosize property in the script.

I have button called "btnHome" on the main timeline. I tis a library item, that contains text fields for the Up and Over states. The dynamic text field for the up state is called btnHomeUp. In the movie explorer and the target path selecter, I cannot see the text field.

I tried "_root.btnHome.btnHomeUp.autosize=true;" but nothing happens.

Any ideas?

TIA

Mark
mark_anderson_u is offline   Reply With Quote
Old 10-17-2002, 05:54 PM   #2
CyanBlue
Super Moderator
 
CyanBlue's Avatar
 
Join Date: Jan 2002
Location: Centreville, VA
Posts: 26,666
Default

Howdy...

I could be wrong... I can't trust my brain anymore...
I think I have read that you should create a text field with createTextField() function so that the 'autosize' could work... I have used autosize before with createTextField() and I had no problem at the time, so either the one I just said was the problem or there is something else... You might want to check it out on that...

Good luck...
__________________
CyanBlue / Jason Je / Macromedia Certified Flash Developer & Designer
http://CyanBlue.FlashVacuum.com
http://www.FlashVacuum.com
http://tutorials.FlashVacuum.com

Do NOT PM, Email or Call me... Your question belongs right in this forum...
CyanBlue is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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

Forum Jump


All times are GMT. The time now is 12:42 AM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.