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.
Ultrashock Forums > Flash > Flash Professional
Posted on: 2004-06-07
View Complete Forum Thread with Replies
Sponsored Links:
.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
View Replies !
View Related
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.
View Replies !
View Related
Flash SWF As Background On HTML Page?
Is it possible to set a SWF file as the background of an HTML page (or table)? We want to have a moving background on the page using Flash, but we want to be able to put HTML text / graphics / etc over the background. Is this possible? If so, how? I use Dreamweaver. Thanks!
View Replies !
View Related
Flash As HTML Page Background
I have seen a few site in the past using a swf as the sites background while the remainder of the site is HTML or PHP.
The last site I saw doing this was a section of bbc.co.uk but htey have since removed that section other wise I would of looked at their code to see how it was done.
So my question is how would I do this? I am guessing Javascript but does anyone have an example?
Cheers
Kevin
View Replies !
View Related
Load My Html Page In The Background
Hi all,
I need help from someone. I have an html page. When i open it it takes time to load the images. I don't know if this is the right place to ask but i need a preloader or something like that will load my html page in the background and then when all the images are fully loaded it displays the page. Can this be done?
View Replies !
View Related
Flash As Background For For HTML Page?
Hi:
Can anyone give me an idea about what I'm doing wrong for making a Flash move as the background for my page? I can't get the movie to show up.
I'm doing this:
<html>
<head>
<style type="text/css">
<!--
#myContent
{
z-index: 2;
position: absolute;
}
#mySwf
{
z-index: 1;
position: absolute;
}
-->
</style>
</head>
<body>
<div id="myContent">
Test of Text over Flash Movie
</div>
<div id="mySwf">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="100%" height="100%" id="Flash_BG">
<param name="allowScriptAccess" value="sameDomain" />
<PARAM NAME=wmode VALUE=transparent>
<param name="movie" value="images/Flash_BG.swf" /><embed src="images/Flash_BG.swf" wmode="transparent" width="100%" height="100%" name="Flash_BG" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</div>
</body>
</html>
Any ideas? My research says this is possible, but no luck.
Thanks in advance,
SP
View Replies !
View Related
Change Html Page Background Color
Is there any way from Flash to change the background color of the HTML page it is embedded in?
Basically I want the html page background color to be white whilst my preloading animation displays and then change to brown once the site has loaded.
Currently the preloading animation and associated code is contained within the main movie.
Any help or tips much appreciated
P
View Replies !
View Related
Flash Movie As A Background In An HTML Page
Abit new to flash.
I have made a swf that I want to play in the background of an HTML page while other HTML elements are on top, image buttons, etc. (I cant make the other elements flash due to some other issues in the enviroment I am designing this for at this time.) But it seems no matter what I do, the flash movie cant have anything on top of it. I have tried as a seperate frame in the background and as an embedded object at a lower layer number.
Is it even possible, and if so any hints or help to get that to work?
Thanks for any suggestions, much appreciated.
View Replies !
View Related
Detect Background Color Of Html Page
Is it possible to detect the background color of the html page the flash file will be put on?
I am creating a web page that will randomly choose the background color. I would then like the flash animation to choose from several animations based on the background color.
Any help is greatly appreciated!
View Replies !
View Related
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I have posted this question before and someone gave me this code to use:
<html>....<head>
<SCRIPT LANGUAGE=JavaScript>
<!--
function NEWbg(newcolor) {
document.bgColor=newcolor;
}
//-->
</SCRIPT>
Button action in flash :
on(release){
getURL("javascript:NEWbg('#FFFFFF')");
}
/////////////////////////////
or from flash w/o any code in html :
on(release){
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");
}
The problem with this is that it brings up a dialogue box about flash security settings when you press the button which obviously won't do. does anyone know another method? Thanks in advance.
View Replies !
View Related
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I have posted this question on another site and someone gave me this code to use:
<html>....<head>
<SCRIPT LANGUAGE=JavaScript>
<!--
function NEWbg(newcolor) {
document.bgColor=newcolor;
}
//-->
</SCRIPT>
Button action in flash :
on(release){
getURL("javascript:NEWbg('#FFFFFF')");
}
/////////////////////////////
or from flash w/o any code in html :
on(release){
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");
}
The problem with this is that it brings up a dialogue box about flash security settings when you press the button which obviously won't do. does anyone know another method? Thanks in advance.
View Replies !
View Related
Action Script To Change Background Colour Of Html Page
Hi, I'm trying to create a button in my flash move that would be able to change the background colour of the html page that holds it. I have posted this question on another site and someone gave me this code to use:
<html>....<head>
<SCRIPT LANGUAGE=JavaScript>
<!--
function NEWbg(newcolor) {
document.bgColor=newcolor;
}
//-->
</SCRIPT>
Button action in flash :
on(release){
getURL("javascript:NEWbg('#FFFFFF')");
}
/////////////////////////////
or from flash w/o any code in html :
on(release){
getURL("javascript:document.bgColor='#FFFFFF'; void(0);");
}
The problem with this is that it brings up a dialogue box about flash security settings when you press the button which obviously won't do. does anyone know another method? I'm using action script 1. Thanks in advance.
View Replies !
View Related
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
View Replies !
View Related
Will Swf Loaded Into One Html Page Be Cached For Another Html Page
Trying to decide how best to structure a flash website and would like to know if loaded swf elements are cached.
Basically I was going to structure the site into 5 separate sections each a separate flash file on a separate html page.
i.e
Homepage.html (this holds homepage.swf)
Services.html (this holds services.swf)
Portfolio.html (this holds portfolio.swf)
ComingSoon.html (this holds comingsoon.swf)
Contact.html (this holds contact.swf)
Each of these main flash files will share certain elements such as the navigation buttons, the main interface etc.
My question is, once a shared swf element has been loaded into homepage.html, is this shared element then in the browsers cache and does not require to be downloaded again when the user navigates to say services.html?
The main reason I am structuring it this way is to allow bookmarking of each of the main sections and also to keep the initial download file size down rather than have to download all 5 sections as one movie.
Thanks
Paul
View Replies !
View Related
Opening Popup Page In Standalone Projection (no Html Mother Page)
Hello,
I am creating a standalone projector (CD with autorun).
This means my swf files are NOT contained within html.
I would like to, when clicking on button, open a popup html page with specific dimensions.
I was wondering if it is possible to do that, and what AS to use,
or if I have the obligation, to openpopups, to launch my swf files WITHIN html mother page.
HERE IS THE CODE OF MY BUTTON THAT WORKS (but does not open popup):
on (press) {
getURL("URL", "_blank");
}
HERE IS THE CODE FOR POPUP BUT DOES NOT WORK (opens html page normaly):
on (press) {
getURL("URL", "", "width=580,height=400,left=100,top=100");
}
thanks guys.
View Replies !
View Related
Opening Popup Page In Standalone Projection (no Html Mother Page)
Hello,
I am creating a standalone projector (CD with autorun).
This means my swf files are NOT contained within html.
I would like to, when clicking on button, open a popup html page with specific dimensions.
I was wondering if it is possible to do that, and what AS to use,
or if I have the obligation, to openpopups, to launch my swf files WITHIN html mother page.
HERE IS THE CODE OF MY BUTTON THAT WORKS (but does not open popup):
on (press) {
getURL("URL", "_blank");
}
HERE IS THE CODE FOR POPUP BUT DOES NOT WORK (opens html page normaly):
on (press) {
getURL("URL", "", "width=580,height=400,left=100,top=100");
}
thanks guys.
View Replies !
View Related
Swf Working Fine In Html Page But Showing In Asp Page In Ie Only(not Firefox &Opera)
Hi friends,
I am stuck in a weird problem.
A simple code for displaying flash slider in asp page is wrking fine in IE but not wrking properly in firefox & Opera browser.
same piece of code is wrking good in HTML file and showing properly in IE, firefox & Opera.
I am placing the piece of code and also attaching the asp page containing the code.
Please help me to solve the issue.
Code:
<table border=0 cellspacing=0 cellpadding=3 align=<%=imgAlign%>>
<tr>
<td align="center" width="50%">
<OBJECT classid="clsid: D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" WIDTH="420" HEIGHT="730" id="slideShow">
<PARAM NAME=movie VALUE="slideShow.swf">
<PARAM NAME=quality VALUE=high>
<PARAM name="wmode" value="transparent">
<EMBED src="slideShow.swf" quality=high bgcolor=#FFFFFF WIDTH="420" HEIGHT="730" NAME="myMovieName" ALIGN="" TYPE="application/x-shockwave-flash"PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</td>
</tr>
</table>
regards
View Replies !
View Related
Naming Of HTML Entry Page & Flash Intro Page?
Hey Everyone. What is the best way to name the entry non-Flash (HTML) page - the splash or index page, whatever it's called - that is the gateway to the final Flash site, which will open in a new window? When users type in the basic web URL - for example, http://www.mysite.com - I want them to come upon an entry page that states "Click here for Flash Player 6" and "Enter if you have Flash Player 6". When the user types in the basic URL should I have the entry page called http://www.mysite.com/index.htm?
One step further... How do I configure things so that when the user comes to the entry page, Flash 6 is automatically detected on both Mac & PC platforms? Detailed answers will be much appreciated, as well as links to tutorials.
peace out,
*< Scottie
View Replies !
View Related
Naming Of HTML Entry Page & Flash Main Page?
Hey Everyone. What is the best way to name the entry non-Flash (HTML) page - the splash or index page, whatever it's called - that is the gateway to the final Flash site, which will open in a new window? When users type in the basic web URL - for example, http://www.mysite.com - I want them to come upon an entry page that states "Click here for Flash Player 6" and "Enter if you have Flash Player 6". When the user types in the basic URL should I have the entry page called http://www.mysite.com/index.htm?
One step further... How do I configure things so that when the user comes to the entry page, Flash 6 is automatically detected. Detailed answers will be much appreciated, as well as links to tutorials.
peace out,
*< Scottie
View Replies !
View Related
Anyway To Have A Small Html Page Embedded Into A Larger Flash Page?
I've developed a website completely in Flash. Now, I have a space in this Flash page where I would like to have, upon a certain button click, load up an HTML page...within the Flash page itself. So, I have the layout, and all the links and all that in the Flash website. In the content area of that Flash site, I want an html page to appear after clicking a certain button, thus turning the Flash into somewhat of a border. Is there any simple way to do this?
Thanks a lot!
View Replies !
View Related
Embedd A Dynamic HTML Page In A Flash Page
Hello,
Lets say If i have a list of sorted html pages on my server, can I pull on of them and display it in my FLash movie dynamically according to the user prefrence. Say, the user want to only see files with the first letter 's', then can I pull up these files and display them dynamically in the Flash movie? if so, how do i go abt doign this???any help is appreciated!!!!thanks...
View Replies !
View Related
Ugly Transition From Flash Page To Html Page
Hi-
I made a flash movie with soundtrack as an intro for my client. At the end of the movie I put a frame action to get URL and automatically jump to the main page of the site. The background color for the site is black, but in between the intro flash page and the main nav page, white flashes for a split second. You can see the work in progress at www.musicbymelinda.com/melindasite/.
She loves the movie, hates the jarring white flash. I tried lengthening the movie, it didn't help ... she does not want to make her viewers click on a button to enter site.
Any suggestions how to make a smooth transition? thanks. -knox
View Replies !
View Related
Call Anchor In Html Page From Dynamic Page
Hi,
I'm having a problem with calling an anchor in an html page.
I try to do this from an dynamic textfield, in this textfield is a html code like:
<a href="page.html#anchor1">link</a> when i click it my default browser Safari(OSX) is opening and is pointing to page.html without the anchor link....This problem is a that is only happening in Safari. Can someone help me out here??
Greeting Zeb
View Replies !
View Related
Flash Splash Page Redirect To Html Page
I am very new to flash and please forgive my lack of knowledge.
So here is my question... How do I get this splash page to redirect to this HTML page as soon as the flash movie stops?
Also any preloader guidance or reading material would be greatly appreciated. I have no idea where to begin with the preloader.
Thanks in advance -
View Replies !
View Related
Popup Page In Standalone Swf (no Parent Html Page)
I am having a similar problem as david68 http://www.kirupa.com/forum/showthre...ight=popup+swf
I have created a standalone swf (my swf files are NOT contained within html). When a button is clicked I would like to open a popup html page with specific dimensions. There is surely a way to do this, right? By specifying the size in the HTML document using JavaScript or CSS....or possibly using some sort of script in getURL?
I tried using JavaScript in getURL in Flash...like this somewhat...
getURL("javascript:window.open('URL', 'win_name', 'width=580,height=400,left=100,top=100');");
But like david68, a blank white page opens and closes itself in the speed of a blinking eye.
Any ideas? Please help! Thanks.
View Replies !
View Related
Popup Page In Standalone Swf (no Parent Html Page)
I am having a similar problem as david68 http://www.kirupa.com/forum/showthre...ight=popup+swf
I have created a standalone swf (my swf files are NOT contained within html). When a button is clicked I would like to open a popup html page with specific dimensions. There is surely a way to do this, right? By specifying the size in the HTML document using JavaScript or CSS....or possibly using some sort of script in getURL?
I tried using JavaScript in getURL in Flash...like this somewhat...
getURL("javascript:window.open('URL', 'win_name', 'width=580,height=400,left=100,top=100');");
But like david68, a blank white page opens and closes itself in the speed of a blinking eye.
Any ideas? Please help! Thanks.
View Replies !
View Related
Passing Variables From A Movie In One HTML Page To A Movie In A Second HTML Page
I have an .swf nav bar in one HTML page with several buttons. Each button needs to trigger a second HTML page to load with a main movie in it and also designate which additional .swf to load into that main movie. I currently have this code on one of the buttons (similar code setting different values for the variable project to trigger different .swfs on the other buttons):
on (release) {
project = "vw";
getURL ("bigbox.html", "", "GET");
}
View Replies !
View Related
Having An Html Page Load A Swf File Outside The Page?
Here's another challenge for you gurus. Well..maybe not a challenge to you people...but certainly one for me
I haved created a movie which I like to have played full screen. I know this is not usually desirable, however in the case I would like it so.
I have added an fscommand to the first frame of my movie:
fscommand("fullscreen", "true");
When I play my swf movie it works fine, but it won't go fullscreen in my browser. So I guess I have three questions:
1. Is there a way to force the browser to go fullscreen (no scroll bars either)...or...
2. Is there an "onload" command that I can use in my html file that will launch the swf file as a standalone player?
3. I notice if I put the full url to my swf file in my browser that will work as well..so maybe there is some sort of redirection I can use to redirect my index.htm page to XXX.swf ?
Thanks again...you guys are awesome.
Abe
View Replies !
View Related
Put SWF Into HTML Page But How To Also Add Flash Mp3 Player Into Same Page?
For my web-site, each seperate HTML page in dreamweaver mx2004 has a different flash SWF attached to it, but all these flash SWF scenes all have the same background in them for consistency.
The problem is my showreel page, I created a flash SWF ready for dreamweaver, but I also want to incorporate a flash mp3 player I have into the same HTML page!
Can anyone please tell me how to do this?
Thanks Jim
View Replies !
View Related
Turn Flash Page Into An Html Page?
Hi all,
So here's my dilemma. Got this job to put together a site for a financial company with a friend of mine. We're both more into illustration more than anything else and have basic/ intermediate knowledge of flash but know very little about html..
Here is the dummy - http://uzugexe.com/tiel.html
This company really wants some flash design and were very specific with what kind of animations they want on the page. Thing is though, they're now saying that ranking in a search engine is essential. So we've tried to persuade them to ditch the flash idea completely and have an html only site...but because they really loved what we'd come up with (i personally think it's too much!) they asked if we could try and combine the two....
Any ideas on how we could use the animation as it is as a kind of intro but then have it turn into an html page automatically - without seeing too much difference when it changes? Is it possible to have the html 'under' the flash movie, then have the flash movie fade away and 'unload' to reveal the html page?
Hope this makes some kind of sense!
Any suggestions much appreciated
Pat
View Replies !
View Related
How To Load Either Flash Page Or Html Page?
Hi,
I am new to Flash. I have a webpage made in Flash, a page made in regular html. I want the user to be automatically directed to the html version if they don't have Flash 8 installed.
I checked out SWFObject but im really confused of what to do. This has been done so many times, there must be an "easy" way to do it. It is javascript code, right? Where do i add the extra code?
Any help would be great!
Thanks,
Dave
View Replies !
View Related
Getting Flash To Load HTML Pages Into Iframes In A Seperate HTML Page
Hi everybody
Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm currently running an animation within a webpage, and my client would like to be able to have some captions in HTML on the page that go with specific parts of the animation.
He wants the captions done in seperate HTML pages so that they can be changed into different languages at a later date.
I am loading these captions (HTML pages) into <iframes> on the page.
So far so good..... however...
I need to be able to get flash to load the HTML pages into the <iframes>, in certain points within the animation.
So... Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm guessing getURL is used somewhere, but I don't know the exact code.
Hope you can help!
Deadhands
View Replies !
View Related
Getting Flash To Load HTML Pages Into Iframes In A Seperate HTML Page
Hi everybody
Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm currently running an animation within a webpage, and my client would like to be able to have some captions in HTML on the page that go with specific parts of the animation.
He wants the captions done in seperate HTML pages so that they can be changed into different languages at a later date.
I am loading these captions (HTML pages) into <iframes> on the page.
So far so good..... however...
I need to be able to get flash to load the HTML pages into the <iframes>, in certain points within the animation.
So... Does anybody know how to get Flash to load HTML pages into a seperate HTML page?
I'm guessing getURL is used somewhere, but I don't know the exact code.
Hope you can help!
Deadhands
View Replies !
View Related
Passing HTML Form And Hidden Variables From Flash To Html Page
Hi,
I have a html/flash site now, http://www.zachariack.com.
i access email from my site itself by giving the userid and pwd text box which i copied from the actual website hosting my email access. i copied the entire
<form...></form> tag to my page and thus was able to put the name and pwd in my home page only and access the email in a separate window.
now i have redesigned my webpage using only flash. i would like to know how i can implement the same using flash. as i have not much experience using action scripting i am a bit stuck about how you pass the hidden form variables. the below is the the exact form syntax:
<form name="form1" action="http://www.accudatanet.com/mail/msglist.php" method=post>
<input type="hidden" name=sid value="E9697301F704A0CE947DEF42CF86636A">
<input type=text size=15 name=f_user value="">
<input type=hidden name=six value=0>
<input type=password size=15 name="f_pass">
<input type=submit name=submit value="Login >>" class="button">
</form>
how do i implement the above using action scripting. thanks.
regards,
vasant
View Replies !
View Related
HTML Code In Flash To Load An HTML Page In A Frame
Hello.
I have an existing website built in html, with three frames. One on the top for the banner, one on the left for navigation, and a larger window to the right of the navigation for the main content. I want to replace the content in my navgation frame with a flash built navgation menu, and when my menu items are selected, it will load a new page in the content frame.
I currently have this working fine in html. I can make my buttons link to a URL no problem in flash, but how do I tell it to load the content into the other frame? I haven't started this process yet, and figured I'd ask first to get any ideas.
Thanks.
View Replies !
View Related
Background Color Of Page.
This topic must have been asked a thousand times before. This is probably an issue that should have been posted on newbie but it is not like I am new to Flash or something.
I am using Flash MX 2004 Professional. I needed to change the background of a webpage to match the on on the flash file. I have done this in the past, so I repeated the procedure. I follow the JavaScript function that I used to do so.
<script language="JavaScript">
function changeBG(newColor) {
if (window.document && window.document.bgColor) {
document.bgColor = newColor ;
}
}
</script>
Inside Flash, I inserted a getURL call on the first frame of each scene.
getURL("JavaScript:changeBG('#000000')");
It is not working. I tried FSCommand and I also moved the getURL to a test button. It is not working. To make a try, I tried simply a getURL to open a new page. It also did not work. It worked on the projector but not on the browser. I disabled Popup Blocker and it STILL did not open the new window.
I downloaded the example file from Macromedia Website and the example file, both getURL and FSCommand, also did not work. It may be a security issue on my machine or something I am missing.
So I am asking for help here. I tried to solve this all day long and I can't find any more ways to do it. Even another website where I made this successfully is not working. The older website was made on Flash 5 and always worked perfectly. I really have no idea of what to try next. If anyone has, please help...
Leandro
View Replies !
View Related
Load Home Page In Background?
Is it possible to run a splash page while my web home page loads in the background? Or should I say, use the splash page as a preloader for the home page? The home page would then pop up completely loaded.
I'm using Swish v2.0 and NetObjects Fusion 4.0
http://users.utionline.net/~pp06364/
View Replies !
View Related
SWF Border To Page Background Color
I've to made some swf file in flash mx where the border blur the image to back ground color, and so the angle will be rounded and the swf file fill much prettier its position in the page, without neat border, i think must do this with mask but i don't know HOW, please help me... Thanks.
View Replies !
View Related
|