Adobe Dreamweaver Forums



Last 10 THreads :         How do I use a button within a movieclip to go to theroot? (Last Post : Lone Star Learning - Replies : 0 - Views : 1 )           »          importing a swf linked to a class (Last Post : micgamb - Replies : 1 - Views : 2 )           »          Button creation with links in HTML (Last Post : cmackey - Replies : 0 - Views : 1 )           »          Adobe Contribute CS3 Mac Hangs on Startup connecting toAdobe (Last Post : glenbarney1 - Replies : 7 - Views : 19 )           »          Help with CFIMAGE (Last Post : -==cfSearching==- - Replies : 1 - Views : 2 )           »          Text Captions not displaying in Preview (Last Post : CatBandit - Replies : 1 - Views : 2 )           »          Editing Quiz (Last Post : Captiv8r - Replies : 2 - Views : 3 )           »          TextInput.setFocus() doesn't work (Last Post : Guddie - Replies : 0 - Views : 1 )           »          Can not download page to your desktop (Last Post : Larry_from_Greenwood - Replies : 0 - Views : 1 )           »          cfloop question (Last Post : The ScareCrow - Replies : 7 - Views : 8 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flex
 
Tags: , , , ,



Reply
  #1 (permalink)  
Old 07-09-2008, 01:20 AM
artacus
 
Posts: n/a
Diggs:
Default Skin problem when rewriting adobe components

I wanted to extend NumericStepper with a class called TimeStepper. That would
let you step though the minutes of the day but display and read like '5:30 PM'
or '17:00'

Unfortunately, pretty much everything in NumericStepper is private and I need
to do things like allow characters to be entered into the text field.

So I copied the code from NumericStepper.as to my code tree, modified it and
saved it as TimeStepper.as.

My problem is that there are some relative includes:
include "../styles/metadata/styles/metadata/BorderStyles.a s"
include "../styles/metadata/FocusStyles.as"
and
include "../core/Version.as";

How do I make these work? Or for that matter, am I even doing the right thing?



Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-09-2008, 01:20 AM
Greg Lafrance
 
Posts: n/a
Diggs:
Default Re: Skin problem when rewriting adobe components

You can copy those includes to the proper relative path as well.

Its always preferrable to just extend an existing class, but if you can't do
what you want by normal extending, ya gotta do what ya gotta do.

Reply With Quote
  #3 (permalink)  
Old 07-09-2008, 02:33 PM
artacus
 
Posts: n/a
Diggs:
Default Re: Skin problem when rewriting adobe components

Ok, so I copied the referenced files into my src directory. It finds the files and compiles but there are no skins so I can't see the up/down buttons and such.

What is going on?
Reply With Quote


  #4 (permalink)  
Old 07-09-2008, 04:24 PM
Greg Lafrance
 
Posts: n/a
Diggs:
Default Re: Skin problem when rewriting adobe components

You probably have to modify project properties to point to the standard Flex skins.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 10:29 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk