Hi,
I’ve made a movie clip with buttons in it called ‘myContent’. I want each button to reference a different video in the video player on the main stage. This movie clip is linked to a scrollpane, since there is not enough real-estate.
I right clicked on the myContent movie clip in the library and chose ‘export for actionscript’ under properties.
then used the script:
scrollPane.source=myContent;
scrollPane.setSize(205, 500);
to get the scroll bar to work.
When I add the script in the myContent movie clip to reference the different videos I get a few errors:
1152: A conflict exists with inherited definition flash.display:DisplayObject.name in namespace public.
5000: The class ‘fl.controls.ScrollBar’ must subclass ‘flash.display.MovieClip’ since it is linked to a library symbol of that type.
It seems I must tell the scroll bar to look in a subclass?
When I get rid of the script telling it to load the videos, the scroll bar works and I get no errors, but when I put in the script to load the videos, its a major malfunction.
Any ideas would be much appreciated.