All movement jitters - caused by windows? - actionscript-3

I'm using FlashDevelop 5.0.2.2 and also tried to compile on Flash Builder 4.6 ....
So, i have this game i'm building and i have noticed that every movement I made with code - it jitters. I tried with "release", tried different flash players - nothing, same thing. Also, implemented fixed frame rate, used elapsed time in other example - it's same for all tries - the movement jitters!
So, i went back,from mine old games, which are published and i know they run good - i compiled one of them - and now that games - jitters too.
I was wondering what is happening?
I'm using Windows 10 x64bit, with all the latest updates installed... also, the AIR SDK is the latest, so i don't know what i'm missing? Maybe some folder needs deleting or setting, i don't - tried many things, nothing helps.
help, please?

Related

as3, starting game with adl on mac os, no visual on desktop, context3d error on mobile

Situation
~~~~~~~~
I'm using the following line to compile my project:
amxmlc -debug=true -librarypath+=./vendors/starling.swc -output=build/Main.swf -swf-version=13 src/Main.as
The projects works fine in a browser.
Packaging using a self signed certificate with air, then installing the game works also well.
Problem
~~~~~~~
I can't run my game simply using adl in the two following situations:
with desktop profile:
adl Game-config.xml (-profile=desktop)
Game starts, trace works fine, no errors in logs BUT no visual, not even a window to display a canvas.
and with mobile profile:
adl -profile mobileDevice -screensize 720 Game-config.xml
This time I get a window and the canvas, but an error (in the canvas) from stage3D:
Context3D error: Error #2008: Parameter profile must be one of the accepted values.
Error looked like I didn't allow mobile profile so I added in Game-config.xml:
<supportedProfiles>desktop mobileDevice</supportedProfiles>
Same error.
I searched and tried adl options, but didn't had success.
I also spend some time looking config file documentation and tweaked it but had again no result.
Perhaps you need to have two separate configs, one for desktop and another for mobile.
I guess I'm doomed to use adobe flash projector.
I simply don't get it, Now it works.
I used the same command than the day I posted, I have exact same version of air framework, exact same configuration (Game-app.xml) ...
Maybe it was an auto update of adobe or smth ...
Or maybe the god of mighty reboot ...
I heard that if you reboot seven time you can get any wish comes true.

Flash Builder bug?

Irritatingly, Flash Builder refuses to implement any changes I make to the program when I run it. I can't find any documentation of this anywhere online after a brief googling, just wondering if anyone has come across this problem before and/or found a solution? I don't want to have to export a release build every time I want to check if any changes have been implemented successfully (I'm just assuming that'd work)
It happened to me once before but I overcame this problem simply by starting a new project as there wasn't much of any significance, and couldn't easily fix it.
It's pretty much as simple as it sounds tbh, having returned to my computer a couple of hours after leaving it I find any changes to any part of the code have no impact on what is displayed when I go to run...
Any insight would be much appreciated
Thanks
Josh
It could be the cache of your browser. Clear your cache and see if that works..
It could also be because you have classes that are compiled in external swf's. If you compile in Flash Builder, you're not persee recompiling those classes. Instead, compile the external swf which has links to those classes.
You'd think if this were a bug in Flash Builder, people would be complaining about it a bit more often, check that your browser is updating properly, most likely you've got the SWF stuck in your browser cache.
Check the "clear application data on each launch" in Run/Debug Configuration window.
This will clear and uninstall existing app installed in your test device, so every new launch will have clean build.
Tips : Make sure to cmd/ctr + B first, In every run/build.

Flash Builder 4 changes not compiled

Im using Flash Builder 4 on the Mac and I have a worrisome problem: The compiler is sometimes not detecting my code changes.
For example I might write some code, compile and run, then add some logging statements, but they will not print. After a clean compile everything runs as expected.
I cannot see a pattern to the exclusion of changes. I'm wondering if anyone else is having the same problem?
Details:
Flash Bulider 4
Pure AS3 project targetting Flex3.5 SDK
Max OS X Snow Leopard
My code does not use semicolons to terminate statements
The problem is with the SDK settings selected for the Compiler.
Try going to 'Project' > 'Properties' > 'ActionScript Compiler'.
Now, in the 'Flex SDK section', try changing the SDK. Click on 'Apply'.
This will force FB to rebuild all settings for the project.
You can try again. FB should now have started compiling with latest code changes again.
Please Note: This is not a permanent fix though!
In case the problem re-occurs, you'll need to again perform the steps mentioned above to get FB back on track.
As bad as it sounds, I am now used to this behavior, I use FB4 on a Mac , but remember having the same issue with Flex.
Practically, I keep clearing the browser cache and cleaning the project. I have thought about adding some random number after the swf url so that it never gets cached but haven't implemented it yet. Force of habit I guess, clearing the cache & cleaning the project has become such a routine!

AIR file is damaged after publish

I tried to find an answer here but haven't seen anything yet.
I've been working on an AIR application with Flash CS4 (AS3) for the last two days. Yesterday when publishing I was able to install the application (or overwrite existing version) without a problem. Now whenever I publish a new AIR file, it constantly tells me it cannot be installed because the "AIR file is damaged".
There are no actionscript errors or compiler errors when publishing, and I've generated a new certificate at least 3 times already thinking that may expire daily?
Any ideas? Thanks
Has the publisher ID of your application changed?
This may be related to you changing your certificate, or any of the details in your certificate.
You can also get this problem if you don't timestamp the app.
My bet though is that your publisher ID has changed, you will be able to set this manually in the imminent release of AIR 1.5.3
I've been working on an AIR application with Flash CS4 (AS3) for the last two days. Yesterday when publishing I was able to install the application (or overwrite existing version) without a problem. Now whenever I publish a new AIR file, it constantly tells me it cannot be installed because the "AIR file is damaged".
I've been having the same problem. Its been driving me crazy. I'll let you know if I figure anything out. I'm reinstalling AIR now.
I don't think it has to do with your FLA file, because I've worked around this issue by moving my .FLA to a different computer (running OS X instead of XP) with Flash and it published fine. This is quite a hack work around, hope it might help.
It must be either problem of including Time Stamp, or don't writing application configuration file correctly.

Soundtouch class not working now

There is great library for realtime pith shifting https://github.com/also/soundtouch-as3
If was work fine until Jule 2015 (at this time was discovered another Adobe Flash Player zero-day (assigned with CVE number, CVE-2015-5123))
Is there anybody successfully use this library? I can't debug this ... because of I know AS3 not so well, maybe anybody know the reason of this
it's not an solution to this but after a similar issue I ended up using the Sonoport libraries instead. They're worth checking out as have some cutting edge algorithms and do realtime manipulation of pitch / rate etc.
www.sonoport.com
I've made the swc available here as it looks like their downloads aren't currently available