Tag Archives: flash

The String’s replace method and ArgumentError: Error #1063: Argument count mismatch error

Hi, recently I have upgraded flash player (11.1.102.55), and suddenly found that one of my components was throwing following error: ArgumentError: Error #1063: Argument count mismatch on Main/removeLinkStyleClass(). Expected 0, got 6. at String$/_replace() at String/http://adobe.com/AS3/2006/builtin::replace() at Main/init()[…\bugs\string_replace\src\Main.as:27] at Main()[…\bugs\string_replace\src\Main.as:16] … Continue reading

Posted in actionscript, bugs, flash | Tagged , , , , , | 1 Comment

SQLite – compare null values

Hi, this is a quick post describing issue I have found when using SQLite in flash. I’ve tried to fetch some rows using following snippet, but couldn’t get correct results. Then after digging on the net I have found that … Continue reading

Posted in actionscript, air for android, flash, SQLite3 (in AIR) | Tagged , , , , , , , , , , | 4 Comments

StyleSheet’s method getStyle doesn’t return null for non-existing style

I have just learned that getStyle() method of flash.text.StyleSheet class doesn’t return null value when requested style doesn’t exists. Documentation states that it should, but in fact it returns empty object. Which could be fine for tests but you could … Continue reading

Posted in actionscript, bugs, flash | Tagged , , , , , , , | Comments Off on StyleSheet’s method getStyle doesn’t return null for non-existing style

SQLite: Calculate difference between datetime fields

If you want to easily get elapsed time between datetime fields in SQLite you may want to take a look at following snippet: Table some_table contains 2 columns named start and finish both datetime type. Result will contain value in … Continue reading

Posted in actionscript, flash, SQLite3 (in AIR) | Tagged , , , , , | 1 Comment

2nd Post From Flash!

And another sent from flash, I have used the metaWeblog.newPost(string blogid, string username, string password, struct content, bool publish) Following is the structure passed as a third argument:

Posted in flash, xml-rpc | Tagged , , | Comments Off on 2nd Post From Flash!