alert This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
user ibadmd
ibadmd (14)

Perspective in Flash

I demonstration of how actionscript can be used to simulate perspective.<br />Ibad
3279 downloads, 25594 views
Download (11.33 KB)

Comments

You need to login to post a comment.

user gillsoriano
gillsoriano 15 years ago

Cool, this is what I was looking for... thanks!

user witzoar
witzoar 16 years ago

great work man

user kinso
kinso 16 years ago

many thanks man!

user theredflea
theredflea 16 years ago

I, I'm running it i Flash Player 9, it's very easy to do, some changes in code:

_root.centrey = 800;
_root.centrex = 400;
_root.onEnterFrame = function() {
valeur_a = (_root._ymouse-_root.centrey)*0.5;
valeur_b = valeur_b+valeur_a;
valeur_b = valeur_b*0.8;
_root.nuves.peli_nuves.block1._y = (_root._ymouse-_root.centrey)*0.1;
_root.nuves.peli_nuves.block2._y = (_root._ymouse-_root.centrey)*0.2;
_root.nuves.peli_nuves.block3._y = (_root._ymouse-_root.centrey)*0.3;
_root.nuves.peli_nuves.block4._y = (_root._ymouse-_root.centrey)*0.4;
_root.nuves.peli_nuves.block5._y = (_root._ymouse-_root.centrey)*0.5;
_root.nuves.peli_nuves.block1._x = (_root._xmouse-_root.centrex)*0.12;
_root.nuves.peli_nuves.block2._x = (_root._xmouse-_root.centrex)*0.14;
_root.nuves.peli_nuves.block3._x = (_root._xmouse-_root.centrex)*0.16;
_root.nuves.peli_nuves.block4._x = (_root._xmouse-_root.centrex)*0.18;
_root.nuves.peli_nuves.block5._x = (_root._xmouse-_root.centrex)*0.2;
};

user ibadmd
the listing author ibadmd 16 years ago

i mean in flash player 8/9 format

user ibadmd
the listing author ibadmd 16 years ago

hey apparently theres no way of doin that... try saving the file in Flash Player 6 format.

user theredflea
theredflea 16 years ago

Hi it's very cool! it works fine but... in flash Player 6 it's a problem.. how to do to works i flash player 8/9?
Thankyou!!

user armybert
armybert 16 years ago

hi, this is just what i needed
how can i make this work in flash player 8?