I’m not sure how serious it is, but this may affect many sites especially flash websites. In safari 3 when you call window.open(“url.html”,”window_name”,”width=”+screen.availWidth+”,height=”+screen.availHeight), being different from other browsers, safari sets the inner document width and height to the screen availWidth and availHeight. This means, the popup window is actually bigger than availWidth and availHeight because [...]
Content
File: Others
This script adjust the coordinates (x,y) of all elements on the stage and in the library into integers.
I’ve updated _vimrc and the syntax file to solve the following two issues: Disable pasting using mouse middle button: added “map ” at the end of _vimrc. Turn syntax to be case sensitive: commented out “syn case ignore” You can download these two files here >>vimrc<< >>actionscript.vim<<
From time to time I get the problem that the compression type of imported images in the library is set to “Lossless PNG/GIF” (especially when using Mac) which blows up the swf file size a lot. It’s easy when there are just a few of them. You can manually click and change. But sometimes there [...]
After trying SEPY, SciTE 1.53, SciTE 1.61 (meychi website down) and FlashDevelop, now I’ve moved to Vim (Vi improved). The nice thing about Vim is that it’s built for programmers and it can greatly improve your editing speed. You can do everything without touching your mouse or moving your hand to the arrow keys. And [...]
I’ve slowly developed some negative feelings about Flash websites. “I’m pretty sure there’s a lot more to life (web) than being really, really good looking.” When I saw the get the glass website, my jaw fell off. But after I played for half an hour, I didn’t get any idea of what the product is [...]
getURL fails to open new window in a popup window If the flash is held in a popup window, getURL with a "_blank" target fails to open a new window in IE7, e.g. getURL("http://www.google.com", "_blank", "GET"). You need to call "window.open" function in javascript, getURL("javascript:window.open(‘http://www.google.com’)", "_self","GET"). http://localhost makes IE7 behave strangely As one of Microsoft’s [...]
Last time I suggested deleting DOCTYPE line to solve the problem that full browser Flash not working in Firefox. A lot of people said it wasn’t a good practice. The problem can be solved by setting body height to 100% or using loose.dtd DOCTYPE. After Firefox 2.0 was out, removing the DOCTYPE line became the [...]
If you define a variable name as “private” in Javascript, Safari will terminate your code from there. It doesn’t give any error message. This only happens in Safari. IE/IE7, Mozilla Firefox and Opera don’t have this problem. I think the keyword “private” and “public” is conserved for some function in Safari, some OOP thing? Wasted [...]
