SWF 9 decompilers are out!Why they release at the same time? Coincidence? I’ve been reading Godfather recently. I think it was pure “business”. |
DiTA - an asdoc GUII’ve made this little AIR application to generate asdoc commands. It’s in BETA now. I’m trying to make it better. >>enjoy<< |
Link -> Are You A Web Designer?http://www.myhateblog.com/2007/11/20/you-are-not-a-web-designer/ “Some of you may disagree with the points above, particularly the “Web 2.0? comment. If you do, then I have one thing to say to you. Fuck you. You clearly have no idea what “Web 2.0? is in reference to. It’s a concept, and has very little to actually do with design.” |
Safari 3 fullscreen pop up window problemI’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 there is a title bar at the top of the window. There’ll be some content hidden outside the screen for Mac and some hidden underneath the task bar for PC. To avoid this problem, write a window.resize(screen.availWidth, screen.availHeight) in the popped up page. Will Safari 3 replace IE? …becoming javascript’s public enemy No.1? p.s. An interesting thing I found out from my mistake. If you call window.moveTo(x,y) supplying x,y with something not numeric (NaN, null, undefined), the window will disappear. Interesting? Not? |
i, for loop, uint and int in ActionScript 3Defining i:uint is not better than i:int since both of them take the same amount of memory. Besides, it’s risky to define i:unit because if i is accidentally assigned to a negative value it becomes a big positive int. |
Reading Excel generated XML with ActionScript 3Excel files can be saved as XMLs. In ActionScript 2, reading Excel generated XML (EGX) files is really tedious and unreliable because EGX files’ data hierarchy is not fixed and they have lots of formatting/styling information. To ensure not missing any data, it requires traversing every single node. It’s very inefficient. With AS3, its XPath like approach allows to find nodes located anywhere in the document by using the “..” notation which is “//” in XPath (ActionScript 3 changed all the “/” into “.” which makes more sense for object oriented programmers”. But that’s not all for reading EGX files. (More…) |
Text Formater: for lazy peopleI think many programmers have encountered such situation: you need to modify some large amount data in plain text into a useful format, things like creating 1000 links in HTML based on 1000 web addresses, or generating some test data running in sequence user1, user2, user3 etc. This small Flash can do it for you. (More…) |
Hiding files in FlashLiteFlashLite can only handle SWF files no bigger than 300KB generally. It’s very common that big files are broken into smaller pieces so that FlashLite can handle it, but that makes the folder very messy. The user will get confused not knowing which file to start with. If you put all the files into one folder you’ll also face two problems. |
Flash Upload File with ASP.NETUploading file from Flash to PHP through FileReference is fairly simple. move_uploaded_file($_FILES[’Filedata’][’tmp_name’], $_FILES[’Filedata’][’name’]); You can easily find it in any Flash upload file related tutorials or posts. But I spend almost one hour searching for a solution of how to upload file from Flash to ASP.NET. dim myFile as HttpPostedFile=Request.Files(0) That’s it. Seems fairly simple. It’s in VB and the C# version you can get from The Algorithmist It looks like something like this: foreach(string fileKey in _context.Request.Files) |
Attention Singaporeans: StarHub is listed as a SPAM ISPI was trying to send out some legal bulk mail last night but rejected by spamhous.org. If you have any website hosted in Singapore and by StarHub, please take note you’ll have some problem sending emails especially your contact us form. |
