FLV xml-based Captioning (Subtitles)

Hi everyone!
I am following a tutorial from actionscript.org about
creating xml-based subtitles in flash through actionscript.
Although I have followed the instructions and explanations closely,
I can't seem to make the thing work. Take note, there are no error
notifications when I test the movie - I have all the classes
required as well as a sample FLV. Can someone please point out
what's wrong with this script?
This is basically the cached link of the tutorial I followed.
Actionscript.org appears to be inaccessible at the moment.
FLV
Xml-based Captioning

bump thread...

Similar Messages

  • Using XML-based object structures to represent data in code/at run-time

    Hello,
    I have quite a "high level" question which has be bothering me for some time, and I haven't found the subject tackled in any books. I believe J2SE/J2EE is not an important divide here.
    Lets say I want to develop a J2SE game application with two programs: a "level designer", and a "level viewer", and I want to store the level files in an XML format.
    My question, and I use this example only to try and illustrate it, is:
    when coding the level designer or viewer, is it reasonable to use an XML-based object hierarchy for representing a level in code/at run-time, i.e. using the standard Java DOM APIs? Or should one (as I would have done before XML came along) develop a set of classes much closer to modelling the real form of a level, and then add a means to convert those objects to/from to XML format?
    This second option of course I would use/would have used if I wasn't thinking about XML, but isn't it sometimes easier to just read in an XML file into a DOM representation and just use the data straight out of that structure, rather than go through the bother of parsing the XML into a set of unrelated objects defined by a different family of classes? What shapes your decision here? And if the second option is best, what is the easiest way of converting to/from the XML?
    Thank you for any advice.
    Greg

    Hi Christian,
    Can I ask: what about if your domain was quite 'close' to an object/DOM representation of XML?
    For instance, what if a game operated by acting out a theatrical script, a spoken conversation, between two characters, perhaps somehow influenced at points by the user, and a particular level was just a different script for the characters.
    One could imagine that the object representation of this would in the end be quite similar to how you'd represent XML, i.e. like a tree of nodes, where each node was a line from the script, and some nodes were a decision point where different nodes could be chosen from.
    Would you still want to avoid using XML-based classes to represent the underlying 'game', or is there a point where you would 'give it' to the similarity and use existing XML structures directly?
    Thank you for any advice
    Greg

  • How to use/access XML based DVMs in ODI 11.1.1.5.0

    Hi All,
    I want to use XML based DVMs in interface on ODI 11.1.1.5.0.
    I have tried something like this. However while "Load Data" step, i am facing the error "
    -4850 : 3F000 : java.sql.SQLException: invalid schema name: CURRENCYCODE
    java.sql.SQLException: invalid schema name: CURRENCYCODE
    at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
    at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)
    at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)
    at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1192)
    at sun.reflect.GeneratedMethodAccessor314.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)
    at $Proxy138.prepareStatement(Unknown Source)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.doInitializeStatement(SQLCommand.java:83)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:117)
    at oracle.odi.runtime.agent.execution.sql.SQLCommand.getStatement(SQLCommand.java:111)
    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:76)
    at oracle.odi.runtime.agent.execution.sql.SQLDataProvider.readData(SQLDataProvider.java:1)
    at oracle.odi.runtime.agent.execution.DataMovementTaskExecutionHandler.handleTask(DataMovementTaskExecutionHandler.java:67)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2906)
    at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2609)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:537)
    at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:453)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1740)
    at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:1595)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$2.doAction(StartScenRequestProcessor.java:580)
    at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:214)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor.doProcessStartScenTask(StartScenRequestProcessor.java:513)
    at oracle.odi.runtime.agent.processor.impl.StartScenRequestProcessor$StartScenTask.doExecute(StartScenRequestProcessor.java:1070)
    at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:123)
    at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
    at java.lang.Thread.run(Thread.java:662)
    Caused by: org.hsqldb.HsqlException: invalid schema name: CURRENCYCODE
    at org.hsqldb.error.Error.error(Unknown Source)
    at org.hsqldb.SchemaManager.getSchemaHsqlName(Unknown Source)
    at org.hsqldb.SchemaManager.getSchemaName(Unknown Source)
    at org.hsqldb.Session.getSchemaName(Unknown Source)
    at org.hsqldb.SchemaManager.getTable(Unknown Source)
    at org.hsqldb.ParserDQL.readTableName(Unknown Source)
    at org.hsqldb.ParserDQL.readTableOrSubquery(Unknown Source)
    at org.hsqldb.ParserDQL.XreadTableReference(Unknown Source)
    at org.hsqldb.ParserDQL.XreadFromClause(Unknown Source)
    at org.hsqldb.ParserDQL.XreadTableExpression(Unknown Source)
    at org.hsqldb.ParserDQL.XreadQuerySpecification(Unknown Source)
    at org.hsqldb.ParserDQL.XreadSimpleTable(Unknown Source)
    at org.hsqldb.ParserDQL.XreadQueryPrimary(Unknown Source)
    at org.hsqldb.ParserDQL.XreadQueryTerm(Unknown Source)
    at org.hsqldb.ParserDQL.XreadQueryExpressionBody(Unknown Source)
    at org.hsqldb.ParserDQL.XreadQueryExpression(Unknown Source)
    at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
    at org.hsqldb.ParserCommand.compilePart(Unknown Source)
    at org.hsqldb.ParserCommand.compileStatement(Unknown Source)
    at org.hsqldb.Session.compileStatement(Unknown Source)
    at org.hsqldb.StatementManager.compile(Unknown Source)
    at org.hsqldb.Session.execute(Unknown Source)
    ... 27 more"
    Steps followed:
    1. Created data server with below values.
         JDBS Driver : com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
         JDBC URL : jdbc:snps:xml?f=/appl/oracle/dev/fmw/11g/product/Oracle_ODI1/oracledi/xml_odi/CURRENCY95CODE.xml&s=CURRENCYCODE&case_sens=true
    2. Created a physical schemas out of it and passed SCHEMA as "CURRENCYCODE". Please note that it dint showup automatically. I had to type the schema name "CURRENCYCODE".
    3. Implemented logic in interface and facing the above error when tried executing interface at "Load Data" step.
    Note : Test Connection is working fine. And i have all the permissions to execute.
    Kindly suggest the right way if i am doing something wrong.

    Hello,
    Your filemaker install should have come with a jdbc driver (.jar file). You'll need to check your filemaker pro documentation to confirm. Once you have the file, place it in the ODI/oracledi/agent/drivers folder where your agent lives (also place it on your client if you want to use the local agent for testing). You can then create a custom Technology in the Topology tab in ODI.
    There are many options in the Technology definition which you will need to figure out based on what filemaker pro can handle and how it processes queries. Once the technology is created, add a Data Server and Physical Schema as you would any other technology. Then, build the model, datastores, interfaces, etc. just like any other tech.
    Hope this gets you started.
    Thank you,
    Michael R.

  • Dynamic element binding between XML based PDF form and WDA context

    Hi Experts,
    I am working on a XML based interactive form.There is a table node in the XML interface which generated by WDA context, and binding on a subform in the PDF form.
    I tried to add instances to the subform using javascript. Unfortunately, I can not get the internal table in WDA.
    If I initialize the table to 10 lines in WDA , and then add 5 line to it in PDF, when I submit the PDF, I can only get 10 lines in the WDA framework. It seems that the element which is create dynamically can not be past to the interface.
    Could you tell me why? And is there any other better solution? I just want build a table in PDF form in runtime and pass it to WDA context.
    Thanks a lot!
    Best Regards,
    Guo Guo Qing

    Hi Thomas,
    Thank you for your reply.
    I think the performance will be a problem if I create the elment in WDA using submit event. I need to create hundreds of record dynamically. I must find some way to reduce the communication between the WDA and PDF form. Maybe I can set a container with a number of elements before the PDF output. Do you have some better ideas?
    Best Regards,
    Guo Guo Qing

  • Fetch-Xml based report (to count User Access in the last 6 months ) for Microsoft Dynamics CRM Online

    Hi,
    I have created a User Access report for CRM on-premise using SQl query in the following format. One row corresponds to one user in organization. Currently, I am using Microsoft Dynamics CRM Online trial version and have two users in my organization.
    I want to the same report for CRM Online environment. Only Fetch-Xml based custom reports are supported by CRM online environment hence this SQL query cannot be used.
    I have already written fetch-xml query to retrieve user access records ("audit" entity records) in "last-x-months" (where x = 1,2,3,4,5,6) as below.
    I am able to retrieve the records with "last-x-months" condition at a time, for example, the last-2-months  in my fetch-xml query only.
    For, example, when I retrieve the records in the last-2-months, it also includes the records in the last month. I want to count the records in the 2nd month only that is the difference between these two. The difference will be my 2nd column.
    Similarly, I want the other columns.  
    For the case in the above example, I have created the two separate datasets to get the record-count for the last month and last-2-months. But, I am not able to use the two datasets in the same table in my report and hence not able to calculate the difference.
    Is there any way to solve this problem?

    Hi,
    I have modified my Fetch-XML query to retrieve all the required User Access records and removed aggregation and counting and grouping from the query as well. Did grouping and counting in SSRS. Now the report works fine as shown in the above picture.

  • What kind of approach for new XML-based clients

    Hi.
    Our firm is using Oracle-technology everywhere, and now we would
    like to find out what kind of XML-based technology would suit us
    best for a new generation of our products.
    Our products are now using old Forms 3-clients and we're doing a
    research on replacing this technology with Internet-based
    clients. Java-clients are one option, but now we'd really like
    to know about thin-clients which wouldn't have much code run on
    the server. We have already done extranet-clients with OAS
    PL/SQL-cartridges and have found out that HTML-clients require
    much work and can't have too much logic on them.
    So, we have already OAS running on Oracle 8.0.5.1.0 -server and
    would like to know what kind of XML-strategy would be a
    reasonable solution. I know about these tools: XML Parser for
    xx, XML SQL Utility for Java, XSQL Servlet.
    -But what would be a reasonable combination of these and what
    kind of thin-client could we use? XSL?
    -What kind of development tools could we use for clients (or do
    we have to use text-editors)?
    -Which of these tools require Oracle 8i and is it stupid to even
    think about XML-based applications without Oracle 8i?
    Thanks,
    Perttu Auramo, Network Banking Systems Oy
    null

    NO. Have you taken a look at the specs page for Mac Pro?
    Or when you go to OWC for Mac Pro Memory.
    http://eshop.macsales.com/shop/memory/Mac-Pro-Memory
    2GB modules are better, especially if you need more than 4GB, but you want to have 4 DIMMs, 4 x 2GB or 4 x 1GB.
    http://docs.info.apple.com/article.html?artnum=304492
    TechWorks:
    http://www.shopatbuffalotech.com/cart/product.php?productid=16655&cat=42077&page =1

  • XML based Adobe form is not allowing to input values while display on IE

    Hi Experts
    I have intergarted an XML based adobe form in webdynpro with inputs fields and submit button.
    But on display on Internet expolrer it doesn't allow to input values even button dosen't work.
    Please help me how would it will allow to input values .
    Many thanks in advance

    hi dear
    yes the enabled property is checked but still form doesn't allow to enter value and submit button is also disabled.
    Is there any setting or some program code is required.
    It would be great if some body can help us in this ....
    many thanks in advance.
    thanks

  • Best way to transfer XML based data

    All,
    I am looking for the best possible way of transferring XML based data from a server to a web based client.
    XML file is generated on server and its size is massive. I am looking for all possible alternatives and possibly the best way.
    Could it be AJAX, SOAP, parsing through a servlet, creating value objects?
    I appreciate all inputs.
    Thanks,
    S.

    You can make a bootable copy of your system now, but you won't be able to boot from it with the new computer. They are not usually backwards compatible with the OS. But when you first boot into the new system, use SetUp Assistant to migrate the data from the cloned copy. That will work just fine.

  • Sun RPC - Java libraries (non XML based)

    We are looking at replacing and existing Proprietary (Distinct) RPC interface with a Sun RPC (non-xml based) version. I've seen mentioned somewhere about the sun.sunrpc.* package but can't find anything else about it.
    Something like rpcgen for java.
    Your help will be much appreciated.

    I think you mean RMI - Remote Method Invocation. No XML.

  • RPC (non-xml based) for java

    We are looking at replacing and existing Proprietary (Distinct) RPC interface with a Sun RPC (non-xml based) version. I've seen mentioned somewhere about the sun.sunrpc.* package but can't find anything else about it.
    Something like rpcgen for java.
    Your help will be much appreciated.

    I think you mean RMI - Remote Method Invocation. No XML.

  • Reading XML based on DTD

    HI All
    i need a solution.
    if we have a dtd file and a xml file and read the file using SAX i am able to read it where i use the startElement() and endElement() and in these i will use a hardcoded my tag names so that upon reaching this tag name i do something or print.
    THis is fine.
    But what if i have different DTDs and their corresponding XMLs
    Can i read an XML by parsing first a DTD,getting the elements from the DTD and use those element names in the XML parsing by SAX.
    That is i need a generic program where given a DTD and XML, i can parse the XML based on DTD
    Is this possiblew with SAX or any other parser.
    if so how.
    i found that if i read 10 XML files from a parser. i can do that only if all are of the same DTD type.
    but can i have 10 XML with each one with different DTD and even then use a single program to read all the files
    Please help me
    Thanks
    Vijay Sunder

    Normally, XML is done for writing XML instances, respecting a specific DTD or SCHEMA.
    In the XML content you can set the DTD for the instance. So, instances can have reference to a DTD, not necessarily the same, of sure.
    In that case, the PARSER is responsible for validating the instance against the defined DTD. Simply, be careful to locate the right DTD for each instance.
    There is a very good tutorial, and short, here [http://java.sun.com/j2ee/1.4/docs/tutorial/doc/] and go to "Chapter 2: Understanding XML". You will learn how to parse a XML document, how to validate its content...
    Naturally, a Java program can read multiple XML documents, extract valuable data for your stuff. For example transform a echo.java source explained in the tutorial, for handling multiple input document which is your need, and you will experience that this code can parse different documents having different DTD references.

  • Pre-loading external images for XML-based gallery

    I'm working-on an XML-based photo gallery here:
    http://www.unionandparkwood.com/demo/flash_gallery/
    It works how I want it, except that the first time a
    thumbnail is clicked for an image, it pauses long enough to skip
    the fade. If you click-through the images a second time, you'll see
    that it works smoothly. My guess is that the first time the
    thumbnail is clicked, the image isn't cached, yet.
    I tried to fix this by creating a JavaScript file for the
    page to pre-load each image and thumbnail:
    0003a = new Image;
    0003a.src = "images/Down-Range.jpg";
    0003b = new Image;
    0003b.src = "thumbnails/Down-Range.jpg";
    But that didn't work. What would be the best way to do this?
    I included a link to "Download ZIP" of the FLA project on
    this page, too, because it wouldn't be easy for me to describe
    what's happening. In a nutshell, a thumbnail click launches a
    function that loads the appropriate image into the main image
    holder. What seems to be happening the first time is the image
    isn't loaded before the fade is finished, so the image just appears
    after a short pause the first time.

    >>What seems to be happening the first time is the
    image isn't loaded before
    >>the fade is finished, so the image just appears after
    a short pause the
    >>first time.
    As has been said many times in thos forum - use the
    MovieClipLoader class to
    load images, and then use that class' onLoadInit method to do
    things with
    the loaded image. Loading is asynchronous - you _have_ to
    wait until the
    image is done loading before doing a fade.
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Is there some xml based web site....?

    Who can tell me the xml based web site in the internet?
    Thanks !

    I have a XML based website, but I cannot publish my url's here. Sorry.

  • XML Based Flash fla in Catalyst?

    is it possible? would be nice.

    What exactly do you mean by an XML Based Flash fla? Do you mean the new file format that is supported in Flash CS5? Catalyst supports Flash swfs, but not flas directly.

  • Diff. between JSP format & XML based syntax

    i like to know the diff. between 2 types of jsp syntax,
    JSP - 1 - ordinary
    <% code %>
    JSP - 2 - XML based syntax
    <jsp:expression> code </jsp:expression>
    what is best to use for jsp development.,

    Haven't u finished fresher course yet?

Maybe you are looking for