>> <div id="myContent"></div>
>> <?php
>> echo $javascript->codeBlock("
>>     var so = new SWFObject('".$html->url('/_swf/test.swf')."',
>> 'myContent', '300', '120', '6');
>>     so.write('myContent');
>> ");
>> ?>

Considering what you're doing, the codeBlock seems unnecessary. A set
of <script></script> tags would do the trick.

--~--~---------~--~----~------------~-------~--~----~
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