craiggrummitt.blogspot.com
Before I forget...: January 2009
http://craiggrummitt.blogspot.com/2009_01_01_archive.html
Flash, Flex ActionScript discoveries! Monday, January 19, 2009. Adding classes dynamically Part II. A little addition to a. On adding symbols dynamically from the library. I was having difficulty adding classes(that weren't in the library) dynamically - they weren't being recognised. Var classRef:Class = getDefinitionByName("Square") as Class;. Var shape:IShape= new classRef() as IShape;. Flash displays: ReferenceError: Error #1065: Variable Square is not defined. With help from Aaron Beall(on.
craiggrummitt.blogspot.com
Before I forget...: June 2009
http://craiggrummitt.blogspot.com/2009_06_01_archive.html
Flash, Flex ActionScript discoveries! Sunday, June 28, 2009. Embedded fonts disappearing when loaded into another SWF. I once found that when an AS3 flash movie(let's call it parent) that contained a UIComponent, loaded another AS3 flash movie(let's call it child) that contained a UIComponent with embedded fonts, the component within the child lost its embedded fonts. I was prompted to revisit this dilemma in a. FontregisterFont(ComicSans); / ComicSans for example. This ensures that when the parent takes...
craiggrummitt.blogspot.com
Before I forget...: December 2008
http://craiggrummitt.blogspot.com/2008_12_01_archive.html
Flash, Flex ActionScript discoveries! Wednesday, December 10, 2008. CS4 component icon library bug. I've been wondering why items in my library disappear occasionally - including the library buttons and column headers! I've narrowed the problem down to a CS4 bug. Steps to reproduce bug:. 2 Select 'Component Definition'. 3 Add a parameter so that the component icon will become visible. 4 Select 'Seek Bar Control Icon' or 'Buffering Control Icon' as custom component icon. 6 Watch the craziness ensue!
craiggrummitt.blogspot.com
Before I forget...: November 2010
http://craiggrummitt.blogspot.com/2010_11_01_archive.html
Flash, Flex ActionScript discoveries! Saturday, November 27, 2010. SharedObject not updating between tabs. Discovered that, strangely, the only way to update the SharedObject, is to first set it to null. Set it to null and then reload it forces an update. Subscribe to: Posts (Atom). London, United Kingdom. View my complete profile. SharedObject not updating between tabs. Blogs I keep an eye on. TypeScript is a bicycle. Explaining Patterns and Matches in RegExr. Henry Coe Mississippi Lake Loop Hike.
craiggrummitt.blogspot.com
Before I forget...: November 2008
http://craiggrummitt.blogspot.com/2008_11_01_archive.html
Flash, Flex ActionScript discoveries! Tuesday, November 18, 2008. It has always bothered me that animations of raster images are always jerky when they get to the point of animating less than a pixel per frame. Flash assumes that rasters should only live on the exact pixel. This can be resolved with bitmaps that are created with ActionScript with the Bitmap.pixelSnapping value but for pure animation is a little more complicated. Subscribe to: Posts (Atom). London, United Kingdom. View my complete profile.
craiggrummitt.blogspot.com
Before I forget...: February 2011
http://craiggrummitt.blogspot.com/2011_02_01_archive.html
Flash, Flex ActionScript discoveries! Wednesday, February 9, 2011. A recent task I had to achieve was to play a video for several seconds and extract a frame as a JPG several seconds in. I did not know the dimensions of the video ahead of time, so hoped to extract that information out of the video metadata, and create the video object at this point. Sounds simple enough! Subscribe to: Posts (Atom). London, United Kingdom. View my complete profile. Blogs I keep an eye on. TypeScript is a bicycle. EasyAGAL...
craiggrummitt.blogspot.com
Before I forget...: September 2010
http://craiggrummitt.blogspot.com/2010_09_01_archive.html
Flash, Flex ActionScript discoveries! Thursday, September 9, 2010. Frustrating Flex problems solved #6 - Keydown. Spent some time screaming "Why can't my component receive keyboard events? Crazy, I'm not sure why i never knew this, but for a component to receive keyboard events, it needs to implement IFocusMangerComponent. And then, however you're trying to receive keyboard events, by overriding keyDownHandler, or listening for a keydown event, it should now receive these events. Easy when you know how!
craiggrummitt.blogspot.com
Before I forget...: SharedObject not updating between tabs
http://craiggrummitt.blogspot.com/2010/11/sharedobject-not-updating-between-tabs.html
Flash, Flex ActionScript discoveries! Saturday, November 27, 2010. SharedObject not updating between tabs. Discovered that, strangely, the only way to update the SharedObject, is to first set it to null. Set it to null and then reload it forces an update. Subscribe to: Post Comments (Atom). London, United Kingdom. View my complete profile. SharedObject not updating between tabs. Blogs I keep an eye on. TypeScript is a bicycle. Explaining Patterns and Matches in RegExr. Henry Coe Mississippi Lake Loop Hike.
craiggrummitt.blogspot.com
Before I forget...: Frustrating Flex problems solved #6 - Keydown
http://craiggrummitt.blogspot.com/2010/09/frustrating-flex-problems-solved-6.html
Flash, Flex ActionScript discoveries! Thursday, September 9, 2010. Frustrating Flex problems solved #6 - Keydown. Spent some time screaming "Why can't my component receive keyboard events? Crazy, I'm not sure why i never knew this, but for a component to receive keyboard events, it needs to implement IFocusMangerComponent. And then, however you're trying to receive keyboard events, by overriding keyDownHandler, or listening for a keydown event, it should now receive these events. Easy when you know how!
craiggrummitt.blogspot.com
Before I forget...: October 2010
http://craiggrummitt.blogspot.com/2010_10_01_archive.html
Flash, Flex ActionScript discoveries! Monday, October 18, 2010. Frustrating Flex problems solved #7 - Removing DragDrop animation. In Flex was building a simple drag and drop from a library list to another simple list. I also wanted to build the functionality of dragging the item out of the simple list to automatically remove the item from the list, and return the item to the library. My solution in the end was to create a custom ListItemDragProxy component. I included this in the list with:.
SOCIAL ENGAGEMENT