It works on flex 3 but doesn't work on flex  2.

I use flex 2 for this project because flex 3 causes
another bigger issue for me -it broke the look of  my
custom skinned tab bar in tab navigator totally. (I
didn't include the code & skin of that tab bar. Just
want to solve this scroll track issue in flex 2)

How did you make it work in flex 2 ?  I tested this
code on pc at work, on mac at home and sent to another
co-worker. We got the same result as shown here:

http://krittiya.com/flex/testTabNavScroll/bin/testTabNav.html

Do you really get the thumb to move when pressing the
purple track?

I'm head scratching.. will send it to another
co-worker to test. 
If you have any clue why it works on your side and
doesn't work for my side ..please please let me know.

THanks!
Yoko



--- Sherif Abdou <[EMAIL PROTECTED]> wrote:

> how are you stopping it? I tried flex 2 and Flex 3
> and it still works or am i missing something? THe
> Skin is Applied and everything.
> 
--- Sherif Abdou <[EMAIL PROTECTED]> wrote:

> would you mind uploading the mxml file and i will
> look at it since i have to remove all the weird
> spacing and what not
> 
> 
> ----- Original Message ----
> From: Yochikoh Haruomi <[EMAIL PROTECTED]>
> To: [email protected]
> Cc: [EMAIL PROTECTED]
> Sent: Wednesday, March 12, 2008 3:55:09 PM
> Subject: [flexcoders] problem : scrollbar track is
> disabled when applying skin to scroll bar
> 
> Dear list,
> 
> I need help regarding the behavior of a scroll bar
> track. 
> 
> Before I applied the skin, when the data  is larger
> than the display area, a scroll bar is added
> automatically. When the scrollbar track is pressed,
> the page will be scrolled and the thumb will move.
> 
> However, after I applied skin to the scroll bar ( I
> follow instruction from this link http://www.adobe.
> com/devnet/ flex/articles/ flex_skins. html ),
> everything works fine except  that when I press the
> scroll bar track, the page is not scrolled and the
> thumb does not move anymore.
> 
> Any idea what is wrong and How  I can fix this ?
> Is this an asset problem or is there a way I can
> enable the scroll track by code?
> 
> Any direction/ suggestion is greatly appreciated.  
> 
> ps. I use flex builder2.  Also, I use the css & flex
> skins.fla downloaded from http://www.adobe.
> com/devnet/ flex/articles/ flex_skins. html (
> flex_skins_flash. zip (ZIP, 108K) )   to verify that
> the problem is not from my own custom skin.
> 
> 
> Below is the code:
> 
> 
> // MXML
> 
> <?xml version="1.0" encoding="utf- 8"?>
> <mx:Application xmlns:mx="http: //www.adobe.
> com/2006/ mxml" layout="absolute">
> 
> <mx:Style source="skin/ flex_skins. css"/>
> 
> <mx:TabNavigator id="tn"  width="200" height="300">
>             <mx:VBox label="Panel 1" >
>                 <mx:Label text="TabNavigator
> container panel 1 bla bla bla bla bla bla bla bla
> bla bla bla bla bla bla bla bla bla bla bla bla bla
> bla bla bla bla"/>
>             </mx:VBox>
> 
>             <mx:VBox label="Panel 2">
>                 <mx:Label text="TabNavigator
> container
> panel 2"/>
>             </mx:VBox>
>         </mx:TabNavigator>   
> </mx:Application>
> 
> 
> // CSS
> 
> ScrollBar
> {
>     trackSkin: Embed(source= "flex_skins. swf",
> symbol="ScrollTrack _Skin");
>     downArrowDisabledSk in: Embed(source=
> "flex_skins. swf", symbol="ScrollArrow
> Down_disabledSki n");
>     downArrowDownSkin: Embed(source= "flex_skins.
> swf", symbol="ScrollArrow Down_downSkin" );
>     downArrowOverSkin: Embed(source= "flex_skins.
> swf", symbol="ScrollArrow Down_overSkin" );
>     downArrowUpSkin: Embed(source= "flex_skins.
> swf", symbol="ScrollArrow Down_upSkin" );
>     thumbDownSkin: Embed(source= "flex_skins. swf",
> symbol="ScrollThumb _downSkin" );
>     thumbIcon: Embed(source= "flex_skins. swf",
> symbol="ScrollBar_ thumbIcon" );
>     thumbOverSkin: Embed(source= "flex_skins. swf",
> symbol="ScrollThumb _overSkin" );
>     thumbUpSkin: Embed(source= "flex_skins. swf",
> symbol="ScrollThumb _upSkin") ;
>     upArrowDisabledSkin : Embed(source= "flex_skins.
> swf", symbol="ScrollArrow Up_disabledSkin" );
>     upArrowDownSkin: Embed(source= "flex_skins.
> swf", symbol="ScrollArrow Up_downSkin" );
>     upArrowOverSkin: Embed(source= "flex_skins.
> swf", symbol="ScrollArrow Up_overSkin" );
>     upArrowUpSkin: Embed(source= "flex_skins. swf",
> symbol="ScrollArrow Up_upSkin" );
> 
> 
> I can send the package of codes off-list.
> Thank you very much!!
> Yoko
> 
> 
> 
> Never miss a thing. Make Yahoo your homepage. 
>  
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 



      
____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping

Reply via email to