Rendering Div contents in a flash movie
I have a webpage containing 2 DIV containers hidden using CSS. The site has a Flash Movie embedded. I want to render the content of these hidden DIV containers from within the Flash movie.
I'm using CS4, is this possible? and how would i go about doing this?
Any help would be much appriciated. Thanks for your time,
Tony
HTML
<div id="sectionone">content</div>
<div id="sectiontwo">content</div>
CSS
hide sectionone div and sectiontwo div
FLASH
Display sectionone within flash movie when requested
I would look into the ExternalInterface class.
ExternalInterface allows you to communicate directly to javascript on the page. To make this work you would have the actionscript trigger a javascript function that then returns the requested div value.
Something like:
var div1String:String = ExternalInterface.call("getDiv1");
trace(div1);
|| In Javascript block on page ||
function getDiv1()
return document.getElementById("div1").innerHTML;
Similar Messages
-
I submitted a bug on this behavior, but I am hoping that someone has found a workaround or maybe I am just using Interpret Footage incorrectly.
Here is the problem:
1. Import 20 second long 23.976fps source file into AME
2. Right-click item in Queue and choose Interpret Footage
3. Choose "Assume this frame rate:" and set to 18fps - Duration will update as expected to 0:00:26;19
Results:
Output file will have correctly re-timed active content up to 0:00:20;00 and then hold that frame (which correctly corresponds to 0:00:15;00 from the source file) to the end of the file at 0:00:26;18
Expected results:
Output file should contain the full content of the source file re-timed for the new duration.
NOTE: This behavior will also be apparent in the Export settings Preview window prior to encoding.
Mac OSX 10.7.5
AME: 6.0.2.81 (64-bit)We are actually generating the files ourselves and keeping them 23.976fps (or 25fps for PAL-country clients). We're interpreting the incoming 23.976fps file as 18fps because that is the speed at which it was shot. Super-8 sound film like most other sound film was 'supposed' to be shot / projected at 24fps, but many shooters used 18fps to get more time out of a 50-foot camera load. Our company provides 24p (or 25p) files to clients, and in addition to providing 1 to 1 representations of their film at 23.976fps, we also provide 24p files with duplicate frames inserted so they are easy to work with in NLEs, yet approximate the correct motion for material that was shot at 12, 14, 16, 18 or 20 fps. Our Apple Compressor workflow works great for the 90+% of material that is silent or is sound film shot at 24fps. We would experiment with moving the entire speed-correction workflow to AME if it solved the 18in24 sound problem, and it _almost_ does. The behavior I described is obviously a bug and not 'works as intended' - it will then be a question of whether such an outside use case gets any attention. If I can come up with another use case that would be more popular, then I might get more visibility for the bug. I suppose that some may wish to batch out 24p files from 25p files using the same technique. That is, throw a pile of 25p files into AME, interpret them as 23.976 and write them out to 24p files. I would expect that the last 4% of those files would show a freeze frame...
Message was edited by: buckbito - typo fix -
NavigateToURL to change a div content
I have a page with 2 div, simply like this
<div id="menu">
//here the code for a flash menu
</div>
<div id="content">
//here I want to show a flash movie accordingly to the button clicked on the menu
</div>
I want to show the pages inside the div "content" without reload the whole page, can I do this with navigateToURL()? Can it interact with a js function or an Ajax call? How?If the second div could contain a Flash movie that you use to load the desired swf into, then you could look into using LocalConnection to have the menu talk to the other swf and trigger a function to load the file.
Another option would be to se the ExternalInterface class and have the menu swf talk to dsome javascript in the web page and have that javascript manage the content of the div. Some info on that can be found at... http://kb2.adobe.com/cps/156/tn_15683.html I haven't dealt much with dynamically changing the content of divs, so I can't offer much help there. -
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 -
Two flash movies index problem while in different div
hi,
i have created a page and i use peelawayad file which is in
flash. i was already using two div on home page which contains
flash movies. but now when i placed peelawayad flash movie on home
page. it appears on bottom of both div layers. i tired my best with
stylesheet. z-index and many other tricks which i know best. but
still not able to sucess. can someone help me to getride of this
issue. help would be appriciated. thanks
here is the current site link which has the flash movies
embeded.
http://www.visionetsystems.com/test/
for movies already in home page has following tags and
script.
<script type="text/javascript">
var FO = { movie:"visionet/visionetindexbuttn2.swf",
width:"764", height:"41", majorversion:"8", build:"0",
id:"flashmovie", menu:"0", flashvars:"rootPath=/"};
UFO.create(FO, "quicklinks01");
</script>
<div id="quicklinks01" style="z-index:4;"><img
src="images/visionetindexbuttn2.jpg" width="764" height="41"
border="0" usemap="#Map3"></div>
<script type="text/javascript">
var FO = { movie:"swf/vsi_technology.swf", width:"764",
height:"229", majorversion:"8", build:"0", id:"flashmovie",
menu:"0", flashvars:"rootPath=/"};
UFO.create(FO, "casestudy");
</script>
<div id="casestudy" style="z-index:3;"><img
src="images/vsihome.jpg" width="764" height="229" border="0"
usemap="#Map2"></div>
and peelaway ad has the following JS file which create the
peelawayad on right top corner.
Das Copyright dieses Scriptes liegt beim Autor.
Bitte die Lizenzbedingungen beachten, und ausgefüllt
zurücksenden.
var esel = new Object();
MODIFY TARGET URL
esel.ad_url = escape('
http://events.mortgagebankers.org/servicing2008/register');
// Change URL to be redirected to when clicking Peel Away Ad
END TARGET URL
esel.small_path = 'swf/esel_s.swf'; // Enter the URL of the
Peel Away Corner Flash
esel.small_image = escape('images/expo100.jpg'); // URL of
the Image behind the Peel
esel.big_path = 'swf/esel_b.swf'; // Enter the URL of the
Large Peel Away Corner
esel.big_image = escape('images/expo.jpg'); // URL of the Big
Image Behind the Peel
// Do NOT Change anything under this
line---------------FINISHED----STOP------------------------------------------------------ ----
esel.small_width = '100';
esel.small_height = '100';
esel.small_params = 'ico=' + esel.small_image;
esel.big_width = '650';
esel.big_height = '650';
esel.big_params = 'big=' + esel.big_image + '&ad_url=' +
esel.ad_url;
function sizeup987(){
document.getElementById('eselcornerBig').style.top = '0px';
document.getElementById('eselcornerSmall').style.t op =
'-1000px';
function sizedown987(){
document.getElementById("eselcornerSmall").style.t op =
"0px";
document.getElementById("eselcornerBig").style.top =
"-1000px";
esel.putObjects = function () {
document.write('<div id="eselcornerSmall"
style="position:absolute;width:'+ esel.small_width +'px;height:'+
esel.small_height +'px;z-index:5;right:0px;top:0px;">');
document.write('<object
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="eselcornerSmallObject"
width="'+esel.small_width+'" height="'+esel.small_height+'">');
document.write(' <param name="allowScriptAccess"
value="always"/> ');
document.write(' <param name="movie" value="'+
esel.small_path +'?'+ esel.small_params +'"/>');
document.write(' <param name="wmode" value="transparent"
/>');
document.write(' <param name="quality" value="high" />
document.write(' <param name="FlashVars"
value="'+esel.small_params+'"/>');
document.write('<embed src="'+ esel.small_path + '?' +
esel.small_params +'" name="eselcornerSmallObject"
wmode="transparent" quality="high" width="'+ esel.small_width +'"
height="'+ esel.small_height +'" flashvars="'+ esel.small_params
+'" allowscriptaccess="always" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div></script>');
document.write('<div id="eselcornerBig"
style="position:absolute;width:'+ esel.big_width +'px;height:'+
esel.big_height +'px;z-index:5;right:0px;top:0px;">');
document.write('<object
classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"');
document.write('codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0"');
document.write(' id="eselcornerBigObject" width="'+
esel.big_width +'" height="'+ esel.big_height +'">');
document.write(' <param name="allowScriptAccess"
value="always"/> ');
document.write(' <param name="movie" value="'+
esel.big_path +'?'+ esel.big_params +'"/>');
document.write(' <param name="wmode"
value="transparent"/>');
document.write(' <param name="quality" value="high" />
document.write(' <param name="FlashVars" value="'+
esel.big_params +'"/>');
document.write('<embed src="'+ esel.big_path + '?' +
esel.big_params +'" id="eselcornerBigEmbed"
name="eselcornerBigObject" wmode="transparent" quality="high"
width="'+ esel.big_width +'" height="'+ esel.big_height +'"
flashvars="'+ esel.big_params +'" swliveconnect="true"
allowscriptaccess="always" type="application/x-shockwave-flash"
pluginspage="
http://www.macromedia.com/go/getflashplayer"></embed>');
document.write('</object></div>');
setTimeout('document.getElementById("eselcornerBig
").style.top = "-1000px";',1000);
esel.putObjects();
i am also attaching all files in zip with this thread.
Source
Zip File
thanks
Shahid HussainHi users,
Thanks for reply.
Actually the problem is -
For portrait dimensions are -
width 20
height 30
for landscape , obviously it will be
width - 30
height - 20
Thus , for second page - table width is 20 while page width is 30 and so 10 cm space remains blank on right side of page
user says that right side should not be blank, rather you extend table width to whole page width.
thats where the problem is -
Big issue with playing Flash movie in IE 6.0 with Windows SP2
This is a multi-part message in MIME format.
------=_NextPart_000_006E_01C699E5.68468390
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I face a big issue with Flash 8 movies playing in IE6 with
Windows XP =
SP2, as follows :
I have created a menu with a Flash movie for each button and
a movie =
with scrolling images,
and when the HTML page opens we need to click once on the
button or the =
scrolling images=20
to make-it working.
see :
http://piscine-et-spa.cybergraphik.net
Useless to say that the same movies are playing well in IE6
with Windows =
SP1 !...
Anybody can help ?
Thanks.
------=_NextPart_000_006E_01C699E5.68468390
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1555"
name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>I face a big
issue with =
Flash 8 movies=20
playing in IE6 with Windows XP SP2, as follows
:</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>I have created
a menu with a Flash =
movie for each=20
button and a movie with scrolling
images,</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>and
w</FONT><FONT face=3DVerdana =
size=3D2>hen the=20
HTML page opens we need to click once on the button or the
scrolling =
images=20
</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>to make-it
working.</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>see : <A=20
href=3D"
ergraphik.net</A></FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Useless to say
that the same movies =
are playing=20
well in IE6 with Windows SP1 !...</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Anybody can
help ?</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana
size=3D2>Thanks.</FONT></DIV></BODY></HTML>
------=_NextPart_000_006E_01C699E5.68468390--This is a multi-part message in MIME format.
------=_NextPart_000_0018_01C69A05.5FA39D70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
You've run into the famous IE Flash fix implemented in SP2.
Supposed to =
be a security thing .. yeah .. right. Upgrade Dreamweaver to
8.02 to =
get the fix implemented in the program or visit the technote
here:
http://www.adobe.com/devnet/activecontent/articles/devletter.html
Just don't forget to upload the Scripts folder and file. :)
--=20
Nancy Gill=20
Adobe Community Expert
BLOG:
http://www.dmxwishes.com/blog.asp=20
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)=20
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A =
Beginner's=20
Guide, Mastering Macromedia Contribute=20
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web =
Development=20
"Pascal" <[email protected]> wrote in message =
news:[email protected]...
I face a big issue with Flash 8 movies playing in IE6 with
Windows XP =
SP2, as follows :
I have created a menu with a Flash movie for each button and
a movie =
with scrolling images,
and when the HTML page opens we need to click once on the
button or =
the scrolling images=20
to make-it working.
see :
http://piscine-et-spa.cybergraphik.net
Useless to say that the same movies are playing well in IE6
with =
Windows SP1 !...
Anybody can help ?
Thanks.
------=_NextPart_000_0018_01C69A05.5FA39D70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2912"
name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>You've run into
the famous IE Flash fix =
implemented=20
in SP2. Supposed to be a security thing .. yeah ..
right. =
Upgrade=20
Dreamweaver to 8.02 to get the fix implemented in the program
or visit =
the=20
technote here:</FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"
http://www.adobe.com/devnet/activecontent/articles/devletter.html=
">
http://www.adobe.com/devnet/activecontent/articles/devletter.html</A></=
FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Just don't
forget to upload the Scripts =
folder and=20
file. :)</FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV><FONT
face=3DArial =
size=3D2>
<DIV><BR>-- <BR>Nancy Gill <BR>Adobe
Community Expert<BR>BLOG: <A=20
href=3D"
asp</A>=20
<BR>Author: Dreamweaver 8 e-book for the DMX
=
Zone<BR>Co-Author: =20
Dreamweaver MX: Instant Troubleshooter (August, 2003)
<BR>Technical=20
Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner's=20
<BR>Guide, Mastering Macromedia Contribute
<BR>Technical Reviewer: =
Dynamic=20
Dreamweaver MX/DMX: Advanced PHP Web Development </DIV>
<DIV> </DIV>
<DIV></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Pascal" <<A=20
href=3D"mailto:[email protected]">[email protected]</A>>
=
wrote in=20
message <A=20
=
href=3D"news:[email protected]">news:e7r16q$7ko$1@forums=
.macromedia.com</A>...</DIV>
<DIV><FONT face=3DVerdana size=3D2>I face a big
issue with=20
Flash 8 movies playing in IE6 with Windows
XP SP2, as =
follows=20
:</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>I have
created a menu with a Flash =
movie for=20
each button and a movie with scrolling
images,</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>and
w</FONT><FONT face=3DVerdana =
size=3D2>hen the=20
HTML page opens we need to click once on the button or the
scrolling =
images=20
</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>to make-it
working.</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>see :
<A=20
=
href=3D"
ergraphik.net</A></FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Useless to
say that the same movies =
are playing=20
well in IE6 with Windows SP1 !...</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Anybody can
help ?</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana =
size=3D2>Thanks.</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0018_01C69A05.5FA39D70-- -
Centering a flash movie within Dreamweaver cs3 on Y axis
I have published a movie in Flash cs3 which has generated an html document however the Flash movie is not automatically centered I have attempted to centrally align the movie within Dreamweaver cs3 by adding:
<center> after the opening body tag and </center> befor the closing body tag
This method has centered on the X axis but not the Y axis
I would have put in a table or a div tag, but when I open the html doc in Dreamweaver I have no visible repressentation of the Flash movie in the design view as I would have if I had created an html document from scratch and draged the movie onto the page, all I can see is the "get flash" hypertext and some other text. I did actually experiment by creating a div tag and dragged my movie into it but ended up with two movies one sitting on top of the other when I ran it in a browser lol. I'm quite intimdated by code and much prefer to work in the design view (wysiwyg and all that) which is quite restricting.
Any advice for centering on the Y axis would be much apreciated, Thanks in advance, DaveI don't believe there is code to prevent this from happening
on a client computer. The default is enabled my Microsoft, what
should happen is a yellow bar should appear at the top of the
browser which will allow you view the content.
What might work is to use a program called Zinc by a company
call Multidmedia Limited www.multidmedia.com. Search the site for
samples, one of the samples is a Flash Browser this will run Flash
a browser that you can use. You will need to change the URL a bit
in the Flash code but it's very clear on how to do this.
What this will do is run your web site in a Flash browser I
did a quick test and I did not get any errors. The program will
create an EXE file. I also believe they have a MAC version if you
need one. With a simple "Autorun" call on the CD-ROM you could have
this up and running in not time.
Just be careful of how you call the pages. Since the web site
is not running from a Web server you need to make sure that your
links are local and not Site Root. The best way to test is to
disconnect your computer from your internet and see how it runs.
You want the CD to be self-contained and not have to get content
from the web (your end user may be on a laptop and not connected).
Good Luck -
Flash movie missing one pixel in IE
Hello,
I have a Flash movie that is only displaying 799 pixels. The stage is set to 800 pixles and the width in the HTML document is also 800 pixels. This problem is only happening when viewed in Internet Explorer and I don't remember this being a problem until the last Flash plug-in update.
Here's the code:
<center>
<!--url's used in the movie-->
<a href="graphflash.cfm"></a>
<a href="eyeflash.cfm"></a>
<a href="illusflash.cfm"></a>
<a href="photoflash.cfm"></a>
<a href="ratesflash.cfm"></a>
<a href="contactflash.cfm"></a>
<!--text used in the movie-->
<!--
loading
-->
<!-- saved from url=(0013)about:internet -->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="800" height="600" id="flash" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="allowFullScreen" value="false" />
<param name="movie" value="flash.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#b82325" /><embed src="flash.swf" quality="high" bgcolor="#b82325" width="800" height="600" name="flash" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</center>
Can any help?
ThanksI hunted down a similar bug and found a weired reason for it:
I am using a #page DIV for my content, which is centered by horizontal margins set to "auto".
width: 900px;
margin: 0 auto;
This DIV also has a background image that creates shadow effects around the page.
Now this background image tends to shift against the content of the #page DIV by 1 pixel.
Whether the shifting occurs or not depends on the width of the browser window (even or uneven pixel count). It is clearly some kind of rounding bug.
As I have a Flash header positioned in my page, that header exhibits the exact same symptoms as described in this posting - a white line at its right side. It took me quite some time to discover that this happens only at uneven browser window widths.
This effect is not limited to Flash movies. It also happens with inner DIVs that have a different background color.
One more nice IE surprise (tested and found on IE6,7,8,9). -
Flash movie is repeating in safari browser
Have inserted a flash movie into a web page using dreamweaver. Have exported the flash movie out as window mode = transparent.
have made the <param name="wmode" value="transparent" /> tags. Works ok on most browsers except Safari. It seems to repeat the movie vertically (well just a few pixels of it. Is there any way to constrict the Flash object tag so it does not repeat vertically in Safari?<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="258" height="370">
<param name="movie" value="../media/TAAENV501B_menu_performance.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="8.0.35.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="../scripts/expressInstall.swf" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="../media/TAAENV501B_menu_performance.swf" width="258" height="370">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="8.0.35.0" />
<param name="expressinstall" value="../scripts/expressInstall.swf" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object> -
Spry navigation bar covers flash movie beneath it but not the jpg image, why?
i have a spry navigation bar with a flash movie underneath,
and when i hover over the navbar and the submenu pops down it
covers the flash movie, but it doesn't cover the .jpg image that is
next to the flash movie. how can i fix this? thanks.thanks for the reply Murray, a responder from the flash forum
gave me the following answer and it worked perfect.>>
The <object> and/or <embed> HTML elements that
reference your Flash content accept a number of optional
parameters. For the <object> element, these parameters are
supplied via nested <param> elements. Simply add the
following new <param>:
<param name="wmode" value="opaque">
The <embed> parameters are supplied via attributes. For
the <embed> element, add the following new attribute:
wmode="opaque"
That’s it. Your Flash content is now stackable via
z-index; for example, you may wrap your
<object>/<embed> pair in a <div> and set the
<div>’s z-index as you please.
<div style="position: absolute; z-index=1;">
<object attributes >
<embed attributes />
</object>
</div>
If you’re using Dreamweaver, just press the Parameters
button in the Insert > Media > Flash dialog or in the
Property inspector when selecting existing Flash content. Type
“wmode” (without quotes) in the name/parameter column
and “opaque” (without quotes) in the value column. That
will handle the above HTML for you, even with the new JavaScript
embedding available since the 8.0.2 update. -
Center flash movie in webbrowser
i have the setting in flash cs4 set to align ver center and
horizontal center but when i publish my movie it appears on the
left side , how can i center my flash movie ?i tried your code, didn't work: here is the code on my page. I need my flash movie to beup at the top and centered with the rest of the page. please assist.
<!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>Online_Tagsale.com</title>
<link href="CSS/Online_Tagsale.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
color: #C00;
a:visited {
color: #C00;
a:hover {
color: #000;
-->
</style>
<script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
</head>
<body bgcolor="#FFFFCC">
<div id="banner"><div align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="800" height="150" align="middle" id="FlashID" title="FinalBanner">
</div>
<param name="movie" value="IMAGES/FLASH/finalbanner.swf" />
<param name="quality" value="low" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<param name="LOOP" value="false" />
<param name="BGCOLOR" value="#000000" />
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object data="IMAGES/FLASH/finalbanner.swf" type="application/x-shockwave-flash" width="800" height="150" align="middle">
<!--<![endif]-->
<param name="quality" value="low" />
<param name="wmode" value="opaque" />
<param name="swfversion" value="6.0.65.0" />
<param name="expressinstall" value="Scripts/expressInstall.swf" />
<param name="LOOP" value="false" />
<param name="BGCOLOR" value="#000000" />
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33" /></a></p></center>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
<div id="main_image"> </div>
<div id="column_container">
<div id="banner">
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<table width="824" border="1">
<tr align="center" valign="middle">
<th width="200" height="24" scope="col"><img src="IMAGES/green.JPG" width="200" height="150" alt="green" /></th>
<th width="200" scope="col"><img src="IMAGES/blue.JPG" width="200" height="150" alt="blue" /></th>
<th width="200" scope="col"><img src="IMAGES/shoes.JPG" width="200" height="150" alt="shoes" /></th>
<th width="196" scope="col"><img src="IMAGES/figure.jpg" width="200" height="150" alt="figure" /></th>
</tr>
</table>
<table width="421" border="1" align="center">
<tr align="center">
<th width="411" align="left" scope="col"> <div align="left"></div></th>
</tr>
</table>
<h1 align="center">Welcome</h1>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
<h2 align="center"><strong>Our site was founded by a group of stay at home mothers who hoped to get rid of various items from their homes. </strong></h2>
<h2 align="center"><strong> The idea of organizing and holding a tagsale at home was overwhelming considering their daily responsbilities.</strong></h2>
<h2 align="center"><strong>So was born the idea of having the tagsale online.</strong></h2>
<h2 align="center"><strong>You can browse and shop or join and sell, all from the comfort of your own home. </strong></h2>
<h2 align="center"><strong>- Sign up for our monthly newsletter<br />
- Join our sales team ($59.95 yearly membership fee)<br />
</strong></h2>
<h2 align="center"><strong>Welcome and ..</strong></h2>
<h2 align="center"><strong>THANKS FOR STOPPING BY</strong> </h2>
</blockquote>
</div>
<div id="right_column">
<blockquote>
<p align="center">!!FREE BACKGROUNDS!! at <a href="http://www.webpagebackground.com/">www.webpagebackground.com</a> </p>
<p align="center">!!!FREE RECIPES!!! at <a href="http://www.foodnetwork.com/">www.foodtv.com</a></p>
<div align="center">
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote id="reference">
<h1><a href="ReferencePage.html" title="link2references">Reference Page </a></h1>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</blockquote>
</div>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<blockquote>
<table width="1268" border="1">
<tr>
<th width="62" scope="col"> </th>
<th width="260" scope="col"><a href="Index1.html"><img src="IMAGES/FLASH/home.gif" alt="home" width="208" height="50" hspace="25" border="0" longdesc="IMAGES/FLASH/home.gif" /></a></th>
<th width="309" scope="col"><a href="mailto:[email protected]"><img src="IMAGES/FLASH/contact us.gif" alt="contact" width="200" height="50" hspace="37" border="0" longdesc="IMAGES/FLASH/contact us.gif" /></a></th>
<th width="312" scope="col"><a href="http://get.adobe.com/flashplayer/"><img src="IMAGES/FLASH/flashbegger.gif" alt="products" width="200" height="50" hspace="45" border="0" longdesc="IMAGES/FLASH/products.gif" /></a></th>
<th width="291" scope="col"><a href="Product.html"><img src="IMAGES/FLASH/products.gif" alt="products" width="200" height="50" hspace="45" border="0" longdesc="IMAGES/FLASH/products.gif" /></a></th>
</tr>
</table>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"> </p>
<script type="text/javascript">
<!--
swfobject.registerObject("FlashID");
//-->
</script>
</body>
</html>
</p>
</div>
</div>
</body>
</html> -
Load webpage in flash movie?
I've been working with components for a while with a lot of
actionscript, and I really cannot find out how to put a website
inside a flash movie using the internet connection component. Am I
using the right component or am I trying the impossable? Please
respond. Thanks in advanced!You can load the raw html - if flash is told (e.g. via
flashvars) the url of the page that you want (its available in
flash as what you would think of as the browser's 'view source'
style plain text) with either as2 or as3.
But you can't do full browser-style rendering of the content
because flash just can't do all that. You could parse the raw html
(probably a custom parser as I think the internal xml parser might
choke on some of the tags in html that are not closed such as
<br> etc) and just pick out bits of text or images that you
could display but you can't achieve an embedded browser.
Adobe's AIR might be more what you want - it has embedded
browser support- but it doesn't run inside a browser like flash. -
Crop flash movie from top ???
I'm trying to crop my flash movie from the top. I'd like to
crop it by 20 pixels or so. I heard there was a way to do this
using the "SALIGN" parameter and alignment tags but I don't know to
code it. Can someone revise my code (below) to include the proper
parameters and tags? Thanks.
<html xmlns="
http://www.w3.org/1999/xhtml"
xml:lang="en" lang="en">
<head>
<title>Photos</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
<script src="Scripts/AC_RunActiveContent.js"
type="text/javascript"></script>
</head>
<body bgcolor="#000000" text="#000000" topmargin="0">
<div align="center"><script
type="text/javascript">
AC_FL_RunContent( 'codebase','
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0','widt h','766','height','720','src','header','quality','high','pluginspage','http://www.macromed ia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash','movie','header'
); //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=5,0,0,0"
width="766" height="720">
<param name=movie value="header.swf">
<param name=quality value=high>
<embed src="header.swf" quality=high pluginspage="
http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="766" height="720">
</embed>
</object></noscript></div>
</body>
</html>Tzvetan,
Goto Properties of the Gauge
Behavior>common>Needle Movement
Increment and value as "0"
-Anil -
Getting html into a flash movie
A client is concerned with getting some html text picked up
by the search engines. I've already created a flash site they are
happy with. Now they are asking if I can actually make part of
their flash site include some html text layed over the flash movie
or something like that.
All I could think of was some way (perhaps with javaScript)
of making the buttons in the swf movie load html text.
Does anyone know if this is possible?
Thanks.
A
P.S. Someone mentioned the "SWFObject method" but I was
curious if there was another way to do this. Remember the main
concern here is that search engines can pick up the text.>> P.S. Someone mentioned the "SWFObject method" but I
was curious if there
>> was
another way to do this. Remember the main concern here is
that search
engines
can pick up the text.
That's the way to go if you want search engines to spider a
Flash site.
SWFObject writes the Flash content to a <DIV> on your
page. Inside that div
element, you place your HTML page... you can do dynamic stuff
with PHP,
whatever. If your user doesn't have Flash, or if a spider
hits the page,
they will see the HTML content within the div. If they do
have Flash, then
SWFObject overwrites the div with the Flash, and your user
sees the Flash.
Works a treat...
If you want an example: www.arandell.com
Turn off JavaScript and refresh, and you'll see the HTML
version. Google
spiders this site perfectly.
Dave -
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/ -
Flash movies with play button don't work
I have the 'simple' problem that everytime I see a "play" button on a web page with flash content, clicking on it won't start the movie. However, e.g. YouTube movies work fine. So it seems it's just movies that do not start automatically after clicking on a link.
Also, checking the flash player e.g. at the Adobe site (http://helpx.adobe.com/flash-player/kb/find-version-flash-player.html), tells me in a flash box I have the latest flash player installed, and I see the flash movie 'flash player is running on your system' with the red ball rolling in it.
I have the same problem for both google Chrome and for IE.
I still have an old Dell Inspiron 6000 notebook with Win XP (latest updates) and ATI mobility Radeon X300 graphics chip, for which I also installed the latest available drivers.
Experimenting with Flash Player settings was unsuccessful so far (e.g. no hardware acceleration, clearing all internet data in the Flash Player global settings tool).
My desktop (also with Win XP and with the same browsers and Flash Players/Flash Plugins installed works fine...).
I also know that it worked at an earlier time with this NB...
I managed to run the movie with a Linux Live CD but that is not what I want to do every time...
Any idea is highly appreciated.....Hi BalusC, i have saved the datamodel (a ArrayList) in SessionBean. It can't be null. The rows of table display correct. I don't understand, why functions buttons with ObjectArrayDataProvider, but not with ObjectListDataProvider?
I found a page with same problem: http://forum.java.sun.com/thread.jspa?threadID=549675&tstart=30
Maybe you are looking for
-
Hi, Iam new to oracle. When I give the below query at SQL prompt. SQL> select col1||'`ß`'||col2 from tablename where rownum<2; 1-J7WGX*`ß`*1-7OKC-23 Iam getting ß within appostropies...... If I remove appostropies and give the query it is throwing an
-
Itunes can't sync my songs into iphone
please help. I'm at my wit's end. after upgrading my iphone to iOS4 and itunes to 9.2, i can't sync all my songs at all. i keep getting an unknown error (-50) please help.
-
Dear apex devs! I need an option to control the order clause in an select statement. Hence I have a two buttons, which when pressed bind a global page item via Ajax. I then thought I could reference the content of my Application Item in the sort orde
-
what is ment by new g/l functionalities in ecc6.0? how it differs from earlier versions. and provide me any other features for thsi.
-
Barcode - not showing in header
Hi In my RTF Barcodes are fine in body but when I try to show it in word Header it prints only junk. pls help (in EBS) Thanks Rahul