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
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/
Similar Messages
-
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: -
Center SWF after Active Content applied
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?
Thanks!Insert > Table
also
under the "Common" tab there should be a "Table" icon. It is
the 4th icon from the left on mine.
Hope that helped... -
IE Active Content + Dynamically Loaded Swfs...any help?
Hi,
I've recently become aware of the whole IE active content
problem and I followed the tutorial at
http://activecontent.blogspot.com/
to adjust my html files accordingly. However I have one site
located at:
http://www.mrdodson.com/SavannahSucks/SavannahSucks.html
which loads several swfs dynamically. However in IE none of the
swfs will start loading until you click on one of the markers
which, unfortunately locks the user into a zoomed in view with no
way of exiting until the external file finishes loading. Can anyone
provide any suggestion on how I can get around this? Should I load
the clips in a different fashion or can it be resolved by adding
something to the HTML? I'm a recent grad trying to finish up my
portfolio and this is really holding me back. Many thanks for any
suggestions.
-Robplease if anyone knows anything i would really appreciate it.
i can't send my portfolio out until i fix this one thing so pretty
much my life is on hold until i can resolve this. -
Targeting SWF via JS with Active Content update
Hi all, I've tried the DW8 forum without success, can anyone
here help please?
I have to upgrade an old site which uses Javascript to
control Flash content. If I allow Dreamweaver 8 to implement the
Active Content code fix for the IE interactivity workaround , the
external javascript controls no longer work.
Can anyone advise what must be changed to allow the external
JS to target the SWF correctly?
Here's an example of the current external JS that triggers an
SWF file OK when clicked.
"window.document.myMovie.Play();"
thanksI use SWFObject to embed the Flash, which fixes the IE
issues, and have no
issues still controlling the movie from JS like you
mentioned.
You can get SWFObject here:
http://blog.deconcept.com/swfobject/
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
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/activecontent/articles/devletter.html#multipleoccurrences
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.SShould read that page two has a multistate, not multitask.
-
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? -
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 when RH topic contains Captivate movies
I use Robohelp to display my captivate movies (published as
FLASH).....since the Active Content issue in the latest IE update,
my users now have to click on the movie before it becomes
interactive.....I've managed to fix the topics in RH that don't
have a movie inserted on them....but if there's a movie, my fix
doesn't work unless I modify EACH htm file (each topic's code).
This works great except that EVERY time I re-compile the RH
project, the fix is overwritten.....
My fix involves a javascript include file......
Thanks.
PamHi again Pam
Hmmm, well I'll see if I can help any. I'm not sure what you
mean with "fixing topics in RH that don't have a movie inserted".
What are you fixing? Why is a fix needed if a movie isn't there?
But on to the actual issue at hand. You are saying that
something is being overwritten? Perhaps it will help to outline the
process as I envision it.
1. You have a topic containing a Captivate movie that is
interactive, meaning the user must click or type somewhere to
interact with it.
2. Before the fix is applied, the user must click or press
the spacebar in order to "activate" the control. This is equivalent
to patting Internet Explorer on the head and saying "It's okay.
Really. The world will, in fact, NOT end if you just show me the
content and allow me to click it."
3. You apply the fix, which means to use an external
JavaScript file (.JS file) to perform a "write in" of the code
needed to present the movie.
4. You generate WebHelp (assuming WebHelp here, as I do not
believe this issue manifests from inside a compiled .CHM file) and
something gets overwritten?
And here is the quandry. I'm assuming you are intent on
asking either how to prevent the overwriting from occurring, or
possibly WHY it's being overwritten. Perhaps both?
I think the first step is to determine if the WebHelp
generation process is actually overwriting files. I'd compare the
HTML code of a topic that works fine prior to genning WebHelp, with
the same topic code after the generation process has occurred. What
has changed with respect to the code you inserted? Is the code just
gone? Or is it possibly an issue whereby the .JS file simply hasn't
survived the WebHelp generation process? I'm guessing the latter.
You may simply need to add the .JS file to baggage.
Cheers... Rick -
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
> -
Help unloading/removing SWFs!
I've made this swfContainer in which 'var defaultLoad links to the default swf... After that I've made 2 buttons that link to my swfContainer. The problem is that when I click my links randomly, the swf files just keep piling onto each other, making the site more and more slow!
How do I get my links to clear the container, while inserting a new swf file??
I've tried with both the unload and removechild functions, but I can't seem to figure it out...
Best regards
Thomas
See the code below:
//Container
var swfContainer:Sprite = new Sprite();
addChild(swfContainer);
swfContainer.x = 238;
swfContainer.y = 167;
//Default
var defaultLoad:Loader = new Loader();
var defaulturl:URLRequest = new URLRequest("content/rides.swf");
swfContainer.addChild(defaultLoad);
defaultLoad.load(defaulturl);
//BUTTONS
//Rides
var rides_btn:ridesBtn = new ridesBtn();
addChild(rides_btn);
rides_btn.x = 115;
rides_btn.y = 233;
rides_btn.addEventListener(MouseEvent.CLICK, onClick1);
function onClick1(event:MouseEvent):void {
var ridesLoad:Loader = new Loader();
var ridesurl:URLRequest = new URLRequest("content/rides.swf");
swfContainer.addChild(ridesLoad);
ridesLoad.load(ridesurl);
//Information
var info_btn:infoBtn = new infoBtn();
addChild(info_btn);
info_btn.x = 115;
info_btn.y = 268;
info_btn.addEventListener(MouseEvent.CLICK, onClick2);
function onClick2(event:MouseEvent):void {
var infoLoad:Loader = new Loader();
var infourl:URLRequest = new URLRequest("content/info.swf");
swfContainer.addChild(infoLoad);
infoLoad.load(infourl);use:
//Container
var swfContainer:Sprite = new Sprite();
addChild(swfContainer);
swfContainer.x = 238;
swfContainer.y = 167;
//Default
var loader:Loader;
//BUTTONS
//Rides
var rides_btn:ridesBtn = new ridesBtn();
addChild(rides_btn);
rides_btn.x = 115;
rides_btn.y = 233;
rides_btn.addEventListener(MouseEvent.CLICK, onClick1);
function onClick1(event:MouseEvent):void {
loadF("content/rides.swf");
//Information
var info_btn:infoBtn = new infoBtn();
addChild(info_btn);
info_btn.x = 115;
info_btn.y = 268;
info_btn.addEventListener(MouseEvent.CLICK, onClick2);
function onClick2(event:MouseEvent):void {
loadF("content/info.swf");
function loadF(urlS:String):void{
if(loader!=null){
swfContainer.removeChild(loader);
loader.unloadAndStop(); // if publishing for fp 10
loader=null;
loader=new Loader();
loader.load(new URLRequest(urlS)); -
Embedding a .swf published in Catalyst in another Catalyst project
Ok,
i've been trying different things but now i can't figure it out.
It's actually a school assignement where we have to create an interface similar to a smartphone.
Me and my partner decided to create a Catalyst project for each page and publish each of them in swf. Then, we wanted to create a main Catalyst project that was embedding each swf in different states.
BUT
It just doesn't work! The embedding doesn't work.
Is the swf published in Catalyst actually compatible to embed in Catalyst?
Thanks!A custom component is like other components like buttons, scrollbars, etc. except you get to define all the behaviors and states.
Try this
1. draw a sqaure
2. right click and choose Convert Artwork to Component > Custom Component
3. Now double-click the custom component to edit it
4. Create a few states and modify the square in each state
5. to exit editing the custom component double-click the white area of the artboard
6. Now add a button to the app
7. With the button selected go to the Interactions panel and choose "On Click, Play Transition to State" and pick a state of your custom component.
Notice that in this example the application only has one state, but a custom component with multiple states was able to capture different appearances of the app.
You can think of designing your app by breaking down the functional parts into custom components. For example: navigation bar, content area, ad area, etc.
Regarding "export library":
After creating a custom component or customizing a built-in component like button you will notice that the library will contain an item representing the definition of that component. When you export as an fxpl file, all components in your library are exported.
Ty -
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
>
Maybe you are looking for
-
I have an LG Octane 3 basic phone. Does everything I need, phone and text, and I never was interested in web or e-mail capabilities until I recently upgraded our plan to the "More Everything" and was able to use data and check e-mail and access the
-
Mac Mail totally messed up - HELP!
I have seven email accounts I organize through mail. NONE of them are allowing me to send right now. One account just re-downloaded 800 emails for no reason. The connection doctor says everything is OK. But NO emails are sending. If anyone knows why,
-
Issue while installing SOA in Oracle Linux 6
Hi, I am getting below errors while installing SOA in oracle Linux 6:- entryPoint: entryPoint = oracle.installType.all condition = null className = null contextFile:/tmp/OraInstall2012-04-13_08-04-44PM/prereq/oui/agent_prereq_context.xml The entry po
-
OK, so I upgraded to iTunes 7 fairly recently and am happy with the upgrade. However, for some reason the program sorts bands/songs/albums that begin with a number (i.e. 30 Seconds to Mars) after "Z" instead of before "A" like it normally does. I'm r
-
When I load Pogo, the sign on page is very small. How can I make it bigger?
the sign on page is very small (2"x2") as are all of the Pogo pages. When I play a game, the page is the normal size, but I cannot read the Pogo pages.