Page 1 of 1

Adding Flash to my site

Posted: Mon Feb 25, 2008 6:58 am
by vertigop
Hi Everybody,

I'm new to CMS MA and I love it!
However I'm experiencing a major problems in inserting flash movies into my pages.

Can you guys help?

With now what I'm doing is placing the script in my template:


and then I place this code in my page:
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shoc ... ipleTarget' ); //end AC code                                  

These code is generated from dreamweaver so I don't know if that is the problem.

Please help, I've tried many different way but it doesn't seam to work.

Thank you
Max

Re: Adding Flash to my site

Posted: Mon Feb 25, 2008 11:55 am
by EricG
enclose the script between {literal}{\literal} tags maybe?

Re: Adding Flash to my site

Posted: Mon Feb 25, 2008 3:41 pm
by vertigop
I try it and this is what I got:

string(118) "Smarty error: [in template:20 line 13]: syntax error: unrecognized tag 'literal' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:20 line 15]: syntax error: unrecognized tag: \literal (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:20 line 15]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

Re: Adding Flash to my site

Posted: Mon Feb 25, 2008 4:24 pm
by EricG
vertigop wrote: I try it and this is what I got:

string(118) "Smarty error: [in template:20 line 13]: syntax error: unrecognized tag 'literal' (Smarty_Compiler.class.php, line 590)" string(118) "Smarty error: [in template:20 line 15]: syntax error: unrecognized tag: \literal (Smarty_Compiler.class.php, line 446)" string(111) "Smarty error: [in template:20 line 15]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 590)"

Wooops closing tag should be {/literal}

Re: Adding Flash to my site

Posted: Mon Feb 25, 2008 5:40 pm
by vertigop
Well this time I didn't get an error, but it's not working.

I read on some post that I need to have an Advance version of Tiny MCE in order to add flash to my site, is that true?


Here is the code I have on my template, is very straightforward:




{sitename} - {title}

{metadata}

{stylesheet}

{literal}

{/literal}



{* start accessibility skip links *}
   
      {anchor anchor='menu_vert' title='Skip to navigation' accesskey='n' text='Skip to navigation'}
      {anchor anchor='main' title='Skip to content' accesskey='s' text='Skip to content'}
   
    {* end accessibility skip links *}

   
    {* Horizontal ruler that is hidden for visual browsers by CSS *}
[Imagine. Create. Relate.]


 
  Navigation
        {menu template='cssmenu.tpl'}
     

{* Start Breadcrumbs *}
 
        {breadcrumbs starttext='You are here' root='Home' delimiter='»'}
 
 
  {* End Breadcrumbs *}

  {content}

  {news number='2' category='General'}


{global_content name='footer'}