actionscript - How to create Flex Wobble Effect for a component (VBox/HBox etc...) -


can tell me how can create wobbling effect using flex 3? need effect show in ubuntu when see alert or move folder.

thank you.

not sure if there built in flex handle "wobble" effect specifically, can combine flex move , bounce effects create kind of "wobble":

<?xml version="1.0"?> 

<fx:declarations>     <s:bounce id="bounceeasing"/>     <s:elastic id="elasticeasing"/>     <s:move id="moveright"          target="{myimage}"         xby="500"         duration="2000"         easer="{elasticeasing}"/>     <s:move id="moveleft"          target="{myimage}"         xby="-500"         duration="2000"         easer="{bounceeasing}"/> </fx:declarations>  <s:image id="myimage"      source="@embed(source='assets/logo.jpg')"/> <s:button label="move right"      x="0" y="100"      click="moveright.end();moveright.play();"/> <s:button label="move left"       x="0" y="125"     click="moveleft.end();moveleft.play();"/> 

customize code above make smaller movements , link left , right moves, , have wobble. might decide add event listener mouseevent.roll_over play wobble effect when mouse rolls on component.


Comments

Popular posts from this blog

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -