Custom MovieClip ScrollBar
Posted: October 28th, 2008 | Author: Ivan Valadares | Filed under: Actionscript3, Components | 20 Comments »It’s a really easy to modify this vertical scrollbar. Use and Abuse!
It’s a really easy to modify this vertical scrollbar. Use and Abuse!
To solve the problem of the image sequence I already know the solution, some time ago me and Pedro did something like this. This time I made two different versions, a class version (project in flex 3) and a component to flash cs3. With this solution, you can keep your images outside the project and manipulate them like a movieClip.
Arguments and Parameters
folder -> images folder.
filename -> first part of filename (ex: image1.jpg ), it should be "image".
type -> extension of the filename (jpg,png).
startImageNum-> first image number.
endImageNum->last Image numer.
For the class (ImageSequencer.as) version use:
For the component version:
Run “ImageSequencer.xmp†to install component. Run flash cs3, go to Windows > Components > Standard Components, drag ImageSequencer to the stage and fill the Parameters.
Methods,Events,Properties:
Flash Component and Example
Class File and Example
If you need a standard flash videoplayer, then the FLVPlayback component is the right thing for you.
Just create a new FLA and drag&drop a FVLPlayback component from the components library into a movieclip in your
All the functionallity stuff is already handled by adobe. But that's where I got stuck for quite some
time. I needed a player, that used the forwardButton and backButton for switching the videos (and not seeking forward and back).
The answer was really simple: Just override the functions once the component loaded its skin:
I've been doing a lot of forms lately and that, as you most likely know, it's hard boring work. Always fighting your way through components and the woes of skins.
So I set out to find and easier of doing things and found it over at Keith Peters blog bit-101, it's best two features that will save you the hassle of always having to create component, addChild, set x position, set y position, you can do it all in one line. Components that fire events such as click or change, also take a fourth parameter of defaultHandler and that also saves the addEventListener.
So be sure to check them out at: bit-101 blog or download source here.