Helphow do I load flex sdk into intellij

Posts 1–12 of 12 · Page 1 of 1
how do I load flex sdk into intellij
basically the title whenever i hit rebuild project i get a pop up about webmain and how there is no flexsdk and i cant figure out how to load it
Use it as example.
 
Video


i cant select flex_sdk_4.9.1 from project sdk it says invalid
Quote Originally Posted by TheRuler View Post
i cant select flex_sdk_4.9.1 from project sdk it says invalid
Make sure you unpack to folder, before selecting.
Quote Originally Posted by TheRuler View Post
i cant select flex_sdk_4.9.1 from project sdk it says invalid
It's because you have to use IntelliJ Ultimate..
you're probably using the community version...

When you get the Ultimate IntelliJ:
in SDK, click new, select Flex/air sdk and choose the Flex_sdk_4.9.1 folder.

Hit thanks if i helped you !
Quote Originally Posted by toninhorotmg View Post
It's because you have to use IntelliJ Ultimate..
you're probably using the community version...

When you get the Ultimate IntelliJ:
in SDK, click new, select Flex/air sdk and choose the Flex_sdk_4.9.1 folder.

Hit thanks if i helped you !
do you know how i can obtain this without paying for it like a license key or something
You can get a free trial, but after a month you'll be limited to 30 minute sessions at a time. Which personally i don't have an issue with.
Quote Originally Posted by wycuhmi View Post
You can get a free trial, but after a month you'll be limited to 30 minute sessions at a time. Which personally i don't have an issue with.
like will i have to just open ad reopen the software and also will it close and not save my work
I am guessing you aren't working with Java, honestly If you are a novice I recommend use FlashDevelop (windows only) it's simple and literally takes about four clicks to configure to your source for building. Beware IntellIJ trial ONLY supports Flash for 30 days.
Quote Originally Posted by citydrifter View Post
I am guessing you aren't working with Java, honestly If you are a novice I recommend use FlashDevelop (windows only) it's simple and literally takes about four clicks to configure to your source for building. Beware IntellIJ trial ONLY supports Flash for 30 days.
im setting up as3 client will this work for setting it up?
Quote Originally Posted by TheRuler View Post
im setting up as3 client will this work for setting it up?
Of course.

Just make sure you create a .actionScriptProperties template file this instructs the compiler. It should look similar to https://apache.googlesource.com/flex...riptProperties

Here is mine:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<actionScriptProperties analytics="false" mainApplicationPath="WebMain.as" projectUUID="4157678e-958c-453e-a7de-180633d055b9" version="10">
  <compiler additionalCompilerArguments="-locale en_US
-default-size 800 600
-default-frame-rate 60
-default-background-color #000000
-swf-version 15
-dump-config config.xml
-optimize=true
-use-direct-blit=true
-keep-as3-metadata+=Inject
-keep-as3-metadata+=Embed
-keep-as3-metadata+=PostConstruct
-keep-as3-metadata+=ArrayElementType" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="false" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="false" includeNetmonSwc="false" outputFolderPath="out" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="false">
    <compilerSourcePath/>
    <libraryPath defaultLinkType="1">
      <libraryPathEntry kind="4" path=""/>
      <libraryPathEntry kind="1" linkType="1" path="libs"/> <!-- lib folder
    </libraryPath>
    <sourceAttachmentPath/>
  </compiler>
  <applications>
    <application path="WebMain.as"/>  <!--Document class this basically configures your project for building
  </applications>
  <modules/>
  <buildCSSFiles/>
  <flashCatalyst validateFlashCatalystCompatibility="false"/>
</actionScriptProperties>
Make sure all the names match up with the contents of your source. The only ones you might have different are Webmain.as,lib folder and sourceFolderPath"src"in my case, everything can stay the same.
Quote Originally Posted by citydrifter View Post
Of course.

Just make sure you create a .actionScriptProperties template file this instructs the compiler. It should look similar to https://apache.googlesource.com/flex...riptProperties

Here is mine:

Code:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<actionScriptProperties analytics="false" mainApplicationPath="WebMain.as" projectUUID="4157678e-958c-453e-a7de-180633d055b9" version="10">
  <compiler additionalCompilerArguments="-locale en_US
-default-size 800 600
-default-frame-rate 60
-default-background-color #000000
-swf-version 15
-dump-config config.xml
-optimize=true
-use-direct-blit=true
-keep-as3-metadata+=Inject
-keep-as3-metadata+=Embed
-keep-as3-metadata+=PostConstruct
-keep-as3-metadata+=ArrayElementType" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="false" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="false" includeNetmonSwc="false" outputFolderPath="out" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" verifyDigests="true" warn="false">
    <compilerSourcePath/>
    <libraryPath defaultLinkType="1">
      <libraryPathEntry kind="4" path=""/>
      <libraryPathEntry kind="1" linkType="1" path="libs"/> <!-- lib folder
    </libraryPath>
    <sourceAttachmentPath/>
  </compiler>
  <applications>
    <application path="WebMain.as"/>  <!--Document class this basically configures your project for building
  </applications>
  <modules/>
  <buildCSSFiles/>
  <flashCatalyst validateFlashCatalystCompatibility="false"/>
</actionScriptProperties>
Make sure all the names match up with the contents of your source. The only ones you might have different are Webmain.as,lib folder and sourceFolderPath"src"in my case, everything can stay the same.
so i used your code but i dont quite understand what i need to change from your script for the webmain.as i found that file and i think that isnt a problem but i think the lib thing is for me should i put the full directory from the main folder or what because for me its src/kabam and the lib folder is there
also how do i add flex sdk to flash develop
Posts 1–12 of 12 · Page 1 of 1

Post a Reply

Similar Threads

Talk with us