Active Content Script
Hello,
I am building a website with flash buttons, and im using DW 8
and flash pro 8.The buttons have been exported as flash7. When i
first imported the flash buttons into the site, i was prompted to
include the active content script for the flash, which i did -
however, when viewing the site in IE, im still having to click on
the buttons before they are active and animate - Ive only just used
this script and im really not a coder. Is there a way to reapply
the script to my site? How can i get this working ? ? ?
link to web site
http://www.hermitagenursery.co.uk
I hope someone can help ! Thank you very much
Did you upload the Scripts file that DW made for you? You
should see a
folder "Scripts"
Jo
"simey70" <[email protected]> wrote in
message
news:fgi5bm$je8$[email protected]..
> Hello,
>
> I am building a website with flash buttons, and im using
DW 8 and flash
> pro
> 8.The buttons have been exported as flash7. When i first
imported the
> flash
> buttons into the site, i was prompted to include the
active content script
> for
> the flash, which i did - however, when viewing the site
in IE, im still
> having
> to click on the buttons before they are active and
animate - Ive only just
> used
> this script and im really not a coder. Is there a way to
reapply the
> script to
> my site? How can i get this working ? ? ?
>
> link to web site
http://www.hermitagenursery.co.uk
>
> I hope someone can help ! Thank you very much
>
Similar Messages
-
Active Content: cannot change Scripts folder name?
Using DW 8.0.2.
After I accept the Active Content workaround to be applied to
my pages, I'd like to change Scripts folder name to "scripts" or
even move the scripts to my "jscript" folder, which already exists.
When I do this DW correctly asks to update the page links, but even
with the correct links the scripts does not run anymore.
It seems to be caused by some JS code included in the
scripts, which points to "Scripts" folder in site root. But I don't
know enough JS to identify and modify this. Any help will be very
welcome.Shouldn't happen. I have moved the AC .....js file many times
to different
folders and if the path is correct, everything works
properly. Can you
please post a link.
You cannot lose until you give up !!!
"Freiberger" <[email protected]> wrote in
message
news:eou61k$enn$[email protected]..
> Using DW 8.0.2.
>
> After I accept the Active Content workaround to be
applied to my pages,
> I'd
> like to change Scripts folder name to "scripts" or even
move the scripts
> to my
> "jscript" folder, which already exists. When I do this
DW correctly asks
> to
> update the page links, but even with the correct links
the scripts does
> not run
> anymore.
>
> It seems to be caused by some JS code included in the
scripts, which
> points to
> "Scripts" folder in site root. But I don't know enough
JS to identify and
> modify this. Any help will be very welcome.
> -
"Convert Active Content" problem
Recently, I opened an html page in DW8, and a dialogue box
appeared called "Convert Active Content". It said "This page
contains <object> tags that may not work properly in the most
recent versions of Internet Explorer. To correct this problem, you
can convert these tags to browser-safe scripts. Do you want
Dreamweaver to convert these tags for you?" So, being the trusting
soul that I am, I clicked "yes." But when I uploaded my page, I
could not see the Flash videos that I had put in this page. The
same thing happened with another page. So I created new pages, and
clicked on "no" when the "Convert Active Content" dialogue box
appeared, and my Flash videos appear again.
I really would like to avoid the annoying double-clicking
that has to happen with the new IE browser whenever I include Flash
content, but this work-around does not work. Any ideas?
Thanks.You were right to say you wanted DW to "convert these tags to
browser-safe
scripts." What you didn't do was upload the SCRIPTS directory
that DW
created. Try doing that and all should be well.
Mad Dog
vh2 wrote:
> Recently, I opened an html page in DW8, and a dialogue
box appeared
> called "Convert Active Content". It said "This page
contains
> <object> tags that may not work properly in the
most recent versions
> of Internet Explorer. To correct this problem, you can
convert these
> tags to browser-safe scripts. Do you want Dreamweaver to
convert
> these tags for you?" So, being the trusting soul that I
am, I
> clicked "yes." But when I uploaded my page, I could not
see the
> Flash videos that I had put in this page. The same thing
happened
> with another page. So I created new pages, and clicked
on "no" when
> the "Convert Active Content" dialogue box appeared, and
my Flash
> videos appear again.
>
> I really would like to avoid the annoying
double-clicking that has to
> happen with the new IE browser whenever I include Flash
content, but
> this work-around does not work. Any ideas? Thanks. -
I get a AC_RunActiveContnet.js warning when I try to run an
online Flash file. It was my understanding that Dreamweaver was
supposed to convert files to active content, or at least give you
and option. I have Dreamweaver CS3. It is not converting to the
AC_RunActiveContent.js file. Do I need an update? If so how do I
get it. I could not find it for Dreamweaver CS3/Flash9.
ThanksWhen you insert a flash file in DW, it creates a Scripts
folder in your site
for you. Inside that Scripts folder, you will find the
AC_RunActiveContent.js file. Upload the Scripts folder to
server. That
should take care of your problem.
--Nancy O.
Alt-Web Design & Publishing
www.alt-web.com
"SuJun" <[email protected]> wrote in message
news:ffl0a5$se3$[email protected]..
> I get a AC_RunActiveContnet.js warning when I try to run
an online Flash
file.
> It was my understanding that Dreamweaver was supposed to
convert files to
> active content, or at least give you and option. I have
Dreamweaver CS3.
It
> is not converting to the AC_RunActiveContent.js file. Do
I need an
update? If
> so how do I get it. I could not find it for Dreamweaver
CS3/Flash9.
>
> Thanks
> -
Hi guys, I've just installed the active content updater found
at
http://www.adobe.com/support/dreamweaver/downloads_updaters.html#dw8
and reopened my html files that contain flash and agreed to the
prompt. I then saved changes and uploaded the files to my ftp but
the flash content seems to have disappeared in the html file
comlpetely! An example of one of the pages is here:
http://www.cambridgestainedglass.co.uk
where it should contain this flash movie:
http://www.cambridgestainedglass.co.uk/flash/home.swf
. this is really annoying does anyone have any ideas why. I have
updated another site I have done and that worked fine. Please help.
ThanksUpload the NEW Scripts folder that DW8.0.2 now places in the
root of your
site.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Stefan83" <[email protected]> wrote in
message
news:fcggvv$fla$[email protected]..
> Hi guys, I've just installed the active content updater
found at
>
http://www.adobe.com/support/dreamweaver/downloads_updaters.html#dw8
and
> reopened my html files that contain flash and agreed to
the prompt. I
> then
> saved changes and uploaded the files to my ftp but the
flash content seems
> to
> have disappeared in the html file comlpetely! An example
of one of the
> pages is
> here:
http://www.cambridgestainedglass.co.uk
where it should contain this
> flash
> movie:
http://www.cambridgestainedglass.co.uk/flash/home.swf
. this is
> really
> annoying does anyone have any ideas why. I have updated
another site I
> have
> done and that worked fine. Please help. Thanks
> -
Workaround for IE active content problem?
Adobe
posted
a workaround for existing web pages to respond to the change in
IE that requires users to manually activate Flash content. I tried
doing the same document.write in an external file for the HTML
files FlashHelp generates wherever I found the <object> and
<embed> tags, but I get a script error ("Object expected") in
the lines where I call the function. (The solution worked for me in
simple HTML pages with Captivate movies, so I know it can work.)
The only reason I can think of that it won't work is that the
scripts are concatenating strings, not just showing a movie where
the <object> and <embed> tags are. Has anyone found a
workaround for FlashHelp so users don't have to manually activate
the top and left panes? I put in a "wish" for Adobe to provide a
solution on the site and later in an update or new version of
RoboHelp (which is another issue in and of itself), but who knows
when the developers will be able to come up with it. Thanks!Thanks for asking, Mimi. Here are more specific steps:
1. Open Notepad or another program for creating text files.
2. Create two functions. For example:
function insertMaster1() {
function insertMaster2() {
You can call your functions anything you want, but the names
must be different. Note that for the moment, they're empty, but
we'll change that in a minute.
3. Save the Notepad file with a JS file extension (for
example, runactive.js). In Notepad, specify “All Files”
for “Save as type” so that it doesn’t save as a
TXT.
4. When you generate your FlashHelp system, it creates a
bunch of HTM files containing JavaScript in the destination folder
you specified when generating your output. Locate wf_master.htm and
wf_navpane.htm in the output folder. (If you leave RoboHelp to use
its defaults, it puts your help system in an !SSL!/FlashHelp
directory within your project folder.)
5. Open wf_master.htm.
6. In the <head> tags, insert a line that references
your JS file:
<script language=“JavaScript”
src=“runactive.js”></script>
7. Find the lines in the code that look like this:
// Insert the “Master” SWF
8. Highlight everything AFTER this commented-out block until
the </script> tag. The last thing you highlight should be
"document.write(strObject);".
9. Cut the highlighted code and paste it into the first
function in your JS file so it looks like this:
function insertMaster1() {
// Build up the variable string we will be sending
strFlashVars = "uniqueHelpID=" + parent.UniqueID();
……(more code)
document.write(strObject);
10. In the place where you just cut all that code out of
wf_master.htm, insert a call to the function:
insertMaster1();
That’s all you need because all that code you just
moved was already in <script> tags in the HTM file. The
</script> tag should come immediately after this function
call.
11. Open wf_navpane.htm.
12. Repeat steps 6 – 10 for wf_navpane.htm. The code
we’re concerned with in this file looks almost exactly like
that in wf_master.htm, but there are a few lines less this time.
Put the code you take out of wf_navpane.htm into the second
function in your JS file. Where you cut out the code from
wf_navpane.htm, put a call to the second function (it should come
right before the end of the <script> tags):
insertMaster2();
13. Save your JS file and the two HTM files.
14. Whenever you re-generate your output, RoboHelp is going
to erase your new versions of these HTM files and create its own
again. Copy your new versions of wf_master.htm and wf_navpane.htm
to another location (can be a folder within your output folder).
Now you have them so you can paste them back over RoboHelp’s
versions each time you finish generating your output. For example,
I would stow my wf_master.htm and wf_navpane.htm in a folder called
"drop files." Then, after I get done generating my output, I copy
those files and paste them in the output folder, letting them save
over the ones that RoboHelp created.
15. To test it once you've finished the swap, find the HTM
file in your output folder that is named after your project. For
example, if my project is called flying_monkey, I would find
flying_monkey.htm. Open this HTM file in Internet Explorer, and you
shouldn’t have any messages telling you that you have to
press Enter or Spacebar or click on the panes to activate them.
This runs from the same basic idea as Adobe’s
workarounds for Flash—we’re going to a file external to
the HTM files for the active content tags. Hope you find this
useful! Let me know if you run into any problems.
--Ben -
IFRAME and The code to fix the IE active content behavior
I'm using the Macromedia Extension for fix the IE April 11
Upgrade. It's all right, but the iframes doesn't work with thenew
code, Do you know some solution???? HELP!!!
Thanks<sigh>
Upload the Scripts folder that the fix places in your Local
root folder.
This is asked and answered about 10 times a day here.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"_adrian" <adrian @ test.com> wrote in message
news:ej5a1j$rc9$[email protected]..
> So I have version 7 SWF on a page, and DW8 wants to
apply its "IE Active
> Content block fix" to the page, after which time, the
SWF no longer shows
> up. The page just sits there bank. There had been a
posting here months
> ago about a cgc.js fix, but I can't find the details on
that now...
>
> Has anyone else run into this? How should we handle it?
Thanks
> -
Getting Message "Convert Active Content"
All,
After my last post with problems displaying my youtube video in IE, now am getting a message in DW when I open
the project "Convert Active Content" This page contains <object> tags that may not work properly in some versions
of IE, do you want DW to convert yes or no"
I have been saying no....if that is correct how do you get the message to not appear again? thanks...danoRemove the active content and re-insert it, and be sure to
upload the
Scripts folder to your server.
HTH
"SwiftMed" <[email protected]> wrote in
message
news:fegd0d$bik$[email protected]..
> Hey Guys,
>
> when opening a website file in dreamweaver cs3 (just one
particular file),
> i
> am being presented with the following message, could
anybody shed light
> onto
> whats happening please?
>
> this page contains <object> tags which will not
work properly in the most
> recent versions of internet explorer, dreamweaver cannot
convert these
> <objects> tags.
>
> any advice would be appreciated.
> -
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
Judeadamgordon wrote:
> Just began playing around with DW CS4, and have run into
a problem with .swf
> files. The Active Content fix for IE is no longer there.
The new files it
> creates in a Script folder do not seem to solve that
problem. Does anyone know
> what the deal is with this?
Recent versions of Internet Explorer don't need the Active
Content fix,
so it has been replaced by a different script that validates
and works
cross-browser.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Active Content Update HTML behavior
I am rebuilding all my flash websites to address the
double clicking and framing issue due to MicroSoft's IE ActiveX
controls. I should have done this months ago, but I'm a Mac user
and no one freakin told me. I now also have a Vaio LS1 "very cool".
Anyway I have downloaded and installed the MX extention and figured
that one out, no problem. It has been simple to create swf
conatiners with revised html published form the Flash 8 engine. My
new problems lie in 2 areas, html background tiles and preloaders;
1 – I can't seem to center the swf (no scaling) and put
page tiles in the html that are visible. The only way I seem to be
able to center the swf is the make the html 100% instead of the swf
pixel size. If I go for a transarent window it screws with the
color. I believe I need to put a command in the code that specifies
to add the tile background to the html table that Flash has
created. I just haven't been able to get it to work... Anybody
solve this one?
2 – I have been using 2 preloaders, one that loads the
frames of the movie it is in and the other loads an external movie.
I have not been able to get either of them to work properly accross
the various browsers when I'm using swf containers and the Active
Content Update. I'm totally bug-eyed reading through all the techno
babble published here and on the MSN sites. Anybody got the right
preloader code to load external movies into swf containers (that
recognizes first frame (stop) script) with the Active Content
Update html?aniebel,
Thank you for the answer to #1. I've now got it in the middle
of the screen.
I cannot for the life of me figure out why my controls are
not visible! I've tried Firefox and IE.
Somebody is going to know what's going on. Here's the quick
summary...
If you go to
http://www.Imagine1Group.com
you will see that there are no controls at the bottom for [SKIP
INTRO] or [SOUND]
However, if you go to
http://www.Imagine1Group.com/imagine1intro.swf
you will see the controls are clearly at the bottom of the flash.
Please, any ideas? -
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 "
http://" to replace. I tried it anyway and
nothing happened. I suspect that the swf file has to be saved in
the same file folder on the server as the page you want it to
appear on, if that makes sense.
In other words, am I correct in assuming that by using a
back-end HTMl editor on the site and hosting the actual swf file in
a totally different location that this javascript method probably
won't work?
I've got no problems in Dreamweaver on my own personal
website, but I don't have access to change the webpage on the
company site on that type of scale. I can only much about with the
HTML.
Looking at the source code of the company webpage it does
appear that someone has put in the script for the javascript deal
to be activated.Here's the old code:
<center>
<object
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
width="545.4" height="59" id="worldtime" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="
http://images.blahblahblah.com/myFlashfile.swf"
/>
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="
http://images.blahblahblah.com/myFlashfile.swf"
quality="high" bgcolor="#ffffff"
width="545.4" height="59" name="worldtime" align="middle"
allowScriptAccess="sameDomain"
type="application/x-shockwave-flash" pluginspage="
http://www.macromedia.com/go/getflashplayer"
/>
All I ever do is replace the "
http://images.blahblahblah.com/myFlashfile.swf"
with wherever the Flash file lives when I use the code again.
I'm not sure how to translate this into any of the javascript
examples. -
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.15 seconds later I find the answer on the forum!!!!! sorry.
Thanks 'ggshow'..
HOW TO CENTER you swf using active content update...
<script language="JavaScript" type="text/javascript">
<!--
var hasRightVersion = DetectFlashVer(requiredMajorVersion,
requiredMinorVersion, requiredRevision);
// -->
</script>
<noscript>
</noscript>
You can just add center tag to it: -
Flash Active Content Update extension
I am using flash for advertising, and I usually link to the
customers page by this:
on (release) {
getURL(clickTag, "blank");
and in the script to publish the flash is this:
<PARAM NAME=movie VALUE="
http://www.somesite.no/flash.swf?clickTag=http://www.customersite.no">
Question:
How do I do that with the new Flash Active Content Update
script?I found out myself, and here are the solution:
In the long list you have to add the url like this:
'movie', 'flash?clickTag=http://www.customersite.no', -
Active Content Fix gone?
Hello,
Just began playing around with DW CS4, and have run into a
problem with .swf files. The Active Content fix for IE is no longer
there. The new files it creates in a Script folder do not seem to
solve that problem. Does anyone know what the deal is with this?
DW now installs swfobject_modified.js and expressInstall.swf
in a script folder. I imagine this is supposed to take care of the
situation, but it doesn't. One must first click to the .swf on a
webpage, in order to interact with it. Any help would be
appreciated.adamgordon wrote:
> Just began playing around with DW CS4, and have run into
a problem with .swf
> files. The Active Content fix for IE is no longer there.
The new files it
> creates in a Script folder do not seem to solve that
problem. Does anyone know
> what the deal is with this?
Recent versions of Internet Explorer don't need the Active
Content fix,
so it has been replaced by a different script that validates
and works
cross-browser.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/ -
Active content fix for ad placement?
OK, I've read all about the JS fix for active content but
what do you do if you don't control the HTML container for the
Flash ad. We're new to Flash ad development, will most sites allow
us to include a custom JS script to embed the ad or do they just
take the SWF? If they just take the SWF, how do we address the
active content issue?You complain to whoever hosts the ad .. there is nothing you
can do yourself
.. the host for the ad will have to fix their own html.
Jeckyl
Maybe you are looking for
-
Windows 7 problem bootcamp assistant
I tried to install win 7 via bootcamp . Then bootcamp made. 20 gb partition . I begin with the installation of win but. In the installation box doesn't allow me to install win unless I format the partition . Then the installation freeze and I cancel.
-
Can anyone recommend a good book describing/teaching SQL or PL/SQL programming? Assume a new programmer.
-
SELECT E.ACTV_DESC AS ACTV_DESC, E.ACTV_CDE AS ACTV_CDE, COUNT(E.ACTV_CDE) AS CNT_ACTV_CDE, CASE WHEN B.VET_OTHR_ELIG_CDE ='01' THEN 'NO' ELSE NULL END AS VET_NO, -- new column to be added CASE WHEN B.VET_OTHR_ELIG_CDE IN ('02','03','04') THEN 'YES'
-
OC4J support Ajax based Application, If yes....give me example
Hi, I did Ajax based application and getting output in MyEclipse with Tomcat server. but, same Ajax Program I am running in oracle jdeveloper with OC4J, it's not getting output...... can anyone help.....what is the reason..... regards, Abu
-
Everytime I try and restore my ipod on itunes it says error 2003, what do i do?
everytim i try and restore my ipod on itunes, it tells me error 2003, ive had this ipod for over a year now ad this has ever happen. i have no clue how to fix it any suggestions?