Today,
Is it possible to have a parallax within a parallax? I am trying to make buttons on a parallax background(using mouse x and y) pan to a location and stop; in that location the parallax background is still moving with the mouse.
An example would be a forest that turns into a lake. The viewer can move freely in the forest section, but once a button is clicked, it pans(parallax as well) right and, once the pan is done, the viewer can move freely in the lake section. Both the forest and lake section have parallax functions.
would the lake and forest be separate parallaxed backgrounds, or should i try to think of it as a whole with some sort of dynamic camera?
this is the parallax code i am using:
moveIt = function (wc) {
wc.imageStartX = 0;
wc.imageEndX = -wc._width + Stage.width;
wc.StartMouseX = 0;
wc.EndMouseX = Stage.width;
wc.MouseRangeX = wc.EndMouseX - wc.StartMouseX;
wc.PanRangeX = wc.imageEndX - wc.imageStartX;
//
wc.imageStartY = 0;
wc.imageEndY = -wc._height + Stage.height;
wc.StartMouseY = 0;
wc.EndMouseY = Stage.height;
wc.MouseRangeY = wc.EndMouseY - wc.StartMouseY;
wc.PanRangeY = wc.imageEndY - wc.imageStartY;
//
wc.onEnterFrame = function() {
if (!paused) {
wc.rX = (_root._xmouse - wc.StartMouseX) / wc.MouseRangeX;
wc.rX = Math.max(0, Math.min(1, wc.rX));
wc._x += ((wc.rX * wc.PanRangeX + wc.imageStartX) - wc._x) / 9;
//
wc.rY = (_root._ymouse - wc.StartMouseY) / wc.MouseRangeY;
wc.rY = Math.max(0, Math.min(1, wc.rY));
wc._y += ((wc.rY * wc.PanRangeY + wc.imageStartY) - wc._y) / 9;
}
};
};
moveIt(bg);
moveIt(mid);
moveIt(fg);i have searched and have tried panning tutorials, but my results are..static.
any help or direction is appreciated. thank you in advance.
Posted in Flash Application and Games Development | No Comments »
Today, According to the latest IDC Quarterly Server Tracker report the growth of Linux as far as the US x86 server market is concerned has started to slow. In fact, it is has done more than just slow, when compared to Windows-based server growth it has slipped backwards. In 2005 Windows Server growth was sitting comfortably around 25 percent and Linux was right up there at 53 percent. Fast forward to now and that IDC report suggests that as far as figures for 2006 are concerned Linux has dropped to an astonishing -4 percent growth rate. Unfortunately for Linux, the growth of Windows-based servers…
(Link)
Posted in Flash Application and Games Development | No Comments »
Today,
this._x += -1;
}
but not looping, how can i loop with AS?
i try to do this with infinit fake background, just one piece of image and loop, but i just got this with timeline animation… how can i do this with AS?
thanks!
Posted in Flash Application and Games Development | No Comments »
Admin wrote:
Ever wanted to create one of those fancy map mashups, and build it exclusively using Flex 2/ActionScript 3?
Randy Fong explains how he created a map of the San Francisco public library system using Yahoo Maps and FlexBuilder2.
Posted in Flash Application and Games Development | No Comments »
Today,
for example i have 2 swf file a.swf and b.swf
can a.swf sending variable to b.swf???
can a.swf control some movieclip in b.swf???
in a case a.swf is loadMovie to b.swf…
thanks…
Posted in Flash Application and Games Development | No Comments »
Admin wrote: McAfee Inc. has today released the results of new research which found that nearly one in four people in Europe are putting themselves at increased risk of online fraud or identity theft simply because of poor password habits. The research, of 3500 consumers in the UK, France, Germany, Italy, Spain and The Netherlands, reveals 24% of those questioned always use the same password to access all their online accounts and 43% never change it. The latter increasing the risk of people giving away their complete identity should that password be hacked or stolen.The research also revealed that…
(Link)
Posted in Flash Application and Games Development | No Comments »
Admin wrote:
Posted in Flash Application and Games Development | No Comments »
Admin wrote:
What is Silverlight and why should you care? We take Silverlight for a spin to see what it can do for ActionScript developers.
It’s been years in the making, but Microsoft’s attempt to enter the Rich Internet Application market is here.
Posted in Flash Application and Games Development | No Comments »
Admin wrote:
I am using this code from a Kirupa circular movement tutorial:
onClipEvent (load) {
var radius = 100
var speed = 5
var xcenter = this._x;
var ycenter = this._y;
var degree = 0;
var radian;
}
onClipEvent (enterFrame) {
degree += speed;
radian = (degree/180)*Math.PI;
this._x = xcenter+Math.cos(radian)*radius;
this._y = ycenter-Math.sin(radian)*radius;
}
Any help would be appreciated
Rob
Posted in Flash Application and Games Development | No Comments »
Admin wrote: Thermo will be absolutely cool. It’s for designers to help developers. You can import PSD from Photoshop and make interactivity. And after you can open it in Flex Builder and make your RIA Here is post from Raymond Camden about Thermo which is in Chicago.And you can see some Thermo screenshots on Adobe labs […]
(Link)
Posted in Flash Application and Games Development | No Comments »




