How to read new SWF bytecode compiled with ASC2

I need to get the build date from the bytecode, but SWFs generated by ASC2 produce bytes in a different order than the ASC1 does.
Anybody know how to read it?
cheers

Not sure if this is what you mean, but one of them uses zlib and the other uses lzma compression and the corresponding first letter of the file is f rather than z (I think... would need to double check). The lzma compression makes a big difference - roughly a third smaller for some of my SWF.

Similar Messages

  • How to connect new iMac to tv with a hdmi cord on one end and a thunderbolt on the other end

    how to connect new iMac to tv with a hdmi cord on one end and a thunderbolt on the other end

    You need a > Moshi Mini DP to HDMI Adapter with Audio Support - Apple Store (U.S.) to plug into the ThunderBolt port and an HDMI cable.

  • How to read appended objects from file with ObjectInputStream?

    Hi to everyone. I'm new to Java so my question may look really stupid to most of you but I couldn't fined a solution by myself... I wanted to make an application, something like address book that is storing information about different people. So I decided to make a class that will hold the information for each person (for example: nickname, name, e-mail, web address and so on), then using the ObjectOutputStream the information will be save to a file. If I want to add a new record for a new person I'll simply append it to the already existing file. So far so good but soon I discovered that I can not read the appended objects using ObjectInputStream.
    What I mean is that if I create new file and then in one session save several objects to it using ObjectOutputStream they all will be read with no problem by ObjectInputStream. But after that if in a new session I append new objects they won't be read. The ObjectInputStream will read the objects from the first session after that IOException will be generated and the reading will stop just before the appended objects from the second session.
    The following is just a simple test it's not actual code from the program I was talking about. Instead of objects containing different kind of information I'm using only strings here. To use the program use as arguments in the console "w" to create new file followed by the file name and the strings you want save to the file (as objects). Example: "+w TestFile.obj Thats Just A Test+". Then to read it use "r" (for reading), followed by the file name. Example "+r TestFile.obj+". As a result you'll see that all the strings that are saved in the file can be successfully read back. Then do the same: "+w TestFile.obj Thats Second Test+" and then read again "+r TestFile.obj+". What will happen is that the strings only from the first sessions will be read and the ones from the second session will not.
    I am sorry for making this that long but I couldn't explain it more simple. If someone can give me a solution I'll be happy to hear it! ^.^ I'll also be glad if someone propose different approach of the problem! Here is the code:
    import java.io.*;
    class Fio
         public static void main(String[] args)
              try
                   if (args[0].equals("w"))
                        FileOutputStream fos = new FileOutputStream(args[1], true);
                        ObjectOutputStream oos = new ObjectOutputStream(fos);
                        for (int i = 2; i < args.length ; i++)
                             oos.writeObject(args);
                        fos.close();
                   else if (args[0].equals("r"))
                        FileInputStream fis = new FileInputStream(args[1]);
                        ObjectInputStream ois = new ObjectInputStream(fis);
                        for (int i = 0; i < fis.available(); i++)
                             System.out.println((String)ois.readObject());
                        fis.close();
                   else
                        System.out.println("Wrong args!");
              catch (IndexOutOfBoundsException exc)
                   System.out.println("You must use \"w\" or \"r\" followed by the file name as args!");
              catch (IOException exc)
                   System.out.println("I/O exception appeard!");
              catch (ClassNotFoundException exc)
                   System.out.println("Can not find the needed class");

    How to read appended objects from file with ObjectInputStream? The short answer is you can't.
    The long answer is you can if you put some work into it. The general outline would be to create a file with a format that will allow the storage of multiple streams within it. If you use a RandomAccessFile, you can create a header containing the length. If you use streams, you'll have to use a block protocol. The reason for this is that I don't think ObjectInputStream is guaranteed to read the same number of bytes ObjectOutputStream writes to it (e.g., it could skip ending padding or such).
    Next, you'll need to create an object that can return more InputStream objects, one per stream written to the file.
    Not trivial, but that's how you'd do it.

  • How to create new view without interlinking with gantt chart or resource views

    ok clear
    one another question
       In msp how to create new view without interlinking with gantt chart or resource views

    Hi Shiv PMC--
    I splitted your question above in another thread in order not to have  a huge thread with many topics in it.
    That being said, I'm not sure to understand. A view is just a manner to display MS Project data with columns. A view can have a table with column (left part) associated with a Gantt chart. It can also just contain a table with no Gantt chart (like the task
    table) or a table with a timephased grid (resource and task usage).
    Please give us more information, maybe with a concrete example so we can help you.
    Hope this helps,
    Guillaume Rouyre, MBA, MVP, P-Seller |

  • How the IVI New Session.vi works with the ivi.ini?

    Hi,all
    Does anyone know how the IVI New Session.vi works with the configuration file ivi.ini?
    And when the ivi application running, how the ivi calss driver refers to the right specific instrument drivers without changeing the program?
    Thanks,
    njzhw
    人的生命是有限的,但知识是无限的!
    南京众知维测试技术有限公司

    Which VI or function are you referring to? There is neither an "IVI New Session.vi", nor a corresponding "Ivi_NewSession" function in C.
    The Ivi Class Drivers determine which specific driver to use at run-time, by looking up the resource descriptor (a Logical Name, or Virtual Instrument) and determining the associated Instrument Driver. That configuration information is settable by the user through MAX (Measurement and Automation Explorer).
    --Bankim
    Bankim Tejani
    National Instruments

  • How to unpack an installer previously compiled with Inno Setup?

    Hi,
    I want to know how can I unpack a previously compiled installer (exe file) made with Inno Setup to extract and recover some DLL files into the installer. I found a tool called InnoExtractor
    that supposedly
    does this, but I don't know how is work. Any help is appreciate. This tool can by downloaded from here:
    http://www.softpedia.com/get/Compression-tools/InnoExtractor.shtml
    Regards and I'll wait your support. Thanks in advance.

    Hello GonKong,
    I am afraid that this is not the proper forum for this issue, since it is related to the tool which belongs to third-party.
    I would recommend you consider connecting with the publisher of Inno Setup or InnoExtractor to get supports.
    Regards.
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use new iPad3 in conjunction with Lightroom on desktop iMac?

    Workflow:  Will this work?  Camera RAW to iPad3 to Lightroom???
    I would like to use my new iPad3 in conjunction with my already-established Lightroom workflow on my desktop Mac.  What I have in mind is to shoot in RAW (Sony SLT A-65 - 24.3 megapixels) and then, in the field, transfer my photos from the camera to the iPad3 (64GB version).  On the iPad I might do some rudimentary editing - deleting duds, etc. - but I will still do all my significant editing in Lightroom on the Mac.  Thus, I need to import the photos, from the iPad, in either RAW or DNG into LightRoom once I get back to my office.  My questions are:
    Is it possible to import RAW photos into the iPad3 and either keep them in RAW or convert them to DNG?
    Is it possible to export RAW or DNG photos from the iPad3 into Lightroom?
    What app(s) do I need on the iPad3 to make this happen?
    FYI - I am using Lightroom3, but will upgrade to Lightroom4 if that makes any difference in whether this will work or not.
    Thanks so much, in advance, for your suggestions and your advice!

    You can load your RAW images to any iPad either using the Camera Connection kit that comes with two dongles. One for inserting an SD card from your camera to load the images. Or the USB dongle which you can connect the USB cord for your camera to the iPad to load the images. There are a few CF card readers that will work with the iPad if your camera uses those a Google search will feret them out for you. Additionally, you can also load images to iPad, iPhone or iPod touch (as well as laptops and desktop cumputers) using WiFi as you capture them using an EyeFi SD card.
    http://www.eye.fi/
    A good app for working with EyeFi on the iPad is Shuttersnitch (though, it does not coordinate with Lightroom)
    http://www.shuttersnitch.com/
    Unfortunately their isn't any RAW processing image editing software for the iPad that Lightroom can make use of the edits. Though there is an app called Photosmith that will allow you to rate, label, add keywords etc. then you can upload that info to Lightroom on your laptop or desktop cimputer and have that info synced to the images. You do have to transfer the image files themselves from the iPad to your workstation seperately.
    http://www.photosmithapp.com/

  • How to read from an internal table with multiple key fields.

    Hi All!!
    I want to read from an internal table having keys as k1,k2,k3.
    How can I use read statement to read an entry having this as the key fields.
    Thanks in adavance..
    Prabhas Jha

    hi there
    use:
    sort itab by K1 K2 K3.
    read table itab into wa with key K1 = value 1
                                                  K2 = value2
                                                  K3 = value 3
                                                   BINARY SEARCH.
    where:
    itab is ur internal table
    wa is the work area with the same line type as the itab
    cheers
    shivika

  • How to determine if class was compiled with debugging information?

    How may I determine if class was compiled with debugging information? Aside from actually executing the class in a debugger.

    As known, when compiling "javac -g ..." the class
    files contain debugging information.
    my Naive question is WHAT is this information?
    could you please add any links to articles about this
    debugging information?http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#22856
    http://java.sun.com/docs/books/vmspec/2nd-edition/html/ClassFile.doc.html#5956

  • FlexUnit not generating TestRunner.swf when compiled with Hudson / Ant

    I've been dabbling with FlexUnit (4.1 RC2) and CI under Hudson. To that effect, I chose to test the server configuration with the sample CI project that comes with the 4.1 RC2 distribution of FlexUnit, and compiling the project with Hudson (now Jenkins after most recent update) and Ant (1.8). It doesn't work because it does not seem to compile the TestRunner swf. After exploring the artifacts in the workspace, it appears that the TestRunner mxml file is created as you would expect, but then the mxmlc compiler is seemingly silently failing to complete the compile step.
    It's worth noting at this point that compiling on my local dev machine does work (as it does on a half dozen other dev machines), also, the Hudson configuration is good for compiling other Flash projects. So mxmlc from the Flex SDK is setup and compiling other projects successfully.
    Here's the first part of the build log from Hudson / Jenkins as it tries to compile the sample project:
    compile:
        [mxmlc] Loading configuration file /opt/flex/frameworks/flex-config.xml
    test:
    [flexunit] Validating task attributes ...
    [flexunit] Generating default values ...
    [flexunit] Using the following settings for compilation:
    [flexunit]      FLEX_HOME: [/opt/flex]
    [flexunit]      player: [flash]
    [flexunit]      sourceDirectories: ["/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/src/main/flex"]
    [flexunit]      testSourceDirectories: ["/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/src/test/flex"]
    [flexunit]      libraries: ["/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/libs/flexunit-4.1.0_RC2-4-as3_4.1.0.16076.swc","/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/libs/flexunit-aircilistener-4.1.0_RC2-4-4.1.0.16076.swc","/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/libs/flexunit-cilistener-4.1.0_RC2-4-4.1.0.16076.swc","/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/libs/flexunit-uilistener-4.1.0_RC2-4-4.1.0.16076.swc"]
    [flexunit] Found SDK version: 4
    [flexunit] Created test runner at [/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/target/bin/TestRunner.mxml]
    [flexunit] Compiling test classes: [org.flexunit.demo.EchoPanelTest, org.flexunit.demo.SampleTest]
    [flexunit] Executing '/var/lib/jenkins/tools/JDK_6/jre/bin/java' with arguments:
    [flexunit] '-Xmx256M'
    [flexunit] '-jar'
    [flexunit] '/opt/flex/lib/mxmlc.jar'
    [flexunit] '+flexlib'
    [flexunit] '/opt/flex/frameworks'
    [flexunit] '-output'
    [flexunit] '/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/target/bin/TestRunner.swf'
    [flexunit] '-source-path'
    [flexunit] '/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/src/main/flex'
    [flexunit] '/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/src/test/flex'
    [flexunit] '-library-path+=/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/libs/flexunit-4.1.0_RC2-4-as3_4.1.0.16076.swc'
    [flexunit] '-library-path+=/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/libs/flexunit-aircilistener-4.1.0_RC2-4-4.1.0.16076.swc'
    [flexunit] '-library-path+=/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/libs/flexunit-cilistener-4.1.0_RC2-4-4.1.0.16076.swc'
    [flexunit] '-library-path+=/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/libs/flexunit-uilistener-4.1.0_RC2-4-4.1.0.16076.swc'
    [flexunit] '-headless-server=true'
    [flexunit] '/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/target/bin/TestRunner.mxml'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
         [null] Loading configuration file /opt/flex/frameworks/flex-config.xml
    After this line I would expect another line indicating the swf output and the size of the file - as I see in the build log on my dev machine - but that never happens because mxmlc never writes the swf. I have no idea why this fails.
    Then there is a bunch of other stuff to do with attempting to launch the test with Xvnc:
    [flexunit] Using the following settings for the test run:
    [flexunit]      FLEX_HOME: [/opt/flex]
    [flexunit]      haltonfailure: [false]
    [flexunit]      headless: [false]
    [flexunit]      display: [99]
    [flexunit]      localTrusted: [true]
    [flexunit]      player: [flash]
    [flexunit]      port: [1024]
    [flexunit]      swf: [/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/target/bin/TestRunner.swf]
    [flexunit]      timeout: [60000ms]
    [flexunit]      toDir: [/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/target/report]
    [flexunit] Setting up server process ...
    [flexunit] Starting server ...
    [flexunit] Opening server socket on port [1024].
    [flexunit] Waiting for client connection ...
    [flexunit] Entry [/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/target/bin] already available in local trust file at [/var/lib/jenkins/.macromedia/Flash_Player/#Security/FlashPlayerTrust/flexUnit.cfg].
    [flexunit] Executing 'gflashplayer' with arguments:
    [flexunit] '/var/lib/jenkins/jobs/FlexUnit4SampleCIProject/workspace/FlexUnit4SampleCIProject/target/bin/TestRunner.swf'
    [flexunit]
    [flexunit] The ' characters around the executable and arguments are
    [flexunit] not part of the command.
    [flexunit]
    [flexunit]
    [flexunit] Error: Invalid SWF file name
    [flexunit]
    [flexunit]
    [flexunit] Stopping server ...
    [flexunit] End of test data reached, sending acknowledgement to player ...
    [flexunit] Closing client connection ...
    [flexunit] Closing server on port [1024] ...
    But of course by this point we're toast because mxmlc has not output the TestRunner swf, so the filename is invalid. If anyone has any idea what's wrong, or any suggestions on things to try, please let me know, we're desperate!!
    Thanks for your time.

    Try ensuring the flash player on the server is definitely the Flash Debugger, also you have set headless to false, it needs to be true.

  • How to append new row in rowset with parameter?

    Hi,
    In the data input page in prerender method I have this code to filter rowset with non existing id in the table to show empty table on the page:
    try {           
                getSessionBean1().getKoordinatesRowSet().setObject(1, non_existing_id);
            } catch (Exception e) {
                error("klaida koord " + e);
            }After this I have empty table and I want with a button on the page append one or more rows, fill them and save to my db. I try with this code:
    public String addBtn_action() {       
            try {           
                RowKey rk = koordinatesDataProvider.appendRow();           
                koordinatesDataProvider.setCursorRow(rk);                           
            } catch (Exception ex) {
                log("Negaliu prideti eilutes ", ex);
                error(ex.getMessage());
            return null;
        }But new row does not appear. When I remove parameter in RowSet and remove code from prerender method all works fine, but I see all data from the table that was entered before. Like I said - I want to have an empty table and be able to append one or more new rows, fills them and save to my db. How can I resolve this?

    Rui's answer will create copies of the entire table.  There may be times where thsi is what you want, but you asked about creating new rows.  If your new row is a copy of one of your existing rows, then you could use
    _RowName.addInstance(1);
    (the underscore at the beginning invokes the instance manager).  Is this what you're looking for?

  • How to read and write Unicode text with MS Access?

    Hi all, I'm new to Java, so please forgive me if my question is too ... ^_^
    I'm writing a small program that read and write data with MS Access. However, when I insert Unicode text into the database, it has wrong encoding like this "h?y l? n?m".
    Please tell me how to fix this.
    Thanks in advance!

    The following forum thread might be enlightening:
    http://forum.java.sun.com/thread.jspa?threadID=573855&messageID=2870785
    I myself do not use MS Access, but a PreparedStatement is in general the best option.
    You can set parameters in the SQL which then get converted and even protected against SQL injection hacking.

  • How to use new aluminum apple remote with an imac

    How does it work?  Menu button doesn't seem to do anything.  I paired it io and got the linking chain icon.  The volume up down works, and sometimes the left right buttons move itunes to the next selection, but that's it.  I was not able to find an online articel

    You can load your RAW images to any iPad either using the Camera Connection kit that comes with two dongles. One for inserting an SD card from your camera to load the images. Or the USB dongle which you can connect the USB cord for your camera to the iPad to load the images. There are a few CF card readers that will work with the iPad if your camera uses those a Google search will feret them out for you. Additionally, you can also load images to iPad, iPhone or iPod touch (as well as laptops and desktop cumputers) using WiFi as you capture them using an EyeFi SD card.
    http://www.eye.fi/
    A good app for working with EyeFi on the iPad is Shuttersnitch (though, it does not coordinate with Lightroom)
    http://www.shuttersnitch.com/
    Unfortunately their isn't any RAW processing image editing software for the iPad that Lightroom can make use of the edits. Though there is an app called Photosmith that will allow you to rate, label, add keywords etc. then you can upload that info to Lightroom on your laptop or desktop cimputer and have that info synced to the images. You do have to transfer the image files themselves from the iPad to your workstation seperately.
    http://www.photosmithapp.com/

  • How to Add New Parameter in Cluster with LabVIEW Executable Program?

        In this VI,it can write the parameter in Cluster to the database (Access 2003).it run well.
        But When I add another parameter in Cluster,such as EE,I have to modify this Cluster. And at the same time,I have to modiy the database (I should add a column of EE).if this vi build to exe, how can I achieve it?Can LabVIEW have any way to increase new parameter EE in Cluster and in Database in executable program?
        Would you give me some advice?Thank you
    Attachments:
    Add ParaMeter In Cluster 20130206.zip ‏105 KB
    Cluster.JPG ‏9 KB

    It's rather unclear what you try to do here. In your first post you talk IMHO about the high level Datatbase Toolkit functions that take a cluster and translate it automagically into the appropriate SQL Query/Update.
    Your second question seems to be about the user interface of your application.
    Proper application design would mean to separate the user interface aspect from the actual database query in some ways. I definitely wouldn't use the same cluster for both. Also if you simply hide a control on the frontpanel (possible also in an executable) it still is present logically and if you end up using the high level database toolkit functions with that cluster it will result into a query or update of the database with all the data in the cluster, also the hidden ones.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to integrate new Facebook social plugins with a Flash website?

    Facebook has just released a suite of social plugins which are supposed to be very simple to implement (one line of HTML is the promise, in the form of an iframe).
    However this approach is not compatible with a full flash website. The iframe will not display. Any ideas how best to implement one of these plugins?

    If the plugin is not designed for use with Flash and needs to be in an html page, then that's what needs to happen.  Normally there is no such thing as a full Flash site.  Most Flash sites are staged in an html web page, so it is possibly you can add the plugin on the same page, just not within the Flash portion.

Maybe you are looking for

  • Recommend a device to make Front Row work on a non intel- G-5?

    Can anyone recommend a device to make Front Row work on a non intel- G-5? I want to hook up my old power pc (non-intel) G-5 to my new Sony with an HDMI cable and use front row to access home movies stored on the computer. thanks

  • XDB 10.2g Storage

    Hello, I am trying to insert 2 different kinds of instances(with the same root) into 1 xmltype table. the xml schema's are all registered and the object types were created for them. I want to know if oracle xdb is using the object types to manage the

  • Calendar unable add event

    I used to add event to I Port Touch OK. But after installing IOS5, I cannot add. I can put the event in. But when I press DONE button, no effect. I cannot go to other Calendar sceen either. Is it due to IOS5 or other isse?

  • Restrict Query display to TopN with Group BY

    Hello Experts, I have a query on a multiprovider that display the following results Plant     Product          Date          Qty ABC     Mat001          07/03/2007     35 ABC     Mat001          07/05/2007     20 ABC     Mat001          07/09/2007   

  • How do I activate/use the subwoofer on a 5.1 Dolby Digital-system in ga

    Hello guys, in most games I don't have sound on the subwoofer of my Onkyo TX-DS 575. The Onkyo receiver is set to multi-channel input (which basically connects the signal through the receiver without altering it) and the separate channels (5 surround