Text Background As In HTML Css
Hi,
I'd like to have a background for the text, but not for entire textarea or -block. Just like I can do it in html with css background-color (background color is as wide as the text on separate lines). Do you know solution for that how to do it inside Flash?
thanks Nibjen
ActionScript.org Forums > Flash General Questions > Other Flash General Questions
Posted on: 08-22-2005, 06:12 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
HTML Background Matching Flash Background
Hey, I have a flash website that opens as a pop up, the pop auto fullscreens. The background in the flash document is a gradient, and I have a gradient in the background of the html. My question is how would I get the background of the HTML to always match up with the flash background using a percentage?
www.flippingsweet.net/index2.html
Sending Html Text To Html Dynamic Text Field But It Dosnt Show
code: theNews = "<font color=#FF9900>"+newsRow0newsDate+"</font>"+": "+newsRow0newsStory+newline+"<font color=#FF9900>"+newsRow1newsDate+"</font>"+": "+newsRow1newsStory+newline+"<font color=#FF9900>"+newsRow2newsDate+"</font>"+": "+newsRow2newsStory+newline;
newsArea.textMain.htmlText = theNews;
trace("the news ="+theNews);
The data dosn't display but if i change the textMain.htmlText to .Text then it works, i need the formatted text.
Is ther something wrong with this?
i cant see anything wrong.
Cheers
Paul
Sending Html Text To Html Dynamic Text Field But It Dosnt Show
ActionScript Code:
theNews = "<font color=#FF9900>"+newsRow0newsDate+"</font>"+": "+newsRow0newsStory+newline+"<font color=#FF9900>"+newsRow1newsDate+"</font>"+": "+newsRow1newsStory+newline+"<font color=#FF9900>"+newsRow2newsDate+"</font>"+": "+newsRow2newsStory+newline;
newsArea.textMain.htmlText = theNews;
trace("the news ="+theNews);
The data dosn't display but if i change the textMain.htmlText to .Text then it works, i need the formatted text.
Is ther something wrong with this?
i cant see anything wrong.
Cheers
Paul
Html Background Help
sorry, didn't know where to post this.
how is a HTML background done? like when you have one tiny 10x10 pixel bitmap with for example a faint diagonal line and have it repeated over the whole thing so it looks like you've got a large detailed image instead of in reality a tiny image thats just repeated through code.
also does anyone know the code for resizeing it to fit the page, etc...
thx, squid.
Background In HTML
I know some of Flash, but nothing of Dreamweaver. Several questions I can route to my tech guy...
1. Is there a way to make the Flash presentation take up the entire screen?
2. If not, can I change the background--there's a white frame.
3. How do I center it? When I publish, I check the center boxes, but it always appears in upper left corner taking up the majority, but not all of the browser window, which is white. My flash movie is another color. So it all looks pretty ugly right now.
HTML Background
I have this:
currentPhoto = _root[_root.collection + _root.activeStyle + "photo"];
loadMovie(currentPhoto,img);
to change the background of the SWF file. Now what I need is a way to change the background of the HTML file containing the SWF with the same image. In other words, something that will allow me to say that the HTML background=currentPhoto from the SWF file
Thanks!
BacKgROUNd In HTmL
i've made website from flash. Now instead of plain solid color background, i want to make it linear gradient. i've created big box as my BG
My problem is that when I published it on HTML, it still have some solid color. I want it to be fully linear gradient. I think I'll show the picture so it will be more clear...
Flash As Background On Html
I would like to know how is possible to add a flash movie as a background in a html site already with text and imagens...
Thanks so much...
CHANGING HTML BACKGROUND
hi anyone
plz help me, that how i can change the html background from the flash movie.
if possible plz send me the fla.
TRANSPARENT BACKGROUND IN HTML>>>
alright how do you have html so the swf is transparent???
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
WIDTH=100% HEIGHT=100%>
<PARAM NAME=movie VALUE="randomobjects.swf"> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=medium> <PARAM NAME=bgcolor VALUE=#CC9933> <EMBED src="randomobjects.swf" menu=false quality=medium bgcolor=#CC9933 WIDTH=100% HEIGHT=100% TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
</OBJECT>
for example
Different Background Colours (SWF And HTML): Why?
Hi.
I apologise if this has an obvious answer, but I can't figure this out.
My SWF is embedded in an HTML page, and both have backgrounds of 000033. This displays perfectly on my Mac, but on PCs the SWF's background appears slightly lighter.
The same applies if I try to use alternative colours, publish for different flash versions, and even if I tile a 10x10 pixel bitmap as the background.
Does this mean that SWFs are a bit lighter on PCs?
Is this a known issue, or am I being stupid?
Thanks in advance for any help.
Transparent SWF Over HTML Background
hi there,
am trying to get my swf file background (its set to white) to appear transparent over an HTML background image.
i know this can be done but am unsure how ..
any ideas?
Html Background Appearance
does anyone have any tips for how to get background images to seam with jpegs in flash movies... sometimes if i use a gradient that goes from the swf to the html it looks really bad with the way flash interprets the jpeg.
thanks,
dave
Flash Background In HTML
Hey all,
A background in html is an image that is tilled to seamlessly fill the screen...right?
So...
Is it Possible to have my background as a swf??
Scaled to 100%, it surly could cover the entire background of the site, with endless motion. eg. bubbles...or wind...
has anyone done this?
or CAn some one tell me how?
thanks everyone!
Tiled Html Background
i've been viewing some of the forums regarding this subject, but i must be having a brain fart or something....i've been entering this code in the HTML bit...
<body bgcolor="#000000" background="cover/the_image.gif">
except i haven't used the cover bit because i was under the impression that i should put the name of the folder that the .gif is in.. ie.
<body bgcolor="#000000" background="what_ever_folder/bg.gif">
i just end up getiing the first color specified in the code..ie #000000
i've tried using using other extensions and i'm reaching a dead end...seems like such an easy task...
anyone know?
:confused
Background In Flash And HTML
Hello,
i am just posting my web site and i got a big problem.
My flash movie has areas where there it is empty. So i want those areas to get the same texture as the background which i use for the page where that flash movie is inserted.
I tryied to insert an image in flash but it doesn't look perfect in the transition. Do u know how to solve this?
Thank You,
Miguel
Match Background To Html
I've searched and searched for an answer to this. Why does the Flash hex color and the html hex color not match? Same exact color, but on some monitors, the color shifts. (of course it's perfect on mine)
I tried a one pixel background, no dice.
tried the same hex color in param name="BGCOLOR", still no luck.
I just need it to match!!
See an example: TEST
Please help!
Thanks,
silber
Background Music In Html
I have set a loadstreamingmp3 - behavior on the first frame of my fla.file and it doesn't work in html, but it does work in swf?
Flash As HTML Background
Hi,
I know this has been covered before, but I can't get the suggested methods to work. I have followed the instructions from here: http://www.kirupa.com/developer/flash5/dhtmlflash.htm
I basically want to do the opposite of that, i.e. I want the Flash under the text, not on top of it. I thought I could just change the Zindex of the Flash to 0, or -1, but it didn't work.
I'm using Flash MX 2004 Pro, although I doubt that makes much difference as I think the solution will lie in the HTML.
Thanks.
Emulate Html Background?
Is it possible to emulate an html image background in a sense?
By that I mean - an image loads seperately into the background behind a flash file's main movies, and fills the entirety of the viewer's window space.
That seems to be the question I am faced with at the moment, and would love to move on ahead knowing it, though it is such a simple thing.
Thank you in advance, hopefully I can be of assistance in the future...
Eric
HTML To Continue The Background Of Swf?
Hey there,
I need to continue the background graphics of my published swf on the HTML that holds it. please look at www.studiosixdesign.com/amanda to see what I mean.
Can anyone tell me how to do this? I'd REALLY appreciate your input!
Thanks!
Furpants
Html Background Image?
How would you do a background like this and make it line up with the flash movie? -----> EXAMPLE Woul I use CSS or what? Thanks for the help!
Using Flash As A Background In Css Html
Is it possible to use a .swf for a background in an xhtml/css file and then put text and other <div>'s over top of it? If so, are there any browser limitations?
Swf Embedded In HTML Background
I'm just trying to figure out how to add an swf to the background of a site that contains a combo of swf's and HTML, all in tables...
I'm using Dreamweaver...I tried this code:
Code:
<style type="text/css">
<!--
#divFlashBackground {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;
z-index: 10;
}
</style>
</HEAD>
<BODY bgcolor="#FFFFFF">
<div id="divFlashBackground">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="100%" id="background" ALIGN="">
<PARAM NAME=movie VALUE="sunProblem.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=wmode VALUE=opaque>
<PARAM NAME=bgcolor VALUE=#CC0000>
<EMBED src="sunProblem.swf" quality=best wmode=transparent bgcolor=#CC0000 WIDTH="100%" HEIGHT="100%" NAME="background" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</div>
</BODY>
</HTML>
But it sits above the HTML content...yet...below the other swf's on the page...
Any help is seriously appreciated.
Bluej2
.swf Background In Html Page
I have a application that loads into a html page.
What I would like is for the background color to be a certain color (is there any way to have a .swf as a background color in a html page. / specifically a full scale color while the app stays the same size.
I guess one way could be to make a fullscale layer=0 and then load the app into the second layer=1, but then there is the issue of sizing?
Can anyone help me out, thanks for your time and energy
R
Transparent Background Without Html?
I am using flash with a 3rd party software for a game menu. we want the flash movie to have a transparent background, but we are not using html which is where this feature usually resides.
Is there another way to make the background transparent that is contained within the swf itself?
Don't Want Flash Doc Background In Html
Could someone please help me
I have a flash document swf and html to export into dreamweaver.
In flash document dimensions are set to 1280 by 1024.
This what my display properties sceen resolution is set to.
I have the flash movie set to the same size as the document but when I publish and open the html in dreamweaver there is the document background color around the swf movie. No matter what settings i use there still is a 5 pixels odd of document background which looks like a border.
I have tried to adjust in the publish settings dialog box the Dimensions settings to 100% and also scale. No luck. etc
How do I get rid of the background . I would like the swf to take up all of the width of the html page. No borders.
Thanks for your help
Tiaka
FLA Background Does Not Match HTML
Hi,
I have an index.html with a background and a flash movie covering the majority of the page. I can't find how to make the background in the FLA transparent and in order to avoid the white background of the FLA I put the same background in the movie as I used on the HTML page. But the borders are clearly visible and look unprofessional.
Is there a way to avoid this border effect?
Background Swf Doesn't Let HTML Through.... ?
So, I'm using an swf as a background for a div.
I've got 2 divs in the HTML page, one for the swf, and one for the HTML content.
Using CSS, I position them on top of each other, and set the z-index so that the swf is in the background.
So far it works fine.... but if I switch to another tab.. then switch back.. you can see it glitching. It only flashes the HTML as it updates.
Has anyone had this kind of problem?
Html/css Background Flash Help
I seriously need some help. I am somewhat new to flash and need some help as soon as possible (ANY REPLY will be greatly appreciated). I submitted an earlier post under the topic "masking a fading image," but no one has replied (I didn't mean for it to sound ignorant or retarded, but I'm just trying to find the right words to accomplish what I'm trying to do. I will break the entire task down into more appropriate topics and take it one step at a time.
My first step is as follows: I've created a flash movie file that I would like to set as the background in an html page. Is this possible? I do know when I publish the flash as a transparent web page, I can view the source, copy that, and integrate it into the html page I want to create (with a background color ="#000000") as long as the flash file is saved within the directory of the web content. However, the code (since it is transparent) seems to be just placed on the html page (on the foreground), and the animation will hover over any links or pics that are also place within the page. Is there a way to set the whole flash file in the background of the html page, so it doesn't seem to hover over other content? Thank you ahead of time.
Joe
Can I Use .swf As Background Of An HTML Page
Hi everyone !
I am very new to flash and i have a little question. I want to know if i can use a shockwave flash (.swf) file as an alternative of background image of HTML page. I will be so thankful.
Regards
Rizwan Akram Zia
Changing The Background Of .html
if you have a white .swf background, then your .html will be all white. etc. how do i make the .swf grey or something and make the .html a pattern? suchas a this site..
http://www.squidfingers.com
heres my source..
<HTML>
<HEAD>
<center>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<TITLE>PixelExplosion</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="750" HEIGHT="400" id="PixelExplosion" ALIGN="top">
<PARAM NAME=movie VALUE="PixelExplosion.swf"> <PARAM NAME=quality VALUE=best> <PARAM NAME=scale VALUE=exactfit> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=devicefont VALUE=true> <PARAM NAME=bgcolor VALUE=#033366> <EMBED src="PixelExplosion.swf" quality=best scale=exactfit wmode=transparent devicefont=true bgcolor=#003366 WIDTH="750" HEIGHT="400" NAME="PixelExplosion" ALIGN="top"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
<style type="text/css" media="screen">
@import "/pattern3.css";
</OBJECT>
</BODY>
</HTML>
Flash As HTML Background
Is it possbiel to make flash as a html background?
well.. this is what i typed in
Code:
<embed src="main.swf" style="postion:absolute; left:0px; top:0px;">
it did show up however my minline frame covered the flash even though ive set the alpha of the inline frame to 75.. it should be a little opaque.. anywayz i need help! Thanks
Flash Background In HTML?
Is is possible to have an .swf file as a background in an HTML file so that it covers the users browser 100%? I am able to get the background as 100% scalable but I am having a hard time figuring out how to add tables and content to it? I would like for it to be compatible in IE and FireFox. Heres a snippet of the div tag and swf settings.
Sorry if this is the wrong category for this thread and thanks in advance.
This is placed in between my body tags.
<div id="branding" style="position:absolute; left:0px; top:21px; width:100%; height:100%; z-index:199; visibility: visible; background-color: #FFFFFF; layer-background-color: #FFFFFF; border: 1px none #000000;">
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="100%" hspace="0" vspace="0" width="100%">
<param name="loop" value="false">
<param name="menu" value="false">
<param name="movie" value="bg_login.swf">
<param name="quality" value="high">
<embed src="bg_login.swf" height="100%" hspace="0" loop="false" menu="false" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" vspace="0" width="100%"/>
</object>
</div>
Changing The Background Of .html
if you have a white .swf background, then your .html will be all white. etc. how do i make the .swf grey or something and make the .html a pattern? suchas a this site..
http://www.squidfingers.com
heres my source..
<HTML>
<HEAD>
<center>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<TITLE>PixelExplosion</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
WIDTH="750" HEIGHT="400" id="PixelExplosion" ALIGN="top">
<PARAM NAME=movie VALUE="PixelExplosion.swf"> <PARAM NAME=quality VALUE=best> <PARAM NAME=scale VALUE=exactfit> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=devicefont VALUE=true> <PARAM NAME=bgcolor VALUE=#033366> <EMBED src="PixelExplosion.swf" quality=best scale=exactfit wmode=transparent devicefont=true bgcolor=#003366 WIDTH="750" HEIGHT="400" NAME="PixelExplosion" ALIGN="top"
TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
<style type="text/css" media="screen">
@import "/pattern3.css";
</OBJECT>
</BODY>
</HTML>
Flash As HTML Background
Is it possbiel to make flash as a html background?
well.. this is what i typed in
Code:
<embed src="main.swf" style="postion:absolute; left:0px; top:0px;">
it did show up however my minline frame covered the flash even though ive set the alpha of the inline frame to 75.. it should be a little opaque.. anywayz i need help! Thanks
.swf As HTML Table Background
My goal is to have this BG.swf file as the background for an HTML table which I'll then put some context over the BG.swf background.....if possible.
Here's my HTML so far:
<body>
<table width="780px" height="96px" background="BG.swf">
<TR>
<TD>
<script type="text/javascript">
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','780','height','96','src','BG','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','BG','wmode','transparent' ); //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="780" height="96">
<param name="movie" value="BG.swf" />
<param name="quality" value="high" />
<param name="wmode" value="transparent">
<param name="SCALE" value="noborder">
<embed src="BG.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
type="application/x-shockwave-flash" width="780" height="96" wmode="transparent" scale="noborder" align="top"></embed>
</object>
</noscript>
</TD>
</TR>
</table>
</body>
**********************************************
**********************************************
I actually need this above table to have the BG.swf file as the background if possible and this below table as the text:
<table width="780" cellspacing="0" cellpadding="0" height="40" border="0" align="center">
<tr>
<td bgcolor="#C89292" height="24" class="text" align="center">Club Text:<br/>
<table width="100%" border="0" summary="All of our great sponsors!">
<caption>
<span class="style4">Please visit our great sponsors: </span>
</caption>
<tr>
<td>Sponsor 1</td>
<td>Sponsor 2</td>
<td>Sponsor 3</td>
<td>Sponsor 4</td>
</tr>
</table></td>
</tr>
</table>
Thanks!
Flash + Html Background
Hi all.
A lot of times I've seen flash websites with two vertical bands at the sides of the swf, especially when that bands had a drop shadow.
I have two questions:
1) Are that bands included in the swf?
2) What is the best way to use drop shadow laterally to the swf?
Thx to all and sorry for the bad english
[as-2 + Html] Transparent Background Of Swf
hi
i would like to put swf movie into an html page. how can i make his bachground to be transparent ( i use some background in HTML page that i don't want to change )
thanx
Background Html Page
I have several buttons in _root. When u press a button a movie appears in level 1. Now I want to change the background of the original html into the same color the movie has.
for example:
button a on root...press...movie a appears in level 1. And I want the html page turn red.
button b on root...press..movie b appears in level 1. And i want the html page turn blue.
How do i do it?
Thnx in advance for your kind help.
Change HTML Background Colour
From within my flash movie, I need to change the background colour of the html page it is embedded in. I know I should use the FSCommand() function, but I can't figure out the correct syntax.
I've tried FSCommand("bgcolor", "#003300") but it does not work.
An easy one for a flash guru.
Thanks in advance,
Dean
HTML Background And SWF Don't Line Up Correctly
This is driving me nuts!
I have tried adjusting it several ways over the last 2 days and just can't seem to make it work.
The background of the HTML cells next to my Flash movies don't line up even tho I'm using the exact same GIF for both.
Here are some screenshots to show what is happening:
I'm sure some of you must have run into this problem before and figured out a cure.
I would be eternally grateful if anyone can tell me what I'm doing wrong or what the solution is.
Thanks in advance.
Html And Flash Page Background
I would love to know how the guys who did www.south.uk.net made the dropshadow on either side of the body.
I can see the use of www.south.uk.net/sides3.swf for the background, but where does the dropshadow come into it?
Any experts out there at pulling apart sites - I would love your help.
Thanks.
Change HTML Background Color?
Hello!
I have a flash movie embedded in an HTML file (see rough example : http://www.studio209.com/color.html )
When you click on the links ("movie 1", "movie 2", "movie 3") the background color of the flash movie changes.
is there a way to change the background color of the HTML to match the background color of the Flash file?
Thanks!
Flash HTML As Desktop Background
I made a nice desktop swf animation which serves as a , well i dont know how to explain it but, look :
http://nsad.web1000.com/misc/desktop01.jpg
yeah, and i was wondering if there is anyway to get rid of the background of the text on the bottom of the icons? I know those things cant be get rid of if the desktop background is HTML though.
Thanks in advance for any help.
|