2 Replies Latest reply on Aug 6, 2009 9:58 AM by EvolvedDSM

    swf as Background

      Hi all,

      I have an application, in which i want to add a swf file made in flash as background i add a simple animation on it... and i want that swf as background of the full application.

      Anyone know how to do this work ?

      please help me cuz i need this background.

      Regards and thanks for all your help.
        • 1. Re: swf as Background
          cesaregb Level 1
          Anyone know how to make this task.. ?

          I've a blur and other small effects, which i want to play depending on where am I
          • 2. Re: swf as Background
            EvolvedDSM Level 2

            Declare a stylesheet in your main application

            <mx:Style source="styles.css" />


            In your styles.css (or whatever you name it), declare a new styleName and embed your swf inside it.

            .myStyle {
                background-image: Embed(source="backgrounds.swf#retroFifties");


            Declare the style of the swf after the # symbol


            Back in your main application, set the application tag's styleName="myStyle" (you can do this for any container such as canvas).


            That should do it.