SapphireSteel Forum
Welcome, Guest. Please login or register.
May 25, 2017, 02:05:15 PM

Login with username, password and session length
Search:     Advanced search
Welcome to the SapphireSteel forum - for discussion of the Sapphire and Amethyst IDEs
4074 Posts in 848 Topics by 708 Members
Latest Member: dcham_inbsys
* Home Help Search Login Register
+  SapphireSteel Forum
|-+  General
| |-+  Amethyst
| | |-+  Flash Project Compile Failed
« previous next »
Pages: [1] Print
Author Topic: Flash Project Compile Failed  (Read 8554 times)
killreric
Newbie
*
Posts: 1


« on: July 16, 2013, 07:45:24 PM »

Hi, I'm trying to use the Amethyst in Scaleform debugger.
It fails with the error of the two you have compiled your Flash Project as came out in Amethyst tutorial.

Development tools you are currently using : VS2010(International Setting : Korean), Flash CS 5.5

Code:
------ Build started: Project: NewTest, Configuration: Debug AnyCPU ------
Build started.

Build started.
Project "NewTest.amproj" (default targets):

Project "NewTest.amproj" (default targets):
Building with tools version "4.0".
Target "Initialize" in file "C:\Program Files (x86)\MSBuild\SapphireSteel Software\Amethyst_2_10.0\Amethyst.targets" from project "C:\AS_TEST\Test\NewTest.amproj" (target "Build" depends on it):

Target "Initialize" in file "C:\Program Files (x86)\MSBuild\SapphireSteel Software\Amethyst_2_10.0\Amethyst.targets" from project "C:\AS_TEST\Test\NewTest.amproj" (target "Build" depends on it):
Task "Message"

Task "Message"
Output path is "C:\AS_TEST\Test\bin-debug\"

Done executing task "Message".
Task "MakeDir"

Task "MakeDir"

Done executing task "MakeDir".

Done building target "Initialize" in project "NewTest.amproj".
Target "ProcessReferences" in file "C:\Program Files (x86)\MSBuild\SapphireSteel Software\Amethyst_2_10.0\Amethyst.targets" from project "C:\AS_TEST\Test\NewTest.amproj" (target "Build" depends on it):

Target "ProcessReferences" in file "C:\Program Files (x86)\MSBuild\SapphireSteel Software\Amethyst_2_10.0\Amethyst.targets" from project "C:\AS_TEST\Test\NewTest.amproj" (target "Build" depends on it):

Done building target "ProcessReferences" in project "NewTest.amproj".
Target "BeforeBuild" skipped, due to false condition; ('$(PreBuildEvent)'!='' ) was evaluated as (''!='' ).
Target "BuildFlashForms" skipped, due to false condition; ('$(AmethystProjectType)'=='FlashForms' Or '$(AmethystProjectType)'=='FlashFormsAIR') was evaluated as ('Flash'=='FlashForms' Or 'Flash'=='FlashFormsAIR').
Target "BuildFlash" in file "C:\Program Files (x86)\MSBuild\SapphireSteel Software\Amethyst_2_10.0\Amethyst.targets" from project "C:\AS_TEST\Test\NewTest.amproj" (target "Build" depends on it):

Target "BuildFlash" in file "C:\Program Files (x86)\MSBuild\SapphireSteel Software\Amethyst_2_10.0\Amethyst.targets" from project "C:\AS_TEST\Test\NewTest.amproj" (target "Build" depends on it):
Building target "BuildFlash" completely.
Output file "C:\AS_TEST\Test\bin-debug\Test.swf" does not exist.
Task "Message"

Task "Message"
Building Flash for Test.fla

Done executing task "Message".
Task "Copy" skipped, due to false condition; ($(AIRConfigurationFile) != '' And Exists('$(MSBuildProjectDirectory)\$(AIRConfigurationFile)') And !HasTrailingSlash('$(MSBuildProjectDirectory)\$(AIRConfigurationFile)')) was evaluated as ( != '' And Exists('C:\AS_TEST\Test\') And !HasTrailingSlash('C:\AS_TEST\Test\')).
Using "FlashCompilerTask" task from assembly "C:\Program Files (x86)\MSBuild\SapphireSteel Software\Amethyst_2_10.0\SapphireSteel.AmethystBuild.dll".
Task "FlashCompilerTask"

Task "FlashCompilerTask"
Compiler timeout set to 120 seconds
Working directory is 'C:\AS_TEST\Test\bin-debug\'
"C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Flash.exe" "C:\Users\killreric.DRAGONFLYGAME\AppData\Local\SapphireSteel Software\Amethyst_2_10.0\Temp\ltwgc03n\Test.jsfl"
Execute Flash Compile failed: Input string was not in a correct format.

Done executing task "FlashCompilerTask" -- FAILED.

Done building target "BuildFlash" in project "NewTest.amproj" -- FAILED.
Done building project "NewTest.amproj" -- FAILED.

Done building project "NewTest.amproj" -- FAILED.

Build FAILED.

Build FAILED.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

or

"C:\Program Files (x86)\Adobe\Adobe Flash CS5.5\Flash.exe" "C:\Users\killreric.DRAGONFLYGAME\AppData\Local\SapphireSteel Software\Amethyst_2_10.0\Temp\h5cyhniw\Test.jsfl"
C:\Program Files (x86)\MSBuild\SapphireSteel Software\Amethyst_2_10.0\Amethyst.targets(210,5): Error : Flash tracking file 'C:\Users\killreric.DRAGONFLYGAME\AppData\Local\SapphireSteel Software\Amethyst_2_10.0\Temp\h5cyhniw\Test.amt' has not been created
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1068


« Reply #1 on: July 17, 2013, 03:11:02 AM »

Thanks - lit's a bug. I get the same problem.

For me, the Flash CS5 compiler is executed, but there is a problem with the Amethyst message saying that everything is OK. The way to get round this is either

1) copy the line from the output window (for my test project)

Code:
"C:\Program Files (x86)\Adobe\Adobe Flash CS5\Flash.exe" "C:\Users\dermot\AppData\Local\SapphireSteel Software\Amethyst_2_10.0\Temp\uzncmizi\imageViewer.jsfl"

and paste it into a command prompt window. This will run Flash CS5 with the commands specified in the .jsfl file and you can see what's going on.

2) ignore it - the Flash CS5 compiler has actually run and built the SWF. If there were no syntax problems, everything should be OK.

When you try to debug, the build system will not rebuild if the SWF file has been created by the Flash compiler, and you should be able to debug it.

We'll release a fix in the next few days and I'll post a message here with the links to the fixed version.

Dermot
Logged
Dermot
Administrator
Hero Member
*****
Posts: 1068


« Reply #2 on: July 25, 2013, 02:56:17 AM »

Fixed version is here

The Visual Studio 2010 version is http://www.sapphiresteel.com/downloads/amethyst_VS2010_2_0_2_1572.zip

The Visual Studio 2012 version is http://www.sapphiresteel.com/downloads/amethyst_VS2012_2_0_2_1572.zip


Dermot
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!