Skip navigation
Currently Being Moderated

SWF compiled using Flash Builder not running independently(outside Flash Builder environment)

Jan 23, 2013 7:06 AM

Tags: #flex_sdk #flex_4 #flash_builder_4.6

SWF file compiled using Flash builder 4.6 (using Flex SDK 4.1) is running properly from Flash Builder using the 'Run' option.


But, when I try to run / execute the same swf file outside Flash Builder (copying it to Desktop), it is throwing error saying the swf file cannot access the framework.swf file say framework_4.6.swf file.


Error :


Error #2032: Stream Error. URL: file:///C:/Users/sanmadha/Desktop/Flex files/framework_4.1.0.16076.swf


If I put all the dependencies (here framework_4.1.0.16076.swf ) of my swf file in  a same folder and try to execute it, it is working fine.


But I can run some other swf files (dowloaded from websites)  independently without any other framework.swf files in any browser without any errors.


Could anyone please explain what might be the issue ? Why I cannot run my SWF file indepently which is compiled using Flash Builder outside Flash Builder ?

  • Currently Being Moderated
    Jan 28, 2013 8:17 AM   in reply to Santo87


    Flash Builder can export in a number of ways, one of them separates code from the custom, changing code that you build from the static code that Adobe releases from time to time. The idea is that multiple SWF can share the static, adobe code without needing to download the same old byte-code again and again and again as the shared code can be safely cached locally - only the first Flex SWF needs to download it and every subsequent SWF can save itself 1MB or so of download before display.


    Read this for more: 674ba-7fff.html



    Mark as:
  • Currently Being Moderated
    Jan 28, 2013 8:18 AM   in reply to Gaius Coffey


    Disabling RSLs

    You can disable RSLs when you compile your application by setting the static-link-runtime-shared-libraries compiler option to true.

    In general, disabling RSLs is useful only when compiling style SWF files, resource bundles, or other non-application assets.

    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points