Here’s a quick solution to the error ReferenceError: Error #1069: Property startDrag not found on flash.text.TextField . This normally happens when you are trying to get the TextField to drag. textField.addEventListener(MouseEvent.MOUSE_DOWN, drag); textField.addEventListener(MouseEvent.MOUSE_UP, drop); // by setting mouseChildren = false it makes the drag function to use the container // of the movie [...]
Entries Tagged as 'Flash'

ReferenceError: Error #1069: Property startDrag not found on flash.text.TextField
August 4th, 2010 · No Comments · Flash, Flex
Tags:error 1069·startdrag·stopdrag·textfield

MouseEvent.DOUBLE_CLICK Not Firing
March 6th, 2009 · No Comments · Flash, Flex
Recently I was working on a project that I was using MouseEvent.DOUBLE_CLICK and the darn thing wasn’t firing no matter how many times that I’ve clicked on it. After awhile I remember that most Flex component actually have a doubleClickEnable property . Guess what was the result of the trace when I did 1 trace(image.doubleClickEnabled) [...]
Tags:double click·MouseEvent.DOUBLE_CLICK
Removing Context Menu from Flash Player
September 2nd, 2008 · No Comments · Flash
Here’s how to show or hide the default items in the Flash Player context menu. If showMenu is set to true (the default), all context menu items appear. If showMenu is set to false, only Settings and About Adobe Flash Player items appear. Note that in actionscript 3 showMenu has been replaced by showDefaultContextMenu // [...]
Tags:actionscript 2·actionscript 3·adobe flash player·context menu·Flash
[Workaround] Flash Bitmap maximum width and height
August 25th, 2008 · Comments Off · Flash
In my recent posting on Flash Bitmap maximum width and height, I blog about how Flash bitmapData object has a maximum width and height of 2880 pixel . I was recently contacted by John Keyton who was really nice to point a work around created by Ronald Losbañes that would allow you to create a [...]
Tags:Add new tag·bitmapdata·Flash·Height·Image·loader·maximum
Flash Bitmap maximum width and height
August 5th, 2008 · No Comments · Flash
An updated post has been posted , check it out at [Workaround] Flash Bitmap maximum width and height Recently I was working with a flash image zoom application and realized that after launching the application it kept crashing when it was loading the larger image, I’ve checked every where and nothing seems to be wrong. [...]
Tags:bitmapdata·Flash·flash actionscript·image size·maximum height·maximum width

Width and Height for Dynamic Image in Flex
July 16th, 2008 · No Comments · Flash, Flex
Recently I was working on a Flex project and realize upon having my project on the live server , I couldn’t retrieve the height and width property of my loaded image by doing below var img:Image = new Image(); img.source = "image.jpg" trace(img.height); trace(img.width); The trace statement above will just show 0 for both width [...]
Tags:dynamic image·Flex·Height·Image·Width

Finding Client Machine Capabilities using Flex / Flash
June 29th, 2008 · No Comments · Flash, Flex
Recently I was writing an application for Flex which I wanted to know about client-machine’s capabilities in order to provide optimal experience on my application. After searching around, I found the Capabilities API in Action script 3. This became extremely helpful as I can know figure out a things on my client machine to make [...]
Tags:action script·environments·flash player·support ssl·video support
Retrieve Flash Variables in Actionscript 3
June 21st, 2008 · No Comments · Flash
Previously, in ActionScript 2.0, you could pass variables along the query string or using FlashVars and the variables would be available in _level0, in ActionScript 3.0, it is a bit different . In Actionscript 3 variables that are passed in through query string have been moved to the parameters property of LoaderInfo instance. Here’s a [...]
Tags:flash variables·parameters·query string
Calling external swf using loadMovie()
June 21st, 2008 · No Comments · Flash
Recently I was working on a flash project that was using Actionscript 2 and it was such a pain trying to use loadClip() and pass in the necessary variables through query string for loading the external swf into a movieclip. I figure I’ll post this here and hopefully someone who is trying to do so [...]
Tags:loadmovie·movieclip·query string
It’s been awhile
May 4th, 2008 · No Comments · Flash
Wow , I just realized how long since I’ve actually written a post here. I’ve been extremely busy with work lately and I have not got a chance to update with my blog. I’ve been working with more .NET stuff than ever at work and also attended a Flash ActionScript 3 class. ActionScript 3 is [...]
Tags:arcade games·flash action script·flash actionscript·object oriented programming language
