|
|
| FlashStore rating: |
|
| User rating: |
Not rated yet.
|
| Date: |
25-05-07 |
| Submited by: |
robert |
| Skill: |
intermediate |
|
|
|
|
|
About |
Just drag your movieClip on the stage , set the instance name of this, you have to set this instance name in the component parameters.
You can change the scroller background color, the dragger color , you can set if the content should center itself orizontaly.
Examples included in archive.
Internal swf example :
http://robert.dap.ro/stage_scroller/scroll_internal_swf.html
External swf example :
http://robert.dap.ro/stage_scroller/scroll_external_swf.html |
UI Access |
| Components/Stage scroller/stage_scroller |
Support address |
|
|
Free Trial Version |
|
Click here to download the trial/demo version (301.22 KB)
|
Code samples |
If you want to load an external .swf you should use the loadClip() function:
this.createEmptyMovieClip(\"content\", _parent.getNextHighestDepth());
var loadListener:Object = new Object();
loadListener.onLoadComplete = function(target_mc:MovieClip):Void {
//you have to reinitialize the component when the swf was loaded.
stage_scroller.initialize();
procent.text = \"\";
};
loadListener.onLoadProgress = function(target:MovieClip, bytesLoaded:Number, bytesTotal:Number):Void {
procent.text = \"Loaded : \"+Math.round((bytesLoaded/bytesTotal)*100)+\" %\";
};
var mcLoader:MovieClipLoader = new MovieClipLoader();
mcLoader.addListener(loadListener);
mcLoader.loadClip(\"test.swf\", \"content\"); |
Features |
| On resize flash Stage Scroller |