posted by: martijn, at 26 November 2010 12:16 GMT+1, 26 November 2010 12:25 GMT+1
Just FYI when you want to have fullaccess to elements within a container/canvas that can scroll the following hack works great but it feels like a huge hack. Create a new class that extends container/canvas and put the following code in it:
override public function addEventListener(
useCapture:Boolean = false,
priority:int = 0,
useWeakReference:Boolean = false):void
if ( !
type == MouseEvent.CLICK ||
type == MouseEvent.DOUBLE_CLICK ||
type == MouseEvent.MOUSE_DOWN ||
type == MouseEvent.MOUSE_MOVE ||
type == MouseEvent.MOUSE_OVER ||
type == MouseEvent.MOUSE_OUT ||
type == MouseEvent.MOUSE_UP ||
//type == MouseEvent.MOUSE_WHEEL||
type == KeyboardEvent.KEY_DOWN ||
type == KeyboardEvent.KEY_UP
super.addEventListener(type, listener, useCapture,
Ugly but works!
posted by: martijn, at 24 August 2010 12:49 GMT+1, 25 August 2010 22:35 GMT+1
Today I'm releasing a very simple project: XPath Analyser
. I wrote the project because I missed a tool that could help me out writing XPath queries.
The application can test XPath 1.0 style queries and for good error reporting you need the Flash Debug Player. The project heavily depends on the as3xpathlib written by Andrew Lewisohn (alewisohn).
posted by: martijn, at 20 April 2010 22:13 GMT+1, 20 April 2010 22:51 GMT+1
Let me also spill my opinion about section 3.3.1 of the iPhone Developer Program License Agreement, which states before:3.3.1 - Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs.
And became as of iPhone SDK 4.0 Beta:
posted by: martijn, at 26 March 2010 9:11 GMT+1, 26 March 2010 9:43 GMT+1
I would like to present our new company that my wife (Kristel van Beek
) and me has started a few weeks ago. Studio Devigner
is it's name and with the new logo I'm very proud to show Studio Devigner
to the world. Unfortunately our new website is not finished yet but you can view our portfolio
posted by: martijn, at 17 November 2009 7:33 GMT+1, 17 November 2009 7:46 GMT+1
All my projects have a steady homepage: projects.devigner.com
. I will make the website more attractive and more informative.
I also added a new project: Apache Manager, my Flex 4 exploring project build with DAO's (like Flash Builder 4 generates). But also a PHP DAO generating tool. It's totally Alpha or even worse :p so don't expect it to work.
posted by: martijn, at 2 October 2009 15:26 GMT+1, 6 October 2009 7:59 GMT+1
The SWFLoader (Flex framework) class has a new method for Flash Player 10 called "unloadAndStop()". You would assume (I did) that it utilizes the same method of the Loader (Flash Player native) class. But unfortunately it is not!
The livedocs aren't mentioning it: docs of Loader, docs of SWFLoader.
I always have some trouble with the SWFLoader but this one does it.
posted by: martijn, at 1 August 2009 21:29 GMT+1, 6 August 2009 23:23 GMT+1
My struggle with the Flash Bitmap limitations
continues (images bigger than 8191x2048 or 2048x8191 aren’t displayed by the Flash Player) because my previous solution didn’t account for masks and the project I was working on did require masks eventually. The solution that I came up with before was simply cut the big image in little pieces (1000x1000) and melt them together and position and rotate the complete component. Like this image shows, the image is shown here with the tiling and depth positioning:
posted by: martijn, at 21 May 2009 8:02 GMT+1, 21 May 2009 8:17 GMT+1
Ever since I became interested in programming I stumbled upon bad formatted code. The reason someone writes such code is because he is sloppy and fails to see the importance of clean written code.
posted by: martijn, at 23 April 2009 8:34 GMT+1, 24 April 2009 12:18 GMT+1
The internal Flash Player of Adobe Flash CS4 on the Mac (Intel, I couldn't test it with the PowerPC version) has a bug regarding navigateToURL. Using this code:
navigateToURL ( new URLRequest ( "http://martijnvanbeek.net" ) );
Will navigate your default browser to "http://martijnvanbeek.net%00". Strangely this only happens inside the IDE but can be very frustrating (I was searching for a bug in my own code for an hour).
posted by: martijn, at 14 January 2009 21:53 GMT+1, 2 August 2009 10:40 GMT+1
Update: Look at the "Flash Player Bitmap Limits continue
" topic for an update.
The last few weeks I have spend most of my time creating workarounds for limits within the Flash Player regarding BitmapData.
In the Flash Player 9 era things where "simple" a bitmap bigger than 2880x2880 fails to render when using BitmapData/Mask or Filters. Just loading an image had also a limit, which was something like 8191x8191.
posted by: martijn, at 1 November 2008 16:18 GMT+1, 4 November 2008 8:12 GMT+1
Hereby I launch a little project I've been working on. The UIModifier is a Flex component to modify properties of a DisplayObject. It mimics the working of the modifier found in the Flash IDE. It can modify the width, height, x, y and rotation with a custom pivot point. It is not finished yet, but the basic functionality is ready.
posted by: martijn, at 10 October 2008 14:53 GMT+1, 13 August 2009 23:19 GMT+1
I found a nice article of 8bitrocket
on how to create a rotated bitmap of a DisplayObject. This works nice if the source is a square but with objects with different width and height values it's a bit tricky. (it could be that I didn't see the solution but it's a huge article).
posted by: martijn, at 9 September 2008 21:57 GMT+1, 9 September 2008 22:03 GMT+1
The year of the browser they call 2008.
Firefox 3 (gecko+tracemonkey), Chrome (webkit+v8), IE 8 (mshtml) are coming or are already landed.
Also Flash 10 is coming + Silverlight 2.
Instead of calling it a browser war I suggest to call it a technology war because all these technologies are compared with one and another.
posted by: martijn, at 17 July 2008 9:13 GMT+1, 17 July 2008 9:17 GMT+1
class has given me a lot of headaches lately. Yesterday I discovered that a bug in a project i'm working on was caused by this class. I replaced the move class with the tweener
class and the bug was disappeared. Somehow the class caused other sprites to turn invisible at random (maybe they got moved to, I still don't know what exactly happened).
posted by: martijn, at 3 July 2008 14:19 GMT+1, 3 July 2008 14:36 GMT+1
Adobe, is there a simple reason why there is still no 64-bits version of the Flash Player?
posted by: martijn, at 21 June 2008 14:29 GMT+1, 21 June 2008 15:36 GMT+1
The last year I focussed myself, together with Cross Media Ventures
, a lot on web video with Flash. We tried to stream video with Red5
and FMS (2 and 3)
. Every server worked well until the connections reached a limit.
|Product: ||Max Connections ||Price |
|FMS: ||600 ||€ 1200 |
|Red5: ||800 ||Free |
|Wowza: ||1000 ||€ 750 |
|Windows: ||1500 ||€ 500 |
posted by: martijn, at 21 May 2008 8:34 GMT+1, 21 May 2008 8:42 GMT+1
In the time Flash 6 was the latest version of Flash I filled a bug regarding the TextField and HTML output.
posted by: martijn, at 15 May 2008 16:13 GMT+1, 15 May 2008 16:16 GMT+1
Flash Player 10 is coming ... Astro is packed with new stuff that is to sweet to be true. I'm very pleased to see they finally did something with the text new engine.
Download Flash Player 10 pre-release
posted by: martijn, at 31 March 2008 10:08 GMT+1, 31 March 2008 10:10 GMT+1
IE7 in combination with Flash on a ssl connection failes when the server doesn't reacts with the following headers:
Code is PHP:
header('Cache-Control: cache, must-revalidate');
posted by: martijn, at 25 February 2008 21:24 GMT+1, 26 February 2008 0:24 GMT+1
is released and therefor there is a lot of reading on the web about it.
posted by: martijn, at 18 January 2008 16:26 GMT+1, 18 January 2008 16:36 GMT+1
BlueBerry Internet Media
needs developers! We're looking for PHP and Flex developers, if you can do both you're hired (probably). Are you living near Breda (the netherlands)?
Please post a comment, we'll get in touch!
posted by: martijn, at 27 November 2007 21:08 GMT+1, 7 January 2008 21:56 GMT+1
Just want to say: Buzzword
is amazing beautiful... Is it strange that I have a small hope that the Adobe will release the editor as component?.
posted by: martijn, at 9 November 2007 11:12 GMT+1, 7 January 2008 22:00 GMT+1
I'm working on a project that loads 60 mb of images, there are 60 pages with an average of 1 mb of images. Loading all the pages is not an option because the memory of the clients computer would fillup. So I created a method that would unload pages 3 steps back and 3 steps forward and load the pages in between.
posted by: martijn, at 30 October 2007 8:33 GMT+1, 7 January 2008 22:00 GMT+1
I'm currently working on a project which has to load a bunch of images and videos.
posted by: martijn, at 21 September 2007 11:18 GMT+1, 7 January 2008 22:03 GMT+1
Always when I'm working on a Flex project I use Flash files for skinning/fonts/graphics etc. Because I can open *.fla files within the Windows Explorer just by double clicking you would asume that Flex could do the same.
posted by: martijn, at 22 June 2007 14:45 GMT+1, 7 January 2008 22:17 GMT+1
) released today the beta of BabbaVideo
, a video site.
posted by: martijn, at 30 May 2007 11:48 GMT+1, 7 January 2008 22:23 GMT+1
I can't wait, tomorrow Adobe Live
in the Rai Amsterdam.
posted by: martijn, at 23 April 2007 8:37 GMT+1, 7 January 2008 22:28 GMT+1
With everything in life there will be people against something or not. Since the release of Adobe Media Player (AMP) I've read a lot of news sites and the posted user comments about the subject of DRM and Flash as advertising medium.
posted by: martijn, at 25 February 2007 23:06 GMT+1, 7 January 2008 22:34 GMT+1
If Flash, Flex, Photoshop etc where ported to Linux I would switch immediately. The last 2 weeks I tried to work in Ubuntu Edgy. Besides all the wonderful applications already installed by the default installation I miss the Adobe products (and default support for my wireless network adapter).
posted by: martijn, at 17 January 2007 8:24 GMT+1, 7 January 2008 22:37 GMT+1
Adobe released the final version of the Linux Flash Player, unfortunately no x86_64 support.
posted by: martijn, at 1 November 2006 4:54 GMT+1, 7 January 2008 22:50 GMT+1
Finally Adobe gave a sign of life around the next Flash Media Server. You can post your wishes at Steve Wolkoff's
blog. I've posted my wishlist there with many others and the ideas are overwhelming. I hope especially that the strange licensing issues will be resolved. Also the Apollo
stuff is great to look at and dream about.
posted by: martijn, at 21 October 2006 4:09 GMT+1, 7 January 2008 22:52 GMT+1
BlueChat is a Flash Media Server application. It is completely written by me. The frontends are made in Flash 8 (Flex 2 was not yet released when we started). And the backend is a mixture between Flash Media Server and PHP.
posted by: martijn, at 18 September 2006 10:14 GMT+1, 7 January 2008 22:53 GMT+1
The v2 components of Flash are brilliant and at the same time they can be very annoying and work against you. The pain is that the components are not preload-friendly because everything is exported at frame one.
posted by: martijn, at 7 September 2006 6:14 GMT+1, 7 January 2008 22:54 GMT+1
I'm currently working on an application build with Flash Media Server (FMS) and Flash 8. When the application goes live I will post a link to it. I think if Flex 2 has came out one month sooner I would have used Flex. Although the challenge was big enough with FMS alone. And the gap between Actionscript 1.0 (FMS) and Actionscript 3.0 (Flex2) would be to big.
posted by: martijn, at 18 August 2006 12:17 GMT+1, 7 January 2008 22:55 GMT+1
posted by: Martijn van Beek, at 12 August 2006 1:33 GMT+1, 10 May 2007 17:12 GMT+1
sIFR is a very nice way to make your site just a little more beautiful.
posted by: martijn, at 3 August 2006 9:00 GMT+1, 17 August 2009 23:29 GMT+1
I'm working on a project which is using a lot of datagrids. Disregarding styling the datagrid is a masterpiece in usage.