Solved

flash line spacing changes when movie is compiled

Posted on 2011-02-10
11
226 Views
Last Modified: 2012-05-11
I am using Flash CS3 and when I compile my movie the line spacing changes on any static text field that includes links.

I found a thread from someone with the same problem (see link below), but the solution won't work for me. I can't make it a dynamic text field, because dynamic text fields don't allow for multiple fonts.

http://www.kirupa.com/forum/showthread.php?t=317385

I can do as they suggest and add extra line spacing to compensate, but this is a really annoying workaround that is very inconvenient.

any ideas?
0
Comment
Question by:jasotasticon
  • 6
  • 5
11 Comments
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34867971
Can you please share your fla.

Warm Regards
Deepanjan Das
0
 

Author Comment

by:jasotasticon
ID: 34890557
Can't share my file, so I just made a quick example file. You might not have the font (archer) but you can see a similar problem with any font (although for a font like arial it is much more subtle).
linespacing.fla
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34893685
That seems to be an embed issue, so why dont you embed the fonts and use a dynamic text field?
Once a font gets embeded you can use the dynamic text field and use styles with it as well. If you want different fonts, use htmlText instead to set the values.

Warm Regards
Deepanjan Das
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:jasotasticon
ID: 34928642
Deepanjan,

I can't really use HTML tags in my text because that effects my ability to rag the text correctly or gauge how long the body text is running. Does that make sense? Can you think of any other alternatives?
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34931212
I feel you can do that too with html text.

So for setting the value use htmlText but for calculating other stuff in the text field consider text property.

Warm Regards
Deepanjan Das
0
 

Author Comment

by:jasotasticon
ID: 34931216
Sorry, I don't follow.
0
 
LVL 17

Expert Comment

by:deepanjandas
ID: 34931256
Okie let me do it this way.

What do you want to do with the text, i mean kindly elaborate the line "rag the text correctly or gauge how long the body text is running".

Warm Regards
Deepanjan Das
0
 

Author Comment

by:jasotasticon
ID: 34931271
Perhaps I am missing something here, but I don't think that I am being that unclear. I want to layout the text visually in flash. I don't want to insert it with actionscript and I don't want to include html tags that will effect the line length etc.

Your response gives me the feeling I am missing something really obvious here... When I say "rag the text" I am just referring to the standard design practice of using the return key or tracking to adjust the way paragraph text that is not force justified appears on the rough side.

Sorry if I am somehow missing what you are saying.
0
 
LVL 17

Accepted Solution

by:
deepanjandas earned 500 total points
ID: 34931303
You are not missing anything :) I just wanted to be sure we are on the same plate.

So your requirements are:
1. You do not want dynamic text using htmlText
2. You want multiple fonts

So do 1 thing use dynamic text field, set the text manually on the textfield and not by actionscript.
Embed the fonts as required and add invisible buttons instead of links on text.
 linespacing.fla

Warm Regards
Deepanjan Das
0
 

Author Comment

by:jasotasticon
ID: 34933494
Yes, this is the way I have done it before, but it does not allow for rollovers etc. and it takes a great deal of extra time if you have a bunch of text filled with links. Also, clients always want rollovers (understandably).

Also, the file you posted is just a text document full of random characters.

Unfortunately I think this is just an unsolvable problem with flash (at least CS3).

Thanks you for all of your time though. You are very kind!
0
 

Author Closing Comment

by:jasotasticon
ID: 34933497
Thanks for your time. Unfortunately, I don't think the problem has a solution.
0

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question