A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: background images

  1. #1
    Junior Member
    Join Date
    Apr 2002
    Posts
    2
    I need to know if background images (textures) are possible. I have an animation that I created. But, the page that i want to show it on has a textured background image. It looks cheezy with a clunky square frame around it even though I made the color match.

  2. #2
    Senior Member
    Join Date
    Aug 2001
    Posts
    1,071
    You have a couple options...

    You can draw a rectangle larger than your movie size, and select "tiled image" for the rectangle fill, and use the same image as the background of your html page. Make sure this is the bottom item of your movie (bottom of the outline panel in all scenes). Depending on the type of image, it may or may not mesh well. You won't match the image up perfectly with the page background at all resolutions, so don't try.

    Another option (assuming this is for a web page) would be to make the .swf background transparent, although this is only recognized in IE...Netscape will still show your movie background color. To do this, you'll have to edit your html page, and add:
    <param name=wmode value=transparent>
    to your object tag for the .swf.

    Hope that helps.

  3. #3
    Junior Member
    Join Date
    Apr 2002
    Posts
    2

    is this in the swish help files?

    much thanks! I don't quite follow you on your first suggestion with the "tiled image". But the second option worked fine. I've been going nuts trying to figure this out!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center