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">
<img src="
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 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
>>>
>>> --
>>>
>>>
>>>
>>>
>>
>> --
>
>
>
>
--