Home > Blog > AS3 Pitfalls
Page 3 of 3123
 
AS3 Pitfalls - Cross-Domain BitmapData

AS3 Pitfalls – Cross-Domain BitmapData

We’ve been linked to by a fellow agency called Airtight Interactive on the subject of altering cross-domain bitmap data in Flash. They mention the server-side proxy work-around that i’ve used, calling it “prohibitive” for large-scale apps. That was the concern i raised when a casual games publisher approached me to ditribute Jigsaw! across its extremely [...] Keep Reading

 
 
AS3 Pitfalls - TextField.setSelection not working

AS3 Pitfalls – TextField.setSelection not working

PROBLEM: TextField.setSelection doesn’t select any text! SOLUTION: Set the stage.focus property to your TextField object. 1 2 3 4 // Selects all the text in myTextField: myTextField.selectable = true; myTextField.stage.focus = myTextField; myTextField.setSelection(0, myTextField.text.length); Other search terms: setSelection not working setSelection not responding setSelection broken setSelection bug setSelection buggy DOUBLE_CLICK problem Keep Reading

 
 
AS3 Pitfalls - MouseEvent.DOUBLE_CLICK

AS3 Pitfalls – MouseEvent.DOUBLE_CLICK

PROBLEM: MouseEvent.DOUBLE_CLICK doesn’t work! SOLUTION: Set the object’s doubleClickEnabled flag to true 1 2 myBtn.doubleClickEnabled = true; myBtn.addEventListener(MouseEvent.DOUBLE_CLICK, double_click); Other search terms: DOUBLE_CLICK not working DOUBLE_CLICK not responding DOUBLE_CLICK broken DOUBLE_CLICK bug DOUBLE_CLICK buggy DOUBLE_CLICK problem Keep Reading

 
Page 3 of 3123