MRchildNEO / svgweb

Automatically exported from code.google.com/p/svgweb
Other
0 stars 0 forks source link

script src="svg.js" does not work without data-path="./" #605

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I was unable to get the r1332M Lurker Above release to work with an application 
that works fine with the Owlephant release. In fact nothing works, including 
exact copies of svgweb demos copied from the codinginparadise website. The 
demos work when I run them from the codinginparadise site, but the copies do 
not work when I run the copy from my own website.

I believe I understand now what is happening. I have my .html and svg.js, 
svg.swf, and other files in the same directory. As documented in the QuickStart 
guide, I have the following line in my .html:
<script src="svg.js"></script>

The problem goes away, and all the demos and my own app works, if I change this 
to:
<script src="svg.js" data-path="./"></script>

The resulting embed element, when I do NOT include the data-path="./" is:
<embed width="250" height="150" class="embedssvg" style="border: 1px solid 
black; display: inline; overflow: hidden;" 
pluginspage="http://www.macromedia.com/go/getflashplayer" 
flashvars="uniqueId=mySVG&amp;sourceType=string&amp;clipMode=both&amp;debug=true
&amp;svgId=mySVG" type="application/x-shockwave-flash" 
allowscriptaccess="always" swliveconnect="true" name="mySVG_flash" 
id="mySVG_flash" wmode="transparent" quality="high" src="/svg.swf">

When I DO include data-path="./", the embed element has:
src="./svg.swf"

I assume this is related to svgweb closed issue:
Issue 565:  Default to src path when no data-path

What version of the product are you using? On what operating system,
browser, and version of Flash?
Lurker Above r1332M
XP with IE8, Flash 10.2.152.26
Ubuntu with Firefox 3.6.13, Flash 10.2.152.27, with Flash enabled

Original issue reported on code.google.com by k...@primordion.com on 19 Feb 2011 at 11:58

GoogleCodeExporter commented 8 years ago
Thanks for the report.
It could be that I botched Issue 565.
I will take a look very soon.

Original comment by grick23@gmail.com on 24 Feb 2011 at 4:14

GoogleCodeExporter commented 8 years ago
Fixed in r1335.

Original comment by grick23@gmail.com on 26 Feb 2011 at 3:44