Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

include and flash menu

Featured Replies

Hi all.

I have a problem with my flash menu.

 

In index.php i have:

 

<body>
<div id="container">
<div id="lewy"></div>
 <div id="prawy">
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="738" height="120">
  <param name="movie" value="menu/menu.swf">
  <param name="quality" value="high">
  <param name="wmode" value="opaque">
  <param name="swfversion" value="9.0.45.0">
  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
  <param name="expressinstall" value="Scripts/expressInstall.swf">
  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
  <!--[if !IE]>-->
  <object type="application/x-shockwave-flash" data="menu/menu.swf" width="738" height="120">
	<!--<![endif]-->
	<param name="quality" value="high">
	<param name="wmode" value="opaque">
	<param name="swfversion" value="9.0.45.0">
	<param name="expressinstall" value="Scripts/expressInstall.swf">
	<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
	<div>
	  <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
	  <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
	</div>
	<!--[if !IE]>-->
  </object>
  <!--<![endif]-->
</object>
 </div>
 <!--koniec div prawy-->
<div id="dol"> </div>
</div><!--koniec div container-->

<?php
if ( $_GET['id'] == "" ){
	include("home.php");
}

if ( $_GET['id'] == "uslugi" ){
	include("uslugi.php");
}
	if ( $_GET['id'] == "produkty" ){
	include("produkty.php");
}
	if ( $_GET['id'] == "firma" ){
	include("firma.php");
}
	if ( $_GET['id'] == "kontakt" ){
	include("kontakt.php");
}
?> 

</body>

 

 

in div "prawy" is flash menu.

The problem is, when i click on "uslugi" the page uslugi is included and this is fine.

But everytime when i click button on menu its refreshing whole menu, so even when the "uslugi" site is included button "says" that home is an active site.

 

How to fix this ??

 

and here is a code for button uslugi :

on (rollOver) {
if (_root.link != p) {
	this.gotoAndPlay("s1");
					}
}
on (releaseOutside, rollOut) {
if (_root.link !=p ) {
	this.gotoAndPlay("s2");
}
}
on (release) {
if (_root.link != p) {
	_root["item"+_root.link].gotoAndPlay("s2");
	_root.link = p;
	getURL("index.php?id=uslugi");
}
}

One things for sure, you shouldn't be putting your actions inside a button. That's considered bad practice as it's a nightmare to locate and debug. Maybe placing those actions on the main timeline and see if that will change anything. But to be honest, even though i would like to help you out.... i only know a little AS2 as i only ever use AS3!

 

Good luck with it though! :D

 

- Neil

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.