question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Building only builds swf not html files

See original GitHub issue

I have had this working for a while now and I am guessing that is because when I converted to VSCode from FlashBuilder that the bin/ folder already had everything previously built. However, when I removed all files from the bin/ folder and tried building with VSCode I received only the swf file. It did not build the html file from the mxml file. It also is only building the manufacturer.swf and not any of the others. It appears that flash builder copies the main directory over into bin while also building out files that it needs to. I need to try to get VSCode to replicate this so that the bin/ folder is the same as that from Flash Builder.

ls -la bin
total 4112
drwxr-xr-x@  3 jcrawford  staff       96 Oct  9 09:28 .
drwxr-xr-x@ 33 jcrawford  staff     1056 Oct  9 09:27 ..
-rw-r--r--@  1 jcrawford  staff  1305217 Oct  9 09:28 manufacturer.swf
ls -la bin-old
total 16240
drwxr-xr-x@  26 jcrawford  staff      832 Oct  1 15:20 .
drwxr-xr-x@  33 jcrawford  staff     1056 Oct  9 09:27 ..
-rw-r--r--    1 jcrawford  staff     6148 Oct  1 15:19 .DS_Store
-rwxr-xr-x@   1 jcrawford  staff      831 Sep 13 13:59 .fxpProperties
drwxr-xr-x@  15 jcrawford  staff      480 Sep 19 10:52 .git
-rw-r--r--@   1 jcrawford  staff       23 Sep 17 09:48 .gitignore
drwxr-xr-x@   4 jcrawford  staff      128 Sep 17 10:28 .vscode
-rwxr-xr-x@   1 jcrawford  staff     8349 Sep 17 10:28 AC_OETags.js
-rw-r--r--@   1 jcrawford  staff      787 Sep 14 07:45 README.md
-rw-r--r--@   1 jcrawford  staff      154 Sep 17 10:14 asconfig.json
drwxr-xr-x@  20 jcrawford  staff      640 Sep 17 10:28 bin-release
-rw-r--r--@   1 jcrawford  staff     4308 Sep 17 10:28 consumer.html
-rw-r--r--@   1 jcrawford  staff     4335 Sep 17 10:28 distributor.html
-rw-r--r--@   1 jcrawford  staff  1807192 Sep 17 10:28 distributor.swf
-rw-r--r--@   1 jcrawford  staff     4326 Sep 17 10:28 government.html
-rw-r--r--@   1 jcrawford  staff  1043062 Sep 17 10:28 government.swf
drwxr-xr-x@   5 jcrawford  staff      160 Sep 14 07:46 history
drwxr-xr-x@ 161 jcrawford  staff     5152 Sep 17 10:28 images
drwxr-xr-x@   3 jcrawford  staff       96 Sep 17 10:24 include
-rw-r--r--@   1 jcrawford  staff     4344 Sep 17 10:28 manufacturer.html
-rw-r--r--@   1 jcrawford  staff  1305216 Oct  9 09:26 manufacturer.swf
-rwxr-xr-x@   1 jcrawford  staff      657 Sep 17 10:28 playerProductInstall.swf
-rw-r--r--@   1 jcrawford  staff     4308 Sep 17 10:28 retailer.html
-rw-r--r--@   1 jcrawford  staff  1165159 Sep 17 10:28 retailer.swf
drwxr-xr-x@  45 jcrawford  staff     1440 Sep 17 10:28 uploads

As you can see there are MANY more files in the old bin/ directory, how can I get VSCode to compile all of these as FlashBuilder did?

This is what our project directory looks like

