BusinessObjects Board

[powerpoint] Only run one time

Hello,

I am working with Xcelsius 2008, adobe flash player 10,3,183,11, powerpoint 2003.

I have created an Xcelsius using XML DATA, I make a connection to an XML file and display them on my xcelsius.
Everything works fine when I am using the xcelsius preview.

When I make an export to powerpoint, I can use my Xcelsius (change the tab, refresh data, …) but when I close the powerpoint file and try to re-open it, I can’t refresh the data … but everything works excepts refreshing data.

I try something different to make a workaround, I export my xcelsius to a .swf, I open powerpoint and create a shock wave flash. Right clic on the component → properties and I give the filename of my swf (field movie).

I save my powerpoint file and make F5, the xcelsius works fine, but when i close and re-open, only the refresh doesn’t work …

I notice that the properties changed after the first display, I attached the properties file before and after the viewing.

I notice that the field “playing” changed for “false”, but I changed it to “true” and this is the same problem.

Do you have a solution for this problem ?

Thank you
after.JPG
before.JPG


tougi (BOB member since 2012-08-29)

Hello,

I know where the problem comes from, powerpoint doesn’t know the current path.

So for example, in the directory “C:\test”, I have the powerpoint (which contains the swf) and the XML file.

There are two cases :

  • First case, the URL for the XML connection is “C:\test\MyXMLData.xml” the powerpoint always can access to data even if we save the file, close it and re-open it.

  • Second case, the URL for the XML connection is “./MyXMLData.xml”, the powerpoint can access to data only the first time when you export it with Xcelsius. After closing it, powerpoint doesn’t find the file.

I think powerpoint doesn’t have the good current path of the file so it can’t access to the file using “./MyXMLData.xml”.

It’s the same thing when you import directly the swf in the powerpoint, It success the first time but when you close it, it don’t.

Anyone having a solution ?

Thank you


tougi (BOB member since 2012-08-29)

I had the same problem. I fixed it by modifying the swf file so that it reads the xml file and other files using absolute URL. I assume that all the files are in the same folder as swf, and swf has “Access local files only” permission. So by using the swf’s absolute path, I can load other assets in the same path.

I found a way to read swf’s own path on this blog post: http://learntodevelop.com/2010/08/23/having-a-swf-load-an-xml-file-with-same-name/ :smiley:


noblesilence (BOB member since 2013-09-11)