Questions tagged [actionscript-3]

ActionScript 3 (AS3) is the open source object oriented programming (OOP) language of the Adobe Flash and AIR Platforms. AS3 is widely used for RIAs, mobile apps, and desktop applications. (ActionScript 3 is a dialect of ECMAScript.)

Filter by
Sorted by
Tagged with
0 votes
0 answers
27 views

Need ActionScript 3 coding for input boxes that will determine amount of color fill in a movieclip

If I put a numerical value in an input textbox1 and another value in input textbox2, then the percentage of both these input boxes will determine how much boxA will fill. For example, I put the value ...
user38534's user avatar
0 votes
0 answers
15 views

AS3 Caling MC on Parent Timeline from Child

I'd like to find best code referencing movie clip on parent's timeline shortly. It aimed to set alpha and another properties of that visualization movie clip outside child. I've try using MovieClip(...
Dika Atmaj's user avatar
0 votes
1 answer
30 views

2 error problems for simple music players

I have 2 Errors: #2044: Unhandled IOErrorEvent:. text=Error #2032: Stream Error. I tested a few times, and I have both Unhandled IOErrorEvent and Stream Error for a Music Player Scene. I found this ...
Isaac Yeap Jie Ling's user avatar
0 votes
1 answer
23 views

Different Scene, different framerate in AS3

How do I make this code correct in different frame rate in 3 different scenes? Any examples? Original from Actionscript 3.0 - Changing FPS for scenes won't work: function modifyFrameRate():void { ...
Isaac Yeap Jie Ling's user avatar
0 votes
0 answers
25 views

Layer Parenting, Make Child Layers Move Along With Parent Layer That's Being Moved by ActionScript 3.0?

I have a Movieclip symbol for a character and within it are multiple symbols of body parts that are linked together using Layer Parenting. Please see my linked .fla file here if it helps. When I ...
DigitalDesignDude's user avatar
0 votes
0 answers
28 views

as3 want to removeEventListener KeyboardEvent to prevent additional text entry and allow only 1 keyboard event

I'm building a simple animation that I want to advance using any keypress until a certain frame in the timeline where I want to disable any random key press and enable just the Enter key to advance to ...
Ulo Greer's user avatar
0 votes
0 answers
27 views

How can I revive this game?

