Keshaw kumar

Spark Effects in Flex4(Gumbo)

Posted on: May 28, 2009

I was just looking of the Flex4(Gumbo) language reference. There are several major improvement in gumbo. One of them is Spark Effect. Spark effects can be applied to any component(halo, spark) and graphical components(Rectangle, Ellipse, and path).  Spark effect gives visual effect over the target component. This is really looking interesting for add some good animation on flex application. Earlier it was difficult…

<?xml version=”1.0″?>
<!– behaviors\SparkXFormRotateMove.mxml –>
<FxApplication xmlns=”http://ns.adobe.com/mxml/2009″&gt;
<Declarations>
<Parallel id=”parallelRMForward”
target=”{myImage}”>
<AnimateTransformRotate
angleBy=”180″/>
<AnimateTransformMove
xBy=”100″
yBy=”100″/>
</Parallel>
<Parallel id=”parallelRMBack”
target=”{myImage}”>
<AnimateTransformRotate
angleBy=”180″/>
<AnimateTransformMove
xBy=”-100″
yBy=”-100″/>
</Parallel>
</Declarations>
<FxButton label=”Play Effect Forwar”
x=”10″ y=”10″
click=”parallelRMForward.end();parallelRMForward.play();”/>
<FxButton label=”Play Effect Backwar”
x=”150″ y=”10″
click=”parallelRMBack.end();parallelRMBack.play();” />
<Image id=”myImage”
x=”10″ y=”50″
source=”@Embed(source=’asset/fx.jpg’)”/>
</FxApplication>

  • http://blogs.adobe.com/flexdoc/pdfs/sparkEffects.pdf
  • Advertisements

    Leave a Reply

    Fill in your details below or click an icon to log in:

    WordPress.com Logo

    You are commenting using your WordPress.com account. Log Out / Change )

    Twitter picture

    You are commenting using your Twitter account. Log Out / Change )

    Facebook photo

    You are commenting using your Facebook account. Log Out / Change )

    Google+ photo

    You are commenting using your Google+ account. Log Out / Change )

    Connecting to %s

    May 2009
    M T W T F S S
        Jun »
     123
    45678910
    11121314151617
    18192021222324
    25262728293031

    • None
    • Ratnabharati: Thanks. Its working fine now. I have mailed you three queries on ur gmail...!! Please guide me whenever you get time.
    • Ratnabharati: Thanks Keshaw, Currently, I am trying to build a small application in Flex. However, I am facing an issue while debugging my file. I will send you
    • Keshawkumar: Hi Ratna, In flex architecture, you can use containers and component whatever you needed. Like if you want to show a image then take a image compon

    Blogroll

  • Abdul Qabiz - Abdul Qabiz, Community leader, Flex India
  • Anand vardhan -Community leader, Flex India
  • Bhavin Padhiyar -All rounder
  • Farata System
  • Flex Examples
  • Frish's Blog
  • Harish Sivaramakrishnan -FlexGeek
  • Inside RIA
  • Jim Armstrong -Degrafa framework
  • Matt Chotin
  • Mrinal Wadhwa -Community leader, Flex India
  • Narciso (nj) Jaramillo -much ado about something
  • Nitin Sinha
  • Peter Ent
  • Raghunath T. Rao Evangelist, Adobe
  • Steven Webster -Cairngorm
  • Ted Patrick
  • Quietly Scheming
  • Yakov Fain -Farata System
  • Zee Yang -Flex and LiveCycle
  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 3 other followers

    %d bloggers like this: