ActionScript 2.0 :: HTML Background Affects Flash Functionality?
Apr 30, 2008HTML Background affects flash functionality
View 1 RepliesHTML Background affects flash functionality
View 1 RepliesI'm looking to be able to run some actionscript 3 in the background to handle some audio and build a javascript front-end. I heard that you can simply compile actionscript 3 and run it using the flex framework
View 2 RepliesIs there a solution to have the background audio/music play across multiple page on a website, WITHOUT restarting on every page load.The website currently uses a frameset, but I'm looking for an alternative.
View 2 RepliesThe Flex tile containers will create and remove tiles as the data changes and seems good to use in areas where the content is dynamic. How to implement this functionality in HTML? I guess that we need to use some JS and/or CSS.
View 1 RepliesI need to display antialiased systemfonts (because the swf filesize must be small, therefore i can't embedd fonts). So I wrote this script in order to manually antialias the text
Code:
public function renderTextField():BitmapData{
var w:int = this["mainTextField"].textWidth+10;
[code]......
I'm making a website at the moment which will all be done in flash (currently 1000px wide x 450px height) - what i want is a background which is consume the entire width of the page regardless of what the users screen resolution is, im not sure if this is a html/css thing or a flash thing.
View 3 RepliesTutorial or an easy to follow example of flash being popped up over an html page and the background of the page fade to a slightly darker colour so that the flash is more prominent.
I've seen it done and would like to know how its done. An example of what i'm speaking of is here[url]...
1. I am creating a Flash banner to go at the top of my website that is going to animate the name for the site one letter at a time. I have this part of the banner completed as a movie symbol that I have added to my main timeline. What I was wonder is if it is possible to set a timer or some type of pause for how long I want it to wait before looping again? I dont want to stop the looping all together but would like to maybe make it pause for 5 minutes or so before starting animation again. Keep in mind it has to be done within the movie symbol becuase I have other animation going on the main timeline that will just continuously loop.
2. Is it possible to set a flash swf to the background of a html document? The reason I ask is again with my banner I am creating I have a menu bar that is about 3/4 of the ways down the height of banner. I want me primary animation to be able to move behind this menu bar. I realise I can make the menu straight in flash adding my links directly to it, but I would perfer to handle that in straight html or whatever if possible.
Anyone know how to make a flash SWF appear as if it's in the background when published on a page where other JAvaScript and HTML menus might be required to appear "over the top of" the SWF?
View 3 RepliesI had published the Flash project which resulted in the creation of a HTML file. I previewed what the web page would look like by opening the HTML file in a browser. The first obvious issue was that the page was not centered, but left-justified. I think that I know how to satisfy that issue by reading the HTML file into Dreamweaver and adding a <center> tag just below the <body> tag. The issue that I cannot figure out is that my page is a bit smaller than my monitor size, so there is naturally the white "fill" areas to the margins. Is there a way to change this color to black? Is that the bgcolor variable that is in the <body> tag?
View 1 RepliesI want to place MCs in various places on top of an html background. the code for the background is here:
<div style="position:relative; width:100%; height:100%; z-index:10; left:
0px; top: 0px; visibility: visible;
<div align="center"><img src="Demo/Mech-Brake-LR.jpg"></div>
Its not officially a background image, but I want it to stay the same no matter what is being played...
Trying to code my graphic design portfolio and wish to to have embedded flash movie with thumbnails, change the html background to the specific clicked image.
Have been searching and read there is a way to have the flash button talk to javascript to change the current background image.
it's possible to dynamically change the background of the holding HTML page from Flash?I thought it would be possible through making a Javascript call from Flash?
View 1 RepliesIm using this code to change the HTML background color from Flash:
In Flash:
Code:
on (release) {
getURL ("javascript:changeBgColor('#ff00ff')");
}
[Code].....
It does work when i publish flash till Flash Player 7- for 8 or 9 it does not work. What else i can do to make it work for Flash Player 9..
I made a 'movie' in Premiere and exported as FLV., Its suppose to be a banner on the top of a web page. The site was made with Dreamweaver. When played locally, the banner does great. When I put it on the server, thats a different story. I can tell thats something is there because it loads the background color of the flash file but it doesn't play the FLV.
View 1 RepliesHow you make sound affects
View 1 RepliesI made a panel movie with required designs which can be used as several pages in flash document. This is the basic design for all pages. Now, I would like to make changes in pages according to their subject. But when I make any change in one page the other pages are automatically changed.
View 1 RepliesNow then, I am working on a game and I've come across a problem that I simply cannot figure out. I have a symbol with the instance name of "textbox" (genius, no?) and I have a button with no instance name. Now, within the "textbox" symbol, I have two frames; one of which is named "descentlava". When the aforementioned button is clicked, I need the "textbox" symbol to gotoAndStop on the "descentlava" frame. My feeble mind managed to whip up the following code for the button:
on (release) {
_root["textbox"].gotoAndStop("descentlava");
}
Unfortunately, this does not work and frankly, I'm losing my mind trying to figure this out all on my own. Anyone feel like they could offer some assistance?PS: Not sure if this changes anything, but I feel I should mention that the button and the "textbox" symbol are both within ANOTHER symbol with no instance name. Perhaps this is whats causing the problem, but taking everything out onto the stage is a big no-no. It must be contained within the symbol.
I have a combobox (ddList) populated through xml and I can get a movieClip to change its alpha when an associated item in the combobox is clicked. What I'd like to do is return that original movieClip back to its original state when another item is clicked from the combobox. Thus having this second movieClip change in alpha.[code]
View 3 RepliesI want to use RTMP based HTTP DVR functionality and HLS based IOS functionality, So I need to know how to MPP from my existing DVR app to the livepkgr app so that the stream being recorded at the DVR app can be used by the Flash and Stream MPP over to livepkgr app and can be used by the IOS HLS.
View 1 RepliesI habitually create my websites with a stage size of 950 x 580. They tend to appear slightly small in any browser which is ok because they can all normally be "zoomed-in" on using the browser zoom functions.
I have just created a site which loads several external .swf's into a main movie clip and the browser zoom works fine UNTIL I incorporate a further .swf which was created from a PDF file (using swfTools - pdf2swf).
This seems to disable the normal browser zoom with the effect that everything is just moved up and left a little rather than remaining centred and enlarging.
I can't seem to get my head round why when I set the colortransform object for one clip in my movie, it seems to affect the entire movie - textboxes and everything..I thought that a colorTransform it only affected the specified and child clips in the movie.Example - I have a lot of things attached to _root.I have a particular clip which is on its own and is attached to the _root - this is my code...Code:clip.transform.colorTransform = new flash.geom.ColorTransform(0.05, 0.05, 0.05, 1, 0, 0, 0, 0);That seems to set the clip nice and dark as I want it to - but it also sets all other clips and all clips dynamically added afterwards to have the same colortransform settings... am I missing something from the CT object?
View 4 RepliesActionScript Code:
import fl.controls.ColorPicker;
import fl.events.ColorPickerEvent;
import flash.geom.ColorTransform;
[code]....
I was going to use this code and modify it to work with the previous code.
ActionScript Code:
var OBJECTcolorInfo:ColorTransform = OBJECT.transform.colorTransform;
cpOBJECT.addEventListener(ColorPickerEvent.CHANGE, colorChange);
[code]....
A quick note, the OBJECT is there to show it's supposed to refer back to the "["bg"+String(i)]" bit is. I just don't know how to tell the code to look for it.My main goal is to have an object, for instance a rectangle, be draggable (and placeable). You would then set a series of color pickers to said rectangle, changing areas of it's colors once you double click it.However, the rectangle must move as a whole and not have to have each individual color part be repositioned along with it.
just fond a cool page and would love to know how they did it.
[URL]
Does Flash Player 9's BlendMode ability transpose to normal bitmap data (JPG, PNG, etc.) outside or beneath the SWF? I have a movieclip that I'm trying to blend with an HTML background like Photoshop. It currently doesn't react to the options I've tried.
View 2 RepliesI want my swf animation to be set as the background in my html page so I can put tables on top of it. I tried to do it but the swf file is not coming up.
View 3 RepliesI'm looking or a way to change my HTML background color trough Flash. here is the code i'm using
[Code]....
I am playing a background on my webpage by using miniswfloopplayer, now I want the music to play continuously throughout the website, currently the music starts all over again when a page loads which is quite obvious. I am looking for a approach where I can avoid the above situation.
View 1 RepliesI am quite new to AS3 and I have never worked with classes, so I am encountering a couple of problems.
I'd like to center a movieclip, have it so that it doesn't scale. And then I'd like to add a background color that stays there no matter how I scale the browser.
Can someone please explain me this in babysteps? Since I don't know how to implement a class and make it work with my fla.
I made a movieclip that has 3 plain color thumbnails and 1 image thumbnail pop up when my "change theme" button is clicked. I can't figure out how to go about changing the background color/image when the appropriate thumbnail is clicked. I know I need to set up an addeventlistener, but I don't know where to go from there. Maybe I need to have Flash load a new CSS file for every thumbnail clicked?
View 3 Replies