Questions tagged [flash-v3-components]
21 questions
5
votes
1 answer
What is the correct way to add components to the library of a Swf?
I've been having a problem that's plagued me many times in the course of developing a Flash project. It looks something like this:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at…

Erix
- 7,059
- 2
- 35
- 61
3
votes
4 answers
null object reference in ScrollPane/endDrag() when scrollDrag=true
In my flash application, I've got multiple windows which use Scrollpanes. The scrollDrag property is set to true on these because I want that functionality. If I close (within my application) one of these 'windows' and open another, I seem to get a…

Erix
- 7,059
- 2
- 35
- 61
1
vote
2 answers
ActionScript - Access List/DataProvider From Custom CellRenderer
the code below sets up a List object in the main controller class that uses a custom cell renderer (CustomListCell class). the CustomListCell class creates a Button object for the cell that will be used to delete itself from the List's…

Chunky Chunk
- 16,553
- 15
- 84
- 162
1
vote
1 answer
Flash / TileList component
I have a problem and I hope that someone can help me
I hava Flash project with TileList in it
I need to change background of some items (not all) in this TileList to red and some to blue
Do you know how to do this?
Thanks
Hott Dogg
1
vote
1 answer
Flash - Creating Components Documentation for Flash CS5
is there no official documentation / guide published somewhere on how to create components for Flash CS5?

Chunky Chunk
- 16,553
- 15
- 84
- 162
1
vote
1 answer
Drag and Drop, Orderable List in ActionScript 3
I am trying to create a set of drag-and-drop, orderable lists with ActionScript. I know this is possible in Flex.
The behavior I am going for can be seen here: Two-way drag-and drop support (you'll have to scroll down)
Here is the source code
Does…

Jeremy White
- 2,818
- 6
- 38
- 74
0
votes
1 answer
How can I fix this potential bug with the RadioButton component?
I've got a weird issue with the RadioButton(fl.controls) when I add it to the stage.
Here's a quick way to reproduce the issue:
create an empty MovieClip
add a RadioButton component
set the width of the component to a value smaller than 100
trace…

George Profenza
- 50,687
- 19
- 144
- 218
0
votes
1 answer
Subclassing fl.core.UIComponent in Flash
Whenever i want to draw something in Flash i subclass fl.core.UIComponent instead of Sprite or Movieclip because of it's saner width / height implementation (NB this isn't the Flex UIComponent).
For example, imagine you have a button - good use…

hooleyhoop
- 9,128
- 5
- 37
- 58
0
votes
3 answers
remove keyboard control on flash slider component
by default the flash slider component can be manipulated with the keyboard. Is there a way to disable this behavior so that users can only drag the slider component with their mouse?

mheavers
- 29,530
- 58
- 194
- 315
0
votes
1 answer
ActionScript - ComboBox Is SelectableList?
i don't understand Adobe's documentation for the SelectableList class:
The SelectableList is the base class
for all list-based components--for
example, the List, TileList, DataGrid,
and ComboBox components.
SelectableList isn't a base class…

Chunky Chunk
- 16,553
- 15
- 84
- 162
0
votes
2 answers
Changing the appearance of a single thumbnail in TileList Component
I'm trying to create a listing of thumbnails using the TileList component, and so far it's working great. Is there a way to change the appearance of a single ImageCell within the component.
I'm bringing in the thumbnail data as XML, and I have an…

Scott
- 324
- 2
- 4
- 15
0
votes
1 answer
How to handle Unhandled #2044 errors from Flash tilelist when changing dataprovider?
I have a tilelist component using a custom ImageCell based item renderer. I know that at times some of the images it is trying to retrieve will not be found and I am able to handle this via an IEOrror listener on the custom ImageCell…

WillyCornbread
- 837
- 1
- 12
- 21
0
votes
1 answer
how to set tileList component's font to be anti-aliased action script 3
I have a tileList component and i was wondering how one might go about antialiasing the font inside of each label. I have the font embedded using:
leftList.setRendererStyle("embedFonts", true);
I have tried targeting the label specifically with no…

James Dunay
- 2,714
- 8
- 41
- 66
0
votes
2 answers
how to create a custom cell renderer for a tile list in flash
I need to implement a custom cell renderer in a project of mine, I have done some search on google but couldn't find what I need.
I need each cell in the tile list to display 2 icons with couple of labels. I need a good example to start it.
If…

pmarreddy
- 281
- 3
- 6
- 16
0
votes
1 answer
Adding Flash Components to Stage Dynamically from AS3 File
When I attempt to create a new flash list component from my as3 file (FrontEnd.as) and add it to the stage, I get the following error: "1046: Type was not found or was not a compile-time constant: List". Below is the code:
package {
import…

Mattk
- 129
- 2
- 14