473,378 Members | 1,138 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

I need to center the text in a XML flash Gallery...

Hi everyone. I'm a rookie in XML. I need your help to center the title of the images in a Flash Xml gallery based. I have the following code.

<item>
<thumb>t0.jpg</thumb>
<img>0.jpg</img>
<caption>Fotos da festa do Rock</caption>
</item>

The text appears in the left of the image. How can i center that title.

Thanks for your help.
Sep 14 '07 #1
1 1639
Dököll
2,364 Expert 2GB
Hi everyone. I'm a rookie in XML. I need your help to center the title of the images in a Flash Xml gallery based. I have the following code.

<item>
<thumb>t0.jpg</thumb>
<img>0.jpg</img>
<caption>Fotos da festa do Rock</caption>
</item>

The text appears in the left of the image. How can i center that title.

Thanks for your help.
Hello Pedro!

Try this:

[HTML]

picture._x = (Stage.width - picture._width)/2;
picture._y = (Stage.height - picture._height)/2;


[/HTML]
Sep 19 '07 #2

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

Similar topics

1
by: bin_P19 P | last post by:
the code i have got is as follows and now im stuck <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Shopping...
0
by: Audrey Pratt | last post by:
Happy Holidays to you and allow us to play Santa this year with these awsome deals that in anyway you can refuse: 2000 Web Templates for only $18.00 (Savings Over $1,000.00) ...
1
by: pastrami | last post by:
Hey guys, I was wondering if someone can check my css setup, for some reason my pictures are not coming out centered in FF but it is centered in IE. table#gallery { display:none;...
1
by: gescom | last post by:
I'm trying to build an image gallery in Flash that extracts data from two external XML files using Actionscript. Currently I have one fully functional gallery that I'm satisfied with and would...
1
by: judacris | last post by:
I've seen the threads here about molding 2 divs in a centered fashion. but I can't seem to solve this thing. my blogger blog is functioning well on my site for now, but the blog feed (left) and...
9
by: boycey | last post by:
Hi I have tried to embed a simpleviewer gallery (which works fine as a standalone web page) into a table on an existing web page inorder to show it as a gallery window. The gallery loads but there...
24
by: GloStix | last post by:
I'm trying to center this banner, it's in a div that has the same width so it's not exactly "centering" but it's screwed up, It works in safari but in Firefox it's messed up. I uploaded a Video to...
5
by: Jordan79 | last post by:
I have created a flash gallery that loads pics from a XML file. This is working perfectly when I test it in flash but when I add it to my dreamweaver page all that loads is the background???? Flash...
1
by: Jordan79 | last post by:
I have created a flash gallery that loads pics from a XML file. This is working perfectly when I test it in flash but when I add it to my dreamweaver page all that loads is the background???? Flash...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.