Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flash General Questions > Flash 8 General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-19-2005, 11:05 AM   #1
Scheme138
Registered User
 
Join Date: Oct 2005
Posts: 9
Default dynamic text in imported swfs

so i have a movie that imports another movie. the imported movie calls on dynamic text from a text file. the text shows up fine if i view the imported movie by itself, but when i view my main movie, and import the other movie, just the scroll bars, etc show up....not the dynamic text.

is this an issue with flash 8 or is there something more i need to do?

thnx
Scheme138 is offline   Reply With Quote
Old 10-25-2005, 05:22 PM   #2
SteveSloan
Registered User
 
Join Date: Jul 2005
Location: Kingston, Ontario
Posts: 37
Default

I have the same problem, you can trace the textbox and it says the text is in there but nothing displays, and i have been setting the htmlText.
SteveSloan is offline   Reply With Quote
Old 10-25-2005, 05:48 PM   #3
oldnewbie
Banned by AS.org Staff
 
Join Date: Mar 2002
Posts: 10,534
Default

Are using the BOLD and/or ITALIC along with the NORMAL style of the font you've used?
Did you embed the font?
oldnewbie is offline   Reply With Quote
Old 10-25-2005, 10:40 PM   #4
Scheme138
Registered User
 
Join Date: Oct 2005
Posts: 9
Default

EMBEDDING! what do you know! it worked! now the only other problem i have is that my text file needs to expand height-wise depending on how much text is imported into it. but i have to give the text field a height size. is there a way to make it dynamic?
Scheme138 is offline   Reply With Quote
Old 10-25-2005, 11:31 PM   #5
Scheme138
Registered User
 
Join Date: Oct 2005
Posts: 9
Default

actually i should clarify. i already have the text field with the circle for a handle, but all it does is make the text field very narrow. i still have to set the height. then when i load the text when i test the movie, the text box doesnt expand.

like its setting the dynamic text field size, THEN loading the text. instead of first loading the text, then adjusting the text field size accordingly.
Scheme138 is offline   Reply With Quote
Old 10-31-2005, 04:02 PM   #6
SteveSloan
Registered User
 
Join Date: Jul 2005
Location: Kingston, Ontario
Posts: 37
Default

give this a try, it might work, might not though.
ActionScript Code:
myTextbox.autoSize = true;
SteveSloan is offline   Reply With Quote
Old 11-01-2005, 02:13 AM   #7
Scheme138
Registered User
 
Join Date: Oct 2005
Posts: 9
Default

wow. i cant beleive it was that simple. thanks a million!
Scheme138 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 On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:19 PM.


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