What are you coding in - Flash, Flex or Flash Dev - it maybe because you are doing a Flex project, but trying to use a Flash control bar, or similar.

Allandt Bik-Elliott (Receptacle) wrote:
hi guys

could you take a look at this please, i can't see what the problem is? I think maybe this is a syntax thing that i'm not aware of

thanks
a


CODE:
package com.receptacle.timeline
{
    //package imports
    import fl.controls.ScrollBar;
    import fl.controls.ScrollBarDirection;
internal class TAScrollBar extends ScrollBar // error: 1017: The definition of base class ScrollBar was not found.
    {
        // class variable declarations
// constructor
        public function TAScrollBar()
        {
            setVars();
        }
private function setVars():ScrollBar
        {
            direction = ScrollBarDirection.VERTICAL;
            setSize(280, 40);
return this;
        }
    }
}


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



--

Glen Pike
01736 759321
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to