Protocol:
rtmpt://
Formats:
filename.f4v : "mp4:filename.f4v"
filename.flv : "filename" (remove ".flv")
actionscript things
Monday 18 October 2010
Thursday 15 April 2010
FlashDevelop: Unable to start java.exe: The system cannot find the file specified
1. Find the jvm.config file in /flex_sdk/bin/
2. Set java.home= to point to the Java Virtual Machine directory. For example: C:\Program Files\Java\jre1.6.0_06\bin
3. Restart all applications.
2. Set java.home= to point to the Java Virtual Machine directory. For example: C:\Program Files\Java\jre1.6.0_06\bin
3. Restart all applications.
Tuesday 30 March 2010
to do
accessibility
key listener
full screen
flash vars
swc files
dissapearing text (set text format, make text field bigger, make sure font embeded)
key listener
full screen
flash vars
swc files
dissapearing text (set text format, make text field bigger, make sure font embeded)
?: conditional Operator
expression1 ? expression2 : expression3
Evaluates expression1, and if the value of expression1 is true, the result is the value of expression2; otherwise the result is the value of expression3.
Evaluates expression1, and if the value of expression1 is true, the result is the value of expression2; otherwise the result is the value of expression3.
Wednesday 24 March 2010
getters and setters
public class Database {
private var _test:Number = 666
public function get test():Number {
return _test
}
public function set test(n:Number):void{
_test = n
}
}
public class Main {
public Main() {
var databse:Database = new Database()
trace(databse.test)
databse.test = 1
trace(databse.test)
}
}
Saturday 20 March 2010
Subscribe to:
Posts (Atom)