Embedding Flash Movies in an HTML page without browser warning...

Hi guys...I have been using Flash for some time now....My
problem is how to embbed a flash swf movie file in an HTML or XHTML
page without the browser warning the user that this web site is
trying to install ActiveX content on her or his computer....Almost
all professional sites does not display a warning message in the
browser...So how can I do this???

I tried to embed it in Dreamweaver CS3.......Here is the code
which Dreamweaver generates...
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<title>Untitled Document</title>
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
</head>
<body>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','550','height','400','src','../My
Documents/My Pictures/Samla E-Cards/Best Cards/13 July
2006','quality','high','pluginspage','
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','../My
Documents/My Pictures/Samla E-Cards/Best Cards/13 July 2006' );
//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=9,0,28,0"
width="550" height="400">
<param name="movie" value="../My Documents/My
Pictures/Samla E-Cards/Best Cards/13 July 2006.swf" />
<param name="quality" value="high" />
<embed src="../My Documents/My Pictures/Samla
E-Cards/Best Cards/13 July 2006.swf" quality="high" pluginspage="
http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="550"
height="400"></embed>
</object></noscript>
</body>
</html>
Can you look at the code and tell me which I have to
change....Internet Explorer still displays the warning message
saying: " To help your security, Internet Explorer has restricted
this webpage from running scripts or ActiveX controls that could
access your computer.Click here for options"......I am sorry to
disturb you all....But I really need help!!!
Text

