Now the navigation menu is back to default. See http://ops.ntinet.com/template.htm for the page with issues. See http://ops.ntinet.com for a page that displays correct. Please advise...
Chris
Answer:
Chris,
your flash menu code was converted.
The Dreamweaver update 8.0.2 contains Active Content Converter which
is not compatible with our menu.
Disable the active content converter:
http://f-source.com/before_insert/
Replace the code inside of the DIV with original
flash menu code.
Regards
Dmitry
f-source.com
In Flash, run 'Apply Active Content Update' in the Commands menu to copy ACRunActiveContent.js to the HTML output folder. In fact, a quick glance at Macromedia’s ACRunActiveContent.js file shows that their rendering mechanism is proprietary to the point of absurdity. Case in point, notice Macromedia’s ACFLRunContent function for generating the object – if that’s not ad hoc, I don’t know what is. In my application I am using the following code. When I try to open the html file, I am getting the pop-up message 'This page requires ACRunActiveContent.js.' I have imported the file ACRunActiveContent.js. Into my package and referred the same. Can anyone help me in fixing this?
Background
FlashVars is a mechanism to pass variables to a Flash SWF file. It is similar to a query-string and you can read more about it on this tutorial. FlashVars is useful to pass custom data and to customize the content of a SWF file.
For overview of the FlashVars, look here.
In the old days, FlashVars is normally added into object and embed tags within the html page that contains the movie. However, nowadays, most Flash SWF files are embedded by using some JavaScript mechanism of sort. The was due to the EOLAS (Embeded Objects Linked Across Systems) patent which Microsoft chose to no license in Internet Explorer, thus causing many Flash SWF files to require user to click on the browser before the SWF becomes active. That started happening in 2003, and workarounds have been made to not require user to click on the Flash SWF file, by essentially having Javascript write the “embed” code. It’s lost on me how much different this is from embedding in the html page; but anyhow, as time passed, various scripts are used as workaround to embed Flash SWF files. Two of the most popular ones are SWFObject and AC_RunActiveContent.
FlashVars In AC_RunActiveContent
AC_RunActiveContent.js is/was the official Adobe solution. It is included in Flash CS3 and it is automatically deployed to your publish folder when publishing for Flash.
The html page usually looks like this:
To add FlashVars, just add it anywhere like below:
Above I added two variables into the FlashVar, name=Jim and score=10.
FlashVars In SWFObject
SWFObject is created by Geoff Stearns and is becoming the standard for including SWF content in html page. It is hosted at http://osflash.org/swfobject. FlashCS4 suposedly uses SWFObject, replacing RunActiveContent.
Ac_runactivecontent.js Download Free
Adding FlashVars in SWFObject is as simple as calling addVariable(variableName, variableValue). Example:
Above I added two variables into the FlashVar, name=Jim and score=10.
Ac_runactivecontent Js Free Mac Os
More SWFObject examples at: http://blog.deconcept.com/swfobject/#examples
Comments are closed.