Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash








Controling The BG Color On The Html Page


HI
is ther a wey to control the BG color on the html page
from the swf movie???

thank's

che




FlashKit > Flash Help > Flash ActionScript
Posted on: 11-04-2001, 06:20 AM


View Complete Forum Thread with Replies

Sponsored Links:

Controling 2 Movies In One Html Page
hi,
can you pass info between 2 movies embeded in one page without using just actionscript ie no fscommand?

View Replies !    View Related
Flash Script Controling HTML Page
Hi guys I have an HTML page that has some HTML buttons, some text, some images and i have a Flash movie in it also. What I want to do is to be able to go to different HTML pages controled by buttons within the Flash movie but I'd like them to open withing the same HTML page, right now the way I have it it opens in a separate page with the following script:

on (release) {
getURL("http://www.site.com/main.html", "_blank");
}

View Replies !    View Related
Html Link Controling Flash Movie On Single 2 Frame Page
Scenario:
On a 2 frame dreamweaver page, left frame containing html link and right frame containing a flash movie.

Question:
How can the html link (lt frame) make the flash movie (rt frame) goto and play a particular frame within the movie?
(All taking place on same page, as described in scenario)

hope someone can help...

View Replies !    View Related
How Do I Change The Color Of The Html Page ?
I want to have my flash centered, but I want to be able to change the color of the surrounding html page it's within. HOw do I do this? What is the default?

Thanks.

View Replies !    View Related
Changing The Bgd Color Of The HTML Page From Flash
I have my flash SWF in the middle of the html page. I want four little buttons inside flash that will change the background color outside of flash in the HTML page.

I think it has something to do with the "fscommand".

How exactly can I do this?

View Replies !    View Related
How Do I Change The Color Of The Surrounding Html Page.?
I want to have my flash centered, but I want to be able to change the color of the surrounding html page it's within. HOw do I do this? What is the default?

Thanks.

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
Matching Color In Flash To HTML Of Page
I posted about this awhile back in the newbies forum but i thought i'd also post here as well...

I'm having color matching issues-

