Solved

flash line spacing changes when movie is compiled

Posted on 2011-02-10
11
222 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
 

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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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 select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now