The best solution would be to create the animation in Flash Professional and add it to your Flash Catalyst project.
Is the project going to be within a web page or a stand alone application? Each require a different solution.
For the stand alone application, you will need to add some custom ActionScript to quit the application. This can be added by using Flash Builder 4.5. Note: version 4.6 and 4.7 do not support Flash Catalyst projects properly.
Thanks for replying !
I am building a standalone application.
I tried importing the animation created in flash professional into flash catalyst.
Flash catalyst has only one property, "On Application Start". There is nothing to play it endlessly.
And i am not able to do even that. I did all the steps correctly (deselect all, on app start, add interaction, swf element, play()), but still the animation won't run when the application starts. I also ticked to repeat this animation forever, still nothing works.
Hope you can solve this. Thanks again.
After you have created the looping animation in Flash Professional, import into your Flash Catalyst project.
Then deselect the SWF asset, so you can add an "On Application Start" action.
Then select Play Action Sequence. Now look in the Timeline panel, now select the SWF Asset. That will let you set an Action Sequence, that will trigger the playing of the Flash asset.
I attached a sample FXP.
Animate.fxp.zip 20.3 K
Hey Chris, Thanks !
But the problem now is::
My application has 7 states and almost 10 buttons. On click of a button, the state changes.
Now, the SWF asset plays in the Home state i.e. the initial state that appears when the application loads.
But when i click a button and transit to another state, the SWF asset appears but appears still, i.e. no animation.
And i want that SWF asset to play in each and every state.
Any help regarding this would be helpful.
Thanks a lot again !
The animation will play across states, you just need to make sure the asset is shared across states and not copied.
Hey Thanks Chris, Thanks a lot !
I got my problem solved.