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




Position Empty Mc By Orientation Of Another Object...?



hi all!what i mean by this is i have a buttonclip (a mc which hold all of my buttons) and i want an empty mc to position itself to the buttonclips lower left corner.is this possible?buttonclip is instance named 'buttonclip' and my empty mc is instance named 'emptyMC'.thanks!



Actionscript 2.0
Posted on: Sat Feb 17, 2007 10:58 pm


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Position Orientation Point To Center In Imported Movie
I am using the following code to import my mini race car into my game

_root.createEmptyMovieClip("Car", 1);
_root.Car.loadMovie("resources\car1.png");

it loads it and works great, the only problem is it sets the orientation point to the top left, and it needs to be in the center for the car to rotate correctly... any suggestions would be greatly appreciated :-)

Position Orientation Point To Center In Imported Movie
I am using the following code to import my mini race car into my game

_root.createEmptyMovieClip("Car", 1);
_root.Car.loadMovie("resources\car1.png");

it loads it and works great, the only problem is it sets the orientation point to the top left, and it needs to be in the center for the car to rotate correctly... any suggestions would be greatly appreciated :-)

Object Orientation
I made a thing where this pacman like object follows the mouse, trailing behind it. But i can't figure out to make it allways face the mouse, like how you orient something to a motion path. can anyone help?

Object Orientation Question
Hey all,

I was just working on a project and was cursing that every 'x' and 'y' value that i enter into the info panel is "upper left associative". Meaning if you entered x=100 and y=100, the top left corner of your object would go to that location.

Now i i thought i remember (so far back that i cant rememeber what version this was) that an earlier version of flash USED to align the object in terms of its center. I have a good feeling that this feature can be switched, i was just wondering how to do it

Any help would be appreciated, thanks!


Andrew

AS 3.0 And Object Orientation - What's The Big Deal?
I was thinking about getting a book called "ActionScript 3.0 Game Programming University" by Gary Rosenzweig.

It looks like a great book from flipping through it and reading a little, however, I have heard criticism that the book does not teach ActionScript as an Object Oriented language.

I want to learn ActionScript 3.0 and I want to learn the best practice for programming with it. Is it bad to not use object orientation with AS3?

Could someone who is AS 3 savvy point me in the right direction... perhaps give an example of what it is that makes object orientation so valuable in AS?

Object Orientation Problem
Hi,

I have just recently started investigating OO in ActionScript, and have some problems inheriting from a built-in class. Why does the following code write "undefined" and not "false", which is default for XML.ignoreWhite?

function ContinentXML() {
this.super = XML;
this.super();
}
ContinentXML.prototype = new XML();
testObj = new ContinentXML();
trace(testObj.ignoreWhite);

How To Position Mc_example Depending On Position Of Empty Movieclip?
I have a series of movieclips (graphics) which I want to position in a row.
I know that I can define the position of each movieclip individually by _x and _y. But can I place an empty MC on the stage and define the position of every single MC with _x and _y IN RESPECT TO THE POSITION OF THE EMPTY MC - so that ALL movieclips will change their position when I move the empty mc?

Thanks for helping
Aribert

[F8] Have MC Find Empty Position
Ok - I'll try it over here.... (also posted in Flash 8 section)

The easiest way to see what I want to do is to look at the attsched pdf.

Short in word - I have moveclip A, B and C - the menue is vertical - and the movieclips are at bottom of the stage. When clicked they slide up to the top of the stage and a submenue is revealed. The thing is that if the movieclip C is clicked it leaves an empty space under B. I would like B to fall into that empty space - and A, consequently to take the position where B was. Get it?

I can make the clips slide into a defined position - the question is how do I tell a movieclip that there is a free space below it and it should move down there?

Beats me...

[FMX] X And Y Position For Empty Movie Clip
I created an empty movieclip with:


Code:
_root.createEmptyMovieClip("container", 1);
Where in the script can I add the x and y properties for that empty movieclip?

[FMX] X And Y Position For Empty Movie Clip
I created an empty movieclip with:


Code:
_root.createEmptyMovieClip("container", 1);
Where in the script can I add the x and y properties for that empty movieclip?

Can Not Position An Empty Movie Clip With Levels
hi.
Another question about loading in empty mcs...
I can not fix the position of an empty mc. It always appears on x / y positions -0- even if I define its coordinate in the code...Could somebody tell me why ??
Here is my function.

Menu1.onRelease = function() {
this.createEmptyMovieClip("container", this.getNextHighestDepth);
loadMovie("squarezoom.swf", 1);
container._x = 150;
container._y = 45;
_level0._visible = 0;
};
Thank you.

Position Object By Center Of Other Object And Stage Left...?
lol! :lol:

what i mean is i have an object (mc = main_logo) that centers itself upon load:

main_logo._x = Stage.width / 2;
main_logo._y = Stage.height / 2;

and i want another object (mc = helmet) to always load up 2/3rds to the left (x axis) of main_logo's center (counting left to right, 2/3rds between main_logos center and stage left border) and 200 pixels above (y axis) main_logo's center.

i know i keep asking these things and i'm not trying to have you all do every little thing for me, i am trying to learn this! it's just that my brain operates differently and i have to assimalate information by what i'm trying to accomplish...

thanks!

The Position Of An Object
Hi everybody!

A stupid question: when it gives me the position of an object, it gives me the x & y of the up-left corner of my object and not the position of the center, how can i change this?

Thanks

Y Position Always On Top Of An Object
Riiiight heyyyyy, my new question is... how do you make the y position of an object always be just above another object, e.g. on most games on the internet an object or "player" can move over other objects like "ground" and obstacles, in my quite simple game, I've been trying to get the ball to roll over a simple "floor" Mc using hitTest using
_y -- or _y -= 1 to get the object to stay over the floor, this works fine on horizontal "floor" but on parts where the floor raises it moves straight through it and goes up slowly if the ball remains inside the Mc until it reaches the top of it,
Is there a way to keep the ball constantly 1px above the Mc?
Thaaaaaaaanks in advanceeee!

Set _x Position Of Object From Txt File
It's driving me crazy. looking for help. The game program writes txt file with result which will tel where to postion an object in flash movie. The example txt file called: variables.txt and it contains following message: variable=x=500. It si saved in the same folder as fla file. And I tried for test and cerate text box and movie shows corectly the text from variable.txt, but the object _x position do not move to 500. Here is script:
onClipEvent (load) {
loadVariables ("variables.txt", this);
}
onClipEvent (data) {
_x = x;
}
The attachment is fla file.

Sound Object - Position
you can't set the position of a sound object?

thanks!

Set Start Position Of Object
hi, I've created an object that sits onstage and that can be moved by four buttons. see attached. the buttons move it in an x or y direction.
I want to be able to set the initial position of the object to centre stage (at the moment it defaults to the top left corner of the stage, (0,0). I also want to retain the smooth gliding movement that the object has.
All I can think of is using "this._x = 200" and "this._y = 200", which positions the object but for some reason means that it no longer glides smoothly, instead it jumps when the buttons are pressed.

can anyone help me out with a way to position the object centre stage while keeping the smooth gliding movement? many, many thanks!

Random Position Of Object
i want to know how can i make the object changing its position randomly for two conditions simultaneously .. either i click on object then it should change its position or if i don't click with in 5 seconds then it should automatically change its position .

please write codes for this also ......

[CS3] Position An Object At The Right Of The Screen
Hi Guys,

I need to position an object (a movie containing a vector graphic) in my flash movie so that when the browser expands the object always stays to the right of the browser while the rest of the content stays in its current position.

The movie is set to scale so that it takes up 100% width and height.

So basically how do I permanently align an object to the right?

[CS3] Position An Object Always At The Right Of The Screen
Hi Guys,

I need to position an object (a movie containing a vector graphic) in my flash movie so that when the browser expands the object always stays to the right of the browser while the rest of the content stays in its current position.

The movie is set to scale so that it takes up 100% width and height.

So basically how do I permanently align an object to the right?

Saving Object Position With PHP
Hey guys, I've got two questions, any help would be greatly appreciated.. firstly about Movie Clips within Flash...

I'm in the middle of making a car racing game (very basic) where the user can edit their own map. The user can drag and drop the finish line and car to any part of the stage before the race starts. It all works untill the end when the user finishes, I want to have a "race this map again" button, but I cant work out how to save the locations of where the finishline and car were dragged in the previous frame. Any answers?

My second question is a bit more advanced and I doubt I'll get it finished in time for my deadline in 2 weeks, anyway, i also want to setup a "save my map and top scores" option that will have to be done with PHP and the same problem applies. The bulk of the map editing is done with a drawing api. I've been told that it is possible to save drawing locations (and there are a few sites that where you can save drawn images) the only thing i wasn't sure of is whether the drawn image would keep its instance name and allow other people to race a map drawn by a different person (the car hittests with the drawn lines you see).

I hope you understand my problem and can point me in the right direction... Thanks in advance,
Chris

Randomize Object Position?
Okay, here's the deal. I'm trying to figure out how to randomize three objects in a single slide. You know three card monte? Same kind of deal, I've got three different images, one of which is the 'correct' one. I've got it to run perfectly, all I need to do is be able to randomize the order so the user won't automatically know where to click (it's all about deception). I'm guessing there's some way to do it using Arrays, but I have no clue how to go about that.

Anyway, I'd appreciate any help you all can offer.

Actionscript Object Position Bug
Hello, I'm relatively new to Flash and actionscipt and seam to have stumbled across a bug. When I perform a particular calculation and then set an objects position from the result, the new position is incorrect. I have narrowed down the problem to the following simple actionscript:-

Frame 1 - actionscript
var y = (281.2+29.4);
myObject._y = y;
myText = myObject._y;
stop();

on the Canvas I have a dynamic text object with an instance name of 'myObject' and a var name of 'myText'.

The Problem
The resulting y position is 310.55 and not 310.6 as you would expect, yet the value of y is 310.6. If I change any of the calcualtion values then the objects resulting y postion is correct ie (281.3+29.3) returns 310.6.

What exactly is the problem here? I need to perform this exact calculation and then set an objects y pos to 310.6.

I'm using Flash MX 2004 and publishing as actionscript 2.0. I have also attached the flash doc, if any kind soul has time to look at this.

Any help wold be much appreciated?
Thanks
Dan

Position Of An Object In A Scene.
Assume I have a crazy hierarchy of objects. Assume i want to compare the positions of two objects in two different hierarchies. Obviously _x wouldn't work as it's position is relative to its parent. Is there an easy way to get this or am i gonna have to loop backwards through all of the parents, and multiply they local position differences by the cosines / sines of the angles respectively to calculate this?

Surely flash stores something's world positions too? right? o.o

Flash Object Position
Hey guys where can i find any reference on how can i make objects in flash stay in their place then i resize browser window. i mean all about flash object positions...

Sound Object: LoadSound: Position
Hi there.

So I've just built a simple audio player in Flash MX for a project. I'm loading external MP3s with the loadSound() method of the Sound object.

Works fine.

I also have a progress bar that displays the percentage of the file that's been played. This works also, except...

...if I click to reload the sound while it is playing, even though it resets to the beginning of the sound, the script is still getting the position property as if the original sound had not been stopped.

Since there is no "unLoadSound()" function, I assumed that subsequent calls to loadSound() would result in the previous sounds getting destroyed.

Anyway, needless to say, this is frustrating me...how can I reset my visual progress bar so that it goes back to the beginning?

(I suppose I could create an entirely new Sound object on each click, but it seems like that would waste memory.)

Sound Object Position Dumbness
heres the deal.
i have created a sound object and am loading in mp3s into it from a server.
i have an animation that runs while the selected mp3 is loading and it does this by checking to see if either the position of my sound object is undefined or no greater than 0.
this works fine on my comp when i load the mp3s from my comp because when ever a new song is clicked the position property displays it as beginning at 0 which seems like what it should do.

heres the problem.
when i actually stream the mp3s from a server, and run a trace on the position property it does not reset to 0 when a new song is loaded in like on my comp. it just shows the time that the last stopped playing until the new song is loaded in and then it continues from the previous time although the song start at the beginning as usual.

can anyone tell me why this is and if there is a way i can fix it?

Trigger Action On Object Position
can you trigger an action (load movieclip for example) when an object gets to a certain x y position on the stage?, this is a scripted movement so there can be no frame actions added.

thanks in advance.

Scaling An Object By Cursor Position
I am trying to modify this tutorial "Rotating Menu" (Interaction - Navigation). This is what I have so far:

