My html looks like so (i stripped away everything non essential):

<html lang="en">
>>   <head>
>>     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>>     <title>restive netmixes</title>
>>     <script type="text/javascript" src="
>> http://api.simile-widgets.org/runway/1.0/runway-api.js";></script>
>>     <script type="text/javascript" src="data restive custom.js"></script>
>>     <script type="text/javascript">
>>         var widget;
>>         function onLoad() {
>>             widget = Runway.createOrShowInstaller(
>>                 document.getElementById("the-widget"),
>>                 {
>>                     // examples of initial settings
>>                     // slideSize: 200,
>>                     // backgroundColorTop: "#fff",
>>
>>                     // event handlers
>>                     onReady: function() {
>>                         widget.setRecords(records);
>>                         widget.select(7);
>>                     },
>>                     onSelect: function(index, id) {
>>                         // This is how you get notified when a different
>> image has been selected in the widget.
>>                         var record = records[index];
>>
>> document.getElementById("selected-slide").innerHTML = record.title;
>>                     }
>>                 }
>>             );
>>         }
>>     </script>
>>   </head>
>>   <body onload="onLoad();">
>>     <div id="header">
>>       <h1>Runway</h1>
>>     </div>
>>     <!-- This element is all you really need. -->
>>     <div id="the-widget" style="height: 400px;"></div>
>>   </body>
>> </html>
>>
>

my data.js like so:


var records = [
>>     {   image: "
>> http://restive.za.net/Runway/covers/rnm01.bmp?mode=fillcrop&maxheight=200&maxwidth=200
>> ",
>>         title: "rnm01"
>>     },
>>     {   image: "
>> http://restive.za.net/Runway/covers/rnm02.bmp?mode=fillcrop&maxheight=200&maxwidth=200
>> ",
>>         title: "rnm02"
>>     },
>>     {   image: "
>> http://restive.za.net/Runway/covers/rnm03.bmp?mode=fillcrop&maxheight=200&maxwidth=200
>> ",
>>         title:  "rnm03"
>>     },
>>     {   image: "
>> http://restive.za.net/Runway/covers/rnm04.bmp?mode=fillcrop&maxheight=200&maxwidth=200
>> ",
>>         title: "rnm04"
>>     },
>>     {   image:
>> "covers/rnm05.bmp?mode=fillcrop&maxheight=200&maxwidth=200",
>>         title: "rnm05"
>>     },
>>     {   image: "covers/rnm06?mode=fillcrop&maxheight=200&maxwidth=200",
>>         title: "rnm06"
>>     },
>>     {   image: "covers/rnm07.bmp
>> mode=fillcrop&maxheight=200&maxwidth=200",
>>         title: "rnm07"
>>     }
>> ];
>>
>
>
& the crossdomain.xml is an exact copy of the example:

<?xml version="1.0"?>
>> <!DOCTYPE cross-domain-policy SYSTEM "
>> http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd";>
>> <cross-domain-policy>
>>    <allow-access-from domain="*" />
>> </cross-domain-policy>
>>
>




On Mon, Mar 15, 2010 at 5:28 PM, tristan <[email protected]> wrote:

> yes, i have tried all the permutations possible: with ?, without ? with
> .bmp?, without .bmp?, with .bmp(space), no space . you name it. Full url
> (http://), relative url....
>
> I have also placed an "crossdomain.xml" as per the example in the same
>> directory as the .html file, in the root directory (
>> http://restive.za.net/crossdomain.xml ) and for good measure also in the
>> /covers subdirectory in which the images are.
>>
>
>
>
> On Mon, Mar 15, 2010 at 3:58 PM, Robert Lyons <[email protected]>wrote:
>
>> Have you added the crossdomain.xml file as indicated in the documentation
>> on the runway home page?
>>
>> On Mar 15, 2010 9:37 AM, "John Callahan" <[email protected]> wrote:
>>
>> Have you tried using the "?" in the URL within data.js?   Such as
>>
>>
>> http://restive.za.net/Runway/covers/rnm01.bmp?mode=fillcrop&maxheight=200&maxwidth=200
>> or simply
>> /Runway/covers/rnm01.bmp?mode=fillcrop&maxheight=200&maxwidth=200
>>
>> - John
>>
>>
>>
>>
>> On Mon, Mar 15, 2010 at 4:08 AM, tristan <[email protected]> wrote:
>> >
>> > Please excuse my ign...
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "SIMILE Widgets" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<simile-widgets%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/simile-widgets?hl=en.
>>
>
>
>
> --
> http://restive.za.net/
> +27 83 763 6886
>



-- 
http://restive.za.net/
+27 83 763 6886

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/simile-widgets?hl=en.

Reply via email to