• 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 /
avatar image
0
Question by youngo · Oct 29, 2012 at 07:07 AM · errorreleaseswf

release swf error

I test in the unity,the project is running well,but when i want to release to swf file,the unity tell me an error and can't release well-off; the error is like:

C:\Users\Tao\Documents\PowerPlant\Temp\StagingArea\Data\ConvertedDotNetCode\global\ShowSomething.as(65): col: 39 Error: Access of undefined property File.

C:\Users\Tao\Documents\PowerPlant\Temp\StagingArea\Data\ConvertedDotNetCode\global\ShowSomething.as(5): col: 18 Error: Definition System.IO:File could not be found.

Error building Player: Exception: Compiling SWF Failed: Loading configuration file C:\Program Files\Unity\Editor\Data\PlaybackEngines\flashsupport\BuildTools\flex\frameworks\flex-config.xml

C:\Users\Tao\Documents\PowerPlant\Temp\StagingArea\Data\ConvertedDotNetCode\global\ShowSomething.as(65): col: 39 Error: Access of undefined property File.

var $aXmlString: CLIObjectArray = File.File_ReadAllLines_String(Application.dataPath + "/menuConfig.xml"); ^

C:\Users\Tao\Documents\PowerPlant\Temp\StagingArea\Data\ConvertedDotNetCode\global\ShowSomething.as(5): col: 18 Error: Definition System.IO:File could not be found.

import System.IO.File;

I thinks a long time,but i can't find the bug.If anybody could give a hand,i will be very thanks.

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by tonyarabish · Nov 29, 2018 at 08:30 AM

i use Avdshare Video Converter to Convert any SWF file to MP4, AVI, MKV, ASF, MPEG-2, MTS, ProRes, etc for using SWF on iPhone, iPad, iPod, Android, PSP, Zune, FCP, Sony Vegas, EDIUS, and any other portable device, media player or video editing programs.https://www.avdshare.com/convert-swf-to-mp4-on-mac-or-windows

Comment
Add comment · 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

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

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

10 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

Related Questions

Play Store Question 2 Answers

Full screen with UnityContentLoader? 1 Answer

Exported SWF no longer loads 1 Answer

Releasing to app to apple. 2 Answers

error CS8025: Parsing error (sorry) 4 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges