Joeflash’s Enigmacopaedia


Flash CS3 UIScrollBar Not Scrolling Bug

Posted in ActionScript 3.0, Flash CS3, Flash CS4 by Joeflash on the May 13th, 2009

So I’m updating an old Flash project to AS3, and I need a quick solution to add a few scrollbars onto a few textboxes. So I get out the Flash CS3 UIScrollBar. Only problem is, it’s not working. Works in a standalone FLA, but when I bring it into my app, there’s no scroll bar, no arrows, and the component is unresponsive to textfield content changes.

The UIScrollBar class is a simple scrollbar component that ships with Flash CS3 and CS4, that when associated with a given TextField, enables you to scroll that TextField. Simple, right? Or it should be. After cursing the gods for yet another buggy Flash component — I mean, I thought the days of hacking through the Flash component set to get it to frakin work were done with! So after slogging through a few useless hacks — like purposefully populating the textfield with a gazillion line feeds to get the scrollbar to initialize, then deleting them — I figured out a solution.

There must be a bug with the component, because it was not registering new text being added to the TextField. If the TextField was populated with more text than vertical space allows before the UIScrollBar initialized, then the scrollbar would work. But this was the exception to the rule, since most textfields in the app would be dynamically populated form an XML file. So I needed a way to force an update of the scrollbar when the content in the TextField had changed.
(more…)

Converting Flash Projects into Flex

Developing for Flash Player 10 in Flex Builder 3

Posted in Flash, Tutorials, Flex, Community MX, Adobe, Flash Player, Flash CS3, Creative Suite, Flash CS4, FP10 by Joeflash on the November 12th, 2008

Creating FP10 SWFs in Flash CS3: A Failed Experiment

Posted in Flash, Adobe, Flash Player, Flash CS3, Flash CS4, FP10 by Joeflash on the November 8th, 2008

Flash-Flex Integration: Coding With Flash Components in Flex Builder

Posted in Flash, ActionScript 3.0, Flex, Flex 3, Flash CS3 by Joeflash on the July 9th, 2008

Flash-Flex Integration: Editing Flash Code in Flex Builder (free article)

Posted in Flash, Flex, Flash CS3, Flex Builder 3 by Joeflash on the June 25th, 2008

Flash-Flex Series on CMX: Flash S9 Skinning for a Flex DragPanel Component

Posted in Flash, Flex, Community MX, Flex Builder 2, Flex 3, Flex 2, Flash CS3, Flex Builder 3 by Joeflash on the June 25th, 2008

Flash-Flex Integration - Part 3: Flex Component Skinning with Scale-9 on Community MX

Posted in Flash, Flex, Community MX, Flex 3, Flex 2, Flash CS3 by Joeflash on the May 15th, 2008

Flex Skin Design Extension for Flash CS3 ReferenceError 1056 Workaround

Posted in Flash, ActionScript 3.0, Flex, Workflow, Flex 3, Flash CS3 by Joeflash on the April 12th, 2008

Flash-Flex Integration: New Article Series on Community MX

Posted in Flash, Flex, Community MX, Workflow, Flex 3, Flash CS3 by Joeflash on the March 26th, 2008
Next Page »