How to position a flash movie within a web page?
Hi guys.
I have a flash movie that is going to be loaded within
another flash movie via an xml list.
How can I set the position to load the inserted movie to the
center of the page?
At the moment it loads in the top left hand corner.
Hi there.
Thanks for replying.
the website in question is www,ridethespiral.net and if you
click on pilot map you will see the error.
The main (Background) flash file is from a template site so I
didn't write the code.
But I think this is it.
//Function used to load external SWF files and call the
loader MC -------------------------------------------
function loadMovieClip (externalTarget:String,
targetRoot:MovieClip) {
var mcLoader:MovieClipLoader = new MovieClipLoader ();
var listenerLoad:Object = new Object ();
listenerLoad.onLoadStart = function (target:MovieClip) {
loader._visible = true;
ZigoEngine.doTween (loader,'_alpha',100,0.5,"easeOutExpo");
//Loading Progress
listenerLoad.onLoadProgress = function (target:MovieClip,
bytesLoaded:Number, bytesTotal:Number):Void {
percent = Math.round (bytesLoaded / bytesTotal * 100);
loader.percentTxt.text = percent + "%";
//On Load Complete
listenerLoad.onLoadComplete = function
(target:MovieClip):Void {
ZigoEngine.doTween
(loader,'_alpha',0,0.5,"easeOutExpo",0,function () {
loader._visible = false;
ZigoEngine.doTween
(content_container,'_alpha',100,0.5,"easeOutExpo",0,function () {
content_blocker._visible = false;
mcLoader.addListener (listenerLoad);
mcLoader.loadClip (externalTarget,targetRoot);
Similar Messages
-
Firefox sporadically won't display flash embedded within a web page.
I have Fiorefox 28.0, running on a Mac with Mavericks 10.9.2. Sporadically, Firefox won't display an embedded flash video. I tried running Firefox in Safe Mode (all add-ons disabled). Same thing occurs - won't display the embedded flash on some webpages.
Here is an example webpage in which this problem occurs:
http://www.deadline.com/2014/04/nbcs-jimmy-fallon-and-seth-meyers-welcome-stephen-colbert-to-cbs-video/
I couldn't determine how to attach a file of a screen grab or I would have done so.
Thanks.I can't tell how far the player gets in loading. All I see is a blank white block of space where the player would normally be loaded. I used the term 'embedded' as that seemed the correct term to use. If incorrect, that's only due to my unfamiliarity with the correct terminology of having a flash video within a web page. BTW, I neglected to mention that the same page that Firefox has problems with is displayed fine in Safari. Screen grab attached showing blank space where Safari displays a functional plug-in.
-
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
-
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/ -
How does iWeb make 160 movies 300 for web page?
This isn't iWeb, but rather how iWeb does this:
When I export my GB3 enhanced podcast to iWeb I get a webpage with a 300x300 pixel "movie"
But it looks like GB3 is just exporting 160x160. (is that right?) and then iWeb is doing something to change the display size.
I'm looking for the html that will let me use the GB3 160x160 image and have it display on 300x300 on a non-iWeb page I have already.iWeb lets you adjust the size of any graphical element, including quicktime movies, to any size.
==> www.DirtDoog.com <==</a>
Place A Virtual Pin On Putt-Putt's GuestMap! -
Is there a better way to position a flash movie than ap div?
I'm creating a new website(not yet active) and have a great flash movie for the home page. I've place it in an ap div and of course it moves to a different position in different browsers. Is there any way I can get it to display correctly, or is there a better way to position the movie? Thanks.
Of course. The following code is for the home page:
"http://www.w3.org/TR/html4/loose.dtd">
#page-background
#container
/* this image stays in internal style sheet*/
#mainImage{
background-image: url(images/mainImageBkgrnd.jpg);
background-position: center top;
background-repeat: repeat-y;
width: 875px;
height: 625px;
margin: 0 auto;
padding-left: 0px;
padding-right: 0px;
margin-top: 0px;
position: relative;
#footer{
position: absolute;
top: 700px;
left: 10px;
#serviceImage{
position: absolute;
top:300px;
left: 35px;
z-index: 0;
#orderImage{
position: absolute;
top: 300px;
right: 20px;
#flashMovie {
background-image: url(images/flashPix.png);
background-position: center top;
background-repeat: no-repeat;
width: 700px;
height: 300px;
margin: 0 auto;
.flashText p{
width: 250px;
padding-top: 75px;
font-family: "Arial Narrow";
font-size: 180%;
line-height: 1.5em;
color: #666;
#vertStripe {
position: absolute;
top: 325px;
left:435px;
#serviceHeader {
position: absolute;
z-index : 50;
#apDiv1 {
position:absolute;
left:607px;
top:169px;
width:700px;
height:298px;
z-index:2;
html {overflow-y:hidden;}
body {overflow-y:auto;}
#page-background
#content
</style>
<![endif]-->
<!IE7 and lower stylesheet>
<!>If this page is not displaying correctly, please update your browser by downloading Internet Explorer 8.<link rel="stylesheet" type="text/css" href="ie7-and-down <link rel="stylesheet" type="text/css" href="ie7-and-down.css" /> <![endif]>
body
font-size: 70%;
text-align: center;
<!begin flash Movie>
<!>>
<!<![endif]>
Content on this page requires a newer version of Adobe Flash Player.
!http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif|height=33|alt=Ge t Adobe Flash player|width=112|src=http://www.adobe.com/images/shared/download_buttons/get_flash_player .gif!</p>
</div>
<!>>
</object>
<!<![endif]>
</object>
</div>
<!end flash Movie>
!images/waves2.png|height=100%|alt=Waves|width=100%|src=images/waves2.png!
!images/banner_nws.gif|height=120|alt=Northwind Safety Corp.|width=875|src=images/banner_nws.gif!
<!main Navigation menu>
[About Us | about_us.html]
[Services | serv_fa.html]
[Training | train_cpr.html]
[Products | products.html]
First Aid
[AEDs | aed_philips.html]
<!end main Navigation menu>
!images/serviceComp.png|height=250|alt=Van Serviceman|width=400|src=images/serviceComp.png!<!end serviceHeader>
</div><!end serviceImage>
!images/vertStripe.png|height=150|width=5|src=images/vertStripe.png!
<!end vertical stripe>
!images/orderComp.png|height=250|alt=Order Taker|width=380|src=images/orderComp.png!
<!end orderImage>
</div><!end mainImage>
h1. Contact Us
h1. Careers
h3. Northwind Safety Corporation
8425 Rausch Drive
Plain City, Ohio 43064
phone: 614-873-1000
fax: 614-873-1002
[ [email protected] | mailto:[email protected]]
<!end footer div>
</div><!end container div>
</div><!end body div>
swfobject.registerObject("FlashID");
<!end body>
</html>
Thanks -
How to put a Flash movie on IWeb pages
I am trying to find out how I can put flash movies on a website designed in IWeb. The .mov files are large and therefore load very slowly (and are also able to be downloaded by anyone with QT Pro I think).
Does anyone know how to put flash videos (and what format they are supposed to be in - that SWV or FLV) on IWeb? I think I have to put a flash player on the page (or site, whatever) as well.
Apple Care can't help me - and when I went for a One-on-One at the Apple Store it was a complete waste of time (I have to drive an hour just to get there).
I have found a few programs on the internet that I can buy to convert my videos to Flash (without having to spend a fortune on Adobe Flash).
Any help is GREATLY appreciated!
Thanks,
KimI know. Look here:
http://web.mac.com/wyodor/Embed_Media/Embed.html
http://web.mac.com/wyodor/iFrame/
Also search this forum. The question is not unique. -
How do you download flash movies in flash?
how do you download flash movies in flash?
thanksHi ...
Probably need an extension or Safari plugin ...
Check out the results from a Google search here. -
How do I embed flash movie in MUSE?
I am trying to embed a Flash movie in a new page on my site. I want the Flash movie to open in a new page, full screen without header or footer. I have puploaded a page with the correct code (I think) . The page opens but remains blank. The swf movie file does not launch. The files work fine on my hard drive.
Jgrummel, I tried pasting in your code with the name of an audio file, but it did not work even when I published. My guess is that the file needs to ALREADY be on the server, but then I thought if that was the case, does the embed code have to have a folder reference? I am not a coder, so I am trying to figure out at random. Can you provide any step-by-step process for getting audio files to play in the background WITHOUT the player being seen or being loaded in another page? Is the only option to use a thrid party server, like youtube, BUT with that issue is that I get suck with player controls that I do not wnat and it does not loop.
-
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 CS2Copy the OBJECT/EMBED or JAVASCRIPT source code from the auto-generated HTML file and paste that in your GoLive HTML.
-
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>"
> -
How do I get rid of words being highlighted within my web page
Words are highlighted within my web page and if you hover over the word it loads an advertisement.
You may have installed the "DownLite" trojan, perhaps under a different name. Remove it as follows.
Malware is constantly changing to get around the defenses against it. The instructions in this comment are valid as of now, as far as I know. They won't necessarily be valid in the future. Anyone finding this comment a few days or more after it was posted should look for more recent discussions or start a new one.
Back up all data.
Triple-click anywhere in the line below on this page to select it:
/Library/LaunchAgents/com.vsearch.agent.plist
Right-click or control-click the line and select
Services ▹ Reveal in Finder (or just Reveal)
from the contextual menu.* A folder should open with an item named "VSearch" selected. Drag the selected item to the Trash. You may be prompted for your administrator login password.
Repeat with each of these lines:
/Library/LaunchDaemons/com.vsearch.daemon.plist
/Library/LaunchDaemons/com.vsearch.helper.plist
/Library/LaunchDaemons/Jack.plist
Restart the computer and empty the Trash. Then delete the following items in the same way:
/Library/Application Support/VSearch
/Library/PrivilegedHelperTools/Jack
/System/Library/Frameworks/VSearch.framework
~/Library/Internet Plug-Ins/ConduitNPAPIPlugin.plugin
Some of these items may be absent, in which case you'll get a message that the file can't be found. Skip that item and go on to the next one.
From the Safari menu bar, select
Safari ▹ Preferences... ▹ Extensions
Uninstall any extensions you don't know you need, including any that have the word "Spigot" or "Conduit" in the description. If in doubt, uninstall all extensions. Do the equivalent for the Firefox and Chrome browsers, if you use either of those.
This trojan is distributed on illegal websites that traffic in pirated movies. If you, or anyone else who uses the computer, visit such sites and follow prompts to install software, you can expect much worse to happen in the future.
You may be wondering why you didn't get a warning from Gatekeeper about installing software from an unknown developer, as you should have. The reason is that the DownLite developer has a codesigning certificate issued by Apple, which causes Gatekeeper to give the installer a pass. Apple could revoke the certificate, but as of this writing, has not done so, even though it's aware of the problem. This failure of oversight is inexcusable and has compromised both Gatekeeper and the Developer ID program. You can't rely on Gatekeeper alone to protect you from harmful software.
*If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination command-C. In the Finder, select
Go ▹ Go to Folder...
from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return. -
my mac had been formated from HD. ...? HOW TO CATCH BACK MUSICS, MOVIES FROM ( PING'S PAGE ) " THERE ARE CATALOGED ALL MY PURCHASED " ???
Unless you backup your data, follow these instructions.
http://support.apple.com/kb/HT2519
Formatting means erasing, and you normally can't recover from an erase short of redownloading, or copying back from a backup. For more on backing up and data recovery, read this link:
https://discussions.apple.com/docs/DOC-1992 -
How can I set download restrictions on a web page ?
how can I set download restrictions on a web page ?
I mean: to make a web site with text and pictures but in a way that the visitors cannot download the pictures or text ?
Is it possible ?
ThanksFreeway allows you to inject code into the HTML of the page. Upload the movie file to a folder on your server and reference it in the code.
<script src="http://www.domain.com/Folder-Name/QT-JS.js" language="javascript"> </script>
<script language="javascript">
QT_WriteOBJECT('http://www.domain.com/Folder-Name/Movie.mp4' , '640', '496', '', 'AUTOPLAY', 'false', 'CONTROLLER', 'true', 'VOLUME', '50', 'KIOSKMODE', 'true', 'SCALE', 'Aspect') ;
</script>
If you are going to go this route it would be better to use HTML5 with flash fallback to cover all browsers and devices...
http://www.iwebformusicians.com/Website-Movie-Video/Easy-Movie-Player.html
http://www.iwebformusicians.com/Website-Movie-Video/JW-Media-Player.html
http://www.iwebformusicians.com/Website-Movie-Video/Fallback-To-Flash.html
http://www.iwebformusicians.com/Website-Movie-Video/Flow-Player.html -
Help inserting a flash video into my web page
Hello!
I'd love some help inserting a flash video into my web page. My web page is hosted by Viviti, templated, and edited online. I can add html to it, and I have the html source for my flash video. I also have uploaded the flash file to the server. Since I am very html illiterate, though, I need some help rewriting the html script so it can be published. There are two problems- firstly, no 'headers' or 'body' allowed in the script- these are already a part of the template. Secondly, I don't know how to rewrite it to refer to the uploaded files. It's also imperative that the full screen mode functions. I've pasted the source code for the flash video here. Please help!!!
Thanks!
<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>Drag and drop labelling</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', '720',
'height', '440',
'src', 'Drag and drop labelling',
'quality', 'medium',
'pluginspage', 'http://www.adobe.com/go/getflashplayer',
'align', 'middle',
'play', 'true',
'loop', 'true',
'scale', 'showall',
'wmode', 'window',
'devicefont', 'false',
'id', 'Drag and drop labelling',
'bgcolor', '#ffffff',
'name', 'Drag and drop labelling',
'menu', 'true',
'allowFullScreen', 'true',
'allowScriptAccess','sameDomain',
'movie', 'Drag and drop labelling',
'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="720" height="440" id="Drag and drop labelling" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="true" />
<param name="movie" value="Drag and drop labelling.swf" /><param name="quality" value="medium" /><param name="bgcolor" value="#ffffff" /> <embed src="Drag and drop labelling.swf" quality="medium" bgcolor="#ffffff" width="720" height="440" name="Drag and drop labelling" align="middle" allowScriptAccess="sameDomain" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>
</noscript>
</body>
</html>What you basically need to do is copy the sections of content from the code you show into the template (assuming the template already provides the <head> and <body> sections of the page. So in the head section of what you show, take everything starting with...
<script language="JavaScript" type="text/javascript">
all the way down thru...
</script>
, inclusive (in the head section only), and paste that into the head section of your template.
Similarly, take everything that lies between the <body> ... </body> tags (exclusive of the body tags) and paste it into the body section of your template wherever you plan to display the Flash file.
Maybe you are looking for
-
Automatic Credit Note generation during billing
Hi, How automatic credit note is generated during billing where document type is RV ? During Billing i.e, sales invoice accounting document type become RV and accounting entries are :- 01 Customer A/c 50 Revenue A/c 50 Service tax payble A/c 50 Educa
-
RAID-1 for root/swap on Solaris 10 x86
OK, now that I have solved my problem with the update manager I am in the process of trying to create RAID-1 volumes for root and swap. I am working my way through the process by following the procedure in Solaris Volume Manager Administration Guide.
-
Requesting standard basic build and deployment requirements
Operational Data: Microsoft visual Studio 2008 Visual Basic Windows Forms Application Crystal Reports 12.0.2000.0 Deploying on Windows Server 2003, Standard Edition I have been having difficulty deploying a WindowsForms CrystalReports application th
-
I have an old application built under LabVIEW 5.1.1 which opens an .iak file (the file path is embedded in the app) and reads/writes to modules attached to an FP-1000. Recently I was forced to move the setup onto a new PC and now I'm unable to get t
-
Printing and email script/button
I have a form that will be deployed out to employee's laptops that they will use to generate a quote to customers. I need a button that will print the said form as a static pdf document (none of the controls are active that can change the price) and