Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 18

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 09.11.2004, 02:56   #1 (permalink)
Baby Mamber
 
Join Date: Oct 2004
Posts: 18
pancho_kce is on a distinguished road
Exclamation Serious problem (MAMBO + SWF)

Hi everyone! I've got a serious problem and I need you to help me, beacuase the time is ticking out. Thank you in advance.

The problem lies in the integration of mambo with flash, as usual:
- in what way I could insert the file Swf into template, e.g into the heading? (into the upper part of the pattern).
- the file that is to be inserted is apart from different kinds of animation - first and foremost - music And here the problem emerges, because after you press any link on the web, the file swf will be loaded from the beginning,the music itself will be loaded from the beginning as well, not mentioning the preloader etc.
Generally, I want the swf file to be loaded only once without the re-load

If it is possible, I kindly ask you about a specific solution, because I have never used the Flash in the Mambo environment.

*****EDIT*****

I found a solution to my problem on the Net...
I don't know whether I understood the author's idea correctly - howewver I did like that:
In the template's edition (in mambo's environment)... At the beginning, I added the first part of the code... the second one was inserted into the place it should "flash' swf.
The file headermovie.swf was inserted into the folder /images. (not to mess too much).
It's true that the file swf is loaded corrrectly, however, when you click any link on the web, the swf starts from the very beginning... I made a mistake somewhere... Please, look at that particular solution - maybe there is a mistake somewhere.
Please, write your views on that solution, how do you understand that? Thank U in advance.

Quote:
I have a perfect solution!
In your template's index.php file, add the following somewhere before you output the flash html.

Code:

<?php
if (mosGetParam( $_COOKIE, 'mosvisitor', 0 )) {
$flashheader='finalframe.swf';
}else{
$flashheader='headermovie.swf';
}
?>



Then, in the portion where the flash is displayed:

Code:
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs
/flash/swflash.cab#version=6,0,29,0" width="750" height="80" align="absmiddle">
<param name="movie" value="images/<?= $flashheader ?>" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder">
<embed src="images/<?= $flashheader ?>" width="750" height="80" align="absmiddle" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" scale="noborder"></embed></object>
I found it here http://www.mambosolutions.com/index....d=28&Itemid=55

Thx...
pancho_kce is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply

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
Mambo 4.5.1a Frontpage problem magic2626 Mambo 4.5 Allgemein 2 02.11.2004 20:25
LogIn Problem bei Mambo in Frame Redirect cflachmann Mambo 4.5 Allgemein 4 25.09.2004 17:09
MOS no more - Mambo for sure ;) idigital Community Announcements 16 25.07.2004 06:14
Mambo 4.5 Stable (1.0.7) - Admin Login problem webdogg Mambo 4.5 Bugs 1 19.06.2004 20:51
Mambo and mysite loom001 Mambo 5.0 General Talk 8 28.05.2004 07:49


All times are GMT +2. The time now is 14:47.

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.