Drop-up Menu Over Active Content
hy to all
I have to put "drop-UP" flash menu on the bottom at the page. This was quite simple, but then I realized that the content under floating DIV containing flash covers my left menu and content. The area where this DIV is covering the content is inactive (links can't be clicked).
Is there a way that flash pops out of the DIV's frame. Here they made their drop downs above the content. As far I understand the code, the trick is in the Javascipt or Flash. I guess that those annoying full screen ads work same way.
I hope you understand and that you could help me out here.
cheers
SitePoint > Design Your Site > Flash and Actionscript
Posted on: Jun 27, 2007, 17:55
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Drop Down Menu Always Active?
Not sure if this is an issue that can be remedied: I have a page that has a dropdown menu. I highlight it and select an entry then minimize the page or open a new application. When I return to the page with the drop down menu, and move the cursor to an input text field, the menu stays active and autoselects the entries when I try to populate the text field (eg. when I press A on the keyboard to fill the text field, the drop down automatically moves to Australia, etc).
Is this a bug in flash? Any help would be appreciated.
[CS3] Hide Context Menu With AC Run Active Content
Hello.
Does anyone know how to hide the context (right click) menu when using AC_RunActiveContent.js to embed an swf in HTML?
What params do I write in the source code to hide the menu the same way you would within the embed tags, as in
param name="menu" value="false" ?
Thanks.
Drop Down Menu With An Active Scrollable Search List
I need to create a drop down menu box, which is scrollable, as there will be a lot of different items on this menu (possibly over 100!). I found a quite a useful tutorial on : http://www.actionscripts.org/tutorials.shtml, which is in the Advanced Level at No1. entitled : Active Search List, the creater is Flash Junkie. ]
The menu that is shown in the aforementioned site, is exactly what i'd like to create, except it does not need to be as complicated as that, for example the whole menu is draggable and I do not require for this action to be performed.
However I'm finding the aforementioned tutorial a little bit too complicated to follow, can anyone help me with designing such a menu.
Many thanks in advanced.
Kind regards,
T2303.
XML-Driven Drop-Down Menu - Content
Hello,
This is a great site!
I love the xml menu. I have two questions.
1. I tried to put some html in the variables attribute, but the xml file would not load properly. Is there anyway to add some line breaks, etc here?
2. How can I extend it to read the nodeValue into the message box - i.e. do something like this <item>Read this text</item>
I tried to create a new variable reading this, but it did not seem to work.
Do I need to create a new action?
Thank you.
s.
XML-Driven Drop-Down Menu - Content
Hello,
This is a great site!
I love the xml menu. I have two questions.
1. I tried to put some html in the variables attribute, but the xml file would not load properly. Is there anyway to add some line breaks, etc here?
2. How can I extend it to read the nodeValue into the message box - i.e. do something like this <item>Read this text</item>
I tried to create a new variable reading this, but it did not seem to work.
Do I need to create a new action?
Thank you.
s.
"active" State In XML Driven Drop Down Menu
Hi,
I've used the tutorial for the XML Driven Drop Down Menu to create the main navigation for a site i'm doing, it's all working fine except I want to keep the 'current' area highlighted after it's clicked on. The rollOver events are defined in the AS but when I tried adding a function to change the colour of the item it either had no effect or broke the nav e
Here is the code (from Sen's tutorial modified with new actions):
Code:
// generates a list of menu items (effectively one menu)
// given the inputted parameters. This makes the main menu
// as well as any of the submenus
GenerateMenu = function(container, name, x, y, depth, node_xml) {
// variable declarations
var curr_node;
var curr_item;
var curr_menu = container.createEmptyMovieClip(name, depth);
// for all items or XML nodes (items and menus)
// within this node_xml passed for this menu
for (var i=0; i<node_xml.childNodes.length; i++) {
// movieclip for each menu item
curr_item = curr_menu.attachMovie("menuitem","item"+i+"_mc", i);
curr_item._x = x;
curr_item._y = y + i*curr_item._height;
curr_item.trackAsMenu = true;
// item properties assigned from XML
curr_node = node_xml.childNodes[i];
curr_item.action = curr_node.attributes.action;
curr_item.variables = curr_node.attributes.variables;
curr_item.name.text = curr_node.attributes.name;
// item submenu behavior for rollover event
if (node_xml.childNodes[i].nodeName == "menu"){
// open a submenu
curr_item.node_xml = curr_node;
curr_item.onRollOver = curr_item.onDragOver = function(){
var x = this._x + this._width - 5;
var y = this._y + 5;
GenerateMenu(curr_menu, "submenu_mc", x, y, 1000, this.node_xml);
// show a hover color
var col = new Color(this.background);
col.setRGB(0xf4faff);
};
}else{ // nodeName == "item"
curr_item.arrow._visible = false;
// close existing submenu
curr_item.onRollOver = curr_item.onDragOver = function(){
curr_menu.submenu_mc.removeMovieClip();
// show a hover color
var col = new Color(this.name);
col.setRGB(0xFF0000);
};
}
curr_item.onRollOut = curr_item.onDragOut = function(){
// restore color
var col = new Color(this.name);
col.setTransform({ra:100,rb:0,ga:100,gb:0,ba:100,bb:0});
};
// any item, menu opening or not can have actions
curr_item.onRelease = function(){
Actions[this.action](this.variables);
CloseSubmenus();
};
} // end for loop
};
// create the main menu, this will be constantly visible
CreateMainMenu = function(x, y, depth, menu_xml){
// generate a menu list
GenerateMenu(this, "mainmenu_mc", x, y, depth, menu_xml.firstChild);
// close only submenus if visible durring a mouseup
// this main menu (mainmenu_mc) will remain
mainmenu_mc.onMouseUp = function(){
if (mainmenu_mc.submenu_mc && !mainmenu_mc.hitTest(_root._xmouse, _root._ymouse, true)){
CloseSubmenus();
}
};
};
// closes all submenus by removing the submenu_mc
// in the main menu (if it exists)
CloseSubmenus = function(){
mainmenu_mc.submenu_mc.removeMovieClip();
};
// This actions object handles methods for actions
// defined by the XML called when a menu item is pressed
Actions = Object();
Actions.gotoURL = function(urlVar){
loadMovie(urlVar, content_mc);
};
// load XML, when done, run CreateMainMenu to interpret it
menu_xml = new XML();
menu_xml.ignoreWhite = true;
menu_xml.onLoad = function(ok){
// create main menu after successful loading of XML
if (ok){
CreateMainMenu(30, 80, 0, this);
message_txt.text = "message area";
}else{
message_txt.text = "error: XML not successfully loaded";
}
};
// load first XML menu
menu_xml.load("menu1.xml");
Files for download here Any help with this would be great, if I get this sorted thats the nav all done!
Thanks, sprawl
How To Reference Subbottons In A Drop Down Menu To Play Content On The Main Timeline?
Hi,
I have created a drop down menu placed in a movie clip with an instance name "how_menu".
The are 4 sub buttons which should play the content placed on the main timeline, referenced by frame labels, e.g. 2.01.0, in scene called 'names'.
How do tell the subbuttons in the movie clip to play the content on the main timeline, in scene 'names', from frame labelled 2.01.0?
I am using Flash MX 2004.
Thanks!
gayeta
Active Content
Hello,
Is there a code so that on IE7 there is no rectangle around the flash content?
Active Content Fix
Hi people.
Sorry to be a pain with what may be a silly question.
In Flash Professional (9) how do you get to the preferences to turn on the built in fix for dealing with those nasty borders and the popup message when you use Flash content on websites.........
I have had this problem for some time and I am sorry to be a dummy, but I just cannot work it out and it annoys me no end........
Thanks in advance
Glen Gibbs
Glen
Active Content
When I publish my flash sites and projects in Flash CS4 instead of writing the AC_RunActiveContent.js file like it had done before, flash is putting all of the Javascript code in my html file. So the when I upload my pages to the server I get the old "click to activate control" message in Opera and sometimes in IE.
Is this something new in CS4 to write all of the JS in the html file?
Please do not redirect me to the "Click to Activate" posts on Google Groups.
I am using Windows XP Pro.
Attach Code
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>test</title>
<script language="JavaScript" type="text/javascript">
<!--
//v1.7
// Flash Player Version Detection
// Detect Client Browser type
// Copyright 2005-2008 Adobe Systems Incorporated. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;
function ControlVersion()
{
var version;
var axo;
var e;
// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry
try {
// version will be set for 7.X or greater players
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
version = axo.GetVariable("$version");
} catch (e) {
}
if (!version)
{
try {
// version will be set for 6.X players only
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");
// installed player is some revision of 6.0
// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
// so we have to be careful.
// default to the first public version
version = "WIN 6,0,21,0";
// throws if AllowScripAccess does not exist (introduced in 6.0r47)
axo.AllowScriptAccess = "always";
// safe to call for 6.0r47 or greater
version = axo.GetVariable("$version");
} catch (e) {
}
}
if (!version)
{
try {
// version will be set for 4.X or 5.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = axo.GetVariable("$version");
} catch (e) {
}
}
if (!version)
{
try {
// version will be set for 3.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = "WIN 3,0,18,0";
} catch (e) {
}
}
if (!version)
{
try {
// version will be set for 2.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
version = "WIN 2,0,0,11";
} catch (e) {
version = -1;
}
}
return version;
}
// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
// NS/Opera version >= 3 check for Flash plugin in plugin array
var flashVer = -1;
if (navigator.plugins != null && navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
var descArray = flashDescription.split(" ");
var tempArrayMajor = descArray[2].split(".");
var versionMajor = tempArrayMajor[0];
var versionMinor = tempArrayMajor[1];
var versionRevision = descArray[3];
if (versionRevision == "") {
versionRevision = descArray[4];
}
if (versionRevision[0] == "d") {
versionRevision = versionRevision.substring(1);
} else if (versionRevision[0] == "r") {
versionRevision = versionRevision.substring(1);
if (versionRevision.indexOf("d") > 0) {
versionRevision = versionRevision.substring(0, versionRevision.indexOf("d"));
}
}
var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
}
}
// MSN/WebTV 2.6 supports Flash 4
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
// WebTV 2.5 supports Flash 3
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
else if ( isIE && isWin && !isOpera ) {
flashVer = ControlVersion();
}
return flashVer;
}
// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
{
versionStr = GetSwfVer();
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
// Given "WIN 2,0,0,11"
tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
tempString = tempArray[1];// "2,0,0,11"
versionArray = tempString.split(",");// ['2', '0', '0', '11']
} else {
versionArray = versionStr.split(".");
}
var versionMajor = versionArray[0];
var versionMinor = versionArray[1];
var versionRevision = versionArray[2];
// is the major.revision >= requested major.revision AND the minor version >= requested minor
if (versionMajor > parseFloat(reqMajorVer)) {
return true;
} else if (versionMajor == parseFloat(reqMajorVer)) {
if (versionMinor > parseFloat(reqMinorVer))
return true;
else if (versionMinor == parseFloat(reqMinorVer)) {
if (versionRevision >= parseFloat(reqRevision))
return true;
}
}
return false;
}
}
function AC_AddExtension(src, ext)
{
if (src.indexOf('?') != -1)
return src.replace(/?/, ext+'?');
else
return src + ext;
}
function AC_Generateobj(objAttrs, params, embedAttrs)
{
var str = '';
if (isIE && isWin && !isOpera)
{
str += '<object ';
for (var i in objAttrs)
{
str += i + '="' + objAttrs[i] + '" ';
}
str += '>';
for (var i in params)
{
str += '<param name="' + i + '" value="' + params[i] + '" /> ';
}
str += '</object>';
}
else
{
str += '<embed ';
for (var i in embedAttrs)
{
str += i + '="' + embedAttrs[i] + '" ';
}
str += '> </embed>';
}
document.write(str);
}
function AC_FL_RunContent(){
var ret =
AC_GetArgs
( arguments, ".swf", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}
function AC_SW_RunContent(){
var ret =
AC_GetArgs
( arguments, ".dcr", "src", "clsid:166B1BCA-3F9C-11CF-8075-444553540000"
, null
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}
function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
var ret = new Object();
ret.embedAttrs = new Object();
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args[i].toLowerCase();
switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args[i]] = args[i+1];
break;
case "src":
case "movie":
args[i+1] = AC_AddExtension(args[i+1], ext);
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
break;
case "onafterupdate":
case "onbeforeupdate":
case "onblur":
case "oncellchange":
case "onclick":
case "ondblclick":
case "ondrag":
case "ondragend":
case "ondragenter":
case "ondragleave":
case "ondragover":
case "ondrop":
case "onfinish":
case "onfocus":
case "onhelp":
case "onmousedown":
case "onmouseup":
case "onmouseover":
case "onmousemove":
case "onmouseout":
case "onkeypress":
case "onkeydown":
case "onkeyup":
case "onload":
case "onlosecapture":
case "onpropertychange":
case "onreadystatechange":
case "onrowsdelete":
case "onrowenter":
case "onrowexit":
case "onrowsinserted":
case "onstart":
case "onscroll":
case "onbeforeeditfocus":
case "onactivate":
case "onbeforedeactivate":
case "ondeactivate":
case "type":
case "codebase":
case "id":
ret.objAttrs[args[i]] = args[i+1];
break;
case "width":
case "height":
case "align":
case "vspace":
case "hspace":
case "class":
case "title":
case "accesskey":
case "name":
case "tabindex":
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
}
}
ret.objAttrs["classid"] = classid;
if (mimeType) ret.embedAttrs["type"] = mimeType;
return ret;
}
// -->
</script>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script language="JavaScript" type="text/javascript">
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0',
'width', '550',
'height', '400',
'src', 'test',
'quality', 'high',
'pluginspage', 'http://www.adobe.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'test',
'bgcolor', '#ffffff',
'name', 'test',
'menu', 'true',
'allowFullScreen', 'false',
'allowScriptAccess','sameDomain',
'movie', 'test',
'salign', ''
); //end AC code
</script>
<noscript>
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" width="550" height="400" id="test" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="test.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="test.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="test" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
</noscript>
</body>
</html>
Active Content
I have a flash animation on a webpage and implemented the active content script that adobe creates (using dreamweaver). I have added the html tags for loop and menu both set to false, yet when i refresh the webpage the animation still loops and can get the menu.
Does anyone know a way of correcting this
Thanks
Embedding Active Content
In html I can call a status.ptz file which queries my webcamera software and returns it's state (busy, free, eta to free, who is in control)
I reviewed the embed commands but don't see how to call a file that returns data locally. I can generate a new page or push the info to a new frame but not report the data with my flash element (I tried _self).
I'm trying to rebuild this status element (which my predecessor built but didn't leave the original fla file)
http://64.172.31.250/testing/SR_Preset.html
Any one ever been down this road?
Sorry I just don't know the lingo so searching is kinda the needle in the haystack approach.
IE Active Content Crap
How can you have a page with flash content automatically play in IE without that lame yellow bar come up and block it? Please help.
[F8] Active X Content Updater - Help
Ok, I'm really having trouble with the "Click to activate" in IE and have searched the boards up and down for an easy solution. Everything I have tried has not worked, and so I just downloaded the Flash 8 Extension from Adobe, so "supposedly" all you have to do is click "Apply Active X Content Update" in the commands. This places the "ac_runactivecontent.js" file in the directory folder, and I'm supposed to be good to go. NOT!
Does this just not work, or is there something else I gotta do? Annoying.........
Active Content Issue: Ie
Is there an easier way of fixing the active content bounding box for flash in ie? I'm not finding the adobe tutorial very helpful here: http://www.adobe.com/devnet/activeco...devletter.html
Thanks for any help!
Active Content Extension...
i downloaded the extention for the active content update..(so you dont have to click on the flash to activate it on the page)
when i try to install it it says i need version 8 or greater and it will not be installed....i have Flash MX
any idea why?
Fix For IE Active Content Problem
Macromedia has just released a new Flash extension which easily solves the Active Content problem in Internet Explorer. For those of us who are too baffled by having to customize our own Java script files, this extension enables the user to publish an "Active Content" HTML page AND the required *.js file.
Here is the standalone installer for the ActiveX extension for Flash 8:
Active Content Extension Update
IE Restricting Active Content
I was wondering if someone can help. I'm making a web site with a little bit of Flash in it. I have it looking good, but what's annoying me is that when I view the web page, that bar on top of IE pops up saying it's restricting active content. I can't have that popping up everytime a page is viewed. I know you can turn this off in IE itself, but I don't want people to have to do that. There's got to be a way to not make that happen. Can anybody tell me what might be causing that? I have interactive buttons and animation, but I don't know what's doing that. I do know that when I visit web sites with Flash, this doesn't happen. Can anyone help? Thanks.
Active Content - A Different Approach
I've looked around the forums and the internet and have found some javascript code examples on how to get around the old Active Content problem where you have to click to activate the Flash file. But I don't see anything I recognize.
I'm fairly new to Flash, and the way I posted these swf to a website before was to insert some goofy old code that everyone used before this active content headache.
Part of theat old code simply had an obvious place to put the location and file name of the swf in there. So all I did each time was copy the code and paste in the name of my file and the different http//: location I was hosting it at.
This is important because I have access to store a file on my company site and to mess about on the webpage using HTML through a silly little dashboard-type deal they allow us to use - but I don't have the ability to store all of the wbpage content in the same place. I have to host some of it somehwere else.
But with all the new javascript code examples, I don't see where to insert the file name AND the location of the outside location where I'm hosting it. There's no simple "
Active Content Question
I asked this on the DW forums but nobody answered...
Hi, I've set my SWF to publish with the Adobe Active Content extension and have generated the .js file but I can't figure out how to now center my SWF on the page. Where do I go to add a table or is that not possible?
Active Content Update
I have downloaded and installed the active content update to publish my flash.
However I can't get the swf to be center aligned to the browser. I can get it left and right, but not center.
the part of the code that holds the details on the swf are as follows.... PLease note this is how it default publishs when you ask for it to be center aligned in the publish settings.
AC_FL_RunContent(
'codebase', 'http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
'width', '950',
'height', '650',
'src', 'stage185',
'quality', 'high',
'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'stage185',
'bgcolor', '#00ff00',
'name', 'stage185',
'menu', 'true',
'allowScriptAccess','sameDomain',
'movie', 'stage185',
'salign', 'center'
);
You would have thought that perhaps the
'align', 'middle',
should infact be
'align', 'center',
but this doesn't work. However if you change it to right it right aligns the movie.. how do you centeralise it?
Many thanks to any responders.
Flash Active Content
Hi,
I'm trying to automatically activate flash content on IE without having the user to click on it to activate. Right now the user needs to click once to activate the flash.
I tried the following solution and it doesn't work:
---------
1) Just below the last <object> in your HTML page, insert the following javascript:
<script type="text/javascript" src="ieupdate.js"></script>
2) Open a new document in Notepad or your HTML editor, and copy & paste the following content into it:
theObjects = document.getElementsByTagName("object");
for (var i = 0; i < theObjects.length; i++) {
theObjects[i].outerHTML = theObjects[i].outerHTML;
}
3) Save this file as ieupdate.js
4) Upload both files to your webserver, and the problem should be solved.
-------------
This the page where I have the flash:
http://absolutemediaworks.com/client...ocalmoves.html
Could someone please guide me to make this work.
Thanks
Regards.
Active Content Update, Inline?
due to the new way IE handles flash
http://www.adobe.com/devnet/activeco...devletter.html
(god i am sick of microsoft ruining everything)
it seems we now need to include an external javascript file to properly load swfs in IE.
my current project is designing a template for ebay listings and ebay doesn't let you reference external files for auctions.
is there anyway to accomplish this with just inline javascript?
[F8]Active Content Not Displaying In FireFox
Hi,
I have applied the Active Content fix using this generator fix.
I used this instead of the solution in the Sticky as i dont have access to all of the SWF files on the server that i am trying to ammend the fix to.
The generator works brilliant for IE7 as all the SWF objects no longer require a click to activate them, however the embedded SWF files do not show up at all in FireFox.
Does anybody know of a solution for this problem of Firefox not displaying the SWf files?
Here is an example of what the Generator does to the code:
Code:
<!-- InstanceBeginEditable name="Diagnostic" -->
<h2>Try this </h2>
<div id="diagnostic" >
<p>
<!--[if gte IE 6]><script language="javascript">document.write("<NOSCRIPT class=clickfix><OBJECT style="display:none">"); </script>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="500" height="520">
<param name="movie" value="media/iq_diag_bg_500.swf">
<param name="quality" value="high">
<embed src="media/iq_diag_bg_500.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="500" height="520"></embed>
</object>
<!--[if gte IE 6]></OBJECT></NOSCRIPT><![endif]-->
.
..
...
....
.....
//end of file
<script language="JScript" type="text/jscript" src="http://scripts.ediy.co.nz/scripts/ClickFix.js"></script>
Also, i am unable to edit the greyed out areas of the HTML code in Dreamweaver. Is there a way around this too?
thanks very much!
Active Content Update Download.... Where?
Hi,
I've been trying to sort a problem with my website where if viewed in IE then you have to click on the site to activate it b4 being able to use it.
I know how to fix it, got a video tutorial but at the start of this it tells you to download Active Content Update and install it (fm Adobe website).
I can't find the ruddy thing anywhere. I found some links that looked like it was it but once downloaded it appears they wernt the files I'm looking for. SOMEONE HELP PLEEEEASE!!
The Adobe Active Content Fix For IE Is Not Working
Here's the link to the HTML page where I'm having problems with the Flash SWF showing up in Internet Explorer:
http://www.pearlstreetgrilldenver.com/NewWebsite/
I am attempting to use Adobe's fix for Flash in IE so that the user doesn't have to click the SWF once before the rollovers and interactivity becomes active. So, I've created and uploaded the recommended Javascript file (flashhomepage.js) and added the javascript calling code to the HEAD area - <script src="flash.js" type="text/javascript"></script>. I also added the <noscript> tags around the Flash code in the HTML file. Problem is, I'm on a Mac - so I have to have a friend test it. It seems to be working fine in Firefox and Safari on my Mac -- but when I have my friend test it in her Internet Explorer, she says this occurs:
"nothing came up in the screen...just the wood background around a white screen and the menu at the bottom"
So basically, it's not displaying the Flash SWF file - Pearl_Street_Grill_Denver.swf - it's just showing the box area where the flash file should be playing. Any ideas on why this is occurring?
------------------------------------------
Here is my flashhomepage.js code:
function embedFlash()
{
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="728" height="453" id="Pearl_Street_Grill_Denver" align="middle">
');
document.write('<param name="allowScriptAccess" value="sameDomain" />
');
document.write('<param name="movie" value="button1.swf" />
');
document.write('<param name="quality" value="high" />
');
document.write('<param name="bgcolor" value="#ffffff" />
');
document.write('<embed src="Pearl_Street_Grill_Denver.swf" quality="high" bgcolor="#441c1c" width="728" height="453" name="Pearl_Street_Grill_Denver" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
');
document.write('</object>
');
}
------------------------------------------------
Any help is appreciated!
ActionScript And Active Content Detection
I apologize if this thread is miscategorized, but it seemed like a logical place to start.
I'm building an app where I need detect key strokes. The app works as expected in the Flash testing environment, but when I upload it to my server and test it the SWF requires an initial mouse press before any KeyboardEvent.KEY_DOWN events are fired. The document class listens for Event.ADDED_TO_STAGE and Event.ACTIVATE events before listening for the KeyboardEvent.KEY_DOWN event.
I'm on a Mac and have tested the remote file on both Firefox and Safari. Also, I've made sure to upload the AC_RunActiveContent.js file (although I think this only affects IE browsers.)
Here's a link to the file on my server if you want to see the behavior I've descibed in action:
http://www.mackstudiopro.com/flash/p...tTestDemo.html
And here's the simplified document class code I'm using:
PHP Code:
package{ import flash.display.*; import flash.events.*; import flash.ui.*; public class ActiveContentTest extends Sprite { private var _shape:Shape; public function ActiveContentTest() { // show/hide shape to prove event // is actually happening _shape = new Shape(); _shape.graphics.lineStyle(); _shape.graphics.beginFill(0,1); _shape.graphics.drawCircle(0,0,50); _shape.graphics.endFill(); addEventListener(Event.ACTIVATE, onAddedToStageHandler); addEventListener(Event.ADDED_TO_STAGE, onAddedToStageHandler); } private function onAddedToStageHandler(e:Event):void { stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDownHandler); stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUpHandler); } private function onKeyDownHandler(e:KeyboardEvent):void { addChild(_shape); } private function onKeyUpHandler(e:KeyboardEvent):void { removeChild(_shape); } }}
Thanks in advance.
Not Showing Active Content Because Its Flash
Hi all,
happy new year!!!i have a problem but i am not sure if it is because of flash or my pc.. i am building a page that have flash content, when i open the page,this message pops up To help protect security internet have protect this file from showing active content..., i know, in order to view it i need to allow blocked content, but is there any ways when i open this page on any pc it opens up without this security message?
ActionScript And Active Content Detection
I apologize if this thread is miscategorized, but it seemed like a logical place to start.
I'm building an app where I need detect key strokes. The app works as expected in the Flash testing environment, but when I upload it to my server and test it the SWF requires an initial mouse press before any KeyboardEvent.KEY_DOWN events are fired. The document class listens for Event.ADDED_TO_STAGE and Event.ACTIVATE events before listening for the KeyboardEvent.KEY_DOWN event.
I'm on a Mac and have tested the remote file on both Firefox and Safari. Also, I've made sure to upload the AC_RunActiveContent.js file (although I think this only affects IE browsers.)
Here's a link to the file on my server if you want to see the behavior I've descibed in action:
http://www.mackstudiopro.com/flash/p...tTestDemo.html
And here's the simplified document class code I'm using:
ActionScript Code:
package
{
import flash.display.*;
import flash.events.*;
import flash.ui.*;
public class ActiveContentTest extends Sprite
{
private var _shape:Shape;
public function ActiveContentTest()
{
// show/hide shape to prove event
// is actually happening
_shape = new Shape();
_shape.graphics.lineStyle();
_shape.graphics.beginFill(0,1);
_shape.graphics.drawCircle(0,0,50);
_shape.graphics.endFill();
addEventListener(Event.ACTIVATE, onAddedToStageHandler);
addEventListener(Event.ADDED_TO_STAGE, onAddedToStageHandler);
}
private function onAddedToStageHandler(e:Event):void
{
stage.addEventListener(KeyboardEvent.KEY_DOWN, onKeyDownHandler);
stage.addEventListener(KeyboardEvent.KEY_UP, onKeyUpHandler);
}
private function onKeyDownHandler(e:KeyboardEvent):void
{
addChild(_shape);
}
private function onKeyUpHandler(e:KeyboardEvent):void
{
removeChild(_shape);
}
}
}
Thanks in advance.
Change Active Content Js Path
Were are the prefs to change the path location for the activecontent.js?
When i insert a flash element, adobe automatically place the js here:
<script src="DWConfiguration/ActiveContent/IncludeFiles/AC_RunActiveContent.js" type="text/javascript"></script>
but my js files are located here:
/user/js/
If this belongs in the DW section please move.
i know i can change afer it inserts this script code, but is there a pref just like how i can define my default image folder?
Edited: 02/21/2007 at 10:45:39 AM by steveswt
Active Content Flash Issue
Here's the link:
http://www.pearlstreetgrilldenver.com/NewWebsite/
I am attempting to use Adobe's fix for Flash in IE so that the user doesn't have to click the SWF once before the rollovers and interactivity becomes active. So, I've created and uploaded the recommended Javascript file (flashhomepage.js) and added the javascript calling code to the HEAD area - <script src="flash.js" type="text/javascript"></script>. I also added the <noscript> tags around the Flash code in the HTML file. Problem is, I'm on a Mac - so I have to have a friend test it. It seems to be working fine in Firefox and Safari on my Mac -- but when I have my friend test it in her Internet Explorer, she says this occurs:
"nothing came up in the screen...just the wood background around a white screen and the menu at the bottom"
So basically, it's not displaying the Flash SWF file - Pearl_Street_Grill_Denver.swf - it's just showing the box area where the flash file should be playing. Any ideas on why this is occurring?
Any help is appreciated!
Active Content Flash Issue
Here's the link:
http://www.pearlstreetgrilldenver.com/NewWebsite/
I am attempting to use Adobe's fix for Flash in IE so that the user doesn't have to click the SWF once before the rollovers and interactivity becomes active. So, I've created and uploaded the recommended Javascript file (flashhomepage.js) and added the javascript calling code to the HEAD area - <script src="flash.js" type="text/javascript"></script>. I also added the <noscript> tags around the Flash code in the HTML file. Problem is, I'm on a Mac - so I have to have a friend test it. It seems to be working fine in Firefox and Safari on my Mac -- but when I have my friend test it in her Internet Explorer, she says this occurs:
"nothing came up in the screen...just the wood background around a white screen and the menu at the bottom"
So basically, it's not displaying the Flash SWF file - Pearl_Street_Grill_Denver.swf - it's just showing the box area where the flash file should be playing. Any ideas on why this is occurring?
Any help is appreciated!
Wmode = Transparent And Active Content Fix
I'm trying to set the bg of a an swf to transparent...my problem is it doesnt seem to work when you impliment the Adobe version of the Active content fix (AC_RunActiveContent.js).
Has anyone figured out how to pull it off?
Re: Wmode = Transparent And Active Content Fix
"__icarus__" <webforumsuser@macromedia.com> wrote in
news:f49vcu$mdh$1@forums.macromedia.com:
> I'm trying to set the bg of a an swf to transparent...my problem is it
> doesnt seem to work when you impliment the Adobe version of the Active
> content fix (AC_RunActiveContent.js).
>
> Has anyone figured out how to pull it off?
>
use
'wmode', 'transparent'
Embedding A Swf Active Content Problem
I am trying to embed a .swf movie into my website, but I am having trouble writing the code. I want it to play in Firefox and Internet explorer, but I don't want people to have to click to allow active content. Please help!
Attach Code
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
body {
background-color: #000000;
font: .8em/1.3em verdana,arial,helvetica,sans-serif;
}
#info {
width: 400px;
overflow: auto;
}
#flashcontent {
border: solid 20px #000000;
width: 400px;
height: 300px;
float: left;
margin: 15px 20px;
}
</style>
<div id="flashcontent">
<strong>You need to upgrade your Flash Player</strong>
<script type="text/javascript">
// <![CDATA[
var so = new SWFObject("collins.swf", "sotester", "300", "300", "9", "#FF6600");
so.addVariable("flashVarText", "flashcontent");
// ]]>
</script>
<div id="info">
Active Content Removed? SWF Published
Hi
When I put my flash movie online I am getting a message at the top which reads 'Active content removed' - can anyone tell me how to get round this? I assume it is the organisation I work for -browser security settings...but what script would enable me to avert this?
Many thanks
Jude
Active Content Update Issue
I hope someone can help me! Here is the deal, I want to make a button that will open a blank page with a PDF document. I can get it to work with GETurl, but I cannot figure out how to apply active content update to the new page. It works fine on a Mac, but on a PC when the new window opens I get the warning messages and have to click the top bar and say "allow content etc.". Does anyone know what code I can use to tell the new html page to apply the active content update? Or can anyone tell me a better way to achive the same thing.
Thanks
Using Manual JS Active Content Fix, But Now How Do I Append The *.swf?
Hi all I am using this method to fix the Active Content issue,
http://www.adobe.com/devnet/activeco...pleoccurrences
but now I have come across a situation when I have to append the end of the .swf.
EG: Active content fix script. It does not use the extension .swf
<script type="text/javascript" >
AC_FL_RunContent(
'codebase', 'https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0',
'width', '764',
'height', '141',
'src', 'images/footer_graphic_1_about',
'quality', 'high',
'pluginspage', 'https://www.macromedia.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'footer_graphic_1_about',
'name', 'images/footer_graphic_1_about',
'menu', 'true',
'allowScriptAccess','sameDomain',
'movie', 'images/footer_graphic_1_about',
'salign', ''
); //end AC code
</script>
I need to add .swf?<%response.write qs%>" to the images/footer_graphic_1_about, because I am passing a variable through the .swf.
Eg: images/footer_graphic_1_about.swf?intro=no
Any help would be great.
ExternalInterface / Active Content Problems
I have been working with the ExternalInterface class to communicate with the browser.
I have had no problems with the call() method, but the addCallBack() method fails in FireFox when the Active content fix has been applied.
I tested this using the examples found at http://livedocs.macromedia.com/flash/8/ ... 02201.html
If I export flash and HTML, then add the form and javascript without running dreamweaver's active content fix, it works in IE and FF, but requires the "click to activate..." in IE. If I run the active content fix it works in IE and fails completely in FF.
Has anyone else had this problem? Is there a fix I don't know about?
--Rich
How To Prevent Restricted Active Content Warning
Recent browsers have an annoying "feature" that pops up a warning before allowing the user to run any scripts present on a web page. Is there something developers can do or code we can include to prevent this warning message (below) so that users do not have to click through several alert boxes to get to the content?
"To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options..."
Internet Explorer Blocks My Active Content
I am running Flash MX 2004 and I have made myself a little flash site, hooray. I am a bit of a noob, but my wife is a pro so when I ran into a problem I asked her and she couldn't figure it out. Any help would be great.
So I got my little Flash thing working fine inside of Flash but when I view my published .swf in Internet Explorer I get a ! shield thing underneath my navigation tools that indicates
"To help protect your security, Internet Explorer has restircted this file from showing active content that could access your computer. Click here for options..."
So I do and I get a dialog that will allow me to allow content. When I do, I then get:
"Allowing active content such as script and ActiveX controls can be useful, but active content might also harm your computer. Are you sure you want to let this file run active content?"
I click yes and it runs fine.
The thing is I look at flash ALL THE TIME on the web and have never seen this before, NOT ONCE, so it doesn't appear to be a blocking setting in IE - it has to be something set in Flash, right? Does anyone know what this is and how I can fix it - I really don't want this to come up on the site for the users!
Thanks in advance!!
Internet Explorer Blocks My Active Content
Internet Explorer Blocks My Active Content!
(I posted this in the Noob section, but I am not sure if this is a noob problem so I'm gonna post it here as well)
I am running Flash MX 2004 and I have made myself a little flash site, hooray. I am a bit of a noob, but my wife is a pro so when I ran into a problem I asked her and she couldn't figure it out. Any help would be great.
So I got my little Flash thing working fine inside of Flash but when I view my published .swf in Internet Explorer I get a ! shield thing underneath my navigation tools that indicates
"To help protect your security, Internet Explorer has restircted this file from showing active content that could access your computer. Click here for options..."
So I do and I get a dialog that will allow me to allow content. When I do, I then get:
"Allowing active content such as script and ActiveX controls can be useful, but active content might also harm your computer. Are you sure you want to let this file run active content?"
I click yes and it runs fine.
The thing is I look at flash ALL THE TIME on the web and have never seen this before, NOT ONCE, so it doesn't appear to be a blocking setting in IE - it has to be something set in Flash, right? Does anyone know what this is and how I can fix it - I really don't want this to come up on the site for the users!
Thanks in advance!!
Flash Content - Have To Click Twice To Make Active
I have a website that has flash buttons as tabs across the top of the page. It seems that whenever someone goes to the website from a pc....on rollover there is a box around the flash content and you have to click it first to make it active and then click it twice to go to wherever it is you were wanting to navigate.
Is there anything I can do so that one click is all it will take? Some viewers are confused...thinking that based on the one click it just isn't working.
Please help! To see for yourself www.jscbooks.com
Thanks
Danelle
And if it makes a difference I am using Flash 8 on a mac.
[F8] Run Active Content(swfobject) Fix Problem? Unusual..
Hi,
I'm having a problem with active content fix that Adobe provides.
Everything works OK in IE when i apply that fix,
BUT,
when I want to use my flash movie with some PHP variables (in order to prevent header flash animation to repeat everytime when user browses to other pages. provided below)
there is a problem.
What I mean i can fix that IE problem with that AC extension but when it's implemented in the page, animation plays again whenever user browses the sub-sections.
Here is the string? that my coder friend has added at the end of .swf ->
some.swf?anm=<?php echo($anm); ?> (this prevents the embedded menu movie to repeat when browsing through sub-pages.
And this is the link that i have d/led the AC fix.
http://kb.adobe.com/selfservice/view...e252&sliceId=1
I hope i'm clear about the problem.
THANK YOU ALL,
Active Content Fixed In IE, But Now Firefox Cannot Print...
I have used javascript fix from Adobe web site to go around the IE "click here to activate this control" issue.
http://www.adobe.com/devnet/activeco...devletter.html
Now my problem lies when I tried to print the web page from Firefox, it shows the javascript code instead of a screenshot of the flash movie.
Is there a way around so that the page will print fine in both Firefox/IE, and also Active Control activation will be fixed?
or am I doing something wrong?
Thank you so much for all the help in advance!
Active Content Update And Aspx Pages
i understand that Microsoft recently released an update to Internet Explorer that changes how Internet Explorer handles some web pages that use interactive controls. i have downloaded the update and have included the java script on my site. and so far i have not had any issues getting this to work with any of my html pages. however, when i have any flash work on my aspx pages the grey bar still appers around my work.
what do i need to do to get my flash to work with aspx pages. any information will help. thanks.
Help: Confusing Problem With Active Content Update
Simple:
This works in IE AND Firefox - www.ClampTools.com
This works in IE, but NOT in Firefox - www.ClampTools.com
The 2nd page (along with a few others on the site) gives me the error message:
This page requires AC_RunActiveContent.js. In Flash run "Apply Active Content Update" in the Commands menu to copy AC_RunActiveContent.js to the HTML output folder.
It even seems to kind of ignore the style sheet.
I CANNOT figure this thing out. I've viewed the source alot of times. Any ideas? I've applied the Active Content update in the past with much success. In IE the whole site works fine. In Firefox some of the pages gives this error. It's confusing.
Thanks.
Error Active Content Wiht Flash 9
i have the next html that show the error in script:"'flvplayer' no is defined "
this flash is made in CS3.
please help me!
Attach Code
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Client Detection Example</title>
</head>
<body>
<form id="Form1" method="post" runat="server" name="Form1">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="400" height="321" id="flvplayer" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="movie" value="aperturas.swf" />
<param name="allowFullScreen" value="true" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="aperturas.swf" quality="high" bgcolor="#ffffff" width="400" height="321" name="flvplayer" align="middle" allowFullScreen="true" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</form>
</body>
</html>
Active Content Error For Site Not Uploaded To The Web
I'm fairly new to this but I have created a flash website for a customer, which will only be used as a stand alone reference material. At this time there is no talk of uploading to an actual website. But on most computers we have tested this on I keep getting a "AC_ActiveContent Error" What are the work arounds to that? I've loaded the most recent flash players and somethimes that works.. is there some type of scripting that I need to instert somewhere? Is there something simple that I am missing. I have tried searching for the anwer but all the references point back to a working uploaded website, which is somewhat different from what I am creating.
|