XML add title

I found this on intenet and meets my needs, except I want to
add Title
// set random # variables - each must be 0 for first 'while'
loop below
var randomNum = 0;
var randomNumLast = 0;
// parent container
var container_mc = this.createEmptyMovieClip("container",0);
// movie clip containers
container_mc.createEmptyMovieClip("loader1_mc",2);
container_mc.createEmptyMovieClip("loader2_mc",1);
container_mc.loader1_mc.createTextField("my_txt", 10, 10, 10,
520, 100);
container_mc.loader1_mcmy_txt.border = true;
container_mc.loader1_mcmy_txt.multiline = true;
container_mc.loader1_mcmy_txt.wordWrap = true;
container_mc.loader1_mcmy_txt.textColor = "0xFFFFFF";
container_mc.loader2_mc.createTextField("my_txt2", 10, 10,
10, 320, 100);
container_mc.loader2_mcmy_txt2.border = true;
container_mc.loader2_mcmy_txt2.multiline = true;
container_mc.loader2_mcmy_txt2.wordWrap = true;
container_mc.loader2_mcmy_txt2.textColor = "0xFFFFFF";
// preload watcher
this.createEmptyMovieClip("watcher_mc",100);
// load xml
images_xml = new XML();
images_xml.ignoreWhite=true;
images_xml.onLoad = parse;
images_xml.load("images.xml");
trace(images_xml);
function parse(success) {
if (success) {
imageArray = new Array();
var root = this.firstChild;
_global.numPause = Number(this.firstChild.attributes.timer *
1000);
_global.order = this.firstChild.attributes.order;
_global.looping = this.firstChild.attributes.looping;
_global.fadetime =
Number(this.firstChild.attributes.fadetime);
_global.xpos = Number(this.firstChild.attributes.xpos);
_global.ypos = Number(this.firstChild.attributes.ypos);
var imageNode = root.lastChild;
var s=0;
while (imageNode.nodeName != null) {
imageData = new Object;
imageData.path = imageNode.attributes.path;
container_mc.loader1_mc.my_txt.text =
imageNode.attributes.title;
container_mc.loader2_mc.my_txt2.text =
imageNode.attributes.title;
imageArray[s]=imageData;
imageNode = imageNode.previousSibling;
s++;
// place parent container
container_mc._x = _global.xpos;
container_mc._y = _global.ypos;
// parse array
imageArray.reverse();
imageGen(imageArray);
} else {
trace('problem');
// depth swapping
function swapPlace(clip,num) {
eval(clip).swapDepths(eval("container_mc.loader"+num+"_mc"));
function loadImages(data,num) {
if (i==undefined || i == 2) {
i=2;
createLoader(i,data,num);
i=1;
} else if (i==1) {
createLoader(i,data,num);
i=2;
function createLoader(i,data,num) {
thisLoader=eval("container_mc.loader"+i+"_mc");
thisLoader._alpha=0;
thisLoader.loadMovie(data
.path);
watcher_mc.onEnterFrame=function () {
var picLoaded = thisLoader.getBytesLoaded();
var picBytes = thisLoader.getBytesTotal();
if (isNaN(picBytes) || picBytes < 4) {
return;
if (picLoaded / picBytes >= 1) {
swapPlace("container_mc.loader2_mc",1);
alphaTween = new mx.transitions.Tween(thisLoader, "_alpha",
mx.transitions.easing.Regular.easeOut,0,100,_global.fadetime,true);
timerInterval = setInterval(imageGen,_global.numPause,data);
delete this.onEnterFrame;
function imageGen(data) {
// random, or sequential?
if (_global.order=="random") {
// choose random # between 0 and total number of images
while (randomNum == randomNumLast) {
randomNum = Math.floor(Math.random() * data.length);
trace(randomNum);
loadImages(data,randomNum);
randomNumLast = randomNum;
} else if (_global.order=="sequential") {
// start at 0, increment to total number of images, then
drop back to zero when done
if (p==undefined || p==data.length &&
_global.looping=="yes") { p=0; } else { break; }
loadImages(data,p);
p++;
} else {
trace ("order attribute in xml isn't correct - must specify
either 'random' or 'sequential'");
clearInterval(timerInterval);
stop();
and XML
<!--
'timer' :: number of seconds between each image transition
'order' :: how you want your images displayed. choose either
'sequential' or 'random'
'looping' :: if the slide show is in sequential mode, this
stops the show at the last image (use 'yes' for looping, 'no' for
not)
'fadeTime' :: velocity of image crossfade. Increment for
faster fades, decrement for slower. Approximately equal to seconds.
'xpos' :: _x position of all loaded clips (0 is default)
'ypos' :: _y position of all loaded clips (0 is default)
-->
<gallery timer="5" order="sequential" fadetime="2"
looping="yes" xpos="0" ypos="0">
<image title="title 1" path="images/calliandra.jpg" />
<image title="title 2" path="images/dombeya.jpg" />
<image title="title 3" path="images/strelitzia.jpg" />
<image title="title 4" path="images/trensa.jpg" />
<image title="title 5" path="images/treeflower.jpg" />
<image title="title 6" path="images/bellflowers.jpg" />
</gallery>
I have try to add title but it fades title with image. Untill
image is fade in title fades out and disappear. Help please.

what do you mean "embedding the fint/characters in the textfield"  plz explain in details and below screen shot.

Similar Messages

  • How to add title/caption to each image in Bridge web gallery

    Hi,
    I am creating a web gallery within Bridge and I want to add a title and caption to each image in my web gallery. How do I do that? The only thing I see is the Site Info. section and that adds a title and caption to the entire web gallery (including each image) and I want different titles and captions for each image. There must be a simple way to do this I just haven't figured it out yet. Any help would be greatly appreciated. Thank you!
    ashmic19

    Thanks Curt Y for your help. The thing is I have to use only Bridge. I looked up this problem on http://www.experts-exchange.com/ and they said it was not possible to add titles and captions for individual images (slides) in a web gallery in Bridge. They seemed to imply that this was overlooked. So I input what I could based on what was provided by Bridge and turned it in. Thanks to all who viewed and replied to this post. I appreciate it.
    ashmic19

  • Trying to add titles to project

      how do i add titles to the scene/time line so it only effects one photo , it keeps on transfering the titles ie(fun in the sun) onto other photo images in the scen e/time line, i would really appreciate someones help its driving me crazy not to mention hours and hours of trying to work it out my self lol.

    Are you using the slideshow editor in Photoshop Elements? If so you can create a blank slide and add a title. Or select an image, then choose the text tool to add a title on top of an individual photo. If you are using Premiere Elements, you will find best advice over on the video forum. Most of us here are photographers.
    Click on the link below and copy and paste your question again. Good luck.
    Video questions: Click here for Premiere Elements Forum

  • How to add title to a fi

    Hi All,?I am new to this mp3 players. I just got a 60gb Creative version and was able to charge it. I also transferred mp3 files using media source. But once the process got over, I found that it didnt copy some of the files as it didnt have title information. I have around 7000 mp3 files and most of it doesnt have title information and as a result didnt copy those. Can you please give me a work around to quickly add title to a file (like having same information as that of file name)?If i have to add manually, it will take lots of time as i have lots of mp3 files.
    Appreciate your help. RegardsRamesh

    The Creative Media Toolbox application has an auto tagger, that uses the Gracenote service.
    It analyzes the MP3 files and then looks up the album, title, track information online and retags the files with the correct information. Run "Creative Media Toolbox" and select "Auto Tag Cleaner" and follow the prompts and it should be able to apply tags/titles/album info to your songs.
    It might take it quite a while to do so, but will be quite a bit less painless then doing it by hand. That is if your music is standard stuff that is in the gracenotes database.

  • PE7 crashes when trying to add titles

    i uninstalled pe7 then installed it again.
    i get as far as the "Add Title" box, but before I can start typing in it i get...
    "Adobe Premiere Elements.exe has stopped working"
    any fixes for this?

    Welcome to the forum.
    The biggest cause of crashes with Titler is most often a bad, or corrupt font. This ARTICLE will give you tips, and also tips on tracking down bad, or corrupt fonts.
    Good luck, and hope that it is a simple font issue,
    Hunt

  • Trying to add titles in IMovie. Using IMovie 8.0.6 and Mac OSX version 10.6.8.  When I try to add titles IMovie shuts down.  What do I need to do to stop the shut downs?

    I can not add Titles in IMovies.  When I click on the Titles, IMovie shuts down.  I am using Mac OSX Version 10.6.8 and IMovies version 8.0.6
    Was able to add some Titles yesterday, but had some problems with shut downs.  Today I can not get past clicking on Titles without a shutdown

    DK Flash,
    http://support.apple.com/kb/TS3310 but you have 10.6.8. So this shouldn't apply. But just in case.
    This had to do with the Far Far Away title causing iMovie to quit.
    Try clearing caches and plist.
    Do the behavior persist in a new user on the computer?
    Calbe

  • HELLO! How do I fix this? When I click on imovie "add titles" it closes. I uninstalled the application, to date I have reinstalled, the problem persists, the problem

    HELLO! How do I fix this? When I click on imovie "add titles" it closes.
    I uninstalled the application, to date I have reinstalled, the problem persists, the problem

    Thank you for having responded to me!
    Unfortunately I did already the case "delete preferences" but nothing!
    Also, when crashes do not give me any reports!
    Started in safe mode, with another administrator, the problem becomes even: your video card is not compatible with Quartz Extreme!
    My card is a g-force framework 4000 FOR MAC!!
    STRANGE TRUE!
    If you know something more to this riquardo please answer!
    Thanks Comunity!!

  • PLEASE HELP! Add titles to still photos??!!!

    Hi anyone and everyone,
    I am working on a project that I need to add 'titles' to some still photos!!! I am using iMovie 5.0.2.
    IS THIS POSSIBLE??? I've been pulling my hair out trying to get around it but cant....HELP!! Before I sign myself in!!
    Thanks in advance
    Alan

    Alan,
    "IS THIS POSSIBLE?"
    Yes.
    You don't say how you are going about trying to add titles. So I'm going to guess at what your problem is.
    I assume you have placed photos in your timeline in iMovie.
    To add a title, you need to drag the title down to your timeline by clicking on and dragging the little blue "T" next to the style of title you wish to use.
    Also, make sure you have unchecked "Over black" if you wish your title to be rendered on top of your photo.
    Welcome to the discussions! Post back if you still have problems.
    Matt

  • No sound when I add titles

    In my movie, I have several clips with titles. After the title has been added, the sound from the clip disappears. When the clip with the title is over, the sound reappears. Any suggestions on how to add titles without losing the sound?

    Repairing permissions and deleting preferences is definitely the place to start. Close down iMovie first, and then restart your computer after repairing permissions and deleting preferences.
    Also, when dealing with titles you are dealing with fonts, and fonts can cause problems. Check your Font Book folder (MacHD>Font Book) and see if you have any duplicate fonts. Duplicate fonts will be shown by a black dot next to the name. If you click on the little triangle to the left of the font name you will reveal the duplicates. Remove any duplicate fonts. You do this by selecting the font with the dot next to it, and then going to Edit>Resolve Duplicates.That will turn off the duplicate font.
    Next, try closing iMovie and deleting the FontCollections folder found in User (the house icon)>Library>FontCollections. iMovie will replace that file on relaunch. Or, alternatively, you can drag the FontCollections folder to your desktop and then relaunch.
    The above may not work in your case, but I have found sometimes that it will cure title problems. Also, I am running OS 10.3.9, which is considerably older than your operating system version. So perhaps the set up might be different on your computer.

  • In FCP7 multicam can I add titles and additional video layers?

    In FCP7 multicam can I add titles and additional video layers?

    Thanks Shane,
    Is it OK to add the video layers while I an still cutting the multicam or do i need to wait until its done?
    I've played around a little and see that it is possible without disturbing the multicam's, but I'm very wary of screwing it up if I do a lot of it.

  • Add title to the poplet image

    For the ".poplets img", I'm wanting to add TITLE to a couple of my imges, anyone could help with that in CSS or Javascript?
    Greatly appreciated.

    For the ".poplets img", I'm wanting to add TITLE to a couple of my imges, anyone could help with that in CSS or Javascript?
    Greatly appreciated.

  • I can't add titles

    Hi!
    I'm making a movie with a lot of titles and music and all go well and, I don't know what happened, but I can't add titles no more and I can't adjust the time of the titles I put before. It works no more only for this movie and the other movie I made are ok. Did anybody have an idea about what can do that?

    I'm making a movie with a lot of titles and music and all go well and, I don't know what happened, but I can't add titles no more and I can't adjust the time of the titles I put before.
    As I understand it, a number of people have reported this problem. Believe the general work around is to segment your clip first and then add the titles to the individual segments to which they refer. Since no content is actually lost and the "split" content remains "abuted," the segmented project plays the same as if it were still unsegmented.

  • How to re-add title to question

    If the title of a question slide is removed, is it possible to re-add it?

    Rod, why wouldn't a typical Text Caption object work?
    Cheers... Rick

  • How do I add titles to a completed movie?

    I am new to imovie. I have imported a completed movie in MP4 from my previous PC. I can only add a title to the beginning of the movie,  but would like to insert section titles, but since all the clips have been joined, any attempt to insert such a title, goes to the beginning of the movie. Any suggestions?

    If you select a title (yellow border) you can drag it anywhere in your timeline.
    Geoff.

  • How to add titles to multiple pictures at same time in iphoto11

    I am having difficulty navigating in iphoto11.
    Can not figure out how to add keywords to multiple photos
    or how to add the same title to multiple photos.

    Titles: Photos menu -> Batch Change.
    Keywords: Select a batch of pics. Apply keyword to one, it's applied to all
    Regards
    TD

Maybe you are looking for

  • ITunes won't start in Windows

    I've used ITunes for many years. Just upgraded to 8 and suddenly ITunes won't open. It throws the error message "the Itunes Library.itl file cannot be found or created. The default location is in the ITUNES folder in the My Music folder. The Library

  • Query Tuning - using CASE statement in the WHERE clause

    Hi All, My query has been modified to use a CASE statement in the WHERE clause to consider data from certain columns based on a parameter value. This modified query is doing a full table scan and running endlessly. Please suggest what may be done to

  • In BDC VA02 i am uploading header details in BILLING PLAN tab.

    Hi Friends, In BDC VA02 i am uploading header details in BILLING PLAN tab. I am having sales order no in flat file. While i am clicking BILLING PLAN tab its showing 1 POPUP screen for Milestobe For billing plan (INPUT AS NETWORK NO). Some sales order

  • IPad English handwriting to text in form fields

    Anyone out there know of any way that I can  handwrite a sentence on an iPad and have the sentence converted to text and put into the field?  I know there is currently only a built-in Chinese version of this, but hoping that someone knows of a third

  • Inbuilt isight camera, light fluctuating

    Hi I began using the inbuilt camera on my brand new imac and record for 1-6 minutes - but during that time the lighting level seems to fluctuate significantly and randomly. I am in evenly distributed artificial light but it seems like thunderclouds a