CODES
NEW
ADD
SaveCode.net
Ranking
Extension
swapping of two numbers without using a third variable
Home
/
Codes
/
actionscript
0
Swapping of two numbers without using a third variable
Copy
actionscript
flash
numbers
Favourite
Share
By
Antonia Gusikowski
at Mar 22 2022
Related code examples
swapping every 2 numbers with each other in an array
Function: Random value between two numbers
Tweening to a Relative Position using a Variable in TweenMax
calculate the total of all numbers in Array
AS1: Swap Numbers
AS3 Setting Colour of DisplayObject using ColorTransform
Compare two array
EventDispatcher variable declaration
Non-repeated random numbers
2 closest numbers to 0
AS3 Convert Numbers to Words
Formating numbers comma separator
Executing time without timelines
Difference Between Two Angles
yaml reference library variable
AS3: Extract filename without the extension
Simple Bitwise - Dividing By Two
AS3 Average Colour Between Two Colours
Load URL variable from HTML link
ClickTag using ActionScript 2
clickTag using ActionScript 3
Using modulo to snap an object
addComma function using recursion
AS3 Animation using Blitting
Draw a rectangle using AS3
Extract content between two delimiters in Flash
Creates a simple square using mc.graphics
String replace using regular expression
Pause frame using ActionScript 2
Pause frame using ActionScript 3
Using sprites as an Array to hold Objects
rabbitmq login was refused using plain
onEnterFrame Event using Actionscript 3
Using the SectionList custom Flex component
Simple Tween Animation using TweenMax
ActionScript getURL using javascript browser sizing
Simple Facebook Using GraphAPI_Web.Swc In As3
Using the SectionList component with custom layout manager
Adding child to the stage using action script
AS3 getURL using URLRequest and navigateToURL
Factorial of a number
1st 10 prime numbers OR check whether a number is prime or not
AS3 Get Flash Player Version Number (inc. Major and Minor Numbers)
AS3 Check if All the Values in Two Different Arrays are the Same
Spotlight Navigation effect using AS3 and Tweenlite
Using asfunction to trigger actionscript from a URL link.
Mouse Events a simple drawing application using AS3
Using QNXApplication with PlayBook and non-PlayBook devices
AS3 Bug accessing FlashVars when using TLFTextField (Workaround)
Simple Flash / AS3 Slideshow using GreenSock LoaderMax
Basic Usage of setInterval
AS3: Accessing Twitter User's Public Timeline using SWX
move records from table to another using knex migration
Using a compound String to get a reference to Flex 3 object
Fluid/Jelly (ish) Simulation using Actionscript 3 / Flash
AS3 Create a TV Static Type Effect Using SetPixel
AS3 Using Push, Pop, Unshift and Shift on Arrays
AS3 Convert RGB Values to a Colour Using Bitwise Shift
AS3 Convert a Hex Value to RGB Using Bitwise Operators
how to creat dropdownlist in razor page using select list item
Using the FileReference API in AS3 for Uploading MP3's
AS3 File Reference Manager Class using the File Reference API
AS3: Create a grid of bottons
Get the length of an associative array
Scribble Mouse Trail - Draw Bezier Curves using Greensock's Bezier Plugin
AS3 Remove Carriage Returns And New Lines Using Regular Expressions
AS3 Checks and Returns Valid UK Postcode using Regular Expression
Add array of children to display list.
get list of tables in knex
Return trimmed bounding box of bitmap
Returns a new object of the same Class
AS3 Get Average Colour of an Image
AS3 Format the Text of a TextArea Component
Finding the position of an element within a TextFlow
Setting cursor position at the end of a TextInput control
Actionscript 3 version of the php stripslashes function
TypeError: Cannot read property 'version' of undefined
AS3: Get all children of specified object
Adobe AIR: Save snippets of data locally
Strip whitespace at the beginning and the end of a string
AS3 Add a range of Values In an Array
AS3 Put Last Item of Array at the Beginning
Restrict TextField to N Words instead of N Characters
AS3 Draw a Dot at 0,0 to Show the Centre Of a DisplayObject
Easily Target a URL with the Window Method of Your Choice
Create Dotted Line (made of any shape/MC)
Search Displaylist for Bitmap (or any type of DisplayObject)
Remove and null all children of a display object container
ActionScript 3 Call a Function by String Representation of Function Name
AS3 Keep Track of Where FocusRect Is Whilst Tabbing
AS3 Trim Whitespace From the Beginning and End of a String
AS3: Creating an array of objects for storing JSON data
Get rid of annoying line breaks in multiline input fields
Detecting when text has run into the end of the ContainerController in a TextFlow object
AS3 Trim a Comma Delimited String (e.g. a list of comma separated keywords entered by a user)
knexjs execute all migrations
python ansi escape sequences color collection
docker compose volumes
knex migration
Sound Manager Class
Code examples by languages
javascript
29k
python
23k
shell
16k
php
14k
java
8k
html
7k
sql
7k
css
7k
c#
4k
typescript
3k
c++
3k
c
3k
bash
2k
swift
909
go
903
vba
890
dart
866
r
746
ruby
681
latex
477
kotlin
440
lua
395
matlab
270
rust
213
groovy
183
assembly
174
basic
151
markdown
102
delphi
76
scala
70
haskell
64
ascii
62
actionscript
56
perl
54
twig
53
elixir
52
julia
46
d
37
octave
34
velocity
34
f#
29
clojure
23
pascal
23
less
23
prolog
19
diff
18
vhdl
18
objective-c
16
fortran
16
scheme
16
abap
16
brainfuck
15
tcl
14
sieve
12
factor
11
lisp
10
jinja2
10
haxe
9
oz
9
pug
9
spreadsheet
9
smarty
9
crystal
7
verilog
7
cobol
6
ocaml
6
protobuf
6
q
6
turtle
6
gas
5
rpm
5
erlang
4
jsx
4
forth
3
handlebars
3
eiffel
2
elm
2
gherkin
2
scss
2
slim
2
textile
2
postscript
1
coffeescript
1
cython
1
dtd
1
ebnf
1
haml
1
idl
1
mathematica
1
nsis
1
puppet
1
soy
1
squirrel
1
toml
1
systemverilog
1