Is Dynamic Loading of Text from an external file possible in Captivate?

Hello all,
I am wondering if Dynamic loading of text is possible in captivate or not.
As we can load an external file in flash.
& which is the universal font to be used for the text entry box which will visible on any media?
Thanks & Regards,
Chirag

Hello,
I'm not a specialist about JavaScript. Have a look at Jim Leichliter's blog:
http://captivatedev.com/
Lilybiri

Similar Messages

  • How can I place text from an external file as an updatable link?

    Currently we create presentation documents InDesign. Each presentation page is a linked Illustrator file (the file contains drawings and description texts). We write the text in Illustrator instead of over it in InDesign because multiple designers/writers will work on each page. We have text that sometimes appear on multiple pages, this text has previously been copied and pasted into each Illustrator file that it needs to appear in, this is inefficient and prone to error.
    Is there a way to link to a text file in Illustrator that remains updatable? I poked around here and found information relating to Variable Data – things similar to Data Merge in InDesign. This isn't the solution I'm looking for however. It seems like a plugin or script is the solution.
    much appreciated
    Ray

    I have to imagine that you have good reasons for structuring the workflow as you describe. However, this:
    We write the text in Illustrator instead of over it in InDesign because multiple designers/writers will work on each page.
    doesn't make sense to me. Between the two, InDesign, (particularly CS6), is far more capable of efficiently supporting a linked-single-source-of-text workflow than Illustrator...without any additional plugins or scripts.

  • Help with delivering dynamic text through an external file, through XML?

    I'm struggling to find the best way to deliver dynamic text
    from an external file, through XML, to a Flash file.
    I use small Flash pieces to deliver multiple sets of content
    through a single .swf file. An example is here:
    http://www.esi-intl.com/public/government/federal.asp
    In the .swf file at the bottom, I'm using a three-scene .fla
    file. I'm putting the actionScript in the Actions layer atop each
    frame. Example:
    stop ();
    loadVarsText = new LoadVars();
    loadVarsText.load("fedNews.txt");
    //assign a function which fires when the data is loaded:
    loadVarsText.onLoad = function(success) {
    if (success) {
    trace("done loading");
    //Now that we know the data is loaded,
    //set the text content of the Text Field
    //with the instance name "scroller" equal to the
    //contents of the variable
    scroller.html=true;
    scroller.htmlText = this.var1;
    } else {
    trace("not loaded");
    In that .txt file, I'm putting the information like this:
    var1=<font face="tahoma,verdana,sans-serif" size="11px"
    color="#000000"><b><a href='
    http://www.esi-intl.com/public/classroomtraining/dau.asp'>DAU
    Grants ESI Course CON353
    Equivalency</a></b><br>Advanced Business Solution
    in Contracting (CON 353) is an equivalency for DAU's CON 3535
    course, Advanced Business Solutions for Mission Support. <a
    href='
    http://www.esi-intl.com/public/classroomtraining/dau.asp'><U><font
    color="#996633">Continue</font></U></a></font>
    So much of this is pick-ups from what I've researched in
    Google. I'm looking for a way I can feel more confident in my code,
    and also have that code follow CSS.
    Lastly, I recognize the problems in XML with using single
    quotes / double quotes, and the & symbol. This is one of my
    largest time sucks, and I'd like to find a better way to do this.
    Thank you

    Hi,
    Did you ever find a resolution to this? I'm having a similar
    issue that I can't seem to get multiline dynamic text working in
    CS3.
    The font is embedded but it just displays the first line, and
    then a blank. I'm sure this worked fine in Flash MX.
    Cheers, Ant

  • Loading text from a .txt file

    I want to do something that should be VERY simple, but due to
    Adobe's insistence on using #$%^ing tutorials instead of just
    providing step by step instructions, it's very frustrating to
    figure out how to do it.
    All I want to do is load the contents of a text file into a
    dynamic text field, but I can't figure out how to do it (I'm not
    all that familiar with AS). I'm working with Flash 8. Please help.
    Thanks.

    Create the dynamic text box, and name it schedule.
    Then, in the frame on the timeline that the text box resides
    in, the corresponding actionscript would be used to create a text
    variable and assign the text from a txt file to it:
    loadText = new LoadVars();
    loadText.load("externalfile.txt");
    loadText.onLoad = function() {
    schedule.text = this.textbody;
    Where does the "textbody" variable come from? In the external
    text file (externalfile.txt in this example), you have a variable
    called textbody, and the externalfile.txt should read along the
    lines of:
    textbody = "I'm the external text that needs to be read
    in"

  • Syntax error while loading hierarchy from an external file

    Dear Expert:
    I am new to BW and I met a problem today while loading hierarchy from an external file. Actually I am following below article to load the hierarchy:
    /people/prakash.bagali/blog/2006/02/07/hierarchy-upload-from-flat-files
    When I schedule the infopackage, the error message says: "Syntax error in template RSTMPL9C, ROW 76". Actually there is only around 20 lines of records.
    Since I am not familiar with hierarchy load, so:
    1. while loading from external file, do I need to create one hierarchy in advance  through "Maintain Hierarchies" in the infoobject? My understanding is since I can load that hierarchy from file, so I do not need to create one in advance, once the load completed, the hierarchy should automatically generated there. Is my understanding correct?
    2. Before loading the hierarchy, do I need to load the master data of external characteristics in the hierarchy first? Here in my example, the sales hierarchy has 2 external characteritics (Country and region) in the hierarchy. Do I need to load some data first?
    3. My 'Preview' function in the infopackage is gray so that I can not test the data loading. Why is it gray?
    Information like file name, file dir, file type(csv), seperator should be correct there.
    Can anybody help me take a look into that? Many thanks for your time in advance!
    Tim

    Hi ctsiszidane:
    There are some other SAP Notes that can help you solve the problem.  Depending on your Support Package level check which of them is applicable.
    Note 659461 - RSAR 682: Syntax error in template RSTMPL9A, row 246
    Note 605690 - Escape characters are not processed correctly
    Note 620152 - Syntax error in RSTMPL9A during data loading from a file
    Regards,
    Francisco Milán.

  • Load the text from a file to JTextField, I need help badly

    Can anybody help me, I try to load the text from a file to JTextField,
    it compiled but it does not run
    here the message i get:
    ----jGRASP exec: java buttonAction
    ----at: Sep 11, 2007 6:27:09 PM
    ----jGRASP wedge: pid for wedge is 3104.
    ----JGRASP wedge2: pid for wedge2 is 216.
    ----JGRASP wedge2: CLASSPATH is ".;;.;D:\Program Files\QuickTime\QTSystem\QTJava.zip;D:\Program Files\jGRASP\extensions\classes".
    ----jGRASP wedge2: working directory is [L:\Documents\GUI Pro] platform id is 2.
    ----jGRASP wedge2: actual command sent ["D:\Program Files\Java\jdk1.5.0_01\bin\java.exe" buttonAction].
    ----JGRASP wedge2: pid for process is 1440.
    Exception in thread "main" java.lang.NullPointerException
         at buttonAction.loadData(buttonAction.java:122)
         at buttonAction.<init>(buttonAction.java:31)
         at buttonAction.main(buttonAction.java:163)
    ----jGRASP wedge2: exit code for process is 1.
    ----jGRASP: operation complete.
    private void loadData()
             try
                FileReader fr = new FileReader("myData.txt");
                BufferedReader br = new BufferedReader(fr);
                br.readLine();
                while(br != null)
                   name.setText(br.toString());
                 catch (IOException e){}
          }

    See this demo:
    import java.io.*;
    import javax.swing.*;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import java.awt.FlowLayout;
    public class TextFieldTest extends JFrame {
         private JLabel fieldLabel;
         private JTextField field;
         private JButton loadTextBtn;
         public TextFieldTest() {
              initComponents();
         private void initComponents() {
              fieldLabel = new JLabel();
              field = new JTextField(30);
              loadTextBtn = new JButton("Load Text");
              this.getContentPane().setLayout(new FlowLayout());
              this.getContentPane().add(fieldLabel);
              this.getContentPane().add(field);
              this.getContentPane().add(loadTextBtn);
              this.pack();
              this.setLocationRelativeTo(null);
              this.setTitle("TextFieldDemo");
              this.setDefaultCloseOperation(EXIT_ON_CLOSE);
              loadTextBtn.addActionListener(new ActionListener() {
                   public void actionPerformed(ActionEvent evt) {
                        loadText();
         private void loadText() {
              try {
                   BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream("test.txt")));
                   String label = br.readLine();
                   String data = br.readLine();
                   br.close();
                   fieldLabel.setText(label);
                   field.setText(data);
              } catch (Throwable t) { t.printStackTrace(); }
         public static void main(String[] argv) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        new TextFieldTest().setVisible(true);
    }The contents of test.txt are as follows:
    this is the label
    the data for the field goes here

  • How to load some text from properties file ?

    Hi again,
    problem is i dont know how can i load a text from properties file like #{xxx['key']} in managed bean, i tried to find some solution but havent seen this kind of use this file in java code. Is it supposed to work only for labels in jspx pages ?
    thanks for help ...

    Hi,
    a managed bean is nothing special from any other Java file. However, if you look at SRDemo, you find a nice way of using the same message bundle that you use on the page
    See the messageFromBundle() method in the JSFUtils class of the UserInterface project
    Frank
    P.s. You can download and setup SRDemo from JDeveloper help--> check for updates

  • Need how to get the data from the external file in eCatt

    Hi ,
      Could any body suggest how to get the values from the external file(Excel,CSV file,Text file) and pass it as varaiable in ecatt Test script.
    Problem: Need to execute FK01-Vendor creation Transaction with multiple set of data .As per my understanding we could achive through Variants in Testdata set in eCatt .
    But is there any way to store the data in excell file and get the data and pass it to FK01 Test scripts
    Appreciate response on this

    Hi
    See the links they may be useful
    check these link,
    eCATT- An Introduction
    /people/sumeet.kaul/blog/2005/07/26/ecatt-an-introduction
    Creating Test Scripts
    /people/sumeet.kaul/blog/2005/08/10/ecatt-creating-test-scripts
    eCATT Logs
    /people/sapna.modi/blog/2006/04/18/ecatt-logs-part-vi
    eCATT Scripts Creation – TCD Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation-150-tcd-mode-part-ii
    Creation of Test Data Container
    /people/sumeet.kaul/blog/2005/08/24/ecatt-creation-of-test-data-container
    eCATT Scripts Creation - SAPGUI Mode
    /people/sapna.modi/blog/2006/04/10/ecatt-scripts-creation--sapgui-mode-part-iii
    Integrating ECATT & MERCURY QTP Part -1
    /people/community.user/blog/2007/01/02/integrating-ecatt-mercury-qtp-part-1
    Using eCatt to Test Web Dynpro ABAP
    /people/thomas.jung/blog/2006/03/21/using-ecatt-to-test-web-dynpro-abap
    and
    -command reference
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/3c333b40389c46e10000000a114084/content.htm
    /people/sapna.modi/blog/2006/04/10/ecatt--an-introduction-part-i
    http://prasadbabu.blogspot.com
    https://www.sdn.sap.com/sdn/developerareas/was.sdn?page=test_tool_integration_for_sap_e-catt.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/1b/e81c3b84e65e7be10000000a11402f/frameset.htm
    http://www.erpgenie.com/ecatt/index.htm
    hope this helps.
    Reward points for useful Answers
    Regards
    Anji

  • How to extract text from a PDF file?

    Hello Suners,
    i need to know how to extract text from a pdf file?
    does anyone know what is the character encoding in pdf file, when i use an input stream to read the file it gives encrypted characters not the original text in the file.
    is there any procedures i should do while reading a pdf file,
    File f=new File("D:/File.pdf");
                   FileReader fr=new FileReader(f);
                   BufferedReader br=new BufferedReader(fr);
                   String s=br.readLine();any help will be deeply appreciated.

    jverd wrote:
    First, you set i once, and then loop without ever changing it. So your loop body will execute either 0 times or infinitely many times, writing the same byte every time. Actually, maybe it'll execute once and then throw an ArrayIndexOutOfBoundsException. That's basic java looping, and you're going to need a firm grip on that before you try to do anything as advanced as PDF reading. the case.oops you are absolutely right that was a silly mistake to forget that,
    Second, what do the docs for getPageContent say? Do they say that it simply gives you the text on the page as if the thing were a simple text doc? I'd be surprised if that's the case.getPageContent return array of bytes so the question will be:
    how to get text from this array? i was thinking of :
        private void jButton1_actionPerformed(ActionEvent e) {
            PdfReader read;
            StringBuffer buff=new StringBuffer();
            try {
                read = new PdfReader("d:/getjobid2727.pdf");
                read.getMetaData();
                byte[] data=read.getPageContent(1);
                int i=0;
                while(i>-1){ 
                    buff.append(data);
    i++;
    String str=buff.toString();
    FileOutputStream fos = new FileOutputStream("D:/test.txt");
    Writer out = new OutputStreamWriter(fos, "UTF8");
    out.write(str);
    out.close();
    read.close();
    } catch (Exception f) {
    f.printStackTrace();
    "D:/test.txt"  hasn't been created!! when i ran the program,
    is my steps right?                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How to extract text from a PDF file using php?

    How to extract text from a PDF file using php?
    thanks
    fabio

    > Do you know of any other way this can be done?
    There are many ways. But this out of scope of this forum. You can try this forum: http://forum.planetpdf.com/

  • Importing Arabic text from an XML file

    Importing text from an XML file to appear as text in Flash
    works in English, however if the text I want to import is in
    Arabic, when I test the movie there is no text at all.
    Is there some particular syntax to preface the Arabic text?
    I'll want to import text from XML in other languages too.
    (French)
    I'd cut and pasted some Arabic text into the XML file that
    displays pictures and text in the "slideshow.fla" (
    http://www.adobe.com/support/flash/applications/jpeg_slideshow_xml/jpeg_slideshow_xml03.ht ml)
    Substituting Arabic text for English text, editing the XML
    file with Dreamweaver.
    Any ideas as to how I might achieve my objective of importing
    Arabic text into Fash?
    I'd started developing my prototpe in Macromedia Director 7,
    and then Director MX, but I have not found a suitable Arabic font
    that I can embed that will allow me to display Arabic fonts in
    Adobe Director. I have the Arabic text in a Word document.
    I've dicovered that my Flash MX Pro and Dreamweaver both
    support Arabic fonts, but I want to import text from an XML file.
    I'd prefer using cast libraries and cast members, but I don't
    know of an equivalent in Flash to what I'm comfortable with in
    Director.

    Oh so many questions. You probably aren't going to like the
    answers. I have Flash MX04 pro (aka Flash 7) and things made a big
    jump between MX (aka 6) and MX04. If you only have MX, there might
    not be a way to do this. All my advice is based upon MX04 or
    higher.
    It is possible to do complex languages in Flash. My
    experience is with Hindi and I've helped a few folks here with
    Arabic.
    You won't be able to use text from Microsoft Word – at
    least I don't think so. The XML file will need to be saved in the
    UTF-8 format. I think Word uses its own scheme and won't work. But
    I'm not a Word expert. Something like Text Edit (Mac) or WordPad
    (PC) should be able to save a UTF-8 file.
    The next problem is you mention "suitable Arabic font that I
    can embed." AFAIK, you can't embed any of the complex scripts in
    Flash. You just have to rely on the end user having appropriate
    fonts installed and enabled. Most operating systems from 2000 on do
    have this – although some folks like to remove them to save
    space.
    Next issue will be line composing. I've found that when using
    anything above the normal Latin range that Flash suddenly forgets
    how to make a line fit into a text area. It will just break things
    in the middle of words and not even notice the spaces between
    words. I've written a little snippet of code that "composes" the
    lines. It works well with Hindi and folks here have used it with
    Arabic and not come back saying that it doesn't work. Search the
    forums (both the Flash and Actionscript) if you can't find it I'll
    dig it out when I get home.
    So here is the checklist:
    Make sure the XML is saved in UTF-8
    Import the XML file
    In Testing environment go Debug–>List variables.
    Does it show up correctly there?
    Does it show at all in a text field?
    Use the "composer" to make the lines break.

  • How can i extract text from Power point files,wod files,pdf files

    hi friends,
    i need to extract text from the power point files,word files,pdf files for my application.Is it possible to extract the text from the those files .If yes plz give solution to this problem.i would be thankful if u givve solution to this problem.

    My reply would be the same.
    http://forum.java.sun.com/thread.jspa?threadID=676559&tstart=0

  • Photoshop touch can I edit the text from a psd file with that app ....

    Can photoshop touch edit the text from a psd file from my iMac on my ipad with that app ....

    I don't think you can because a Photoshop file (PSD) with layers will be flattened when you open up in Photoshop Touch.
    I prepared a Photoshop file with one layer of image, one layer of text over a background using Photoshop CS6 on my Mac Pro and upload the PSD file onto Creative Cloud. I then open this file in Photoshop Touch (on iPad) but it comes out as a single flat layer merging all three layers. Hope this helps.
    Below: 3 layers in Photoshop CS6 (with one layer of text)
    Below: Flattened into one layer in Photoshop Touch..

  • Problems deleting a string from an external file.

    hi!
    I am working on a program but am having problems deleting a string of information from an external file. The code I have managed to do only seems to be deleting the surname. The rest of the string remains and the Surname from the string bellow the one that should have been deleted moves to where the surname that was just deleated was.
    this is the code snippet that should be deleting the string:
              System.out.print("Please enter the last name of the contact: ");
              last_name = dataInput.next();
              int z = 0;
              for (int i=0; i < number_of_records; i++)
                        if ((last_name.compareTo(lastName)) < i && (last_name.compareTo(lastName[i]) > i))
                                  z = i;
              for (int i = z; i < number_of_records; i++)
                        lastName[i] = lastName[i+1];
    Anyone got any ideas why its not deleting the whole string?
    the extrenal file is set out like:
    surname,,first name,,phone number

    I don't think you have given enough information to answer this question completely; however, here is my guess:
    The code that appears to be doing the "deleting"
    for (int i = z; i < number_of_records; i++)
        lastName[i] = lastName[i+1];
    }is only acting upon the lastName array.

  • How can i extract the text from the PDF files,Power point files,Word files?

    hi friends,
    i need to extract text from the PDF files,Power Point,Ms word files.Is it possible with java?if yes how can i extract text from those files.please give solution this problem.i would be thankful if u provide solution.
    regards,
    prakash.

    Find an API which could read each of those files and start coding.

Maybe you are looking for

  • Can't delete a file on iDisk. It says it's in use.

    I cannot delete file on idisk, although I try to remove them it says items is in use, which is not... someone knows how to fix this?

  • TV output

    I have the newest touch with the latest updates, apple universal dock and composite AV Cable. The set-up is plugged into my LCD TV and works great for playing movies/youtube/BBC iPlayer. However anyone with the same set-up will know that you can only

  • How to start and stop an aquisition

    I am using one of the new M series boards and I am trying to set it up to aquire a current signal off a dc motors that vary in time from start to finish. I need to know how to set up the aquisition to start aquiring data when a digital signal goes hi

  • Switching color modes/ classic OS 9 = danger?

    I was running an old game in classic OS 9 mode with 256 colors and it worked just fine. A few days later my graphics card ( Radeon 256 ) bit the dust (terrible blocky distorted patterns covering the entire screen) For the moment, I'm having to use th

  • Integrtion Scenario using BPM with two sender and multiple receiver

    integrtion Scenario using BPM with two sender and multiple receiver How many Application Components are required?