Adobe Scout does not start - actionscript-3

I´m compiling through Flashedevelop with Flex 4.6.0 for Flash Player 14.0.
Scout is ready and is also detecting other swfs.
But when i start my swf, absolutely nothing happens.
I´m not talking about Advanced Telemetry, Scout does not even detect the swf at all.
What could be wrong?

I ran into this problem myself.
You must launch the SWF in a web browser with flash installed. You can also install the debugger version of flash to get extra info about memory allocation.
I was never able to activate the profiler by running the SWF from the Flash IDE.

Related

How to compile actionscript worker swf in FlashDevelop

I already know the coding part of actionscript worker. Recently I switched my IDE to FlashDevelop. I can't figure out how to compile actionscript worker swf in FlashDevelop.
I try to use Tools - Flash Tools - Build current file. But it throws error saying
Error: Type was not found or was not a compile-time constant: File.
Maybe it is because my project is a AIR project and I use AIR API in my worker.
I also try to compile worker swf using amxmlc via command line. It compiles successfully. But AIR Debug Launcher crashes when executing worker swf part. The swf which I compiled manually is nearly half size of the former one that Flash Builder generated for me. I guess I compiled a release version swf so that ADL can't debug and then crashed.
So how do I compile a worker swf in FlashDevelop to debug or to publish a release of project?
Update:
I find that the "Build current file" command in menu is a feature in FlashDevelop called quick build. By default, it will compile current file output to project root directory without arguments. We can add compiler arguments using #mxmlc ASDoc tag (see the links below for detail) to make it compile a worker swf for us. But currently in FD 5.0.1 it seems to be a bug that #mxmlc +configname=air doesn't compile air swfs. I find a workaround using #mxmlc -noplay -library-path=[Flex_SDK]\frameworks\libs\air\airglobal.swc -library-path=[Flex_SDK]\frameworks\libs\air\airframework.swc, but the path can't be surrounded with quote otherwise FD will show an error. I may look into the source and try to fix it.
links:
AS3 Quick Build documentation
Quick Build
FlashDevelop: Compiling Multiple SWF In One Project
Compiling a worker is no different from compiling any swf, you will need a separate project to compile the worker, unless your main worker loads itself as a worker.
Since FlashDevelop does not manage dependencies beetween projects, you will have to compile it manually, then the main worker.
You may automate it with make or any build system outside FlashDevelop, or use Pre/Post build command lines
By the way amxmlc is just a shortcut for 'mxmlc +configname=air', -debug=true will compile debug version
I can assure you that File can be used in a worker, basically it's just some actionscript bytecode loading some other actionscript bytecode and having it run in a separate thread, so any swf can be used as a worker, except if it doesn't use flash.system.Worker class, it won't be able to communicate with other workers, or to stop itself.
To sum up, the limitations and issues are rather about communicating beetween threads and synchronizing them. For instance, being able to only copy complex objects through AMF3 serialization,pass only basic types/objects as parameters will makes it impossible to interact with the display list from non-main workers
Dont forget to update FlashDevelop /AIR SDK for best workers support

Use IntelliJ Idea to Debug ActionScript Running in a Browser?

I have an ActionScript project that runs inside of another swf (embedded on an HTML page) so I can't use the 'Debug' option in IntelliJ's menu. Is there a way to connect the IDE's debugger to the browser so I can use breakpoints and such?
You can use the Flash Remote Debug option, just create a new remote debug profile
then hit debug and intelliJ waits until a swf debug file is launched on your computer it can be with a standalone player or plugin in a browser. both of them need to be debugger versions and your swf needs also to allow debugging (in Flash CC default does not accept debugging you need to change the publish settings).
I use this method to debug with IntelliJ an swf launched inside Flash CC hitting cmd+enter.
Maybe it works when you load and swf inside another.

Flash debug player won't launch

