actionscript-3 Questions

15

Solved

I'm needing to write some regex that takes a number and removes any trailing zeros after a decimal point. The language is Actionscript 3. So I would like to write: var result:String = theStringOfT...
Rickettsia asked 10/10, 2014 at 12:11

5

I am looking for a way to edit .sol-files (LSO/Local Shared Object). I have tried searching quite a bit, but I have not been able to find any program that can edit AS3-files properly. Is there a so...
Opera asked 18/1, 2011 at 17:16

3

Solved

I want this object to rotate around its center rather than the top left corner. The code looks like this: switch (event.keyCode) { case 37: car.rotation = -90; car.x -= 5; break; So when i...
Presence asked 3/4, 2013 at 13:48

3

Solved

First, just to give a visual idea of what I'm after, here's the closest result (yet not exactly what I'm after) image that I've found: Here's the entire site-reference: http://www.mathematische-...
Generate asked 3/12, 2010 at 19:58

8

Solved

Is there a reg exp or function that will convert camel case, css and underscore to human readable format? It does not need to support non-humans at this time. Sorry aliens. :( Examples: helloWor...
Overtax asked 15/1, 2014 at 20:45

8

How do I forcefully unload a ByteArray from memory using ActionScript 3? I have tried the following: // First non-working solution byteArray.length = 0; byteArray = new ByteArray(); // Second no...
Luminous asked 1/8, 2008 at 12:30

8

I have a XML response from an HTTPService call with the e4x result format. <?xml version="1.0" encoding="utf-8"?> <Validation Error="Invalid Username/Password Combination" /> I have tri...
Rieger asked 29/9, 2008 at 15:32

12

Solved

I have the coordinates of the top left point of a rectangle as well as its width, height and rotation from 0 to 180 and -0 to -180. I am trying to get the bounding coordinates of the actual box ar...
Berar asked 7/3, 2009 at 17:3

7

Solved

I'm looking for advice on how to dynamically create content in flash based on a database. Initially I was thinking that we would export the database to an XML file and use the built in Action...
Bernadinebernadotte asked 15/9, 2008 at 13:31

3

Solved

How to parse downloaded .json file with a string inside it to a string variable? With as3corelib.swc.
Forgot asked 11/10, 2012 at 13:20

12

Solved

Hey there, I'm trying to perform a backwards regular expression search on a string to divide it into groups of 3 digits. As far as i can see from the AS3 documentation, searching backwards is not p...
Overdevelop asked 6/4, 2009 at 12:55

1

I'm looking to get the edges of user's head when the user is in front of a web-cam. I tried googling but to no avail. Can someone point me to some ActionScript examples for the same ? Peace \m/

2

Solved

I seem to be having issue with Zoom Gestures on a SWFLoader. I have an swf file which is a floor plan of a home, I want the user to be able to zoom in and out with two finger touch, the following c...
Spam asked 24/6, 2017 at 16:36

4

Solved

i have lots of sprites arranged in 3D space, and their parent container has rotations applied. How do i reverse the sprites 3D rotation, that they always face the camera (Actionscript 3)? heres a ...
Slugabed asked 29/3, 2011 at 1:41

2

Solved

Which of these will give an exactly 50% chance when a random value is a float between 0 and 1 (such as AS3's or JavaScript's Math.random())? I have seen both of them used in practice: if (Math.ran...
Cryobiology asked 2/2, 2014 at 4:43

7

Solved

There is an .fla file that has a sound wave in it's library. However I do not have this sound wave saved on my computer so I can not edit or open this sound in another application. I was wanting to...
Leucoma asked 30/1, 2010 at 18:39

6

Solved

I was wondering if PNG contains data like the following? What I did was to convert the jpg file to png format, and I was expecting to retrieve the same info I had on the jpg as below: Currently u...
Aphasic asked 3/3, 2012 at 0:49

4

I have been looking for a way to install the debug version of flashplayer for ie11 or the newer microsoft edge browser under Windows 10. AS far as I understand, the flash plugin is now embedded wit...
Oration asked 16/9, 2015 at 19:12

3

Solved

I'm not sure how to select a different git repo for each different module I have in my IDEA project, I'm not seeing any option for that, all the git options seem to only relate to one git repo. Is ...
Cautious asked 21/11, 2014 at 15:18

6

Solved

I'm new to facebook development, after testing the adobe api in a flash game I decided to test using the graph api communicating with my flash game. After doing basic stuff like connecting and gett...
Ostraw asked 7/10, 2010 at 14:20

4

Solved

I'm populating a dropDownList with arrayCollection of strings. I want the width of the drop down list control to match with the size (in pixels) of the longest string in the array collection. The p...
Beeves asked 7/1, 2011 at 17:27

12

Solved

In Actionscript, the Unix timestamp in milliseconds is obtainable like this: public static function getTimeStamp():uint { var now:Date = new Date(); return now.getTime(); } The doc clearly s...
Angst asked 30/6, 2009 at 12:54

6

Solved

Is there a direct way how to turn a negative number to positive using bitwise operations in Actionscript 3? I just think I've read somewhere that it is possible and faster than using Math.abs() or ...
Cockshy asked 16/7, 2011 at 18:21

8

What AS3 code is used to loop a sound using AS3?
Spot asked 26/3, 2011 at 16:36

4

Solved

I'm writing some Actionscript3 code that attempts to apply a method to an object that is determined at runtime. The AS3 documentation for Function.apply and Function.call both indicate that the fir...
Accessible asked 30/8, 2011 at 5:13

© 2022 - 2024 — McMap. All rights reserved.