473,490 Members | 2,486 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Centering text in .xml file loaded into FLASH

1 New Member
I am looking to center a particular line of text in a <![CDATA[ text file that is loaded into a FLASH file. Here is he surrounding code and the line I need centered. I can't nest a <div style> or a <span style>. Please help. Thank you for your time.

<item fontFamily="DINMittelschrift" name="linkText"><![CDATA[

<font color="#FF9900">&quot;Everything has it's beauty, but not everyone sees it.&quot;</font> - <i>Confucius</i>

]]</item>
Mar 13 '08 #1
1 3860
pronerd
392 Recognized Expert Contributor
I am looking to center a particular line of text in a <![CDATA[ text file that is loaded into a FLASH file. Here is he surrounding code and the line I need centered. I can't nest a <div style> or a <span style>. Please help. Thank you for your time.

<item fontFamily="DINMittelschrift" name="linkText"><![CDATA[

<font color="#FF9900">&quot;Everything has it's beauty, but not everyone sees it.&quot;</font> - <i>Confucius</i>

]]</item>

If you are new to using forms you may want to google rules on proper form etiquette. It will help you get much better and faster responses. Specifically this question would likely get a better response in a flash or HTML form.

Try googling for examples on setting CSS values using the style attribute in HTML tabs. It might let you set the test-align attribute in the font tag. If it does not you will need the flash app to parse the XML, put the text out, and set the layout values that way.
Mar 24 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

1
1600
by: Dave | last post by:
I don't think the text file is caching. The information in the text file is called upon manually by the user of the flash movie. Odd that the variable in which the text is stored doesn't clear...
17
2489
by: Applebrownbetty | last post by:
Hi, I'd like to append/amend the following code from the Dreamweaver extension "Open Picture Window Fever" for the ability to center the PopUp window: By default, it allows the window to be...
6
3263
by: Bosnewi | last post by:
hi, What's the easiest way to make a text to fly inside of any control such as textbox. Any ideas???
3
4187
by: John Pote | last post by:
1. Horizontal centering a <divin browser window. The current trend seems to be to place page content in a fixed width area in the middle of the browser window. How is this achieved? If I use a...
3
3651
by: BT | last post by:
I have taken over the support of an existing webpage and I need to revise the page so that it is centered (left and right) on the screen instead of aligned on the left. I can do this easily, but...
2
3724
elamberdor
by: elamberdor | last post by:
Hi All! Well, i'm modifying a dynamic map, with lat and long datapoints, my problem is it loads in text perfectly onto exact points I specify on the map, ..well now I want to load in...
1
2384
by: patronise | last post by:
My problem is that I'm wrestling to make the LoadMovie and UnloadMovie functions work for me. Here is the layout of my flash file: I've got several seperate flash files and I can jump to any one of...
16
4904
by: stevedude | last post by:
CSS newbie again. I have a problem trying to get coffee mug images within anchor tags to center with my link text for a vertical list menu. If I use the horizontal/vertical properties of...
1
2663
by: mugdhajain | last post by:
Hi, I am working on an independent application to play flash files on Mac. I have already done the same for Linux, and it works flawlessly but on mac for some reason flash is not drawing to my...
0
6974
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7183
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
7356
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5448
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4573
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3084
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3074
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1389
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
628
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.