Similar Messages

  • Embedding flash movie in a web page

    I have created a flash movie using actionscript 3 and an xml file with a list of images for a slideshow. After clicking publish, I can view the slideshow by previewing the html file it creates for you. However, I want to embed this flash movie in a different web page. When I try to add it in Dreamweaver, by dragging and dropping the swf file into the page, a flash placeholder is generated, but the movie does not play when previewed. It is just blank white space.
    Now I watched the Tom Green tutorials on "flash the easy way" and my flash (CS4 professional) did NOT generate the AC_RunActiveContent.js files. I did find and download the file and manually added it to my Scripts folder. Still no joy.
    I will note that the html file that embeds the flash video is in a different directory than the movie itself. Surely this cannot be the issue, otherwise people's websites would be incredibly messy with multiple flash videos. I am trying to put all the flash movies in their own child directories of a /flash directory to keep them neat and organized.
    I am not sure what to do next. How do you make the dang thing play on a web page that is in another directory?

    If you are loading content ala using an xml file, that may be the source of the problem.  When you load a Flash file into a web page, that web page becomes the frame of reference for any files that the swf loads.  So if you tested this where the html file was in the same folder, but then moved things into different folders, then you need to adjust the Flash to load things as if it is in the html file's folder

  • Embedding a Flash movie on a secure page

    Hi,
    I've used the Dreamweaver CS3 wizard to embed a Flash movie
    in an ASP page and it works fine.
    However, when I move the page on a SSL connection the Flash
    movie won't display. If I change all the
    http:// references to https:// in the scripts
    (like I saw on an old post) I only get a white box instead of the
    movie.
    Please see the attached bit of code.
    The old post I read was referring to an old version of Flash
    but I doubt that it would make a difference?
    Thanks.

    Has the Scripts folder been uploaded and pathed properly?
    "gpt1" <[email protected]> wrote in message
    news:fle43p$4ib$[email protected]..
    > Hi,
    > I've used the Dreamweaver CS3 wizard to embed a Flash
    movie in an ASP page
    > and
    > it works fine.
    > However, when I move the page on a SSL connection the
    Flash movie won't
    > display. If I change all the
    http:// references to https:// in the scripts
    > (like I saw on an old post) I only get a white box
    instead of the movie.
    > Please see the attached bit of code.
    > The old post I read was referring to an old version of
    Flash but I doubt
    > that
    > it would make a difference?
    > Thanks.
    >
    > Response.Write "<script type='text/javascript'>"
    > Response.Write "AC_FL_RunContent(
    >
    'codebase','https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab
    > #version=9,0,28,0','width','" & sWidth &
    "','height','" & sHeight &
    > "','title','My Test','src','" & sMMNameNoExt &
    >
    "','quality','high','pluginspage','https://www.adobe.com/shockwave/download/down
    > load.cgi?P1_Prod_Version=ShockwaveFlash','movie','"
    & sMMNameNoExt & "' );
    > //end AC code"
    > Response.Write
    "</script><noscript><object
    > classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
    >
    codebase='https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#v
    > ersion=9,0,28,0' width='" & sWidth & "'
    height='" & sHeight & "' title='My
    > Test'>"
    > Response.Write "<param name='movie' value='" &
    sMMName & "' />"
    > Response.Write "<param name='quality' value='high'
    />"
    > Response.Write "<embed src='" & sMMName & "
    quality='high'
    >
    pluginspage='https://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Versi
    > on=ShockwaveFlash' type='application/x-shockwave-flash'
    width='" & sWidth
    > & "'
    > height='" & sHeight & "'></embed>"
    > Response.Write "</object></noscript>"
    >

  • Dailymotion embedded flash movie not working anymore

    I cannot seem to get Dailymotion embedded flash movies working. The movie is just a black screen. The same embedded movie on the same webpage works in windows. (Non-embedded) movies on the official Dailymotion site still works though.
    This happened only recently. I thought maybe it was a flash 10 issue, but after rolling back to flashplugin 9, the problem still remains.
    Does anyone has the same problem?

    Usually when a browser has an issue playing a Flash file it is due to the embedding code that is used in the html page.  Can you compare your code to another page's code to see what differences there are?  You should let Flash generate the embedding code rather than using some other software to do it if that is what you did.  Just have Flash publkish and html page, test that page in your various browsers, and if it works, copy/paste that code in place of what you have now.

  • Embed a Flash movie in existing GoLive page? HELP!!

    I want to embed a Flash movie in existing GoLive page. I have a .flv file that I imported to a flash document. I published it and it made a .html, .swf, .js and Skin.js files. I don't want to use the .html file it made. How do I embed the SWF file and also have the skin.swf show up and work on my GL page? The Skin.swf is the controller.
    I'm new at working with Flash files and I can't find any tutorials on this subject.
    I'm working in GL CS2

    Copy the OBJECT/EMBED or JAVASCRIPT source code from the auto-generated HTML file and paste that in your GoLive HTML.

  • Embedded Flash movie locks up Browser

    It doesn't seem to matter which of the top three
    browsers I use, but most often when you go to
    a website page that automatically (or not?)
    launches an embedded Flash movie, a little
    window pops up inside that embedded movie
    asking me to click Allow or Deny.
    But NIETHER is clickable, the browser is locked,
    nothing can be clicked and ALL other tabs are locked
    and cannot be clicked either.
    I have to hit CTRL+ALT+DELTE to kills the
    browser in Task Manager. .A HUGE annoyance,
    that comes unexpectedly because you don't know
    when an embedded movie will be on the next page
    you click.
    How do I stop that Allow/Deny message popping up??
    -Drew

    CCWTechUtah wrote:
    I'm running the latest ATI driver
    The latest driver from Microsoft Update, or from the AMD download site?  See http://forums.adobe.com/thread/945765
    Green screen is usually an indication for some incompatibility with the graphics driver, although turning Hardware Acceleration off should prevent that from happening.

  • Can not preview HTML pages in browser

    I am unable to preview my HTML pages in a browser eg. safari. firefox etc... before uploading them to my server. I have tried going into preferences and clicking on the preview in browser section and adding a new primary and secondary browser but it will not work. I was able to preview my pages in browser mode fine up until a few days ago when it suddenly stopped working. I am using Mac OS X version 10.5.8, Prosessor 4x2.5 GHz PowerPC G5. Memory 4.5 GB DDR2 SDRAM. I have Dreamweaver CS3. My test server is set to none.

    Hi Murry,
    When I try to preview HTML pages in browser it comes up with a message saying 'Would you like to define a primary browser now?' but when i try this it does not work, it will not recognise the browsers when i add them to the list.
    Corinne

  • Opening maximized window from embedded flash movie

    Hi!
    I need your help!
    I have a html file with a flash movie-menu embedded into it. I'd like one of the buttons to open an external html page strictly in a new maximized window. It does not matter if the new window has toolbar or not. I want it to open a new maximized window (not the full screen thing) onclick.
    How can I achieve this?
    thank you!

    use the javascript window.open method to open your popup and set the page dimensions.
    you can use getURL or navigateToURL() to execute a javascript function or better use the externalinterface class to call a javascript function in your embedding html file.

  • Flash not playing on html page after template is altered

    Hi,
    Can anyone help. If i alter anything on a template none of the .swf files on pages based on that template will work when previewed in the browser.
    I am using DW CS3.
    Anyone any ideas

    Good day,
    This issue can be considered as a limitation at some point because Dreamweaver lacked the ability to "auto-update", although it was not really the best practice to include Flash contents in a DW template.
    There is a workaround though. You may need to edit the template (.dwt) itself and work in Code View.
    While in Code View, use the Find and Replace (Edit > Find and Replace) feature so it will be easier for you to find what you are looking for.
    In the Find and Replace window, choose Current Document as value for Find in, and Source Code as Search.
    In the Find input field, type --> 'src' (including the single quotes) and click on Find Next.
    Once you found 'src', pay attention to the text next to it enclosed in single quotes. The value in the single quotes is the path of where the Flash file is saved. try to remove ../ if you happen to see it. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Using Find and Replace again, this time, try to search for 'movie' (including single quotes). You'll see again the text next to it which is the same value as what you have searched before. Do the same thing, try removing ../. (do this if the Flash file is located in the same folder where the HTML page which uses it is saved)
    Save the DW template file and try to preview the pages again in the browser.
    I hope this helps.
    Regards,
    Christine R.
    Adobe North America Technical Support

  • Multiple flash movies on 1 web page?

    So, I'm working on a new site. Very graphical and will have a
    lot of cool bells and whistles. At first, I was creating it
    entirely in flash but I abandoned the idea because I just can't
    help but click the back button when I feel I need to, and doing
    that takes you all the way back to the previous HTML page instead
    of previous thing in the flash movie and it gets annoying fast, and
    I know if it happens to me it'll happen to plenty of others. So, I
    was thinking about just building it as html/dhtml with all the cool
    css tricks everyone and their mom are doing these days.
    The old versions was set up with one big movie for the
    interface, and smaller movies for the content that get loaded in
    with the loader component. Worked pretty well. So, I was thinking..
    what if I still kept those content pieces and loaded them in over
    the HTML, using DHTML to position stuff and the little
    wmode=transparent thingy so you can still see the background HTML
    bitz that need to be there. I mean, I know it can be done and how
    to do but my question is, what if I want to have the menu in flash
    too? and maybe the site logo animated? Or a rotating flash add at
    the top that's loading in a few different ads and cycling through
    each one like a slideshow? Will 3-4 different flash elements on 1
    page be bad? My first guess is it will slow things down a lot, but
    will it? I mean, it's not HUGE files it's more like smaller bits..
    logo, menu, ad and content .. the content will mostly just be text
    and some photos, nothing too fancy. I don't want it to slow down
    people's computers OR take forever to load/display (which it
    shouldn't). So it will be HTML pages loading in flash movies, so
    the back button will finally work!
    The reason I'm considering doing this is more for font issues
    than anything else, and some cool transparency effects I can
    accomplish with smaller files and better compatibility than if I
    use PNG files
    Any thoughts? is this a good idea or should I just try to do
    it all with DHTML stuff? I can do it that way, i was just thinking
    using Flash might be easier & better for some parts...

    Yes, it is fine to do that.
    Dave -
    www.offroadfire.com
    Head Developer
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.adobe.com/communities/experts/

  • Embedding Flash movie in Acrobat 3D

    When I try to embed a flash file (.swf) into an Adobe document, I get the message:
    "Cannot create the movie annotation ...."
    Any ideas why, and how to do it properly?

    If you are loading content ala using an xml file, that may be the source of the problem.  When you load a Flash file into a web page, that web page becomes the frame of reference for any files that the swf loads.  So if you tested this where the html file was in the same folder, but then moved things into different folders, then you need to adjust the Flash to load things as if it is in the html file's folder

  • Dreamweaver embedded flash movie - Safari problem

    I have 3 flash movies embedded on a page using dreamweaver. Firefox plays either of the 3 no problem, Safari Only plays the first one.
    I am using the Clear Skin 2 Controller. The ID tags I'm using are FLVPlayer1,2,3... JS script folder is uploaded and contains the AC_Active scripts.
    Obviously I'd like to get this to work in Safari. Any thoughts???
    Thanks

    From the reading I've been doing since posting this, I am beginning to think this is either a QuickTime plugin or flash plugin problem with Safari. I am running osx 10.5.6 and Safari 3.2.1 - I was hoping for an easy page code fix.

  • Embeded Flash movies in Flex app

    Hi,
    Flex noob with no real Flash experience. I have successfully
    loaded a Flash analogue clock swf file into an app I'm
    experimenting with in Flex. I used the image tag and is works well.
    I would like to also embed a Flash movie which is a news scroller.
    This movie calls in an external XML file as it's text source (who's
    content I change dynamically with php) and the original movie was
    wrapped in some html which passed in some 'param' parameters. Can
    anyone explain how Flex handles Flash movies like this?,
    many thanks,
    Mike

    I found a solution to my problem so I thought I'd answer my
    own question here for the good of others who may experience the
    same issue. When using Flex on your local machine (localhost),
    security precautions inherent in Flash prevent the movies from
    showing up in Flex. Once I tested on the production server the
    movies showed up fine. The problem was nothing to do with the
    param's being passed in and Flex did not need any of the info from
    the html wrapper as far as I can make out,
    Hope that saves another newbie from some hair pulling,
    cheers,
    Mike

  • Video playing on HTML page without player?

    I have seen a few examples (none of which I have a link for)
    of flash
    video that plays on a HTML page that is not confined to a
    flash player.
    So the video of a person is shot against a green screen and
    the
    background is later keyed out and the the video plays on the
    page.
    Does anyone know how this is done?
    Thanks.

    Either you have a look at the book I wrote:
    http://www.friendsofed.com/book.html?isbn=9781590597484
    or this article
    http://www.adobe.com/uk/designcenter/aftereffects/articles/aft7at_keylight.html

  • Linking a flash button to a html page

    Hi, I was wondering if anyone knew the best way to link a
    flash button to a page in DW?
    Thanks

    Place this actionscript into the hit area of your flash
    button, then export the flash as a .swf and place onto the
    dreamweaver page...
    on(release){
    getURL("YOUR_DESIRED_PAGE.html","_self");
    This will open the new html page in the same window. Hope
    that helps.
    You can get a cheap but awesome tutorial on Flash buttons
    here...
    http://www.cartoonsmart.com/smooth_buttons.html
    No, I don't know the guy and I don't get a commission. The
    tutorials really helped me, that's all.

Maybe you are looking for