ls -la
total 216
drwxr-xr-x@  33 jcrawford  staff   1056 Oct  9 09:27 .
drwxrwxrwx@  20 jcrawford  staff    640 Oct  8 10:41 ..
-rw-r--r--@   1 jcrawford  staff  10244 Oct  1 15:19 .DS_Store
-rwxr-xr-x@   1 jcrawford  staff   1805 Sep 13 14:05 .actionScriptProperties
-rwxr-xr-x@   1 jcrawford  staff    241 Sep 13 14:05 .flexProperties
-rwxr-xr-x@   1 jcrawford  staff    831 Sep 13 13:59 .fxpProperties
drwxr-xr-x@  15 jcrawford  staff    480 Oct  9 09:31 .git
-rw-r--r--@   1 jcrawford  staff     29 Oct  1 15:35 .gitignore
drwxr-xr-x@   8 jcrawford  staff    256 Sep 19 10:52 .idea
-rwxr-xr-x@   1 jcrawford  staff    451 Sep 13 14:05 .project
drwxr-xr-x@   4 jcrawford  staff    128 Sep 13 14:05 .settings
drwxr-xr-x@   5 jcrawford  staff    160 Sep 17 11:39 .vscode
-rw-r--r--@   1 jcrawford  staff   4282 Oct  8 09:38 README.md
-rw-r--r--@   1 jcrawford  staff    154 Sep 18 09:14 asconfig.json
drwxr-xr-x@   3 jcrawford  staff     96 Oct  9 09:28 bin
drwxr-xr-x@  26 jcrawford  staff    832 Oct  1 15:20 bin-old
drwxr-xr-x@  20 jcrawford  staff    640 Sep 17 11:32 bin-release
drwxr-xr-x@  66 jcrawford  staff   2112 Sep 18 09:14 components
drwxr-xr-x@   9 jcrawford  staff    288 Sep 13 14:00 consumer
-rwxr-xr-x@   1 jcrawford  staff   8954 Sep 13 13:59 consumer.mxml
drwxr-xr-x@  11 jcrawford  staff    352 Sep 13 14:01 distributor
-rwxr-xr-x@   1 jcrawford  staff  11016 Sep 13 13:59 distributor.mxml
drwxr-xr-x@   8 jcrawford  staff    256 Sep 13 14:00 government
-rwxr-xr-x@   1 jcrawford  staff   6690 Sep 13 13:59 government.mxml
drwxr-xr-x@   6 jcrawford  staff    192 Sep 13 14:01 html-template
drwxr-xr-x@ 161 jcrawford  staff   5152 Sep 13 14:01 images
drwxr-xr-x@   9 jcrawford  staff    288 Oct  5 16:15 include
drwxr-xr-x@  24 jcrawford  staff    768 Sep 13 14:01 manufacturer
-rw-r--r--@   1 jcrawford  staff  17872 Oct  5 16:15 manufacturer.mxml
drwxr-xr-x@   8 jcrawford  staff    256 Sep 13 14:01 retailer
-rwxr-xr-x@   1 jcrawford  staff   8941 Sep 13 13:59 retailer.mxml
drwxr-xr-x@   3 jcrawford  staff     96 Sep 13 14:00 skins
drwxr-xr-x@  45 jcrawford  staff   1440 Sep 13 14:00 uploads

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:34 (15 by maintainers)

github_iconTop GitHub Comments

2reactions
jcrawfordcommented, Jan 29, 2019

Thanks that did the trick 👍

1reaction
joshtynjalacommented, Oct 31, 2018

Oh! I’ve confirmed that’s a bug. I guess you’ll need to use “9.0” until that gets fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

FlexUnitApplication.html and FlexUnitApplication.swf not ...
a html a swf file for FlexUnitCompilerApplication is auto-generated in bin-debug folder. Till this point all seems to be good, so I try...
Read more >
Building your application as SWF file - Clickteam
To build a SWF file, simply select "SWF file for Adobe® Flash® Player" ... You can run this application by double clicking on...
Read more >
Storyline 360 HTML5-only package contains .swf
Hey R. This issue is happening with the current build of Storyline 360 for projects including zoom regions and videos. Keep us in...
Read more >
Best practices - SWF application authoring guidelines
Use this guide to understand the guidelines for authoring SWF application. ... Only use MVC if you build a large or complex application, ......
Read more >
Building a Simple Amazon SWF Application
This topic will introduce you to programming Amazon SWF applications with the AWS SDK for Java, while presenting a few important concepts along...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found