DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 2 of 2

Thread: Shockwave Flash

  1. #1
    Jafang Guest

    Shockwave Flash


    Hi
    I'm Making a Tansparent Form in VB6 and i want to add Shockwave Flash to
    it which has Transparent BackGround too..
    Now here is the Deal..if i make the flash transparent on the transparent
    form it shows the background of the flash movie Gray..if i don't make the
    form Transparent than is fine..
    Can someone help/tell me how can i do both transparent without having that
    gray background in Shockwave flash!!!
    Here is the example: http://members.nbci.com/jafang217/

  2. #2
    Mike D Sutton Guest

    Re: Shockwave Flash

    > I'm Making a Tansparent Form in VB6 and i want to add Shockwave Flash to
    > it which has Transparent BackGround too..
    > Now here is the Deal..if i make the flash transparent on the transparent
    > form it shows the background of the flash movie Gray..if i don't make the
    > form Transparent than is fine..
    > Can someone help/tell me how can i do both transparent without having that
    > gray background in Shockwave flash!!!


    I'd usually be one of the last to say you can't but in this case I think
    it's just not worth the hassle... About the only way I can think of making
    it work is blit each frame to a DIB based on a timer or something, convert
    it to a window region by tracing out the grey then setting that window
    region back to the window every frame. I don't even know if this is
    possible but I don't know any other way of doing it.
    This is assuming that the background changes every frame, if it's static
    then simply create the region once and your set.
    Another work-around would be if the flash animation isn't that complex and
    could be duplicated using the API/DirectX drawing functions. If so then you
    can draw directly onto the DIB then do the tracing off that, it's still a
    lot of work though.
    Hope this helps, and good luck

    Mike


    -- EDais --

    WWW: Http://Members.xoom.com/EDais/
    Work E-Mail: EDais@btclick.com
    Other E-Mail: Mike.Sutton@btclick.com



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links