Members: 16,996
Threads: 38,831
Posts: 159,349
Online: 78

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 27.04.2004, 15:31   #1 (permalink)
Baby Mamber
 
Damienov's Avatar
 
Join Date: Apr 2004
Posts: 11
Damienov is on a distinguished road
Default Flash in Content

ok I know you can insert flash content using a wrapper/iframe bur would it be better to just add flash content directly to the content as in inserting images

I'm not a programer so I realy dont know why Flash content cannot be inserted to a content item, can anyone explain why?

cheers
Damienov is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Old 27.04.2004, 15:40   #2 (permalink)
Expert Mamber
 
BennieBlanco's Avatar
 
Join Date: Apr 2004
Posts: 464
BennieBlanco is on a distinguished road
Default Re: Flash in Content

Quote:
Originally Posted by Damienov
ok I know you can insert flash content using a wrapper/iframe bur would it be better to just add flash content directly to the content as in inserting images

I'm not a programer so I realy dont know why Flash content cannot be inserted to a content item, can anyone explain why?

cheers
go to
mambo root(folder where your mambo folders are)
administrator>content.php
you will find it under teh folder it is a file not folder!
open it in your favorite editor
and exc notpad
hit CTRL+F
paste this line in -
Code:
} else if (eregi( "bmp|gif|jpg|png", $file2 )
hit enter
when you find that line replace it with this

Code:
} else if (eregi( "bmp|gif|jpg|png|swf", $file )
now you can directly upload swf files

it would be easier for you to try to wor with Dreamwiwer you can add anything you want
yust open the page ypu want to work on in DW and add everything you need
copy the code add it to the file ,transver pics,change path and valllaaaaaaaa
__________________
www.bluehost.com
BennieBlanco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 27.04.2004, 16:01   #3 (permalink)
Senior Mamber
 
mambosolutions's Avatar
 
Join Date: Apr 2004
Posts: 209
mambosolutions is on a distinguished road
Send a message via MSN to mambosolutions
Default Re: Flash in Content

does this work? have you an example?

just because I think it wont work rreally as is...you need to have <object> and <embed> tages to display the .swf...i huess you could hack that in somewhere too but you also need to set size params etc..

anyways, i just use typed content and copy paste the flash code in the editor...and make sure to set the path to where I uploaded my .swf
mambosolutions is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 27.04.2004, 16:04   #4 (permalink)
Expert Mamber
 
BennieBlanco's Avatar
 
Join Date: Apr 2004
Posts: 464
BennieBlanco is on a distinguished road
Default Re: Flash in Content

Quote:
Originally Posted by mambosolutions
does this work? have you an example?

just because I think it wont work rreally as is...you need to have <object> and <embed> tages to display the .swf...i huess you could hack that in somewhere too but you also need to set size params etc..

anyways, i just use typed content and copy paste the flash code in the editor...and make sure to set the path to where I uploaded my .swf
actualy I did this so I could upload swf files to the mambo
I didin't try it out!hmm I think you right
Like I said anything I do I do in DW so I don't have to think about it to much!
__________________
www.bluehost.com
BennieBlanco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 28.04.2004, 01:41   #5 (permalink)
Baby Mamber
 
Damienov's Avatar
 
Join Date: Apr 2004
Posts: 11
Damienov is on a distinguished road
Default Re: Flash in Content

I dont think it works just by adding few lines of code, or is it?? at least, if that is the case, wouldnt the core dev team already include it in the core long time ago?
As Mambosolition said you need <embed> and <object> tags for it
I've also tried it using a full html code from a static html to the editor and it still not working. The only time i've been successful adding flash to content is by using and Iframe.
and as a note the request for adding Flash into content is already asked from many people from the time of mambo 3.0.x
Is it a matter of commercial product vs GNU/GPL?
Damienov is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 28.04.2004, 02:30   #6 (permalink)
Professional Mamber
 
alphanostrum's Avatar
 
Join Date: Apr 2004
Location: Germany Berlin
Posts: 598
alphanostrum will become famous soon enough
Default Re: Flash in Content

however this works with the normal html code into the editor see here
with such code includet:
Code:
<object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=6,0,0,0" width="280" height="130">
 <param name="movie" VALUE="yourfile.swf">
 <param name="quality" value="high">
 <param name="scale" value="exactfit">
 <param name="menu" value="true">
 <param name="bgcolor" value="#ffffff">
 <embed src="yourfile.swf" quality="high" scale="exactfit" menu="false"
        bgcolor="#ffffff" width="280" height="130" swLiveConnect="false"
        type="application/x-shockwave-flash" pluginspage
        ="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
</object>
greeting
alpha
__________________
mach mit beim day of Om!
alphanostrum is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Old 28.04.2004, 05:51   #7 (permalink)
Expert Mamber
 
BennieBlanco's Avatar
 
Join Date: Apr 2004
Posts: 464
BennieBlanco is on a distinguished road
Default Re: Flash in Content

Quote:
Originally Posted by alphanostrum
however this works with the normal html code into the editor see here
with such code includet:
Code:
<object classid="CLSID:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=6,0,0,0" width="280" height="130">
 <param name="movie" VALUE="yourfile.swf">
 <param name="quality" value="high">
 <param name="scale" value="exactfit">
 <param name="menu" value="true">
 <param name="bgcolor" value="#ffffff">
 <embed src="yourfile.swf" quality="high" scale="exactfit" menu="false"
        bgcolor="#ffffff" width="280" height="130" swLiveConnect="false"
        type="application/x-shockwave-flash" pluginspage
        ="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></embed>
</object>
greeting
alpha
this is the actual movie code right?
hmmm smart
exactly that works
__________________
www.bluehost.com
BennieBlanco is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Useful Links -> Embeding php scripts into mambo content afru Mambo 4.5 'How Do I' Questions 36 20.07.2006 21:44
Content > Posting + Categories danews Module 'How Do I' Questions 9 26.08.2004 08:46
How to link content items to main menu afru Mambo 4.5 'How Do I' Questions 3 11.04.2004 15:16


All times are GMT +2. The time now is 05:03.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.