Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

How to add flash file in unity3d

Discussion in 'Immediate Mode GUI (IMGUI)' started by eagles, Jun 8, 2009.

  1. eagles

    eagles

    Joined:
    May 31, 2009
    Posts:
    1
    Hi everybody.I want to make a TV model in house,On the TV model I Will to play a flash as a AD. who can tell me what to do this.load and play a flash file in Unity3d.thank you!
     
  2. melmonkey

    melmonkey

    Joined:
    Mar 31, 2009
    Posts:
    373
    Pretty sure you can't load Flash(swf files) into Unity.

    I would render out the frames from flash and create an animated texture, or, create a texture atlas from the frames and animate the UV's.
     
  3. HiggyB

    HiggyB

    Unity Product Evangelist

    Joined:
    Dec 8, 2006
    Posts:
    6,183
    As noted above we do not support the use of SWF files inside of Unity. You can export a series of images and use those or if you're using Unity Pro look at using Movie Textures (you'll have to export your SWF into a supported video format). Alternatively, if you're doing this as a desktop app for Mac OSX then you might look at the HtmlTexturePlugin, but that too will require Unity Pro.
     
  4. minevr

    minevr

    Joined:
    Mar 4, 2008
    Posts:
    1,018
    :( no Webplayer,no windows