How To Create Background
Aug 13, 2009How can I go about creating an adjustable background like in the following site
[URL]
I presume the width of the background changes depending on the resolution of each monitors.
How can I go about creating an adjustable background like in the following site
[URL]
I presume the width of the background changes depending on the resolution of each monitors.
i tried to make background of one mc, but i cant create condition for duplicating the movie
i can create only horizontal line on mcs, but how go on?
I have a web site project created in Dreamweaver. On the home page I need a swf file that is transparent and will animate over the dreamweaver backgound.
View 3 RepliesI need to create a fullscreen background when I press a button, so I created this code, it works only if I'm not in fullscreen mode... why??
ActionScript Code:
import flash.display.Sprite;
stage.addEventListener(Event.RESIZE,resizing);
[Code].....
I can't understand why if I push de button to go full screen and then I press the button to create the "ombra" sprite, it doesent work, it doesnt create the sprite, but If I press esc to go out the full screen, it magically apper.
If I press the createOmbra button before going full screen everithing works fine.
Is there a pointer/tutorial on how create something similar to the following sites: [URL]
It appears that there are multiple layers that move at its own speed when rolling left or right.
I want to create an analogical clock but i have a problem. I've created a new MovieClip that is a square. This square i want to use to represent the seconds in a minute and minutes in a hour.[code]...
View 7 RepliesI would like to create a scrolling background for a web site (something that functions like the old 2d pane scroller games). Does anyone know of any books/articles that address this functionality?
View 6 RepliesI'm trying to create a fireworks background using as3. I had found one tutorial that looks great, but uses as2 and i'm having trouble converting it to as3. i've done all of the lynda.com tutorials on particle systems, but still can't quite figure out how to get the firework working correctly.
[Code]...
Is it possible to create an swf file with a transparent background? If so, how? If not, why not?
View 2 RepliesI was wondering if anyone knows if you can create a flash file with a transparent background. Ultimately i would like to insert my flash file (which is a website) into dreamweaver but i want it to interact with my background image in dreamweaver (which fills the whole browser page edge to egde) so it shows through my flash file which will have an opaque backgorund?
View 3 Repliesi am trying create a new background as vertical gradient. but i can not find such a option. only horizontal gradient in Flash CS3 ?
View 1 RepliesI'm trying to create a repeating tiled background. I've also attached the FLA (tiledBg issue.zip) so you can test it for yourself. The code works well, but it's acting weird when resizing the stage. It looks like new tiles appear on top of the existing one, thus darkening the screen. Just take a look at the screen capture to see what I mean. and here's the code I used:
[code]....
I don't know why but if I create a text field on the stage ( no as ), flash creates a white background in it... I have changed all parameters but the bg field remains the same...
Anyone knows how can I set the default transparent bg for the text?
I am following the tutorial here: [URL]. And all that happens is I get one copy of my image in the bottom right corner, not tiled. I have copied the code exactly. How to create a tiled background image? Using Flash MX.
View 3 RepliesI found a tutorial online that showed me how to create a looping background animation (falling leaves) but the code is in Actionscript 2.0. I am in the process of trying to covert the code to Actionscript 3.0 but there are still a few things I'm having trouble with (i.e. setRGB, duplicateMovieClip, etc).
Code:
leafNumber = 30;
for (i=0;
i<leafNumber; i++) {
newLeaf = leaf.duplicateMovieClip("leaf"+i, i);
newLeaf.x = Math.random()*Stage.width;
[Code] .....
I would like to create a scrolling background for a web site (something that functions like the old 2d pane scroller games).
View 6 RepliesI am trying to create a scrolling or parallex background for my site. This is a pretty popular effect and I cannot find code for it anywhere on the web. The ones I have seen is for AS2, have used the if statement. Also, do I have to create an invisible movieclip that goes over the whole stage so that AS know where x of mouse is?
View 92 RepliesI'm trying to create a endlessly scrolling bitmap background. I want to make it as efficient as possible as there is plenty of other game logic going on too. The idea is to have a repeatable bitmap scroll horizontally on an endless loop, which can obviously be achieved by placing two sprites of the same bitmap next to each other and offsetting one when it reaches the far left boundary. I was wondering if there is perhaps a faster more efficient way to do this, perhaps using scrollRect or copyPixels? If anyone has any idea which method would be fastest,
View 1 RepliesI'm using Flash Builder 4 Premium. My application has a title bar that I don't want to scroll, and a group underneath that should scroll. Here is the group that I want to be able to scroll:
[Code]...
I'm trying to create a background sound in flash website. I created play/pause buttons and it works fine, but when the sound is over it stops. What I want is the sound to loop, not to stop. I tried different things but I can;t get it working as I wish. Here's my code:
Code:
var mySound:Sound = new dogg();
var myChannel:SoundChannel = new SoundChannel();
myChannel.addEventListener(Event.SOUND_COMPLETE, whenComplete);
function whenComplete(evt:Event):void
[Code]...
I am trying to create a banner with one background and four lines of text.I need to make a 4 line animation where one line of text is displayed, then it fades out, then the other line of text fades in, and out again,then the 3 rd one and finally the last one and then it loops. The first 2 lines are working fine but not the rest.I am new to flash and trying to learn it thru tutorials.. I am stuck here.. Do we want to write any script for this or any other way to do it..? I couldnot find any tutorial for this.
View 6 Repliesi am trying to create a hit counter in the background of a flash application. However, i can't seeem to get the code in flash correct to access the php script.
Flash Code:
Code:
_root.checklot=0;
setInterval(check,1)
function check() {
[Code].....
I am trying to create a background like the attached image (full screen).I don't like these colors, but do like the effect.
View 9 RepliesI'm doing my best to put together a little game my brother can change the graphics on to his own delight. Its a basic side scroller type thing. What I'm doing is programmatically creating the scenery in the background and making it move across the stage, but only when the right mouse button is pressed.
[Code]...
Make a custom preloader for the whole project, in a class, is that possible? Is that a good idea to creat a custom class for the Menu or other components like Background, etc?As I read in the book "Essential ActionScript" it's ok to make custom classes and organize everything, catching the errors in isolated form , turns it easy to manage and update..How to organize the classes?
View 5 RepliesWe are currently building a new web site and have run into some issues with our programmer. I am trying to do some research to see if we can find a way for my issue to be solved so that I can let my programmer know.[code]...
View 1 RepliesOk i have been looking at a racing game and have used the tutorial from this link here:[URL]...What i am having trouble with is trying to create a scrolling background whilst keeping the car static in the centre of the screen. Ane example of what im trying to do is here:[URL]...So i have tried incorporating the code from that scrolling background example, into the car racing game itself but i am having trouble doing so. Is there any way that the code used from the scrolling background can be input into the racing game example to create this scrolling background effect?
View 1 RepliesI'm trying to create spinning rays in actionscript to use in my website.Below is the rough idea of what i'm trying to create.Is it possible to create absolutely with 0 images.Following is the actionscript code in which i couldn't figure out how to add gradient, transperant background and little radial gradient to create glow effect.
Code:
function CreateRays():Shape {
var ray:Shape = new Shape();
ray.graphics.beginFill(0xFF9900,.5);
ray.graphics.lineStyle(1,0xFF9900,.5);
[code]....
If you paste above code in 1st frame of your scene with nothing on your scene, it will give you sweet rotating rays!
I want to embed some video into my HTML page. As background I want to use big picture. And above it I want to insert loop video with (i.e.) walking man.So, can I embed video (without flash and any player controls) in page?Can I decode video with transparent background? Is there any codecs which support transparent background (alpha-channel)?
View 1 RepliesAs the title already states i have a (big) problem importing a PNG in a Flex 4 application.Created a PNG file in Photoshop with transparent background. Loaded in Flex application using this code:[code]So when the complete event fires the data has been loaded and it is possible to assign the data loaded to the image component named Thumbnail:[code]Unitls now everything works as expected!But when i try to send the Thumbnail component's data to a WCF service i receive a photo with white background:[code]
View 2 Replies