#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2006
    Posts
    7
    Rep Power
    0

    Question Loadmovie() transparency


    Hi all,

    Im having a problem. I am using loadmovie() to load a SWF.
    It appears fine, but the background is transparent.

    How can i retain the original background color from the SWF?

    Thanks in advance,
    tgifriday
  2. #2
  3. Banned

    Join Date
    Jul 2004
    Location
    The Mews At Windsor Heights
    Posts
    5,326
    Rep Power
    0
    Usually you would want the background to stay transparent so you can load 1 movie into any other movie!

    Anyway... if you want a solid background in the SWF you are loading, just draw a square that is the same size as your stage and place it on your lowest layer. Fill it with whatever colour you want for the background. You could even make it into a movieclip so that you can change the colour dynamically, whenever you need to.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2006
    Posts
    7
    Rep Power
    0
    Thanks for that solution. The problem is that the SWF's are included dynamically themselves so there is no way to know the background color unless i can somehow get them to give the color?
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2006
    Posts
    7
    Rep Power
    0
    I just discovered another problem with the transparency. It also means that with a on press geturl() you cannot click where the background of the movie should be because it no longer exists.

IMN logo majestic logo threadwatch logo seochat tools logo