| Author |
Message |
Anonymous
|
# Posted: 4 Mar 2009 20:15
Reply
Hello.
First of all, thank you for this script. I absolutely love it. I am trying to integrate this into a wordpress site and am having some trouble. I get the fllowing error message when the page loads: Error loading xml file : Error #2032
This is the code I am using on my page:
[code]<script type="text/javascript" src="http://www.simplifieditsolutions.com/wp-content/themes/iRealEstate/flash/swfobje ct.js"></script>
<script type="text/javascript"> swfobject.registerObject("flashContent", "9.0.0", "http://www.simplifieditsolutions.com/wp-content/themes/iRealEstate/flash/expressInst all.swf"); function selected(param){ window.open(param); } </script>
<object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="590" height="450">
<param name="movie" value="http://www.simplifieditsolutions.com/wp-content/themes/iRealEstate/flash/cover flow.swf?coverConfig=coverConfig.xml&coverFeed=coverFeed.xml¤t=3" /> <!--[if !IE]>--> <object type="application/x-shockwave-flash" data="http://www.simplifieditsolutions.com/wp-content/themes/iRealEstate/flash/coverf low.swf?coverConfig=coverConfig.xml&coverFeed=coverFeed.xml¤t=3" width="590" height="450"> <!--<![endif]--> <p>Detecting Flash Player...</p> <!--[if !IE]>--> </object> <!--<![endif]--> </object> [/code]
Any help is greatly appreciated.
Thanks!
|
jquintana
Member
|
# Posted: 4 Mar 2009 20:16
Reply
I guess I didn't sign in. I thought it signed in after I signed up.
Sorry.
|
jquintana
Member
|
# Posted: 4 Mar 2009 22:52
Reply
My mistake. I was putting in too much information. I now have coverflow setup but it is not displaying the images.
I will look over the code again tonight and verify that my settings are all correct.
|
matus
Admin
|
# Posted: 5 Mar 2009 11:41 - Edited by: matus
Reply
Did you get it working? I have used the embedded media button, and this flashVars in my wp blog:
coverConfig=/wp-content/uploads/2008/08/coverConfig.xml&coverFeed=/wp-content/uploads /2008/08/coverFeed.xml
|
matus
Admin
|
# Posted: 5 Mar 2009 11:45
Reply
It can be also an issue of cross domain security policy:
http://www.judahfrangipane.com/blog/?p=87
|
matus
Admin
|
# Posted: 5 Mar 2009 11:49
Reply
My image url prefix in the coverConfig on my blog is:
<imageURLprefix><![CDATA[http://www.yofla.com/flash/cover-flow/sample1/images/]]></i mageURLprefix>
and I have this entry in my crossdomain.xml:
<allow-access-from domain="*.yofla.com" />
so when the scripts is on blog.yofla.com, it can access the images on www.yofla.com.
|
jquintana
Member
|
# Posted: 5 Mar 2009 15:38
Reply
Thanks for the reply.
I was able to get it to work last night. Well, 99% of it works. Nothing happens when I click the image whereas on the demo it opens a new page.
I'll keep playing with it today and hopefully am able to resolve the issue.
Thanks!
|
jquintana
Member
|
# Posted: 5 Mar 2009 18:17
Reply
Actually, after looking at your example on your blog I noticed the images dont open up links either. If I view your post in Chrome I get a popup telling me I selected <<filename.jpg>> and if I view it in IE8 I get an error saying:
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30618; InfoPath.2; .NET CLR 1.1.4322; OfficeLiveConnector.1.3; OfficeLivePatch.0.0) Timestamp: Thu, 5 Mar 2009 17:16:46 UTC
Message: 'null' is null or not an object Line: 1 Char: 106 Code: 0 URI: http://blog.yofla.com/2008/08/cover-flow-script/
Is it maybe because wordpress isn't understanding the javascript?
|
matus
Admin
|
# Posted: 5 Mar 2009 22:29
Reply
Hi,
actually the best way to open a URL is to modify the actionscript to open an URL directly and not to call a JS function. Using JS to open a url is a "workaround" - but still it should work if it is set up correctly.
Kind Regards, Matus Laco
|
jquintana
Member
|
# Posted: 19 Mar 2009 21:28
Reply
Thanks for the reply Matus -- I feel as if I get closer and closer with every reply!
Do you mean I need to modify the actual .swf file?
If not, can you please elaborate as to what you mean by modify the actionscript?
Thanks!
|
matus
Admin
|
# Posted: 20 Mar 2009 12:32
Reply
Please see this topic: http://www.yofla.com/forum/index.php?action=vthread&forum=10&topic=77
|