that probably doesn't have anything at all to do with cake

check your HTML source and see if / is indeed your web root; look at
how the URLs for your CSS and JS file are getting written, and if they
are actually being loaded

also install FireBug for Firefox and see if you're getting any
Javascript errors

On May 14, 4:41 pm, alxlevin <[EMAIL PROTECTED]> wrote:
> Hi.  I'm trying to use CakePHP with Flash and can't seem to actually
> get the movie to appear.  I'm trying to use the swfobject and have
> some pretty simple code which isn't working.  I'm sure I'm missing
> something simple.  I have the swf file located in webroot/_swf/.  Any
> help would be greatly appreciated.
>
> <?php
> echo $javascript->link('swfobject.js', false);
> ?>
>
> <div id="myContent"></div>
> <?php
> echo $javascript->codeBlock("
>     var so = new SWFObject('".$html->url('/_swf/test.swf')."',
> 'myContent', '300', '120', '6');
>     so.write('myContent');
> ");
> ?>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to