Changed to aaa when exporting xml doc in AIR application XML namespaces

When I export my xml in a Format of TimedText leave an AIR application, that I'm working on xml namespaces change to aaa instead of xml... anyone knows how to fix this or prevents the application to change arbitrarily.

Another question, for some reason any code I have, as to the format now, won't let me not use the appendChild method to add my cuepoints to the FTT xml document.

Any advice would be greatly appreciated.  My code is below:

Create final XML

private void submit (): void

{

If (boolVideoSelected is true)

{

xmlData =

" < tt XML: lang ="fr"xmlns =" http://www.w3.org/2006/04/ttaf1 "xmlns:tts =" " http://www.w3.org/2006/04/ttaf1#styling ">

< head >

< style >

< style id = '1' tts:textAlign = 'center' tts:backgroundColor = 'gray' tts:color = 'white' tts:fontSize = '14' 'product' = tts:fontFamily / >

< / style >

< / head >

< body >

< div XML: lang = "fr" style = "1" >

< / div >

< / body >

< /tt >;

var cue: XML;

var strTempDuration:String;

var strTempTime:String;

var strTempContent:String;

vidVideo.pause (); Break video

btnPlay.label = ' > ';

for (var i: int = 0; i < stateArray.length; i ++) //Convert stateArray in XML

{

strTempDuration = stateArray [i].duration.toString ();

strTempTime = stateArray [i].time.toString ();

strTempContent = stateArray [i].content.toString ();

cue = < p starts hard = {strTempTime} = {strTempDuration} > //Generate {strTempContent} < /p > cue

trace (XMLDATA);

xmlData.body.div.appendChild (cue); Insert markers in XML in order

}

xmlFile = new file;

xmlFile.browseForSave ("save the XML file"); Window open for save location

Event listeners


xmlFile.addEventListener (Event.SELECT, xmlFileSelectHandler);
xmlFile.addEventListener (IOErrorEvent.IO_ERROR, ioHandler);
xmlFile.addEventListener (SecurityErrorEvent.SECURITY_ERROR, securityHandler);
}
}

private void xmlFileSelectHandler(e:Event):void {}
var newFile:File = e.target as file;

If (! newFile.extension | newFile.extension! = "xml") //Check .xml was included in the user's input
{
newFile.nativePath += ".xml"; Add .xml file name, if it was not included
}

var stream: FileStream = new FileStream();
Stream.Open (newFile, FileMode.WRITE);
stream.writeUTFBytes (xmlData.toString ()); Write the XML string in XML file
Stream.Close ();
}

xmlData = http://www.w3.org/2006/04/ttaf1.

xmlns: XML = ""http://www.w3.org/XML/1998/namespace"

xmlns:TTS ="http://www.w3.org/2006/04/ttaf1#styling" >. "

Tags: Flex

