41,057 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
26
views
How to make AS3 recognize a movieclip loaded with content from external SWF?
I know how to load the movieclip with the external swf but after doing so animate throws an error saying the movieclip does not exist??
var loader:Loader = new Loader();
var contentSWF:URLRequest = ...
0
votes
1
answer
91
views
How to remove MovieClip from the array if it "dies" on stage based on its Array index?
I have 5 Enemies on the stage and if theyr current HP is equal to zero play animation and on the "dead" frame i want them to be removed From the Array and eventualy removed from the stage ...
-1
votes
1
answer
76
views
How to create addEventListener - function - where I indicate what movieClip was clicked and then decrease HP:number and show it directly on the stage?
Hello everybody,
I am making very basic game in Adobe Flash AS3. I am learning in a book and as i learn i try to introduce new things and creative stuff into my very basic game.
I am using Flash CS3 ...
0
votes
0
answers
25
views
Adobe Animate AS3 NetStream crashes in Windows projector after multiple video transitions
I’m using Adobe Animate with an ActionScript 3 document to make a test project. In this project, I want to dynamically load and play external MP4 files using NetStream, swapping in new videos as ...
0
votes
1
answer
45
views
gotoandstop random frame without repeating AS3
Currently, gotoandstop any frame randomly is working fine, its working continues and repeating.
but what I need is once it reaches all frames, it will stop on frame 5 without repeating any frame. Can ...
0
votes
0
answers
47
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;
```
...
1
vote
0
answers
42
views
How can I get rid of delay in looping sound from external source added through urlrequest AS3
I simply want to loop a song infinitely that is pulled externally, I already know how to do this.
var mysong:Sound = new Sound(new URLRequest("music/mysong.mp3"));
mysong.play(0, int....
0
votes
0
answers
41
views
How to get rid of delay in looping sound from external source added through urlrequest AS3
I simply want to loop a song infinitely that is pulled externally, I already know how to do this.
var mysong:Sound = new Sound(new URLRequest("music/mysong.mp3"));
mysong.play(0, int....
2
votes
0
answers
251
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 ...
-1
votes
1
answer
64
views
How to spoof Action script 3 ExternalInteface.call("window.navigation.userAgent.toString")
im trying to spoof ExternalInteface.call("window.navigation.userAgent.toString") to look like a electron environment using the javascript below. though it works for the browser it keeps ...
1
vote
0
answers
38
views
ActionScript 2.0 to ActionScript 3.0 transition
I have a button 'buttonGo' and five different balls with different names (ballA, ballB, ballC, ballD and ballE). I have an ActionScript 2.0 code like the one below. Can anyone help me write a proper ...
-1
votes
1
answer
24
views
How to change applied force on contact using Nape?
Using Nape and ActionScript 3, I built a simple Angry Birds game. I want to modify the force applied by a Ball when it touches a Wall. I used a PreListener, but then I don't know what to change on the ...
0
votes
1
answer
65
views
Best way to handle multiple URLLoader Requests in AS3
I have written the following class to abstract multiple calls to my server for sending data to a database and getting that data back.
package {
import flash.net.URLRequest;
import flash.net.URLLoader;
...
1
vote
1
answer
59
views
Swf unloads, but AS3 within that swf still executes
I have an AS3 Air App (Desktop App)- let us call it MAIN that loads a bunch of swfs. So, MAIN loads swfA and then unloads it. MAIN has an event listener that listens to unloading of swfA. Trace shows ...