9,090 questions
0
votes
0
answers
50
views
Is there a way to highlight ActionScript code in Markdown editor in VS Code like cpp does?
This is sample MD file in VS code:
```cpp
char c = 5;
printf("aaaa");
```
```actionscript
var i:int = 5;
```
```as
var i:int = 5;
```
```actionscript3
var i:int = 5;
```
```as3
var i:int = 5;
```
...
2
votes
0
answers
252
views
Playing PCM data as sound in ActionScript 3.0 (Flash and AIR)
I'm trying to make an ABC/HR tool in Flash, but I can't manage to play the data as sound. Actually I prefer AS2, but I found that it is not enough for this purpose, so I decided to use AS3. But I can'...
0
votes
2
answers
56
views
Trying to get makeMcShake script found in Newgrounds forum to work
So I found some old script in a Newgrounds forum that should allow me to shake the scene without having to animate the scene manually. The problem is I don't really understand how to make it work. Can ...
0
votes
1
answer
41
views
Bitmap data depth display problem in ActionScript 2
Today I got a problem with the bitmap data depth display in my project that runs in ActionScript 2. I was expecting for the bitmap data to display in the
_loader
container
This is how these ...
1
vote
1
answer
42
views
Is there a way to store switches in AS2?
So, im currently making a project, and in this project there is a code where i have a switch condition with various cases, but, is there any way to store that switch condition in a class file? Or a ...
0
votes
0
answers
27
views
Saving username and password data problem in ActionScript 2 class
I'm currently having trouble with trying to save username and password data in real time. When I created my username and password and pressed OK to start the process. I was expecting for the code to ...
1
vote
0
answers
20
views
Any movie clip does not get removed after the video player completes playing the video format in my AS2 project
class StoryMode extends SystemVideoPlayer
{
var _timeline;
var ns;
var nc;
var _borderLeft;
var _borderRight;
static var instance;
var isVideoComplete = false;
function ...
0
votes
0
answers
91
views
Actionscript 3 : Draw movieclip as bitmap after scaling movieclip containing vectors?
Trying to draw a scaled movieclip containing vectors as a bitmap after the movieclip has been scaled, and struggling to get a sharp, clear bitmap.
Basically, have a movieclip and want to attach it to ...
0
votes
0
answers
96
views
Using javascript for photoshop scripting, but I cant find the file
I am trying to make a script for photoshop in js, and I want to add an image to a new layer. The proble is that I simply cant find the jpg (teszt_fekvő.jpg), evendough it is in the same folder. Here ...
1
vote
1
answer
78
views
ActionScript 2.0: Input data from .swf file will not save variables correctly in a .txt file. Error: Undefined
I have a live chat system that I built in Flash CS6 using ActionScript 2. Everything works well except for one instance name/variable that keeps showing up as "undefined" inside of a .sol ...
1
vote
1
answer
130
views
[Actionscript]How to display the information inside an array of objects
I'm currently trying to work on a mod for a game and when I display the array all I see is [object Object]. I'm wanting to actually see the information inside of the array. I'm new to actionscript so ...
2
votes
2
answers
128
views
eval vs Function() return semantics
We have the product (normal desktop app) that wants to pull some data from the Adobe products (from the documents, opened in these products). Since the Apple events are too slow, we implemented a ...
1
vote
1
answer
212
views
How do I move Pac-Man smoothly in AS3?
I’m writing a Pac-Man clone in ActionScript 3 using Adobe Animate (previously Flash) and could use some advice on movement and speed. According to Pitman's Pac-Man dossier, Pac-Man moves at ...
1
vote
1
answer
78
views
Issue setting domain memory
I'm testing decoding base-64 data, reading it efficiently through ApplicationDomain#domainMemory, inside a background worker:
override public function decode(): Array {
...
ApplicationDomain....
0
votes
0
answers
68
views
Defer implementation of interface functions to child class
I have a parent class MediaWindow which is extended by multiple child classes VideoWindow, PictureWindow etc.
Each subclass of classes must implement two particular functions which relate to resizing.
...