Similar Questions

  • How can I keep changing file created when exporting

    I upgraded to LR6 of LR4.  LR4 would allow me to keep the original date file created.  I need this feature, and I can't get LR6 to behave this way.

    How can I do this?  I don't want to go back to LR4 and I don't want to change Capture one - but I'm going to one of the two LR6 does not provide the option.

    Anyone?

    It should work the same way in Lightroom 6 as in Lightroom 4. In both versions, if the original Date of Capture camera EXIF is exported depends on how you configure the export dialog box:

    If you want the original to be included in the export Date of Capture metadata for 'All metadata' or ' all except & camera Raw Info.

    If you don't want the original Capture Date to be included in the export, set metadata for 'Copyright only' or 'copyright and Contact Info Only'.

  • Change of color when exporting in PNG.

    Hello world.

    I created an image in Illustrator CS5 Mac for a Web site. As I export the image as a PNG format a picture element changes its color from the original Navy Blue shadows for a lighter, more purple. Color Blue Navy, selected for the image is part of the range of web security and I have need of the image is in PNG format to preserve the transparent background.

    Any ideas as to why this is happening and how to fix it?

    Thanks in advance.

    If you do not work in RGB, then go to file > Document Color Mode > RGB you work RGB all the way to ensure the colors appropriate for the web.

    Make sure that your color settings are sRGB and your document is sRGB...

  • Lack of option "Native Installer" Export Release Build for AIR application

    I was wondering if anyone else has to face it. Regardless of the type of soft AIR that I work on all I get is the export to the file option. I'm updating with AIR 2.5 SDK Flex 4.1 SDK on a current install of Vista 64.

    You need to update Flash Builder 4.0.1 for the native installer option in the export Release Build.

    Your newspaper seems to indicate that you are on Flash Builder 4.0 (just using the SDK 4.1 won't, you must upgrade the builder himself for this).

  • encoding when exporting a project

    Hello

    I am facing the following question when exporting a project (in order to transport of development to the production repository):

    One of the procedures of the project contains a symbol of the euro (€).
    When I export the project, I realize that this sign is converted by a question mark (?).

    I see the xml file generated by ODI starts with th following line:
    <? XML version = "1.0" encoding = "ISO-8859-1? >
    I saw on the web that the ISO-8859-1 is no charsert not contains the euro symbol.

    So my question is: is it possible to change the character set used by ODI when exporting xml files? is it possible to use UTF - 8?
    If it is possible, what character set are supported by ODI?

    Hello

    You have a possibility of use of your character set when exporting your project itself, have you tried?

    http://img829.imageshack.us/i/screenshot012.jpg/

    Thank you
    Guru

  • Why Muse does not change the names of certain images or property when exporting to HTML format?

    Why Muse does not change the names of certain images or property when exporting to HTML format? and how can I keep the integrity of the name that the image/file has been saved as?

    General Muse renames a file imported image if the image is modified to achieve the design or the exit, or if the name change was necessary due to a name conflict (two different images which had the same file name when importing).

    The design-time features that will modify an image include cropping, rotation, rounded corners and effects (drop shadow, bevel or glow). It is also true that, in rare cases, Muse will merge an image with other content to optimize page download performance. An example of this would be to place a background image on a block of text that contains the text using system fonts. In this case, rather than a single image for text output and a separate image for the background, Muse will combine the two into a single image.

    If an image is placed or imported by Muse and not tampered with, the image is crossed without modification (including the file name) at export/publish (with him except that Muse will always rename if two different images with the same name).

  • Resolution when exporting changes

    Error 1.pngError 2.pngWhenever I try to export a video using Adobe Premiere the resolution is set to 720 x 480, even if the original file and sequence settings are 1280 x 720. I tried to start a new project and basically start again with the sequence always listed under 1280 x 720 so that he can always export at 720 x 480. I read a thread if export you it with bad resolution you can not change the resolution and export it with different settings. I had a new project, and yet the problem persists. Any ideas?

    Your format down down menu look like this:

  • When I export the doc to epub with indesign last there weird images.

    I have in the pictures with the white ends, looks white fills the container where they are placed.

    Hi david,

    Is that you have a problem of transparency when exporting and I know the conversion setting you use when exporting the document.

    Also, try to export PNG setting.

    This may work for you.

    Thank you

    Monica Singh

  • Range of artboard crop when exporting PDF...

    I know the 'artBoardClipping' keyword when exporting to JPEG, GIF format,...

    But there is no when the PDF export.

    1. open the file have

    2 export to PDF

    3. export success

    4. open the PDF file. ("hmm. crop success? ")

    5. open the PDF file in Illustrator cs3 ("OMG. ("red and yellow rectangle ALIVE")

    I want to remove the red and yellow rectangles.

    my source code is below.

    function saveFileToPDF (dest) {
              var doc = app.activeDocument;
              if ( app.documents.length > 0 ) {
                        var saveName = new File ( dest );
                        saveOpts = new PDFSaveOptions();
                        saveOpts.compatibility = PDFCompatibility.ACROBAT5;
                        saveOpts.generateThumbnails = true;
                        saveOpts.preserveEditability = true;
                        doc.saveAs( saveName, saveOpts );
              }
    }
    

    crop.jpg

    You can remove what is outside the artboard by setting the property of preserveEditability fake... .but of course, you will not be able to change it after you save it in pdf format... save the file have original front of Save as pdf.

  • Adobe Premiere Pro cc 2015.2 crashes when exporting

    From one day to the other, Premiere Pro has crashed during editing, but worse: it crashes when exporting.

    Things usually never did not, all of a sudden fool you.

    I've updated my graphics driver, I cleaned my Cache of media, I did a complete reboot and still it crashes. It's a fairly simple change, not even a true documentary, but I can't seem to export

    What is the problem?

    Using Windows 10, i5, Radeon AMD R9 - 270 2GB16GB DDR3

    everything worked great until this week

    Try to create a new project, import the old one in.

  • 'Error compiling movie/Unknown Error' when exported.  Great list of ' things I've already tried ' s

    Alright, move to the bottom line here, I spent the last hours 3 juggling with clips and sequences of trying to get my VERY average project to encode and export.  I get the dreaded "error compiling Movie.  Unknown error message.  But there are a few details as to where it is tripping when exporting; more on that later.

    Technical details: iMac, 32 GB of ram, Nvidia 780 M 4 GB, SSD from all around.

    First of all, a list of "Things I've tried."  Which many were inspired by multiple threads, I've already read:

    -Make sure there is not still images exceeding the size of my project (1080 p) settings.  Initially, there was one, it has since then been swapped for a completely different image/picture.  Still unresolved.

    -Make sure there is no offset image drop-down conflicts happening between clips and my settings.

    -All images is 1080 p, so there is no scale happening (not with any of the effects either).

    -Switching to export "in/out sequence" export "entire sequence."

    -Created a new sequence, dropped the sequence published in project parameters matched, tried to export from there.  Same question.

    -A tried to make CBR instead of the variable.

    -Tried to use all the rendering engines (software only, CUDA, OpenCL, etc..)

    -At least a few other things too, but it's so darn late now for this reason, and so I'm so tired that I can't remembering everything.  I'll gladly take any suggestions and report back.


    Now, I mentioned we're listening at a specific point.  I often read that he goes somewhere around 70% through and is approximately the same in my case.  He arrives at a specific clip/couple of clips and blocks in almost the exact same task.  I messed with these clips too many times to count.  Initially it has been remapped both with keyframes, so I changed it to a constant speed without keyframes. nothing.  Had a directional blur on one of the clips, so I completely; and no change.  I think I tried other things with that particular section of the timeline, but as I said, I'm falling asleep here.


    Please. Help.  I'm very, very, very close to deserting a ship to FCPX total after so many bugs and crashes (it is not the only issue that hinder the project, as many of you know).  Currently, I am a user of dual-app, different applications for projects depending on how how "inside" I need to get, or if I work with different people on different systems.  But I need something that is RELIABLE.  This is supposed to be a professional software and probably priority #1 for professionals is reliability.  At least in FCP almost everything runs very smooth, and I did not yet have a "can't f * ing finish a project" problem with her.

    I'm sorry, please excuse my behavior; I'm frustrated.

    We have progress!

    So, I've discovered some interesting things (maybe not interesting for anyone who has had or has solved this problem before, but new to me).  It is a long summary of what happened, but I want to explain how I came to the conclusion I did:

    First of all, I took advice from Colin and created a new sequence with the troublesome section, removed all the audio clips.  I thought I could try so suggestion of Ann at the same time, so I deleted FilmConvert not only the effects but ALL the effects of the clip.  The settings include: Filmconvert, directional blur (which a clip has the sum of retouching), speed of adjustment (without keyframes), then an adjustment layer with a very small amount of sharpening applied to it.  I did not remove anything from the adjustment layer.  I then exported with only "Export video" checked.  It worked.

    So, I really wanted to try to pin-point, in hopes of helping someone else in the future.  It's when things are interesting.  So I went back and started around, keeping the audio off the coast and little by little the effects removed.  He went down to the directional blur, which I completely spaced the same mention, because I forgot a little on this subject in the middle of all this (sorry about, 100% my fault not to mention blur; some of you could see as the issue immediately, had I mentioned).  With everything, but directional blur applied, it has exported.  I even put the audio tracks to, re-checked Export Audio, and everything worked well.  So the blur effect seems to be the question... or so it seems.  Another interesting thing that's happened is that for one of the first attempts to export without audio, I left the blur effect but take off FilmConvert.  It worked as well.  Finally, my last attempt was to export everything, audio and video and all the effects, however, this time I noticed that on the second clip in the sequence I had accidentally put the blur directional above FilmConvert in the effects Panel (the other clips there like the last effect applied).  So I moved it back to the bottom of the chain of effects.  Of course, it worked.

    Finally, and above all, I tried full export with effects in their place.  SOUL crashed, twice.  Frustrating, but unfortunately enough widespread lately.  However, the project is export straight out of first, first try.  Feeling very relieved.

    I guess my question now is... Why?  Is - this common with all the effects in the first of blur?  To summarize what the section of the clips looked like, it's just a quick moment of time being accelerated x 5, with a slight blur to simulate an exaggerated movement too vague.  Yes, I do usually this kind of effects in After Effects, with more control and better results, but the project is a quick and informal editing, so I don't bother at first.  A big thank you to all who contributed to the discussion, if your suggestion has directly touched the issue or not, it's the community to commit that really matters.  I hope that son like this can get small bugs like these resolved or help someone in a similar situation to learn how works the effect controls panel.  Nevertheless, there is useful information on this topic, for sure.  Thanks again to all who have helped me learn along the way.

  • Computer crashes when exporting with Adobe Media Encoder

    Hi, whenever I start to export via media Encoder, my computer kind of freezes... I am not able to change or even to use no matter what other applictions when exporting with Adobe media encoder. It didn't happen with the old version CC7. All advice please? Very frustrating.

    Hi Henen,

    Hi, whenever I start to export via media Encoder, my computer kind of freezes... I am not able to change or even to use no matter what other applictions when exporting with Adobe media encoder. It didn't happen with the old version CC7. All advice please? Very frustrating.

    Press SHIFT when you start the program. If this does not work, please contact support at this link: http://bit.ly/PPro-support

    Thank you

    Kevin

  • InDesign, export XML and the Task FORCE

    As a producer of a weekly, I need advice as to generate xml from Indesign CC (Mac) data standards NITF, at the choice of my digital Distributor. This includes dividing an article - that can be formatted in single text - in two equal elements: one for the title, signature, etc. and one for the body of the text. Is it possible to do without altering the original route, intended for printing? I would rather not have to break an image into two just for this purpose - for each article in the newspaper. In short: an image, an ACE, maybe two items, the head and the body? There is no shortage of advice around xml, nor on the NITF standard for dress news, but I have yet to find the one dealing with both. Thanks in advance.

    If I understand correctly, you just need to label the elements properly. To use a simple example, if I have a single image of text that contains a header and body text, I would create two tags, one for the title and one for the body. Then, I select the heading and apply the tag title and made similarly to the body. When you export to xml format, you will have two items with the title tag and the other with the body tag.

    I am ignorant as to the requirements of the Task FORCE, and so you need anew XSLT to perform on the exported XML file that would comply with the standard. I do not know because I am not aware of it. This part, if necessary I would do in an xml editor or a good text editor who may be able to it's needs.

    Mike

  • Lines on images when exporting Indesign to JPEG

    I get lines on the images when you export a jpeg file to indesign (with links to illustrator who have incorporated pictures into feathers). Help, please

    The simple solution: do not use EPS. Use HAVE with PDF compatibility. No vector fonts, nest them.

    Von meinem iPhone gesendet

    Am 24.07.2014 um 10:05 wrote Kelly Deane [email protected]>:

    Lines on images when exporting Indesign to JPEG

    created by Kelly Deane in InDesign - discover complete discussion

    Hey Willi,

    Sorry I'm new to this. Here are the answers to your questions and I hope you can give some tips.

    1 OSX 10.9.2

    2 indesign CC2014 (I just started to use during the last two weeks)

    3 illustrator CS3 (files that have been given to me, have been created to CS6), I made a few changes to fonts that in CS3 before I had CC bought, but I tried one of the files transferred directly into CC instead of CS3 back and he still has the same problem.

    4. the file I linked IS an eps, I always do an eps because with all my files I leave the fonts in the file have and save a second file, the eps where I saw all the fonts to save all of the possible problems of fonts. But you think that I shouldn't do this?

    5. you can see the lines in Indesign only when high-quality screen, they do not seem to remain in the same position, but at 100% and 200%, they are quite noticeable while 600% zoom, they become less bright. These are dotted lines, they appear differently in each different photograph. I'm not export in PDF, a jpeg file because its for on a Web site. If the lines are perceptible in the jpeg format. I just tried a pdf and they are also in the pdf file. We did not think that what was happening only to images, but in a single file where there is a shadow on the text, he did boxing odd sam-lines around the text.

    6.I exports the JPEG from Indesign CC

    7. I open the jpeg in Photoshop.

    8. https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-6578871-656214/ScreenShot2014-07-24at5.46.13pm.png https://forums.adobe.com/servlet/JiveServlet/downloadImage/2-6578871-656215/450-188/Screen5.46.40pm.png pulled2014-07-24

    9 seem to stay the same size. You don't see them at all in illustrator eps files.

    10. I can't talk about it. How would know that? Where is that located setting? Thank you

    11. I don't know how to look for color mode - modes are that indesign CC is in CMYK mode. Illustrator CMYK. But when I export as a jpeg I change into RGB in the export process. How can I find the color space? I'm not very technical minded. I'm sorry. That's why I freak out when I get questions like this. I thank very you much for trying to help me.

    Please note that the Forums Adobe does not accept attachments to emails. If you want to embed an image on the screen in your message please visit the thread in the forum to incorporate the image into the https://forums.adobe.com/message/6578871#6578871

    Replies to this message received to everyone subscribed to this topic, not directly to the person who posted the message. To post a reply, or reply to this email or visit the message page:

    To unsubscribe from this thread, please visit the message page to. In the Actions box to the right, click on stop Notifications by e-mail.

    Start a new discussion in InDesign, by e-mail or at the Adobe Community

    For more information on maintaining your email forum notifications please go to http://forums.adobe.com/thread/416458?tstart=0.

  • How to integrate the text when exporting to PDF?

    Hi, I have installed a font called "AddCityBoy" and used throughout my entire project. When I went to export it to PDF, it gave me an error message, but I tried again in any case. When I opened the PDF on a Mac, (I used windows beforehand), the text was in a different font. Already, I went to the "Advanced settings" and ensure that "subset fonts when the percentage of characters used is less to ' was set at 100%. I don't know what else to do! Help, please!

    Some fonts are protected and do not allow you to nest them. You can work around this by converting them into vector art by selecting the text image (s) and in the menu, choose Type > vectorize. So you will be no longer able to edit the text, save an original copy of the document before you convert, in case you want to change things after you export.

Maybe you are looking for