Newbie"Making an Animation from static jpegs and inserting to CP

If I have a series of photos of someone moving their hand from their waist to their head and back again, how easy is it to make a gif or swf that can be inserted into a Captivate (cp)slide?

Hmm, well I would contend the first option is much better (but that's coming from someone who prefer's strongly typed languages).
I'm not sure if what you're trying to do works with static variables, since I've never actually tried it, but if it did work, it would look something like this...
happyBirthDayRects.push(R["HappyBirthDay000"+i]);
Although you would need to add some logic to buffer the zeros correctly for any number larger than 9, which IMHO, is not an elegant solution at all. I actually think this would require more typing than the first solution (if you take autocompletion and copy/paste into account), not to mention the loss of type saftey.

Similar Messages

  • How to read the data from XML file and insert into oracle DB

    Hi All,
    I have below require ment.
    I will receive data in the XML file. then i need to read that data and insert into oracle tables. please let me know how this can be handled.
    Many Thanks.

    Sounds a lot like this question, only with less details.
    how to read data from XML  variable and insert into table variable
    We can only help if you provide us details to help as we cannot see what you are doing and only know what you tell us.  Plenty of examples abound on the forums that cover the topics you seek as well.

  • I want to cut out a head from a photo and insert it into another photo again. In the head hair flying in the wind and the blue sky can be seen between the hairs. This blue sky I want to remove, so I can only use the head with hair flying in another photo.

    I want to cut out a head from a photo and insert it into another photo again. In the head hair flying in the wind and the blue sky can be seen between the hairs. This blue sky I want to remove, so I can only use the head with hair flying in another photo. Is it possible to simply delete this blue color of the sky?

    Make your selection and then use Refine Edge.
    See this video tutorial from Bob Gager.
    https://www.youtube.com/watch?v=xrl3Qwg6zSc

  • How can I read an ID-value from the LMS and insert this into an URL?

    Hi
    Right now I am struggling with a little problem. Hopefully anyone here knows the answer. For the latest course I am building (Captivate 6), it is necessary that at one point the course reads an ID-value from the LMS. After that, this ID should be inserted into an URL.
    To be more precisely: the ID must be read (getValue) from cmi.archive_id and inserted into an URL like that: http://.../archive.php?action=pdf&objectID=ARCHIVE_ID.
    Unfortunately I am more of a designer und less of a javascript-maestro (well...I am a javascript-noob to be precisely), therefore I am pretty clueless how to do that. I tried a simple executed action (run Javascript: cpEIGetValue('cmi.archive_id'); and after that open URL http://.../archive.php?action=pdf&objectID=ARCHIVE_ID), but...well...that didn't work.
    Any ideas?
    Thanks a lot in advance

    Think you'll find help looking at Jim Leichliter's website:
    http://captivatedev.com/
    He has great tutorials about JavaScript and also a widget that allows to enter a variable in URL's
    Lilybiri

  • Hi, extract data from xml file and insert into another exiting xml file

    i am searching code to extract data from xml file and insert into another exiting xml file by a java program. I understood it is easy to extract data from a xml file, and how ever without creating another xml file. We want to insert the extracted data into another exiting xml file. Suggestions?
    1st xml file which has two lines(text1.xml)
    <?xml version="1.0" encoding="iso-8859-1"?>
    <xs:PrintDataRequest xmlns:xs="http://com.unisys.com/Anid"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://com.unisys.com/Anid file:ANIDWS.xsd">
    <xs:Person>
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://com.unisys.com/Anid file:ANIDWS.xsd">
    These two lines has to be inserted in the existing another xml(text 2.xml) file(at line 3 and 4)
    Regards,
    bubbly

    Jadz_Core wrote:
    RandomAccessFile? If you know where you want to insert it.Are you sure about this? If using this, the receiving file would have to have bytes inserted that exactly match the number of bytes replaced. I'm thinking that you'll likely have to stream through the second XML with a SAX parser and copy information (or insert new information) as you stream with an XML writer of some sort.

  • Extract data from xml file and insert into another exiting xml fil

    hello,
    i am searching extract data from xml file and insert into another exiting xml file by a java program. I understood it is easy to extract data from a xml file, and how ever without creating another xml file. We want to insert the extracted data into another exiting xml file. Suggestions?
    Regards,
    Zhuozhi

    If the files are small, you can load the target file in a DOM document, insert the data from the source file and persist the DOM.
    If the files are large, you probably want to use a StAX or SAX.

  • Select from 2 tables and insert same data into 2 other tables(BPEL Process)

    Hi All,
    Please suggest me how to select from 2 tables and insert the same data into 2 tables. I am successful in selecting data from 2 tables, but i am not able to insert the same data into 2 other tables. There is foreign key constraint between 2 tables.
    Thanks in Advance,
    MAH

    I have created DB Adapter for selecting from 2 tables and also DB adapter for insert and i have created parent child relationship between 2 tables.
    I am getting this error
    <Faulthttp://schemas.xmlsoap.org/soap/envelope/>
    <faultcode>env:Server</faultcode>
    <faultstring>com.oracle.bpel.client.delivery.ReceiveTimeOutException: Waiting for response has timed out. The conversation id is 6f3fe20c1b031057:-6cc7dfb5:11b8bf5fbe1:-7fa4. Please check the process instance for detail.</faultstring>
    </Fault>

  • Generate xml from a table and insert the xml into another table

    I want to generate an xml file from a table and insert it into another table all in one tsql
    insert into table B(xmlfile)
    select * from tableA
    FOR
    XML
    PATH('ac'),TYPE,ELEMENTS
    XSINIL,ROOT('Accum')
    Is not working any help

    I have solved my issue all I did was to change my column datatype to xml

  • Next button in symbol, start animation from the timeline and after 3 sec playReverse

    Hello,
    I have a next button in a symbol. When I click on the button I would like to start the animation from the timeline.
    It wil starts at one second. But if the timeline is after 3 seconds I would like to play the animation backwards (if you click on the same button).
    I tried it with the code below but it starts always at 1 second.
    var pos = sym.getPosition() //
    if (pos <= '1000'){
             sym.getComposition().getStage().play(1001);
    else if (pos <= '3000'){
              sym.getComposition().getStage().playReverse(2999);
    Can anybody help me with the code?
    Thanks!

    Hello,
    Thanks for the demo file, I checked it, tried it in my project and it works.
    But I think I have to explain better.
    I have a button in the symbol. When I am between 0 and 1 second on the stage timeline
    and I click on the button. The stage timeline (slider) will start from 1 second till 2.
    But when I'm in the timeline after 3 seconds (doesn't matter if its at 10 sec) and I click on the button,
    I would like to play the stage timeline from 3 seconds till 2.
    Is this possible and how do I do that?
    Thanks

  • MAKING TWO REQUESTS FROM A JSP AND HANDLING TWO RESPONSE ????????

    Hi,
    I have a requirement like below.
    When a user clicks on download_pdf link on a web page, he should get the pdf data from the server where at the same time he should be shown with a processing window. Say the time taking for hitting the server and getting the response is 10 sec, the processing window should be shown for 10 sec and immediately it has to close.
    My approach :
    From JSP having download_pdf link :: while onClick I am calling an action which is nothing but a servlet call which will take care of getting the pdf data from the server and shown pdf save,cancel window. Other part is onClick I added a javascript function call which will open a seperate window (nothing but a jsp ) showing the processing icon.
    The problem here is, I can not close the window immediately after we get the response from the servlet.
    As we can not have direct communication between two responses(servlet reponse and processing window jsp) I am not able to close the window.
    My trials to close the processing window JSP :
    I tried to write a javascript in the processing window jsp which will be closed after 10 sec using setTimeout() funtion. But here the problem is the window will be closed after 10 sec where even if servlet call response takes 20 sec.
    Please suggest me if I need to do any design change ?
    Can I use any context attributes to come out of this ?
    What would be the best design for this ?
    Thanks and Regards,
    V.Narayana.

    Thanks for the idea.. I am trying to implement that.. Can you please let me know how Can I make a repetitive ajax call ??
    If anyone interested in code, I am pasting all the sample files I prepared for..
    start.jsp
    ===========================================================================================
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Insert title here</title>
    </head>
    <body>
    <script type="text/javascript">
    function call(){
              w='550';
         h='240';
    LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;
    settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
    win=window.open("http://localhost:7001/SampleExportWeb/ExportServlet",'',settings);
    function call2(){
              w='550';
         h='240';
    LeftPosition=(screen.width)?(screen.width-w)/2:100;TopPosition=(screen.height)?(screen.height-h)/2:100;
    settings='width='+w+',height='+h+',top='+TopPosition+',left='+LeftPosition+',location=no,directories=no,status=no,menubar=no,toolbar=no,resizable=no';
    win=window.open("http://localhost:7001/SampleExportWeb/statusWindow.jsp",'',settings);
    setTimeout("win.close()",5000);
    </script>
    <input type="button" name="button" value="button" onclick="call();call2()">
    </body>
    </html>
    =========================================================================================================
    statusWindow.jsp
    =============================================================================================================
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <%@ page import="org.apache.beehive.netui.pageflow.scoping.ScopedServletUtils"%>
    <%@ page import = "com.bea.netuix.servlets.controls.portlet.PortletPresentationContext" %>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <table border=1 width="100%">
    <tr><td align="center" height="210">
    <table border=1>
    <tr><td align="center">
    </td></tr>
    </table>
    </td></tr>
    Narayana
    <tr><td align="right">
    <div class="buttonBar">
    <div class="floatright">
         <a onClick="window.close();" class="button" title="" href="#">
    <span>
    </span>
    </a>
    </div>
    </div><!-- end buttonBar -->
    </td></tr>
    <%
    %>
    <iframe id="exportCall" height="0px" width="0px"></iframe>
    </table>
    =============================================================================================================
    FlowController.java
    ===============================================================================================================
    package main.java.com.export.servlet;
    import java.io.ByteArrayOutputStream;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.lang.reflect.Method;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    * Export Servlet will be invoked by all dashboard widgets to perform common
    * functions (Print, Download, Export XLS/CSV)
    * @author kadalur.r.supreeth
    * @version 1.0
    public class ExportServlet extends HttpServlet {
         public void service(HttpServletRequest req, HttpServletResponse resp)
         throws ServletException, IOException {
              try {
                   System.out.println("ExportServlet :: service: entered");
                   Object exportManager = null;
                   Class exportClass = null;
                   Method invokingMethod = null;
                   * This condition will be executed if requested operation is to
                   * download PDF. Invoke the PDF converter method runtime and open
                   * the window dialogue box with generated PDF file. The requested
                   * operation value should be "pdfConverter".
                   ByteArrayOutputStream baosPDF = new ByteArrayOutputStream();
                        OutputStream ostreamPDF = resp.getOutputStream();
                        resp.setContentType("application/pdf");
                        resp.setHeader("Content-disposition", "attachment; filename="
                                  + "downloadfile"
                                  + ".pdf");
                        baosPDF.writeTo(ostreamPDF);
                        ostreamPDF.flush();
                        ostreamPDF.close();
              } catch (Exception e) {
                   System.out.println(
                                  "ExportServlet :: service method exception:"
                                  + e.getMessage());
    =========================================================================================================

  • My laptop is making weird noices from the back and i wanted to know if its normal or not

    Hello,
    I bought my laptop not to long ago and weird noices is coming oout from the back and I wanted to know if its normal for it to make those noices

    Weird noise coming from the back of the computer is not normal.
    Humming noise from fans and  sounds from working HD are normal.
    You can take the computer to the Apple store and have it checked out.
    Best.

  • How to receive parameters from a form and insert values in db using servlet

    Hi friends,
    My first question here.
    I'm trying to create a Servlet that takes input from a form and process it and insert it in database.tablename.
    My MAIN ISSUE IS WITH THE NUMBER OF COLUMNS THAT WOULD BE DYNAMIC AND THUS CANT RECEIVE THE PARAMETERS IN STATIC CODE.
    Here is the form code
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE html>
    <form action="Test" method="post" />
    <table width="90%" border="1" cellspacing="1" cellpadding="1">
    <tr>
    <th scope="col">Student Name</th>
    <th scope="col">RollNo</th>
    <th scope="col">Java</th>
    <th scope="col">J2ee</th>
    </tr>
    <tr>
    <td><input type="text" name="studentname" /></td>
    <td><input type="text" name="rollno" /></td>
    <td><input type="text" name="java" /></td>
    <td><input type="text" name="j2ee" /></td>
    </tr>
    <tr>
    <td><input type="text" name="studentname" /></td>
    <td><input type="text" name="rollno" /></td>
    <td><input type="text" name="java" /></td>
    <td><input type="text" name="j2ee" /></td>
    </tr>
    <tr>
    <td><input type="text" name="studentname" /></td>
    <td><input type="text" name="rollno" /></td>
    <td><input type="text" name="java" /></td>
    <td><input type="text" name="j2ee" /></td>
    </tr>
    </table>
    <input type ="submit" value="insert values in the database now"/>
    </form>
    </html>
    And here is the Servlet
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.sql.*;
    import java.io.*;
    public class Test extends HttpServlet {
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    String title = "Module: Process Result Values from previous page";
    out.println("<html>\n" +
    "<head><title>" + title + "</title></head>\n" +
    "<body>");
              try
                   Class.forName("com.mysql.jdbc.Driver");
                   Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/","root", "root");
                   Statement s = con.createStatement();
    ResultSet res = s.executeQuery("SELECT * FROM dbname.tablename");
    ResultSetMetaData rmeta=res.getMetaData();
    int noofcolumns=rmeta.getColumnCount();
                   if(!con.isClosed())
              catch(Exception e)
    System.out.println("Exception"+e);
    out.println(e);
    if(connectionFlag==1)
    out.println("</body></html>");
    doGet(request, response);
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    This is the basic code structure and I'm trying to figure out this special case with handling the multiple parameters:
    1. I dont' want to use String []a=request.getParameterValues("studentname"); as hard code. The reason being the number of rows will be diyamic and I would like to get the column name and then then use an array of string to take values. But how can I connect these to form a query so that the rows goes on inserted one after other.
    Thanks,
    Mashall

    Thank you for your help.
    I'm something close to it but this segment of code throws a NullPointerException Error. I counted number of rows and columns using the methods getColumnCount() and getColumnName(i).
    ResultSetMetaData md = res.getMetaData(); //Get meta data for the resultset
    int noofcolumns=md.getColumnCount();
    out.println("<br />Number of columns in table (including name and roll number) :::: "+noofcolumns+"<br />");
    for(int i=1;i<=noofcolumns;i++) // access column 1....n
    String columnname = md.getColumnName(i); // get name of column 1....n
    out.println("<br />Current column name ::: "+columnname+"<br />"); //check if the name appear correct.
    String []columndata = request.getParameterValues(columnname); //Get raw value in array
    for(int j=1;j<=rows;j++) // here rows is number of rows in each column
    out.println("To be inserted: <b>"+columndata[j]+"</b> in Row ::: "+j+"<br />");
    //The line above thows null pointer exception.
    }

  • Read data from E$ table and insert into staging table

    Hi all,
    I am a new to ODI. I want your help in understanding how to read data from an "E$" table and insert into a staging table.
    Scenario:
    Two columns in a flat file, employee id and employee name, needs to be loaded into a datastore EMP+. A check constraint is added to allow data with employee names in upper case only to be loaded into the datastore. Check control is set to flow and static. Right click on the datastore, select control and then check. The rows that have violated the check constraint are kept in E$_EMP+ table.
    Problem:
    Issue is that I want to read the data from the E$_EMP+ table and transform the employee name into uppercase and move the corrected data from E$_EMP+ into EMP+. Please advise me on how to automatically handle "soft" exceptions in ODI.
    Thank you

    Hi Himanshu,
    I have tried the approach you suggested already. That works. However, the scenario I described was very basic. Based on the error logged into the E$_EMP table, I will have to design the interface to apply more business logic before the data is actually merged into the target table.
    Before the business logic is applied, I need to read each row from the E$EMP table first and I do not know how to read from E$EMP table.

  • How to get the data from one table and insert into another table

    Hi,
    We have requirement to build OA page with the data needs to be populated from one table and on save data into another table.
    For the above requirement what the best way to implement in OAF.
    I understand that if we attach VO object instance to region/page, we only can pull and put data in to only one table.
    Thanks

    You can achieve this in many different ways, one is
    1. Create another VO based on the EO which is based on the dest table.
    2. At save, copy the contents of the source VO into the dest VO (see copy routine in dev guide).
    3. commiting the transaction will push the data into the dest table on which the dest VO is based.
    I understand that if we attach VO object instance to region/page, we only can pull and put data in to only one table.
    if by table you mean a DB table, then no, you can have a VO based on multiple EOs which will do DMLs accordingly.Thanks
    Tapash

  • Using servlets to read from text file and insert data

    Hi,
    Can I use a servlet to read from a space delimited text file on the client computer and use that data to insert into a table in my database? I want to make it easy for my users to upload their data without having to have them use SQL*Loader. If so can someone give me a hint as how to get started? I appreciate it.
    Thanks,
    Colby

    Create a page for the user to upload the file to your webserver and send a message (containing the file location) to a server app that will open the file, parse it, and insert it into your database. Make sure you secure the page.
    or
    Have the user paste the file into a simple web form that submits to a servlet that parses the data and inserts it into your db.

Maybe you are looking for

  • Trackpad on White Macbook

    Hello, I recently bought a white macbook last week and let me say Im pleased with the product. Ive been an apple user for many years but never had my own mac, but now I do. So i have been reading in previous posts about the trackpad and cleaning the

  • Select one record for each member of the group

    Hi, am having a table where in i will be having data for so many group members. i need to fetch data for a particular group members whose number of rows of data may be more in numbers (but i want only one row of data for each member of the group) her

  • Several versions of Adobe programmes

    When I install updates, my computer has several versions of each programme. E.g. Adobe Photoshop CC (2014) Adobe Photoshop CC Adobe Photoshop CC (64 bit)  Why is that? Can I delete some versions to gain more space on my computer?

  • Oracle Database Point intime recovery with File System backup.

    Hi.. Experts... We have shutdown the database and have take a file system backup on 09.10.2010 @ 10 AM. We started the database and all the  archive logs generated after that are already available in archive directory till now. We discovered there we

  • Updates wont install

    updates won't install