ya its linked as

piecemaker.xmlSource = "piecemakerXML.xml";
piecemaker.cssSource = "piecemakerCSS.css";
piecemaker.imageSource = "images";

in the flash file

but it's being called in default that is strange.... not sure what else is
linked in that file when I run it all that appears is a blank screen and a
bunch of errors in the output window :-P

Any ideas?






On Mon, Sep 3, 2012 at 1:21 PM, Andrew Evans <[email protected]> wrote:

> its linked in the flash file I believe from what I saw it is looking in
> the same directory as the Flash Document
>
> I will look again at that
>
> thanks for the help so far
>
> *cheers
>
>
>
>
>
>
>
> On Mon, Sep 3, 2012 at 12:50 PM, Anthony <[email protected]> wrote:
>
>> Well, for one thing, it's looking for
>> https://85.25.242.165/turtlebaychemists/default/piecemakerXML.xml and
>> not finding it. How is the URL to that file configured?
>>
>> Anthony
>>
>> On Monday, September 3, 2012 3:11:45 PM UTC-4, Andrew Evans wrote:
>>
>>> Thank you for your help Anthony
>>>
>>> the code in the head section
>>>
>>> <link rel="stylesheet" href="{{=URL('static','**piecemakerCSS.css')}}"
>>> type="text/css" />
>>>
>>> <script type="text/javascript" src="{{=URL('static',
>>> 'js/swfobject.js')}}"></**script>
>>> <script type="text/javascript">
>>> swfobject.embedSWF("{{=URL('**static', 'piecemaker.swf')}}",
>>> "piecemaker", "950", "350", "10.0.0.0", "{{=URL('static',
>>> 'js/expressInstall.swf')}}");
>>> </script>
>>>
>>> and in the body
>>>
>>>  <script type="text/javascript">
>>>                         var flashvars = {};
>>>                         flashvars.myurl = "{{=URL('static',
>>> 'piecemaker.swf')}}";
>>>                         flashvars.width = 950;
>>>                         flashvars.height = 350;
>>>
>>>                         var params = {};
>>>                         params.play = "true";
>>>                         params.loop = "true";
>>>                         params.menu = "false";
>>>                         params.quality = "best";
>>>                         params.scale = "showall";
>>>                         params.wmode = "window";
>>>                         params.swliveconnect = "true";
>>>                         params.allowfullscreen = "true";
>>>                         params.allowscriptaccess = "always";
>>>                         params.allownetworking = "all";
>>>                         var attributes = {};
>>>                         attributes.id = "container";
>>>                         swfobject.embedSWF("{{=URL('**static',
>>> 'piecemaker.swf')}}","**myAlternativeContent",  950, 350, "10.0.0.0",
>>> false, flashvars, params, attributes);
>>> </script>
>>>
>>> <div id="myAlternativeContent">
>>>                         <a href="http://www.adobe.com/go/**
>>> getflashplayer <http://www.adobe.com/go/getflashplayer>">
>>>                         <img src="http://www.adobe.com/**
>>> images/shared/download_**buttons/<http://www.adobe.com/images/shared/download_buttons/>
>>>                         get_flash_player.gif" alt="Get Adobe Flash
>>> player" />
>>>                         </a>
>>> </div>
>>>
>>>
>>> here is a link to the online site https://85.25.242.165/**
>>> turtlebaychemists/default/**index<https://85.25.242.165/turtlebaychemists/default/index>so
>>>  you can see
>>>
>>> I can attach the flash src file if you like *cheers
>>>
>>> and ty once again for the help
>>>
>>>
>>>
>>>
>>>
>>> On Mon, Sep 3, 2012 at 10:46 AM, Anthony <[email protected]> wrote:
>>>
>>>> Can you show your code? How are you referencing those files in
>>>> index.html?
>>>>
>>>>
>>>> On Monday, September 3, 2012 1:30:27 PM UTC-4, Andrew Evans wrote:
>>>>
>>>>> I am really not sure why they have to be like that
>>>>>
>>>>> But I did a test on my local system
>>>>>
>>>>> I put the flash files and xml files etc in a separate directory and I
>>>>> put index.html outside of that directory changed all the references to the
>>>>> swf and css file and it would not work...
>>>>>
>>>>> Any ideas
>>>>>
>>>>>
>>>>> On Mon, Sep 3, 2012 at 9:52 AM, Anthony <[email protected]> wrote:
>>>>>
>>>>>> On Monday, September 3, 2012 12:08:20 PM UTC-4, Andrew Evans wrote:
>>>>>>>
>>>>>>> Hello
>>>>>>>
>>>>>>> I have a flash file that requires that the files associated with it
>>>>>>> be in the same directory as views/default/index.html
>>>>>>>
>>>>>>
>>>>>> Why do they have to be in that particular folder? Why not just
>>>>>> whatever folder contains the flash file (e.g., /static)?
>>>>>>
>>>>>> Anthony
>>>>>>
>>>>>> --
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>  --
>>>>
>>>>
>>>>
>>>>
>>>
>>>  --
>>
>>
>>
>>
>
>

-- 



Reply via email to