Home › Forums › DITA and XMetaL Discussion › XMetaL customizing: How to support new image types? › Reply To: XMetaL customizing: How to support new image types?
Reply to: XMetaL customizing: How to support new image types?March 5, 2012 at 8:11 am
I got one step further: I replaced the OCXReplacement entry for “Shell.Explorer.2” by
ipc.Control.LoadMovie( 0, “file:///” + ActiveDocument.Path + “\” + src + fileExt );
I can use the Flash player for displaying “swf” files. “flv” files are not yet displayed. How to do this, I'll try to figure out myself.
However, I have now lost the SVG functionality since the new ActiveX control replaces the old one.
- How can I define that both “Shell.Explorer.2” and “ShockwaveFlash.ShockwaveFlash.10” are available as in-place-controls in XMetaL? I would like to use “Shell.Explorer.2” for images with extension “svg” and “ShockwaveFlash.ShockwaveFlash.10” for images with extension “swf”.
Still, I have another question:
- Within my debugging environment “XMetal Developer 6.0” the in-place-controls are no longer working. That means:
- When debugging the code of “SVG_OnShouldCreate.js”, in the 'Debug Variables Window' it says 'undefined' for 'ipc.Control' and 'Server exception error' for 'ipc.NextEventParam'.
- After opening in XMetaL, the “swf” images are displayed like missing graphics.
In contrast, without debugging, XMetaL displays the “swf” images correctly. What can be reasons why the in-place-controls do not work in the VisualStudio 2008 debugging session?