I'm having major issues with my Flash Debug Player. For a while now it hasn't been able to launch properly, or at least so it seems. Whenever I visit a site with the debug player enabled I just get the sad puzzle piece and a message saying that Macromedia Flash Player has crashed. It's the same thing with ADL, I can only run it with the -nodebug flag.
It works just fine if I install the regular Flash Player or use the one built into Chrome.
If I'm not mistaken, this might have begun to happen when I installed the Flashbug debugger in Firefox.
I've done the following:
tried installing an older version of the debug player
uninstalled flash and AIR completely before installing a new version
made sure there is a flashlog.txt file
I've edited my mm.cfg to look like this:
ErrorReportingEnable=1
TraceOutputFileEnable=1
Nothing is written to flashlog.txt when I try using the debug player, or ADL, and it works with the regular player and ADL with -nodbug enabled, so I'm guessing something happens with the logging part of the player. When running ADL i get "Bus error: 10" in the terminal.
Could anyone give me a hint, or any ideas at all on how to fix this? Could there be some hidden configuration file somewhere that isn't removed when I uninstall to do a fresh install or something?
Please can you tell me what version you are running. The error appears when you try to debug a project from Flex or Flash Builder? I Had similar when trying to debug projects in Flash Builder with Firefox, the solution (for me) was to uninstall flash player with this program and then install again a correct version, in this case try with the version 9 or 10.
I hope it will be helpful

How to run QNX Actionscript project on desktop Flash player

I am trying to run QNX Actionscript project on desktop Flash player, but when I run the swf, the player appears blank white view
I tried to set the QNX libraries "Merged in code", but the app doesn't run
Is there any way to run the project swf on flash player
Note: I am using Flash Builder 4.5
Thanks a lot
Have you tried the http://www.patrick-heinzelmann.de/labs/playbookdevicesimulation/ ?
And there is also:
http://renaun.com/blog/2011/02/workaround-for-ppschannel-error-when-running-qnx-playbook-specific-apis-on-the-desktop/

Intellij IDEA - Actionscript Project - Cannot connect Debugger version of Flash Player

I installed flash player debugger and cannot able to debug the flash application.
And I got following message in console.
Waiting for Player to connect
Failed to connect; session timed out.
Ensure that:
1. you compiled your Flash movie with debugging on, and
2. you are running the Debugger version of the Flash Player.
Dont know how to fix.
If you are using chrome, the default flash player is not the debug version. After installing the Debug version of the player. you must disable the default version in Chrome.
Open Chrome
Go to chrome://plugins
here you should see both versions of the shockwave player. Disable the first one or the one that is located here:
C:\Users\your_username\AppData\Local\Google\Chrome\Application\22.0.1229.94\PepperFlash\pepflashplayer.dll
Now the debug version should be working in Chrome and should also work from Intellij if chrome is your default browser or set as the browser to open on debug.
Browser
Don't use Chrome to debug your SWF as it contains a non-debugger version of Flash Player. So after installing the Flash Player debugger, use Firefox, for example and make it as default browser.
SWF File
Be sure that you compiled your file as a debug version. To do that, have a look to your project structure. Then on your module and build configuration. In the compiler options, you should be able to check the "Generate debuggable SWF" option.
RUN/DEBUG Configuration
Check in the What to launch option, you selected your swf via HTML Wrapper. Check also that you selected the right Flex SDK in the options panel:
FINALLY
Launch your debug configuration. Intellij will build your project, create an HTML wrapper and launch it in the default browser (Firefox).
Your SWF should then be debuggable. If it still does not connect to the debugger in Intellij, right click in your flash application in Firefox and click Debugger
Based on the suggestion given by Timofei & bmleite, I fixed it.
When you debug pure SWF, make sure to check the default player is a debug player. Debug player has "Show Redraw Region" on right click.
IDEA generates html file that embeds swf file for users' convenience. If you open this html from file system, it allows you to debug SWF. If you put it (with the rest of files) to http server, then 'Debug' menu item is disabled in Chrome. In IE it works fine. This is obviously a Flash Player's bug.