Code:
//determines the position of the mouse
x = getProperty("../dragControl", _x);
//checks to see if the mouse is in the movie
if (Number(x)<200||Number(x)>200){
//reduces x so that the change in the menu's size is not too drastic
midX = x-(400/2);
//checks to see if the new variable is a negative number
if (Number(midX)<0) {
//if it is then it changes it to positive
midX = -midX;
}
//change the width and length of the menu
setProperty("../nav", _xscale, midX);
setProperty("../nav", _yscale, midX);
//check to see if the menu's width and height are less than 30 or more than 100
if (Number(getProperty("../nav", _xscale))<30) {
setProperty("../nav", _xscale, "30");
setProperty("../nav", _yscale, "30");
}
if (Number(getProperty("../nav", _xscale))>100) {
setProperty("../nav", _xscale, "100");
setProperty("../nav", _yscale, "100");
}
}

The way it is now, when the mouse moves to the horiz. center, the nav get smaller. I want the opposite to happen.

Any help would be appreciated.

Make The Object Remain In Its Position
http://www.muevetumusica.com/

When I check out the flash site today, I found that the mobile at the centre will move if I resize the browser. However, the text on the left and the bottom mobile will remain in its position. What does the flash designer does to make this effect? Do anyone have ideas?

Rotater Object Moves Position
I dont know what is causing the arrow to move out of place when published.
Rotates the way I want it but the position needs to stay in in the center.
See flash file.

Change Position Value Without Moving Object. HOW?
Hi..

I'ma newbie and was watching a tutorial on creating a scrollbar. In the example he had some content to scroll thru a masked window that would be control by a drag scroll bar.

Just before he began with the scripting those 2 objects, one at a time, in the properties panel.. he did something off screen (sounded like he was hotkeying).. but while he was doing it, he said... "OK, before I start scripting I'm going to 'force' the y value to equal zero for both objects." He said it was easier for scripting.

How did he force the y value to say 0 in the properties and info panel WITHOUT the object changing position on the stage??

thanks,
frank

I Need An If Statement To Check The X Position Of An Object
How would i make an if statement that checks if the x position of an object is say, 10, and if it is fires off a function

Thank you

Move Object To Position And Stop.
Hiya,

Ok... this should be pretty simple for most, but I would like an explanation more than just a quick code fix. I put all the script together for this object, here is the fla. What I want to do is move it up to the y position as it does, but I need the object to move faster and stop there. Since I have given most of script in the main movie, I don't know how to write the script for the button release. All I can get it to do is crawl up with targety=100; but I still have the problem with the mouse follow once my button is pressed. I just want it to go up and stay.

Thanks in advance for the help.

Peaceout.

Odd Trace On Object Stage Position
Hi,

I noticed odd trace that wonder whether someone can explain.

I've got the following code in an ENTER_FRAME event. It's used to move an object.


Code:
_vx +=0.2;
_vy +=0.2;

x+=_vx;
y+=_vy;

trace("_vx: " + _vx);
trace("x: " + x);
trace("----------");
The trace for the first 5 frames looks like this:


Code:
_vx: 0
x: 275
----------
_vx: 0.2
x: 275.2
----------
_vx: 0.4
x: 275.55
----------
_vx: 0.6000000000000001
x: 276.15
----------
_vx: 0.8
x: 276.95
Obviously, 275.2 + 0.4 doesn't equal 275.55.

Does anyone know the reason for this?

Thanks!
Dandylion13

Move Object To Position And Stop.
Hiya,

Ok... this should be pretty simple for most, but I would like an explanation more than just a quick code fix. I put all the script together for this object, here is the fla. What I want to do is move it up to the y position as it does, but I need the object to move faster and stop there. Since I have given most of script in the main movie, I don't know how to write the script for the button release. All I can get it to do is crawl up with targety=100; but I still have the problem with the mouse follow once my button is pressed. I just want it to go up and stay.

Thanks in advance for the help.

Peaceout.

Duration And Position Of Sound Object
Hi, I have a MP3 player which progressively downloads MP3s from my server. I can display the IDtags for song name and track info just fine. But I am having trouble displaying the current time and total time of the current mp3 in my dynamic text fields: 'posTime' and 'songInfo'.

Can anybody help? Thanks, Henrik