For example,this flash piece looks like the of the flash piece fits seamlessly on my web browser (safari- I'm on a mac running 10.3.3) and on a number of machines and browsers that i tested it on. But sometimes i show this page to someone and the colors don't match (the flash piece looks darker) and it looks amateurish. The hex dec codes are the same and the photos and all graphics done in photoshop and imported are sRGB and match the parts of the page where it's just blank page.

My question is: how do i get it so that the flash will match the html and graphics that aren't contained in the flash file. I have read many books and asked a lot of people and no one seems to be able to say with certainty on how to do it.

Any help would be 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
How Do I Change The Color Of The Surrounding Html Page?
I want to have my flash centered, but I want to be able to change the color of the surrounding html page it's within. HOw do I do this? What is the default?

Thanks.

View Replies !    View Related
Controling Color Swatches Exactly
Hi
Im using the radial fill in the swatch panel.
There are 2 things that bug me.

1. When I select an object already filled one would
expect that the fill would show up in the color mixer panel.
It doesnt. So there's no way to modify the fill already used unless I have saved that particular swatch using save swatch. Grrrrr!

2. I want to position the swatch color markers exactly.
For instance have white at the outside and black 33% in, blue at 66% and then red at the centre. Why this is not simple I dont understand!
Can this be done with action script?

Thanks
Dan V

View Replies !    View Related
[color=indigo] How To Make A Transition In My Page ?[/color]
I saw the first picture on a web site, "http://bigspaceship.com/". He use some kind of nice transition to blend a picture to another. Does anyone know how can I achieve the same effect ?

View Replies !    View Related
Controling An MC With An Html Url
I've found many tutorials and threads on how to pass a variable from my html url to my Flash movie so as to control the MC,, but none of them seem to cover what to do with that variable.

I have a simple Flash header. Within the header is a MC withimages. I need that MC to go to a different frame depending what html page the visitor is on.

ie: services.html (my movie clip would go to frame #2 or label "services")
contact.htm (my movie clip would would go to frame #3 or label "contact")
etc.

Can someone either describe step by step, or direct me to, the instructions to make this happen?

Thank you,

View Replies !    View Related
A Load Html Page Button On A Two Frame Html Page
can someone help me? I want to load an html page on a different frame of the same html page from a swf that are in the principal frame. I know i have to use javascript and, i suppose, fscommand. Can someone help me? I'm a novice on javascript

View Replies !    View Related
Controling Flash Via HTML
Is there any such way that one could tell a flash movie to skip to a certain frame by using html, I've tried everything please help!! Basically i have buttons which are your generic rollovers in html. When i want to preview and click on a button it gives me the message that this object doesnt perform this method. Although DreamWeaver gives me this code onClick="MM_controlShockwave('0','','GotoFrame','3 0'). Can this be correct, if so why will it not skip the movie to frame 30.

I used swish to do the movie and photoshop with image ready to throw out the code in html format, then i use Dreamweaver to do the finishing touches.

View Replies !    View Related
Controling Flash With Html
how can i control a flash movie clip with html? is it possible to play different scenes, or control any of the movie properties?

thansk

View Replies !    View Related
Controling Flash From HTML?
Does anybody know if I can tell a flash movie to do something from an HTML button. If yes, please post it here.

thanks in advance

View Replies !    View Related
HTML Controling Flash
I was wondering, i've seen it done but was wondering how a roll over(java script) can control a flash movie. I haven't seen anything on this in flash books.



Cheers

View Replies !    View Related
Controling Html With Flash
I want to do a flash menu that controls all the html, like this site.

Do I control it with javascript?

View Replies !    View Related
Controling Movies Is Different .html Frames
I have a site that Im working on. The site has about 5 frames built into it. One is the main navigational frame with a flash nav-pad in it. When you click on a link the desired content popsup in the body frame. Now There is a subnavigator made in flash that is in the submenu frame. I want, when clicking on the nav-pad button, the submenu movie to go to and play a specific frame. Seems easy but isn't working. Any suggestions?

View Replies !    View Related
Controling Flash From Html Links
Problem:
i have several links in html, that open always the same pop-up which includes a map.swf.

What I want to do is:

when pressing the 1st html link it opens the map.html(map.swf) and it stops on frame 1 of the swf.

when pressing the 2nd html link it opens the map.html(map.swf) and it stops on frame 2 of the swf.

when pressing the 3rd html link it opens the map.html(map.swf) and it stops on frame 3 of the swf.

and so on... hope somebody can help me... thank you!

View Replies !    View Related
Html Controling Flash Movie
I have a site that has a flash navigation bar and I want to be able to make html links oustide of the flash movie (both in images and text) interact with flash.

Here is a link to the site I am building:
www.rdlstudio.com/sound_solutions

Is this possible or should I change my approach.

View Replies !    View Related
Flash MX And Controling HTML Frames
OK i've got a little problem here, what i'm trying to do is create a website that uses frames, so that the header stays the same as the end user navigates thoughtout the site, now the problem is linking the flash with the html. i've set the button though flash to load target as _mainFrame and i've also tried mainframe with no underscore, however neither worked is there some bit of code that i'm missing? as you can see i can build simple links or buttons that are packaged with dreamweaver to accomplish this however i still run into the same problem with the logo which i want users to use as a home button. if anyone reads this and has an idea on what i'm doing wrong please reply.


site is located at http://65.12.165.203/robwri%20frames/try/index.htm



Thanks in advance to all who reply


ROB

View Replies !    View Related
Flash MX And Controling HTML Frames
OK i've got a little problem here, what i'm trying to do is create a website that uses frames, so that the header stays the same as the end user navigates thoughtout the site, now the problem is linking the flash with the html. i've set the button though flash to load target as _mainFrame and i've also tried mainframe with no underscore, however neither worked is there some bit of code that i'm missing? as you can see i can build simple links or buttons that are packaged with dreamweaver to accomplish this however i still run into the same problem with the logo which i want users to use as a home button. if anyone reads this and has an idea on what i'm doing wrong please reply.


site is located at http://65.12.165.203/robwri%20frames/try/index.htm



Thanks in advance to all who reply


ROB

View Replies !    View Related
Movie Clip Controling Within Html Frames...
What action should I use and how?

I have 2 frames:

1-menu) menu.swf
2-screen) screen.swf

how do I make screen.swf button in "screen" frame open 5th frame of the menu.swf in "menu" frame ?

Thank you

View Replies !    View Related
Controling Html Pages Through Flash Interphase
i have a frameset in dreamweaver.in the top frame i wish to keep a flash movie with buttons.i want to navigate to html pages in the bottom frame.how can i do this pl help some one.
regards
suresh

View Replies !    View Related
Controling Html Pages Using A Flash Interphase.
iam developing a site using dreamweaver.iam using two frames.top and bottom.i wish to insert a flash movie with buttons.i want to control the html pages in the lower frame.using the buttons in the flash interphase in the top frame.can some one help.
suresh

View Replies !    View Related
Controling A Flash Movie With HTML Coding?
How can i build buttons in HTML (Dreamweaver MX) that can control what frame of Flash is visable? I am trying to create a site that consists of a main HTML coded page with a Button/Link menu that will change what frame of the flash movie is visable! I want the flash to contain the content of the site!

View Replies !    View Related
Controling 2 Seperate Swfs On 1 HTML File
I was wondering if there was a way to have 2 SWF files talk to each other even though they are seperate. I don't want to load the other into the file, thats not a problem, i need the 2 seperate files to be seperate and i need one to tell the other to play a certain frame.

Any help would be greatly appreciated.

View Replies !    View Related
Html To Flash Controling Movie Clips
Is their any way out to control a flash movie clips from html

pls let me know,

sabs

View Replies !    View Related
Matching HTML Color To Flash Color
How come when I set #336699 to my HTML page background and also #336699 to my flash .swf background. I put the swf into the page and I could see the difference between the two colors!!!! How do I fix this?

View Replies !    View Related
Controling A Flash Movie From Another One In A Diff. HTML Frame?
Hello,

does any one know if I can control a flash movie, from another flash movie in another HTML frame. Or how about controling one flash movie from another one on the same HTML page (but they are not related). How? Any tutorials?

Thanks in advance

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
Removing The Border And Controling User(s) Window Size When Publishing To HTML
Is anyone familiar with a method of removing that ugly border one get's when publishing to html... furthermore is it possible to control the size of the window that pops up when someone types in your URL or clicks on a link that goes to your site?

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
Import The HTML Page Or Web Page Into Flash MovieClip
Hi,

Is there any possible to load or import the HTML page or web page (i.e, http://mail.yahoo.com) into Flash MovieClip?. If any knows the answer plz reply me immediately.

Balaji..

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
Copyright © 2005-08 www.BigResource.com, All rights reserved