Re: [Flashcoders] ScrollBar strangeness
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
Re: [Flashcoders] ScrollBar strangeness
oh - i'm using flash cs3 On 12 Mar 2008, at 15:14, Glen Pike wrote: 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ScrollBar strangeness
is there an extra set of libraries i need to install from flash or something? i don't have a scrollbar component in my component window either (although i do have a uiscrollbar and a scrollpane which subclass it) On 12 Mar 2008, at 15:14, Glen Pike wrote: 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ScrollBar strangeness
Drag the UIScrollBar component from the Components window to your library. The components window isn't visible by default -- it's under the Window menu option. On 3/12/08, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: oh - i'm using flash cs3 On 12 Mar 2008, at 15:14, Glen Pike wrote: 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ScrollBar strangeness
i've checked my folder and ScrollBar.as is there something else that was strange - i tried instantiating UIScrollBar with the same result but when i dragged it to my library on the empty fla, it worked i really don't understand what's happening a On 12 Mar 2008, at 15:44, Allandt Bik-Elliott (Receptacle) wrote: is there an extra set of libraries i need to install from flash or something? i don't have a scrollbar component in my component window either (although i do have a uiscrollbar and a scrollpane which subclass it) On 12 Mar 2008, at 15:14, Glen Pike wrote: 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ScrollBar strangeness
Those source files only exist as part of the components. If the component isn't in your library, the classes don't exist. As long as you drag the components you need to your library, you can extend the classes. On 3/12/08, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: i've checked my folder and ScrollBar.as is there something else that was strange - i tried instantiating UIScrollBar with the same result but when i dragged it to my library on the empty fla, it worked i really don't understand what's happening a On 12 Mar 2008, at 15:44, Allandt Bik-Elliott (Receptacle) wrote: is there an extra set of libraries i need to install from flash or something? i don't have a scrollbar component in my component window either (although i do have a uiscrollbar and a scrollpane which subclass it) On 12 Mar 2008, at 15:14, Glen Pike wrote: 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] ScrollBar strangeness
ah right - so in order to use a component in actionscript, it needs to be in your library then? a On 12 Mar 2008, at 16:06, Cory Petosky wrote: Drag the UIScrollBar component from the Components window to your library. The components window isn't visible by default -- it's under the Window menu option. On 3/12/08, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: oh - i'm using flash cs3 On 12 Mar 2008, at 15:14, Glen Pike wrote: 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 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Cory Petosky : Lead Developer : PUNY 1618 Central Ave NE Suite 130 Minneapolis, MN 55413 Office: 612.216.3924 Mobile: 240.422.9652 Fax: 612.605.9216 http://www.punyentertainment.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders