?
Solved

flash line spacing changes when movie is compiled

Posted on 2011-02-10
11
Medium Priority
?
228 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them.

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
The goal of the tutorial is to teach the user how to how to record live broadcast.
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.

764 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