SWFMorph->getshape2 <<< |
SWFMorph | SWFMovie->add >>> |
8.70 Ming pour Flash 8 Référence des fonctions Manuel PHP . Introduction . Pré-requis . Installation . Configuration à l'exécution . Types de ressources . Constantes pré-définies . Classes pré-définies . ming_setcubicthreshold . ming_setscale . ming_useswfversion . SWFAction . SWFBitmap->getHeight . SWFBitmap->getWidth . SWFBitmap . swfbutton_keypress . SWFbutton->addAction . SWFbutton->addShape . SWFbutton->setAction . SWFbutton->setdown . SWFbutton->setHit . SWFbutton->setOver . SWFbutton->setUp . SWFbutton . SWFDisplayItem->addColor . SWFDisplayItem->move . SWFDisplayItem->moveTo . SWFDisplayItem->multColor . SWFDisplayItem->remove . SWFDisplayItem->Rotate . SWFDisplayItem->rotateTo . SWFDisplayItem->scale . SWFDisplayItem->scaleTo . SWFDisplayItem->setDepth . SWFDisplayItem->setName . SWFDisplayItem->setRatio . SWFDisplayItem->skewX . SWFDisplayItem->skewXTo . SWFDisplayItem->skewY . SWFDisplayItem->skewYTo . SWFDisplayItem . SWFFill->moveTo . SWFFill->rotateTo . SWFFill->scaleTo . SWFFill->skewXTo . SWFFill->skewYTo . SWFFill . swffont->getwidth . SWFFont . SWFGradient->addEntry . SWFGradient . SWFMorph->getshape1 . SWFMorph->getshape2 ->SWFMorph . SWFMovie->add . SWFMovie->nextframe . SWFMovie->output . swfmovie->remove . SWFMovie->save . SWFMovie->setbackground . SWFMovie->setdimension . SWFMovie->setframes . SWFMovie->setrate . SWFMovie->streammp3 . SWFMovie . SWFShape->addFill . SWFShape->drawCurve . SWFShape->drawCurveTo . SWFShape->drawLine . SWFShape->drawLineTo . SWFShape->movePen . SWFShape->movePenTo . SWFShape->setLeftFill . SWFShape->setLine . SWFShape->setRightFill . SWFShape . swfsprite->add . SWFSprite->nextframe . SWFSprite->remove . SWFSprite->setframes . SWFSprite . SWFText->addString . SWFText->getWidth . SWFText->moveTo . SWFText->setColor . SWFText->setFont . SWFText->setHeight . SWFText->setSpacing . SWFText . SWFTextField->addstring . SWFTextField->align . SWFTextField->setbounds . SWFTextField->setcolor . SWFTextField->setFont . SWFTextField->setHeight . SWFTextField->setindentation . SWFTextField->setLeftMargin . SWFTextField->setLineSpacing . SWFTextField->setMargins . SWFTextField->setname . SWFTextField->setrightMargin . SWFTextField |
8.70.53 SWFMorph()Crée un morphing[ Exemples avec swfmorph ] PHP 4 >= 4.0.5 SWFMorph swfmorph ( void )
SWFMorph crée un morphing. swfmorph s'appelle aussi "shape tween". C'est cet objet qui permet toutes ces superbes animations qui mettent à genou votre ordinateur. Joie ! Les méthodes ici sont plutôt bizarres. Il serait tellement plus logique d'avoir seulement new SWFMorph(shape1, shape2); , mais, telles que sont les choses aujourd'hui, la deuxième forme a besoin de savoir qu'elle est l'aboutissement d'un morphing. (cel est dû au fait que Flash commence à dessiner aussitôt qu'il a les commandes de dessin. S'il conservait les descriptions de ses propres formes, et attendait leur totalité avant d'écrire, ceci et bien d'autres choses seraientt tellement plus simples). SWFMorph a les méthodes suivantes : swfmorph->getshape1 et swfmorph->getshape2 . Cet exemple simple effectue le morphing d'une gros carré rouge en un carré plus petit, bleu et bordé de noir.
|
<< | SWFMorph | >> |
SWFMorph->getshape2 | Ming pour Flash | SWFMovie->add |