ActionScript Code:
function playMusic() {
    myMusic = new Sound();
    
     //MP3 Timecode Code:
     posMins = Math.floor(myMusic.position/1000/60);
     posSecs = Math.round(myMusic.position/1000%60);
 
    //Single Digit Check Code:
    if(posSecs<10){
    posSecs = "0"+Math.round(myMusic.position/1000%60);
     }
    //Display MP3 Time to user:
    posTime.text = " "+posMins+":"+posSecs+" ";
     songInfo.text = ""+posTime+""
   
    myMusic.onSoundComplete = function() {
        if (curTrackNum == (myMusicLv.totalTracks) -1) {
            curTrackNum = 0;
        } else {
            curTrackNum++;
        }
        playMusic();   
    };
    myMusic.onID3 = function() {
        trackInfo.text = myMusic.id3.TIT2;
        trackCount.text = myMusic.id3.TRCK;
    }; 
    myMusic.onLoad = function(success) {
        if (!success) {
            trackInfo.text = "Failed to load track.";
           
        }
    }
    myMusic.loadSound("mp3s/mp3-"+curTrackNum+".mp3", true);

Keep Moved Object At Last Position (and Not Disappear)
I just started Flash and I have learned just how easy it is, however I can't figure out how to hold a transformed (slid over) at its last position without effecting its timing. Is this easy to do?

Moving An Object Relative To Mouse Position
I'm very new to actionscript, please help!!


I'm trying to get an object to move very slightly towards the mouse pointer as you move near it. To be honest I don't know where to start. Any help - much appreciated.

Sliding An Object Based On Mouse X/y Position?
I have an 800 pixel wide stage. There is a sliding strip that moves across it based on the position of the mouse (left/right) and speeds up as you get closer to the edges and slows as the cursor near the middle of the stage. This is all OK. The objects action code for the sliding strip that works it is this ...

onClipEvent(load) {
nScreenWidth = 800;
nMaxRate = 15;
// nPixels determines the speed of the slider movement
function moveLeft(nPixels) {
this._x -= nPixels;
if (this._x < -4803) {
this._x = -924;
}
}
function moveRight(nPixels) {
this._x += nPixels;
if (this._x > 369) {
this._x = -3510;
}
}
}

onClipEvent(enterFrame) {
// move slider with speed dependent on mouse position
if (_root._xmouse < nScreenWidth/2 && _root._xmouse > 0) {
moveRight(nMaxRate - _root._xmouse * nMaxRate/(nScreenWidth/2));
} else {
if (_root._xmouse > nScreenWidth/2 && _root._xmouse < nScreenWidth) {
moveLeft(_root._xmouse * nMaxRate/(nScreenWidth/2) - nMaxRate);
}
}
}

So far, so good. But what if I want to move the sliding piece when the mouse is only over a certain area of the screen (say, the right 400 pixels) and not the whole 800 pixel wide area.

Can you make an invisible button on the same frame as the sliding piece that is only on the right half of the screen and key the sliders object action to the mouse being over the button's area rather than mouse over the whole screen?

Many many thanks in advance to all ...

David JJ
janikjones@NOSPAMREMOVEsympatico.ca

How To: On(release) Move Object From Variable A To Position B
I've probably got just a simple question, I hope someone can answer.

I have an object: 'Projector'. When I click a button I would like it to move FROM it's current position TO the position that I set by clicking the button.

So the starting position is 'dynamic'. It only has to move horizontally (x-axis).

Any help would be appreciated!

X-y Position Of An Object Relative To A Movie Clip
I am using the scroll component in Flash MX.

The document that I show within it is to be scrolled, naturally, by the user.

What I would like to do is to highlight different areas of the document based on an audio script. This means that, the highlight should show up in the same RELATIVE position on the document at any given time.

Is there an easy way to achieve this?

I tried to create the highlight animation within my scrollable document movie clip and it worked: the big disadvantage is that whenever someone pauses my movie, audio will stop but the movie clip and the highlight animation will continue running.

Thanks for the suggestions.

Animate Moving Object To Fixed Position
in flash 5 i would like to do the following.

a circle is moving around within a fixed area.

as soon as the mouse comes within a certain distance of the
circle the circle should move to a fixed position (say x=50, y=200).

no hassle to make the circle move around. no hassle to detect where
the mouse is in relation to the circle. but how can i make the circle
to take the shortest possible way to its fixed position, taking into
consideration that the circle is moving around. sure you could tell
the circle to take the position of x=50 y=200 as soon as the mouse
comes within a certain distance of the circle, but i actually want to
see the circel move to that position. can anyone lead me to the right track of thinking.

again, i would really like to do this in flash5, but in the unlikely event that this can only be done in flash mx, please let me know.

thanks

hansie

Object To Move To Mouse Hover Position
Hi,

Hope someone can help. I have a horizontal navigaton bar .

What i woul like is for a mc to slide horizontaly along the line and stop at the position where the mouse is hovering over a button.

Hope it makes sense

Some bounce when it stops will be great to

by the way I'm using flash 5

thanks

StartDrag() - Object Back To Original Position?
Hey everyone,

Well I have a seemingly simple question here. I have a box , thats right a nice shiney box , and within it contains a smaller blue box which is a movieclip.

Now, when you click this small worthless little box, startDrag(); begins and it follows you around : onClipEvent (mouseDown){

When you release this box, it goes back to its start position , into the centre of the bigger box : onClipEvent(mouseUp){


Thats whats supposed to happen. You click and it follows until you release the mouse and it'll go back to its original position.

Now the problem is this:


After releasing the small box, it goes back to its original position, but continues to follow the mouse from there ... but just from the distance. In other words, startDrag(false); hasnt really worked


Heres the code :

code: onClipEvent (load) {
startX = this._x;
startY = this._y;
}
//
onClipEvent (mouseDown) {
this.startDrag(true);
}
//
onClipEvent (mouseUp) {
this.startDrag(false);
this._x = this.startX;
this._y = this.startY;
}


If anyone could help me out here?

[F8] Fine-tuning MC Position Using Stage Object
I'm using the stage object to align multiple MC's. My question is how do I affect a MC's position if I want to have it be centered on both axis but 100px away from the bottom margin instead of the top relative to the size of the window?

here's my positioning code:

code:
navBar._y = Stage.height;
navBar._x = Stage.width/2;
tpShadow._x = Stage.width/2;
tpShadow._y = 6;
idol2._y = Stage.height/2;
idol2._x = Stage.width/2;



Also if i'm using an empty MC to load external swf's, do the external swf's have to have AS for positioning as well or do I position the empty MC in the base movie?

Thanks,

Nick

Position Object Relative To Dynamic Moveclip
[im using this code] >

http://www.actionscript.org/showMovie.php?id=754

I want to place the orange buttons next to the grey container and have them move relevtive to its edge, but NOT resize. I want this to happen in the same way as the text links on this rather nice site >

http://www.nooflat.nu

I have ben trying to modify the various tutorials on how to position objects reletive to the stage but havent got anywhere, your help would be much appreciated as always

thanks
Chris

How To Display Duration And Position Of Sound Object
Hi, I have a MP3 player which progressively downloads MP3s from my server. I can display the IDtags for song name and track info just fine. But I am having trouble displaying the current time and total time of the current mp3 in my dynamic text fields: 'posTime' and 'songInfo'.

Can anybody help? Thanks, Henrik


function playMusic() {
myMusic = new Sound();

//MP3 Timecode Code:
posMins = Math.floor(myMusic.position/1000/60);
posSecs = Math.round(myMusic.position/1000%60);

//Single Digit Check Code:
if(posSecs<10){
posSecs = "0"+Math.round(myMusic.position/1000%60);
}
//Display MP3 Time to user:
posTime.text = " "+posMins+":"+posSecs+" ";
songInfo.text = ""+posTime+""

myMusic.onSoundComplete = function() {
if (curTrackNum == (myMusicLv.totalTracks) -1) {
curTrackNum = 0;
} else {
curTrackNum++;
}
playMusic();
};
myMusic.onID3 = function() {
trackInfo.text = myMusic.id3.TIT2;
trackCount.text = myMusic.id3.TRCK;
};
myMusic.onLoad = function(success) {
if (!success) {
trackInfo.text = "Failed to load track.";

}
}
myMusic.loadSound("mp3s/mp3-"+curTrackNum+".mp3", true);

Blurring An Object In Respect To Depth/position
Hello,

I was in search of something to eat this afternoon and came across taco bell's site.. nutritious person that I am..

http://www.tacobell.com/

And I was curious as to how they achieved the blurring of the images as they receded into the background. I've tried this before using a sharp and a blurred image, but couldn't get it as smooth as this site. Anyone know how this was achieved? Would it take a lot of CPU resource?

Copyright © 2005-08 www.BigResource.com, All rights reserved