Hi,

just do as you would do if you were not using cake, but better if you
get the url for the file with:

$flashUrl =  $form->url('/files/main_flash4.swf');



Please, next time use the paste bin : http://bin.cakephp.org

On Tue, May 20, 2008 at 9:08 AM, vishal <[EMAIL PROTECTED]> wrote:
>
> Hi,
>       My swf file is located in /app/webroot/files/main_flash4.swf
>
> But I don't know the correct code how to display this flash on fron
> end i.e on layout page.
>
>
> my layout file is :
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html xmlns="http://www.w3.org/1999/xhtml";>
> <head>
> <title><?php echo $title_for_layout?></title>
>
> <?php echo $html->css('style') ?>
>
> </head>
> <body>
>
> <table width='900px'>
>        <tr>
>                        <td colspan='2'>
>                                <table width='100%'>
>                                        <tr>
>                                                <td colspan='3' 
> align='right'><div>Home| Our Company| Sitemap|
> Projects</div></td>
>                                        </tr>
>                                        <tr>
>                                                <td width="33%" 
> align="center"><?php echo $html-
>>image('logo.gif') ?> </td>
>                                                <td width="35%" align="center">
> //**************I want to display flash here in this
> <td>********************
>
> ********************************************************************
>                                                </td>
>                                                <td align="center"><?php echo 
> $html->image('logo.gif') ?></td>
>                                        </tr>
>                                </table>
>
>                        </td>
>        </tr>
>        <tr valign="top">
>                <td width='20%'>
>                                <table width='100%' cellpadding="3" 
> cellspacing="3" border="0"
> align="center">
>                                        <tr><td class="sitemap" ><?php echo 
> $html->link('User', 'http://
> 192.168.0.60/vishal/cake_1.2.0.6311-beta/app/users/index'); ?></td></
> tr>
>                                        <tr><td class="sitemap" ><?php echo 
> $html->link('Messages',
> 'http://192.168.0.60/vishal/cake_1.2.0.6311-beta/app/messages/
> index'); ?></td></tr>
>                                        <tr><td class="sitemap" ><?php echo 
> $html->link('Account',
> 'http://192.168.0.60/vishal/cake_1.2.0.6311-beta/app/messages/
> index'); ?></td></tr>
>                                </table>
>                </td>
>                <td width='80%'>
>                                <?php  echo $content_for_layout ?>
>
>                </td>
>        </tr>
>        <tr>
>                        <td colspan='2'>
>                                <div id="footer" >contactus| About us| privacy 
> policy</div>
>                        </td>
>        </tr>
> </table>
> </body>
> </html>
>
>
>
> so please tell me few lines of code for showing swf file.
>
> Thanks in advance
> vishal
>
> >
>

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