SWF Movie does not appear when test the flash project - actionscript-3

I was trying to test my flash project. As I pressed ctrl + enter, there was no pop up windows for flash player appeared. My other projects work well. Can anyone help me?

there could be many problems and solutions, these are 6 :
1- Check if there is an error in your Compiler Errors window.
2- Restart your pc.
3- If you use (ane) for different platform it won't show preview in many cases.
4- Reinstall your flash or change your flash player or Air version.
5- You might use "NativeApplication.nativeApplication.exit()" somewhere if you have adobe Air project.
6- Start a new project and test it if it shows a preview window copy your stuff from the old one .

Related

Adobe Animate cc 2017 - HTML5 freezes when I publish/test project with audio

Adobe Animate cc 2017 - HTML5 freezes when I publish/test project with audio
I'm working on a small game, using Animate 2017 and exporting it to HTML5. I'm using createjs.Sound to add the sound fx I've added to the library. When I publish or "test" the project, it freezes the loading bar. On OSx it stays at 0%, on windows it goes up to 70% but freezes anyway. The only option being to force quit the app. I'm following a tutorial from Pluralsight, and I've tested the tutor's project and I get a slightly different issue, the project gets published, the browser starts everything automatically but nothing happens afterwards, instead of the game starting, it just stays a black canvas (no errors in the console).
A few more data to help troubleshoot, the tutor's project is using .mp3 files and I'm using .wav audio. I've been trying to look through the OSX auto generated error report, but I can't make heads or tails of what it says.
Animate mac/windows version - 2017.0.1 Release (16.0.1.119)
Turns out it was a corrupted symbol or something that was causing the program to crash. Converting the project to ActionScript 3 and then back to HTML5 solved the issue.
https://forums.adobe.com/thread/2425008
If anyone experience a AnimateCC crash issue in Mac, It might be an issue with long audio file name. I found that if the audio file name is greater than 29 characters, AnimateCC crashes when publishing. Here is a sample test file.
https://drive.google.com/file/d/1dEBdM4laszCXFa3Bz4tS3yHh-8PbLaGo/view?usp=sharing
As you can see, the file crashes when you try to export. It has only one sound file in the library. When you remove one character in the file name, it gets published successfully. I tested this in AnimateCC version 18.0.2 (Build 126).

swf file terminates automatically after publishing

I create app using flash cs 5.5. It works fine. Then I started using flash cs6. The app was running fine until today. It runs fine but the problem is when i tried to publish it, it start playing but after some time(about 30 secs), swf file terminates itself. There is no problem in using cs5.5. It's just when i tried to publish it, it runs and swf file is close itself. Do any one have any idea what might be the problem ?
When you say "the swf file terminates itself", are you talking about the standalone flash player? Normally if this happens, it's because an error was thrown, but if you're not using the debug player, you won't see it, it'll just close.
Download the debugger player here: http://www.adobe.com/support/flashplayer/downloads.html and run your swf in debug mode (so all the debug symbols are present and you get the most complete error message). This should give you an idea of what the error is, and where to go to fix it.
NOTE: to know if you're running in the debug player or not, right-click on the swf in the player, and if you see an option for "Show redraw regions", then it's the debug player

How to add a component library to Flash CS5.5

I want to add Liquid Components to my existing project. I'm new to Flash development so I'm not sure how these components are installed. On the website it says to move .fla file to a specific folder.
I'm using Flash CS5.5 on Windows 7. I moved Liquid.fla file to: C:\Users\MyUserName\AppData\Roaming\Adobe\Flash CS5.5\en\Configuration\Components Note, there wasn't a Flash CS5.5 folder so I created it, it might not be right name, maybe that is the problem.
I also tried moving .fla file to C:\Program Files\Adobe\Adobe Flash CS5.5\en_US\Configuration\Libraries.
When I go to component panel in Flash CS5.5 I don't see these liquid components (even after restarting Flash CS5.5). Am I suppose to see the installed components in Flash CS5.5 Component panel?
Instead of putting that in Roaming folder, put it under "local", like the following
C:\Users\MyUserName\AppData\Local\Adobe\Flash CS6\en_US\Configuration\Components\Liquid
Mine is Flash CS6, but it should not be much different from CS5.5

flash builder 4.6 - native application issues -

I'm trying to follow a tutorial here:
http://www.as3nui.com/airkinect-2-0-is-here/
which deals with developing an AirKinect application in Flash Builder 4.6, which I've installed. But when I follow the steps, a bunch of menu commands that the tutorial accesses are not available to me. I'm developing an Actionscript project. When I go to the project properties, and click the actionscript build path from the left, in the video there are 3 tabs - source path tab, library tab, and native extensions tab, but I don't see native extensions tab. Furthermore, on the left, he has a menu called Actionscript build packaging - I do not have this. Lastly, he uses a command stage.nativeWindow.visible = false - when I use that it says it is an undefined property. I think that all of these issues have to do some how with the matter of native applications in flash builder, but I'm not sure. Anyone know what's going on?
You've probably started your project with the wrong settings. When you create a new ActionScript Project in Flash Builder 4.6, you can choose how it will run: in a browser or using AIR:
You should select the button "Desktop (runs in Adobe AIR)" under 'Application Type'. Then you will also see that native extensions tab in your project properties.
I don't know how to change an existing project into an AIR Desktop project but it should not be too difficult to create a new one and move your existing code into it.

Close Flash Player from FlashDevelop IDE

Whenever I compile my project using FlashDevelop in 'Debug' the Flash Player window remains after I have clicked the 'Stop' button in Flash Develop. I have to then switch over to the flash player, click through any error messages and then close the player, which wastes a lot of time in the long run.
Any way to make it so Flash Player closes when I click 'Stop' in the Flash Develop debug tools?
EDIT:
My setup is a fresh install of Windows 7, a new copy of Flash Develop 4 and Flash Player 10.
You may disable the error popup in your Flash Player by editing your mm.cfg file (which is in your Windows' user folder). Just add the following:
SuppressDebuggerExceptionDialogs=1
Then the Flash Player will nicely be killed when you stop FlashDevelop debugging. BTW, you will still be able to read the errors in the trace.
In FlashDevelop/Settings/ToolBar.xml just put this line
<button label="Kill FlashPlayer" click="RunProcess" tag="taskkill;/f /t /im FlashPlayerDebugger.exe" image="197" />
and restart FD.
I've asked this question in the Flash Develop forums and an admin informed me that this is a feature that they are currently thinking about including but that it FD cannot close the Flash Player atm.
http://www.flashdevelop.org/community/viewtopic.php?f=13&t=8442&sid=be1affc07163323a49000722e6b86ce1&p=39291#p39291