My AS3 code: public class PHPConnect extends EventDispatcher { public static const DATA_LOADED:String = "phpLoaded"; public static const RETURN_XML:String ...
gumoraes999999's user avatar
0 votes
1 answer
20 views

Cannot make an if statement with a public variable. (AS3)

I am currently trying to create a script in adobe animate, that would make a certain animation play inside a symbol, when a public variable named "kill" would reach 1. The variable would've ...
NotSoz's user avatar
  • 1
0 votes
0 answers
58 views

GDPR UMP Implementation Using AS3 Script

I Need Small Help From you Guys. I Had Implemented UMP Consent On my Game Using AS3 Script. Even I Had Enabled GDPR Settings on My AdMob Account too. But While Testing on my Mobile Using Test Device, ...
Free Lancer's user avatar
1 vote
2 answers
377 views

ld: unknown options: -sdk_version

Hello, has anyone encountered this problem? I have no idea and have been searching also everywhere on different sites and forums but I am still lost on how to fix this. it says: ld: unknown options: -...
AgentBurger's user avatar
0 votes
0 answers
27 views

How to return data type "Date" using AMFPHP

So, I cannot for the life of me manage to map a DateTime PHP class into an ActionScript Date class. I need to return Date using AMFPHP. For example: <?php class Foo { public $id; // int ...
allesmoegliche's user avatar
0 votes
0 answers
31 views

as3 massive project how to decrease memory usage

i have a big project contains upto 120 video and lots of loaded swf the export exe file when testing it takes a massive memory usage up to 1.5 gb of ram and always crash when testing on another device ...
Ayman Abozied's user avatar
0 votes
1 answer
26 views

AS3 dispatching contentLoaderInfo

I wish to know how to dispatch the contentLoaderInfo of external SWF to be usable on other frame where the original swf loaded instead. It would like to expand the loaded SWF frame in the timeline. If ...
Dika Atmaj's user avatar
-1 votes
2 answers
43 views

Adobe Animate HTML 5 Error when accessing internal library via external js script

Recently started learning Javascript and here is the problem When trying to access the internal Adobe Animate library through an external JS script, it swears and writes an error And if I write this ...
Deni Smith's user avatar
0 votes
0 answers
34 views

as3 trying to make mc visiable when go to previous frame

now in frame 1 i have 5 buttons everyone go to spcific frame and everybutton has a mc the idea is when the user click on button 1 ( as example ) it will go to frame 2 ( in frame 2 i have a video with ...
Ayman Abozied's user avatar
1 vote
1 answer
27 views

AS3 tryin to make a function with hitTestObject using if statement

i have a function with code function ball3test() { if (ball3.hitTestObject(ball1_t)) { goodmc.alpha = 1; removeChild(ball3); sw = sw + 1; ball3t.alpha = 1; ...
Ayman Abozied's user avatar
1 vote
1 answer
26 views

AS3 Calculate Longitudinal Redundancy Check (LRC) - Socket

I need to send to the socket: <STX>PIPE_DELIMITED_MESSAGE<ETX><LRC> STX = String.fromCharCode(02) //// **Good** ETX­ = String.fromCharCode(03) //// **Good** LRC = Unable to ...
Speego's user avatar
  • 71
1 vote
0 answers
42 views

Javascript : Uncaught TypeError: window.SampleJSFModule is not a constructor

I am trying to call an external javascript module (SampleJSFModule.js) from Action Script file (samplejs.as), which itself is being referred in an Apache Royale mxml file. // @externs // samplejs.as ...
AnR's user avatar
  • 1,823
0 votes
0 answers
22 views

AS3 Load Class of External Library

Can I import classes on external library without load it? I would like to split my SWF and put only the classes into other referencing SWF since it contains a lot of mp3 file and caused so hard to run....
Dika Atmaj's user avatar
0 votes
1 answer
23 views

no file-saving after AIR Update

I updated my air app from air32 to latest harman´s air50. After the update, files can no longer be saved on Android. var myFile: File = File.documentsDirectory.resolvePath("/mnt/sdcard/Tfzf ...
Dunraven's user avatar
0 votes
0 answers
27 views

Calculating velocity for Cannonball trajectory in AS3

My objective is to create a cannonball type effect for a projectile. Basically, when you click a coordinate, the cannonball will launch and land at that specific coordinate. I know well how to create ...
Koden's user avatar
  • 31
0 votes
0 answers
34 views

Date comparison for validation

good afternoon! I would like to know how I can be creating a code that expires within a time, using getDate and time. For example, having an input field, where I check if a token exists, and compare ...
Santon99's user avatar
0 votes
0 answers
25 views

I cant do an image gallery movie clip , my buttons doesnt work

i need to do a simple navigation system with an image gallery , all its working but an image gallery . I click on the buttons called "vaifoto" and "voltafoto" and when i do i got ...
Miguel Coelho de Augustinis's user avatar
0 votes
0 answers
21 views

When you click on a button contained in a file inside a container, it jumps to a specific frame in the as3 project

I have a swf file named ff2.swf that contains a but1 button inside it. I call it inside a container in the FLV project, and when I export the project, the file appears inside the container. That's ...
Mohammedlasharaby's user avatar
0 votes
0 answers
23 views

Unreal development kit scaleform error "Actionscript version mismatch"

I'm getting an error through the gfxUI channel; DevGFxUI: Failed loading SWF "/ package/UDKFrontend/udk_ime": ActionScript version mismatch this causes the entire project to crash. I'm not ...
Mr.Grease's user avatar
  • 197
0 votes
0 answers
11 views

Multiple DoABC tags for boilerplate reuse

I'm working on a tool for compiling TypeScript to SWF. I didn't get on the transformer for example yet, but I wanted to reused a little bit of boilerplate code from another abc. What I'm doing is ...
Hydroper's user avatar
  • 356
0 votes
0 answers
21 views

Is there still an Actionscript3 library available that supports XMP Access and/or parses XMP Metadata?

I know there is an Adobe XMP SDK Kit available, but that does not support AS3 any longer. Some years ago (before Harman took over AS3) Adobe provided the **as3_xmp_file **abd XMPCore.lib The links ...
hnuecke's user avatar
1 vote
1 answer
52 views

Get x, y, width and height of images on main timeline

I'm struggling with what I'm sure is a simple question, but I can't seem to figure it out or find a similar issue! I have an animation in Adobe Animate which consists of a bunch of images on different ...
GeorgePorge's user avatar
0 votes
0 answers
57 views

AS3 Associating Sound Volume within Timer Class

How to associated sound volume linearly reduced/increased along timer class. I just want my sound stop on its half of total duration within fading out effect smoothly. I use bellow class but no sound ...
Dika Atmaj's user avatar
0 votes
0 answers
45 views

Unable to open exe file using Adobe Animate and XML configuration

Unable to open exe file using Adobe Animate and XML configuration I'm trying to open an exe file from another exe file using Adobe Animate and XML configuration. However, the code seems to be correct, ...
Mahmoud Ahmed's user avatar
0 votes
0 answers
23 views

AS3 Trigger to Label using IF Statement

I have problem to find the way to identify frame label inside child's timeline using if statement. I wrote the following but failed. if (myChild.currentFrame == "b1"){ myMC.visible=false; } ...
Dika Atmaj's user avatar
0 votes
0 answers
76 views

How to fix Error #1000: The system is out of memory while using ForcibleLoader.as in Adobe Air?

Adobe Air in ActinoScript3 ForcibleLoader.as Error: Error #1000: The system is out of memory. https://gist.github.com/nsdevaraj/409902 package { import flash.display.Loader; import ...
이상현's user avatar
0 votes
0 answers
40 views

AS3 Button Calls MC inside Two Level Loaded External SWF

I have a button on parent to call mc_target into two levels hierarchy of loaded swf. Any idea to solve that is greatly appreciated. Simply it goes as bellow: In parent I load external swf1 using below ...
Dika Atmaj's user avatar
0 votes
0 answers
26 views

TypeError: Error #1006: addEventListener is not a function. (Actionscript, puzzle game)

AS3 newbie here (like really new). I'm trying to make a puzzle game with actionscript, and below is the code: (put in an as file applied to fla) package { import flash.display.MovieClip; ...
frisk's user avatar
  • 1
0 votes
0 answers
17 views

Error #1010: A term is undefined and has no properties. (MovieClip Error)

AS3 newbie here (like really new). I'm trying to make a puzzle game with actionscript, and below is the code: (put in an as file applied to fla) package { import flash.display.MovieClip; ...
frisk's user avatar
  • 1
0 votes
0 answers
22 views

HARMAN SDK 50.2.2.4 - execution failed for task ':app:lintvitalrelease'. error

Good day, (Trying to build an Android release) anyone who also encounter this problem? I would like to ask for fix? Thank you. used: AS3 HARMAN SDK 50.2.2.4 VS CODE STUDIO Found some solution from ...
AgentBurger's user avatar
0 votes
0 answers
25 views

AS3 how to ignore previous if statements

I;m a bit of a newbie in porgramming, and i'm not so sure if my question is clear enough. Anyways I have this code that spawns in a portal once a certain score is reached. How do I make it so that ...
webdog's user avatar
  • 13
0 votes
0 answers
29 views

AS3 How to put a function within a Sprite and then hide the sprite?

I am a beginner programmer, making a snake game with some added features; there's a feature where I would like to remove 5 parts of the snake when it eats a certain food. So far with my attempts, i've ...
webdog's user avatar
  • 13
0 votes
0 answers
45 views

AS3 How to remove elements from an array using splice()

I am new to programming in general and making a snake game. I have three fruits in the stage, one for adding into the length of the snake using an push(), while the other will remove using splice(). I'...
webdog's user avatar
  • 13
0 votes
0 answers
27 views

AS3 Error 2025 The supplied DisplayObject must be a child of the caller

Edit: I didn't exactly know what I fiddled with, but it works now. I am considering taking down this post since there isn't an answer. The problem may not be with error 2025 entirely, as I was just ...
webdog's user avatar
  • 13
1 vote
1 answer
46 views

AS3 Error 1119 undefined property with static type Function

I am new to as3 and programming in general and I want to ask how to hide 'function grid()' entirely when 'mc_gameover' event is clicked? I have tried adjusting its visibility and removing the children ...
webdog's user avatar
  • 13
0 votes
1 answer
50 views

AS3 - startDrag with inertia or momentum?

Still learning Adobe Animate AS3, so please be kind. I would like to create a "swipe to delete" type action. Is there any way of adding some inertia or momentum please? When I relaease the ...
NC35's user avatar
  • 1
-1 votes
1 answer
52 views

How can I get from a function all the SymbolClass names of an external swf file?

I have this problem, I have several swf files hosted on a website, I want to create a function that returns all the SymbolClass names of a certain swf file specifying it by a parameter: Something like ...
Anonibot's user avatar
0 votes
0 answers
24 views

Error: Access of possibly undefined property _global

Why does my FlashDevelop give me this error? Isn't _global pre-defined? I use Flash Player 25.0 and AIR 33.1.1.
GulgDev's user avatar
  • 16
0 votes
0 answers
63 views

How to suppress error: Access of possibly undefined property

I embed two swf files on my page: <embed src="first.swf" ... > <embed src="second.swf" ... > In first I have class named Base. But when I access it in second.swf I can'...
GulgDev's user avatar
  • 16
0 votes
0 answers
48 views

How to deal with the problem of such an error?

Why am I getting an error? How do I build a file for this error? I'm trying to understand and can't, what's wrong here? Or how do I create a file with its parameters? Or how do I know what the ...
JustMoon's user avatar
0 votes
0 answers
40 views

How to make app run from specific path only?

How to make the program not work through DVD and work only through the HDD? With a condition if it's in a different drive other than C: then it does not work. My code attempt: stop(); import flash....
karam El Fekey's user avatar
0 votes
0 answers
42 views

AS3 - Display the same Sprite in button states

I'm trying to add a sprite to all the states of a button. I have something like (speudo code): var button:SimpleButton= new SimpleButton(); var content:Sprite = new Sprite(); button.upState.addChild(...
yvant's user avatar
  • 81
0 votes
0 answers
44 views

content tags for android accessibility for actionscript

I am developing an app in animate with ActionScript 3. When I create the aab file and upload it to the Google Play console it gives me a warning that there are no content tags for accessibility. ...
joaquin hernandez rodriguez's user avatar
0 votes
0 answers
28 views

AS3 code for button change appearance when pressed

Can someon egive me some code, or at least help me in any way to make one button looks like pressedwhen user hit it, or at least to change a color. On click i want to lets say load same bitmap only ...
K Šiljo's user avatar

1
2 3 4 5
825