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

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 28.03.2005, 21:49   #1 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 4
visdelou is on a distinguished road
Default Flash Banner according to the visited page

Hy Folks!,

I´m loking for a way to solve a litle problem.
I´m trying to pass a variable to a flash banner or header according to page I´m visiting.

Example: When I enter the page "contact" I would like to pass a variable like "contact" to the flash banner, for that purpouse I would like to use the flashvars method.

Does any body have an idea if there ist a way to pass the "page title" to the flashvars? this is one of the ways wich could solve my problem....

A good example working on static pages is this page from EML Labs:
http://www.emllabs.com/_articles/fla...ite/index.html


Thanks.

Last edited by visdelou; 28.03.2005 at 21:58. Reason: extending my request
visdelou is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 29.03.2005, 14:51   #2 (permalink)
Senior Mamber
 
vrajesh's Avatar
 
Join Date: Apr 2004
Posts: 181
vrajesh is on a distinguished road
Send a message via Yahoo to vrajesh
Default Re: Flash Banner according to the visited page

I have created one flash mod for this . Check my site,

Regards,

Vrajesh
__________________
Think Big
www.PixelThemes.com
Professional Mambo Templates
vrajesh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 29.03.2005, 16:33   #3 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 4
visdelou is on a distinguished road
Default Re: Flash Banner according to the visited page

Quote:
Originally Posted by vrajesh
I have created one flash mod for this . Check my site,

Regards,

Vrajesh
Thanks very much for the farst anwer!
I´m now testing the mod on my test-site and works very fine
I will have to make some modifications and the result will be presented on a few days
Thanks again.
visdelou is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 30.03.2005, 03:07   #4 (permalink)
Expert Mamber
 
quiquedcode's Avatar
 
Join Date: Jun 2004
Location: San Juan, Argentina
Posts: 306
quiquedcode will become famous soon enough
Send a message via ICQ to quiquedcode Send a message via MSN to quiquedcode Send a message via Yahoo to quiquedcode
Default Re: Flash Banner according to the visited page

hi
post your mods here visdelou
nice work vrajesh !!
__________________
Enrique Becerra
MSN: qbecerra @ hotmail.com
ICQ: 18048153
www.beza.com.ar

"If you pay peanuts, you will get monkeys!" - ChicoMendez
quiquedcode is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 31.03.2005, 18:15   #5 (permalink)
Baby Mamber
 
Join Date: Jun 2004
Posts: 4
visdelou is on a distinguished road
Default Re: Flash Banner according to the visited page

...since I don´t know how to create a "Module- Package" and the most work has been done by Mr. Vrajesh I will only describe the modifications I have done.

1:: The Idea: To have a Header Image in flash (fade in effect from alpha 0 -> 100) acording to the selected link, if I click Home then I want to have the home header blend in, thats all.

2:: Install the mod_flashmenu from the pixelthemes.com site and configure it to use "user5"

3:: Create a new place holder in your template, I use "user5" (dimensions 800x150px)
Code:
<div id="header_area">
			<div id="header">
			<?php mosLoadModules ( 'user5' ); ?>
			</div>
			
		</div>
this mod does the most work, it blends the name of the actual section in the site you are surfing on.
To do this it passes a variable $themenuname to a flash file.

I use this variable to load a Picture in jpg format into the flash file, to make this possible I use the "flashvars method", the source and compiled file can be found at EMLLabs

4:: The modifications:

changes in the mod_flash_menuname.php file:

Change the content of the $current variable to this:

Code:
<object 
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" 
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" 
			width="800" 
			height="150" 
			id="headerImage">
			<param name="allowScriptAccess" value="sameDomain" />
			<param name="movie" value="headerImage.swf" />
			<param name="quality" value="high" />
			<param name="bgcolor" value="#222222" />
			<param name="flashvars" value="imageName=$themenuname.jpg" />
			<embed 
				src="headerImage.swf" 
				flashvars="imageName=$themenuname.jpg" 
				quality="high" 
				bgcolor="#222222" 
				width="800" 
				height="150" 
				name="headerImage" 
				allowScriptAccess="sameDomain" 
				type="application/x-shockwave-flash" 
				pluginspage="http://www.macromedia.com/go/getflashplayer" />
		</object>
upload the headerImage.swf from EMLLabs to the root of your site and also upload some jpg´s with the name of the sections: Home.jpg, Blog.jpg, Contact.jpg...etc

If every thing went fine you will see your header blending in like here: visdelou.tollfreepage.com
visdelou is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
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
Solarflar kein banner aber flash animation jOkKeR Templates 3 22.04.2006 02:58
Flash top banner only load on idex page help! ryan0 Mambo 4.5.1 'How Do I' Questions 2 22.11.2004 06:27
flash banner maddunr Mambo 4.5.1 'How Do I' Questions 1 27.10.2004 22:58
Componente Banner e banner in flash... Pippolo Problematiche generali 0 01.10.2004 18:51
How to put a banner on the front page only Mr. Horse Mambo 4.5.1 'How Do I' Questions 3 25.09.2004 14:34


All times are GMT +2. The time now is 10: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.