none
Flash Player 10.1 causing the PPTX file saved different. RRS feed

  • Question

  •  

    Hi everyone,

     

    I have written a PPT add-in which will insert online flash objects into PPT presentations such as charts and movies. and after that I have written another program to process those saved pptx files and extract the Flash Object's properties such as the URL to the flash files, the FlashVar arguments and the flash object sizes in width and height ... etc. 

     

    Ever since I upgraded to flash 10.1, the PPTX file saved with flash object is saving differently. Before Flash 10.1 for every flash object I inserted into the Presentation file, there will be a activeX#.xml file created under ActiveX folder and within this XML file it has all the informations I needed. for example

     

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>

     

    <ax:ocx ax:classid="{D27CDB6E-AE6D-11CF-96B8-444553540000}" ax:persistence="persistPropertyBag" xmlns:ax="http://schemas.microsoft.com/office/2006/activeX" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships">

    ......................

    <ax:ocxPr ax:name="FlashVars" ax:value="xxxxxx"/>

    <ax:ocxPr ax:name="Movie" ax:value="http://xxx.yyy.com/x.swf"/>

    ...........................

     

    <ax:ocxPr ax:name="SeamlessTabbing" ax:value="1"/>

    <ax:ocxPr ax:name="Profile" ax:value="0"/>

    <ax:ocxPr ax:name="ProfileAddress" ax:value=""/>

    <ax:ocxPr ax:name="ProfilePort" ax:value="0"/>

    <ax:ocxPr ax:name="AllowNetworking" ax:value="all"/>

    <ax:ocxPr ax:name="AllowFullScreen" ax:value="false"/>

    </ax:ocx>

     

    Now after upgraded to flash 10.1, the activX#.xml file is saved differently. it contain only 2 lines (one tag) as following

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>

    <ax:ocx ax:classid="{D27CDB6E-AE6D-11CF-96B8-444553540000}" ax:persistence="persistStorage" r:id="rId1" xmlns:ax="http://schemas.microsoft.com/office/2006/activeX" xmlns:r="http://schemas.openxmlformats.org/officeDocument/2006/relationships"/>

     

    and then there is another file called activeX#.bin is saved. with an Hex Editor I can see the flash movie property (url to the flash file) is in there.

     

    my questions is why with flash 10.1 there is this behavior change? can I make it back to flash 10.0 or earlier behavior? if not how can I extract the flash properties from the activeX#.bin file which is in binary format?

     

     

    Thanks

    Leon

     

    Monday, August 9, 2010 10:37 PM

All replies