• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
0
Question by EPiC_Zombie_KiLR · Sep 22, 2015 at 05:07 AM · swf

IS there a way to import, convert etc a swf file into unity

hi i was wondering if there is a way to import a swf game into unity so that the mouse click and left right and down buttons on a keyboard works? the game its self is completed and i dont really wont to recode the game into a unity project, i'd rather code the unity scene so that it displays the swf game from adobe

any comments are welcome thx

edit- also im trying to use unity as a hud for the swf file while having the mouse clicks and arrow keys usable for the swf game/file

Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image itsharshdeep · Sep 22, 2015 at 10:35 AM 0
Share

Yes you can use SWF file in unity with the help of a plugin :- https://www.assetstore.unity3d.com/en/#!/content/13593

It will help you to make the swf silmply run in unity

$$anonymous$$y mates used this in some of theirs projects to show Splash screen animation. But with different requirements you can use with your own style.

avatar image EPiC_Zombie_KiLR · Sep 22, 2015 at 10:40 AM 0
Share

thx for the reply itsharshdeep but this plugin doesn't seem to be compatible with action script 2 which I forgot to add in description, thx for the reply

1 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by cod · Sep 22, 2015 at 10:41 AM

@EPiC_Zombie_KiLR
Actually it seems like there's a plugin to do that : https://www.assetstore.unity3d.com/en/#!/content/3630
http://uniswf.com/?t=assetstore
but unfortunately it costs 95$...

Another solution would be to use unity's browser communication system to exchange data and information between your unity webplayer and flash player on the same page as explained here http://docs.unity3d.com/Manual/UnityWebPlayerandbrowsercommunication.html

Then if you only need to import animations in unity you could use this free asset : https://www.assetstore.unity3d.com/en/#!/content/13593

Here are some other useful links
http://forum.unity3d.com/threads/communicate-from-unity-swf-to-flash.162302/
http://forum.unity3d.com/threads/flash-example-flash-ui-over-unity-swf-content.136242/#post-1079762

Hope this helps

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image EPiC_Zombie_KiLR · Sep 22, 2015 at 10:58 AM 0
Share

thx also for the reply i now realize that i could have been a bit more specific so... i need unity to run a swf game that needs the mouse to be usable as well as the arrow keys so in a way i need unity to run as a display or 'hud' while having the swf file set as the full 2D scene thx for the reply

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

30 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Is there a swf plugin for unity that can play actionscript 2 swf? 0 Answers

Open SWF game into Unity 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges