Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Skinning a component with AS

 
Jump to:  
 
ominous93
PostPosted: Tue May 20, 2008 5:10 pm    Post subject: Skinning a component with AS
       
Hi all,

I'm trying to change the graphics on the UIScrollBar component (which is
attached to a scrollpane). Problem is, any that I specify an alternate
movieclip (skin) for are not showing up. For example, if I specify the mouse
over clip for the scrollbars arrows, they disappear.

I opened the standard and halo theme provided FLA files and copied the entire
ScrollBar Assets folder over to my project. I altered the graphics and just
tried it like this (making sure asset MCs were export in first frame). That had
no effect. I then specified some changes in the init portion of my
createClassObject() (e.g. {ScrollUpArrowOver:"SomeValidLinkageID"}) but the
clip just keeps disappearing. Since the change is global to my whole project I
started adding it to the prototype (e.g.
mx.controls.UIScrollBar.prototype.upArrowOverName = "SomeValidLinkageID"Wink, and
that does (you guessed it), the same thing.. disappears!

How can I change the graphics on a scrollpane components scrollbar that I'm
dynamically adding via createClassObject()??

Thanks for any info!
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

oczekiwanie na linki wymiana linkow pobieranie linkow system wymiany linkow wymiana linkami