Today,
I have a project I’m working on at work and I want to do something similar to this site:
http://www.nike.com/jumpman23/m4/
See how the image distorts when you click the arrow left and right. The images get bigger as they leave the stage, giving the feel of a 3D shift.
I’ve been messing around with displacement maps all afternoon and I feel like I’m on the right track. I haven’t been able to get my ‘map’ to expand my ‘target mc’ (in nikes case, the guys,the shoe) on the Y axis. I want my mc to stretch Y based when it passes over the displacement map?
Any help?
Posted in Flash Application and Games Development | No Comments »
Today, This is new post in my DataGrid Series Flex Tutorials. This tutorial shows you how to filter rows for searched keyword. It’s quite easy, since dataProvider for DataGrid is ArrayCollection, and ArrayCollection has variable filterFunction. It simple expect function which will filter correct rows for you. So basically, you have Datagrid and dataProvider is […]
(Link)
Posted in Flash Application and Games Development | No Comments »
Today,
I import this in the main movie:
import mx.transitions.Tween;
import mx.transitions.easing.*;And I have tried to access the tween class in the main movie from the externally loaded movie to fade a movieclip in it with instance name "fade"… I tried the following methods, but none of them work:
new Tween(fade, "_alpha", _root.Strong.easeInOut, 100, 0, 2, true);
new Tween(_root.externalmovie.fade, "_alpha", _root.Strong.easeInOut, 100, 0, 2, true);
new Tween(_root.externalmovie.fade, "_alpha", Strong.easeInOut, 100, 0, 2, true);
new Tween(_root.externalmovie.fade, "_alpha", mx.transitions.easing.Strong.easeInOut, 100, 0, 2, true);I know I could just import the Tween class into the external movie & use it that way, but I’m just trying to figure out why I can’t use it since it was already imported into the main movie… any suggestions would be appreciated!
Posted in Flash Application and Games Development | No Comments »
Admin wrote: There are lies, damned lies and statistics. Or something like that. However, there are also some really interesting figures emerging about online life right now which are worthy of repeating here.How about this report that the numbers of web sites on the Internet has risen from, can you believe it, just 50 in 1992 to an astonishing 162 million today. That’s probably worth repeating, 162 million web sites. Now how many have you bookmarked and how many, apart from DaniWeb and Google of course, do you visit every day?Another report that has caught my eye is rather less joyful, although…
(Link)
Posted in Flash Application and Games Development | No Comments »
Today,
I have a ‘player’ movieclip. This movieclip consists of about ten frames, each its own animation. Idle stance, walking, jumping, all the standard stuff. THe movieclip remains stopped on frame 1 (idle stance) for most of the game. Right now the Idle stance is an animation, so to use cacheAsBitmap I need to stop the idle animation. That’s fine, but does the additional content in the movieclip interfere with this? If I go from a walking animation back to the idle stance will it re-cache the idle stance for me?
The main reason I ask is that I wasn’t able to notice much of a performance difference between either method. Cacheasbitmap on a player sprite with animated idle stance, and Cacheasbitmap on a player sprite with a static idle stance. Both resulted in 39 fps (set to 40) in the flash player. Which is good I suppose, but I don’t know how the results will vary for someone with a slow computer
This is an important area of the game because at any given time there could be up to 12 player sprites on the screen (all with filters attached to them). So if one player is moving left/right the other 11 must be re-translated on each frame (since the stage moves too) so if all 11 players are playing their idle animations, with a glow filter, WHILE flash tries to re-cache all of them, that could lead to performance issues (although it hasn’t yet for me)
I want to give players the option to disable the idle animation, I just hope that it’s actually working the way I intend. If cacheasbitmap fails because of any other content inside the movieclip then this would be a useless feature.
Posted in Flash Application and Games Development | No Comments »
Today, Warner Brothers certainly has a lot of weight to throw around the consumer technology - and their latest move landed squarely on increasingly frustrated HD-DVD providers.In a move that signals a tectonic shift in the consumer video industry, Warner Bros. Entertainment announced last week that it will release its high-definition DVD titles exclusively in the Blu-ray disc format, most likely starting later this year. The news came straight from the top — from Barry Meyer, Chairman & CEO, Warner Bros. and Kevin Tsujihara, President, Warner Bros. Home Entertainment Group.“Warner Bros.’…
(Link)
Posted in Flash Application and Games Development | No Comments »
Admin wrote:
when the mouse is on the right or left side of the screen, the image starts to scroll to the oposite direction. the important part is the incresing velocity that the image flows, according to the _xmouse.
hope i´ve been clear.
thanks
Posted in Flash Application and Games Development | No Comments »
Today, Scary reading from the pages of Fortune magazine this week.In the business weekly’s November 19 edition, an article entitled “The End of the Tech Stock Party” goes down like a tofu turkey on Thanksgiving night.Before I get into what Fortune has to say, it’s pretty clear that technology stocks are in a decline. Quarterly numbers from heavyweights like HP, Apple, and even Cisco, who I touted last week, seem okay at first glance. But a closer look reveals that bean counters at the big technology companies believe that the run on computers and other high tech gadgets will slow down, and…
(Link)
Posted in Flash Application and Games Development | No Comments »
Admin wrote:
//import mx.transitions.*;
//import mx.transitions.easing.*;
// Create a new XML object.
//var myPhoto:XML = new XML();
myPhoto = new XML();
myPhoto.ignoreWhite = true;
myPhoto.onLoad = function(success) {
if (success) {
trace("success");
var numimages = this.firstChild.childNodes.length;
spacing = 70;
j = 0;
for (i=0; i
thumbHolder = thumbnails.createEmptyMovieClip("thumbnail"+i, i);
thumbLoader = thumbholder.createEmptyMovieClip("thumbnail_image" , 0);
thumbLoader.loadMovie(picHolder.attributes.thmb);
trace(picHolder.attributes.thmb);
thumbHolder.style = picHolder.attributes.style;
thumbHolder.designer = picHolder.attributes.designer;
thumbHolder.cost = picHolder.attributes.cost;
thumbHolder.main = picHolder.attributes.main;
thumbHolder.caption = picHolder.attributes.caption;
thumbLoader.main = loader.createEmptyMovieClip("main_image", 0);
/////// load movie /////////
/*var mcl_obj:Object = new Object();
mcl_obj.onLoadInit = function(loader:MovieClip) {
//image_src._alpha=0;
new Tween(loader, "_alpha", Strong.easeIn, 0, 100, .8, true);
};
var my_mcl:MovieClipLoader = new MovieClipLoader();
my_mcl.addListener(mcl_obj);
my_mcl.loadClip(picHolder.attributes.main);*/
////////// end ////////////
if (j == 4) {
y += 50;
x = 0;
j = 0;
}
thumbHolder._y = y;
thumbHolder._x = j*spacing;
j++;
thumbHolder.onRollover = function() {
roll.gotoAndPlay(2);
roll.startDrag(this);
roll.test_txt.text = this.caption;
};
thumbHolder.onRollout = function() {
roll.gotoAndStop(1);
roll.test_txt.text = " ";
};
thumbHolder.onRelease = function() {
roll.gotoAndStop(1);
loader.loadMovie(this.main);
style.htmlText = this.style;
designer.htmlText = this.designer;
cost.htmlText = this.cost;
};
}
}
};
myPhoto.load("xmlphoto.xml");
Posted in Flash Application and Games Development | No Comments »
Today, According to reports the general manager of Internet security with IBM has warned that “the security business has no future.”Speaking at the RSA conference in San Francisco, IT Pro says, Val Rahmani warned that the enterprise must fundamentally change security strategies if it is to have any success within the context of sustaining business. It seems that IBM might have become tired of trying to keep on top of the latest security threats, the never ending cycle of success and failure that we are all too well aware of within the remit of attempting to fight the latest malware threats….
(Link)
Posted in Flash Application and Games Development | No Comments »




