Results for addentry translation from French to English

Computer translation

Trying to learn how to translate from the human translation examples.

French

English

Info

French

addentry

English

 

From: Machine Translation
Suggest a better translation
Quality:

Human contributions

From professional translators, enterprises, web pages and freely available translation repositories.

Add a translation

French

English

Info

French

sub addentry

English

sub addentry

Last Update: 2016-12-10
Usage Frequency: 1
Quality:

Reference: Translated.com

French

swfgradient a la méthode suivante: swfgradient - addentry().

English

swfgradient() creates a new swfgradient object.

Last Update: 2011-10-24
Usage Frequency: 1
Quality:

Reference: Translated.com

French

?php $m = new swfmovie(); $m - setdimension(11000, 8000); $m - setbackground(0x00, 0x00, 0x00); $m - add(new swfaction( "this.quality = 0; / frames.visible = 0; startdrag(' / mouse', 1); ")); / / sprite de suivi de souris $t = new swfsprite(); $i = $m - add($t); $i - setname('mouse'); $g = new swfgradient(); $g - addentry(0, 0xff, 0xff, 0xff, 0xff); $g - addentry(0.1, 0xff, 0xff, 0xff, 0xff); $g - addentry(0.5, 0xff, 0xff, 0xff, 0x5f); $g - addentry(1.0, 0xff, 0xff, 0xff, 0); / / gradient $s = new swfshape(); $f = $s - addfill($g, swffill_radial_gradient); $f - scaleto(0.03); $s - setrightfill($f); $s - movepento(-600, -600); $s - drawline(1200, 0); $s - drawline(0, 1200); $s - drawline(-1200, 0); $s - drawline(0, -1200); / / on en fait un sprite pour utiliser la fonction multcolor() $p = new swfsprite(); $p - add($s); $p - nextframe(); / / ajoute la forme ici, chaque forme dans une couleur différente $q = new swfsprite(); $q - add(new swfaction("gotoframe(random(7)+1); stop() ;")); $i = $q - add($p); $i - multcolor(1.0, 1.0, 1.0); $q - nextframe(); $i - multcolor(1.0, 0.5, 0.5); $q - nextframe(); $i - multcolor(1.0, 0.75, 0.5); $q - nextframe(); $i - multcolor(1.0, 1.0, 0.5); $q - nextframe(); $i - multcolor(0.5, 1.0, 0.5); $q - nextframe(); $i - multcolor(0.5, 0.5, 1.0); $q - nextframe(); $i - multcolor(1.0, 0.5, 1.0); $q - nextframe(); / / enfin, le code de l'action $p = new swfsprite(); $i = $p - add($q); $i - setname('frames'); $p - add(new swfaction(" dx = (/ :mousex - / :lastx) / 3 + random(10)-5; dy = (/ :mousey - / :lasty) / 3; x = / :mousex; y = / :mousey; alpha = 100; ")); $p - nextframe(); $p - add(new swfaction( "this.x = x; this.y = y; this.alpha = alpha; x += dx; y += dy; dy += 3; alpha -= 8; ")); $p - nextframe(); $p - add(new swfaction("prevframe(); play() ;")); $p - nextframe(); $i = $m - add($p); $i - setname('frames'); $m - nextframe(); $m - add(new swfaction(" lastx = mousex; lasty = mousey; mousex = / mouse.x; mousey = / mouse.y; ++num; if(num == 11) num = 1; removeclip('char 'num); duplicateclip( / frames, 'char' num, num); ")); $m - nextframe(); $m - add(new swfaction("prevframe(); play() ;")); header('content-type: application / x-shockwave-flash'); $m - output();?

English

?php $m = new swfmovie(); $m - setdimension(11000, 8000); $m - setbackground(0x00, 0x00, 0x00); $m - add(new swfaction( "this.quality = 0; / frames.visible = 0; startdrag(' / mouse', 1); ")); / / mouse tracking sprite $t = new swfsprite(); $i = $m - add($t); $i - setname('mouse'); $g = new swfgradient(); $g - addentry(0, 0xff, 0xff, 0xff, 0xff); $g - addentry(0.1, 0xff, 0xff, 0xff, 0xff); $g - addentry(0.5, 0xff, 0xff, 0xff, 0x5f); $g - addentry(1.0, 0xff, 0xff, 0xff, 0); / / gradient shape thing $s = new swfshape(); $f = $s - addfill($g, swffill_radial_gradient); $f - scaleto(0.03); $s - setrightfill($f); $s - movepento(-600, -600); $s - drawline(1200, 0); $s - drawline(0, 1200); $s - drawline(-1200, 0); $s - drawline(0, -1200); / / need to make this a sprite so we can multcolor it $p = new swfsprite(); $p - add($s); $p - nextframe(); / / put the shape in here, each frame a different color $q = new swfsprite(); $q - add(new swfaction("gotoframe(random(7)+1); stop() ;")); $i = $q - add($p); $i - multcolor(1.0, 1.0, 1.0); $q - nextframe(); $i - multcolor(1.0, 0.5, 0.5); $q - nextframe(); $i - multcolor(1.0, 0.75, 0.5); $q - nextframe(); $i - multcolor(1.0, 1.0, 0.5); $q - nextframe(); $i - multcolor(0.5, 1.0, 0.5); $q - nextframe(); $i - multcolor(0.5, 0.5, 1.0); $q - nextframe(); $i - multcolor(1.0, 0.5, 1.0); $q - nextframe(); / / finally, this one contains the action code $p = new swfsprite(); $i = $p - add($q); $i - setname('frames'); $p - add(new swfaction(" dx = (/ :mousex - / :lastx) / 3 + random(10)-5; dy = (/ :mousey - / :lasty) / 3; x = / :mousex; y = / :mousey; alpha = 100; ")); $p - nextframe(); $p - add(new swfaction( "this.x = x; this.y = y; this.alpha = alpha; x += dx; y += dy; dy += 3; alpha -= 8; ")); $p - nextframe(); $p - add(new swfaction("prevframe(); play() ;")); $p - nextframe(); $i = $m - add($p); $i - setname('frames'); $m - nextframe(); $m - add(new swfaction(" lastx = mousex; lasty = mousey; mousex = / mouse.x; mousey = / mouse.y; ++num; if(num == 11) num = 1; removeclip('char 'num); duplicateclip( / frames, 'char' num, num); ")); $m - nextframe(); $m - add(new swfaction("prevframe(); play() ;")); header('content-type: application / x-shockwave-flash'); $m - output();?

Last Update: 2011-10-24
Usage Frequency: 1
Quality:

Reference: Translated.com
Warning: Contains invisible HTML formatting

Get a better translation with
7,727,041,777 human contributions

Users are now asking for help:



We use cookies to enhance your experience. By continuing to visit this site you agree to our use of cookies. Learn more. OK