Re: CakePHP/SWFObject/Multiple Files

2007-03-12 Thread MrTufty

Hi Sam,

Thanks! You've saved my life, and our designer's hair (what's left of
it).

Worked 100% fine once I put that in.

:)

Steve

On Mar 9, 7:40 pm, "Sam Sherlock" <[EMAIL PROTECTED]> wrote:
> I would expect the base param to solve your issues.
>
> I have'nt had any and have always been setting the base param.
>
> I put my swf's inside a folder in webroot called 'flash'
>
> then I set a javascript variable with $this->webroot  eg
>
> var strBase = 'webroot); ?>';
>
> - S
>
> On 09/03/07, MrTufty <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi guys...
>
> > I'm having a few issues, and I was hoping one of the more experienced/
> > knowledgeable people here could help me out.
>
> > On the website I'm currently developing, we have a Flash-based
> > location map showing all our clients sites. This Flash file is made up
> > of multiple movies, which each get loaded as you click around. This
> > map is loaded with the SWFObject javascript library, which I've
> > previously used to great effect in other sites, Cake-based and
> > otherwise.
>
> > When I use this outside Cake, it works correctly - but bringing it
> > into the Cake site, none of the sub-movies load, at all. I have a
> > feeling this is something to do with mod_rewrite, or something else
> > meaning Flash is looking in the wrong place for all the files.
>
> > My solution is to make the Flash file accept a parameter of where the
> > files are stored, but given it loads something like 80 different
> > movies, doing so will take a fair bit of work, so I'd prefer to avoid
> > giving our designer all the hassle :)
>
> > Has anyone else got experience with using Flash in Cake in this way,
> > or any ideas of other ways I can solve my problem?
>
> > Thanks in advance :)
>
> > Steve


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Re: CakePHP/SWFObject/Multiple Files

2007-03-09 Thread Sam Sherlock
I would expect the base param to solve your issues.

I have'nt had any and have always been setting the base param.

I put my swf's inside a folder in webroot called 'flash'

then I set a javascript variable with $this->webroot  eg

var strBase = 'webroot); ?>';

- S

On 09/03/07, MrTufty <[EMAIL PROTECTED]> wrote:
>
>
> Hi guys...
>
> I'm having a few issues, and I was hoping one of the more experienced/
> knowledgeable people here could help me out.
>
> On the website I'm currently developing, we have a Flash-based
> location map showing all our clients sites. This Flash file is made up
> of multiple movies, which each get loaded as you click around. This
> map is loaded with the SWFObject javascript library, which I've
> previously used to great effect in other sites, Cake-based and
> otherwise.
>
> When I use this outside Cake, it works correctly - but bringing it
> into the Cake site, none of the sub-movies load, at all. I have a
> feeling this is something to do with mod_rewrite, or something else
> meaning Flash is looking in the wrong place for all the files.
>
> My solution is to make the Flash file accept a parameter of where the
> files are stored, but given it loads something like 80 different
> movies, doing so will take a fair bit of work, so I'd prefer to avoid
> giving our designer all the hassle :)
>
> Has anyone else got experience with using Flash in Cake in this way,
> or any ideas of other ways I can solve my problem?
>
> Thanks in advance :)
>
> Steve
>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---