?
Solved

flash line spacing changes when movie is compiled

Posted on 2011-02-10
11
Medium Priority
?
230 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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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 load their YouTube profile onto Flash Media Live Encoder.
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.
Suggested Courses
Course of the Month16 days, 1 hour left to enroll

850 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