[Flashcoders] UIScrollbar

2010-04-29 Thread Glen Pike

Hi,

I am looking at skinning a List for a touchscreen device and 
reading the doc's for CS4 skinning it seems to imply that I cannot 
change the width of a vertical scrollbar.


Does anyone know of any workarounds for this as people using the 
touchscreen don't tend to have mouse-pointer sized fingers (nice one Adobe!)


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


Re: [Flashcoders] UIScrollbar

2010-04-29 Thread Glen Pike

Hi,

Think I have found a solution using Grant Skinners hack for the 
Scrollbar component detailed here.


http://www.gskinner.com/blog/archives/2007/05/variable_scroll.html

Glen

On 29/04/2010 09:51, Glen Pike wrote:

Hi,

I am looking at skinning a List for a touchscreen device and 
reading the doc's for CS4 skinning it seems to imply that I cannot 
change the width of a vertical scrollbar.


Does anyone know of any workarounds for this as people using the 
touchscreen don't tend to have mouse-pointer sized fingers (nice one 
Adobe!)


GLen
___
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] UIScrollBar and Style

2008-09-04 Thread Lehr, Theodore M (N-SGIS)
OK, so I am using:

 

createClassObject(mx.controls.TextArea, textArea, 0, {editable:false,
html:true, wordWrap:true, vScrollPolicy:auto});

textArea.setSize(250, 225);

textArea.move(25, 50);

textArea.text = bContent 1/bbrbrLorem ipsum dolor sit amet,
Integer vitae quam. Aliquam vestibulum. Curabitur nibh eros, tincidunt
eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque non
fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum dolor
sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh eros,
tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque
non fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum
dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh
eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque,
neque non fermentum suscipit, nulla nisl varius risus, brbrLorem
ipsum dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur
nibh eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras
scelerisque, neque non fermentum suscipit, nulla nisl varius risus, ;

 

to create a textarea and scroll when necessary... I am able to style the
textarea the way I want to with:

 

textArea.setStyle(backgroundColor,0xcc);

 

How do I reach the UIScrollBar to set the style?

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


Re: [Flashcoders] UIScrollBar and Style

2008-09-04 Thread Glen Pike

Hi,

   You can set styles globally for components, and/or you can skin a 
component in your library:


   Assuming this is AS2, the way I did the scrollbar skinning was to 
make a library swf, put the components to be skinned in there and skin 
them using the usual method, export for sharing and make sure you load 
in the library swf to your main file...  If you just want to skin a 
scrollbar in your main SWF you can do this too - you will need to put 
one on the stage somewhere.


   You can change some of the scrollbar params with ActionScript  
global styles - look in the Components reference in the help.


   My project had separate SWF's for each page, with text fields on.  I 
found I could not attach the scrollbar at design time, so here is what I 
did to get around the problem:
  
   //mpadText is a text field put on stage at design-time

   if(mpadText) {
   var init = {_targetInstanceName:mpadText,horizontal:false};
   attachMovie(UIScrollBar,mScrollBar,2,init);
   mScrollBar._x= this.mpadText._x + this.mpadText._width;
   mScrollBar._y= this.mpadText._y;
   }

   HTH

   Glen
  


Lehr, Theodore M (N-SGIS) wrote:

OK, so I am using:

 


createClassObject(mx.controls.TextArea, textArea, 0, {editable:false,
html:true, wordWrap:true, vScrollPolicy:auto});

textArea.setSize(250, 225);

textArea.move(25, 50);

textArea.text = bContent 1/bbrbrLorem ipsum dolor sit amet,
Integer vitae quam. Aliquam vestibulum. Curabitur nibh eros, tincidunt
eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque non
fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum dolor
sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh eros,
tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque, neque
non fermentum suscipit, nulla nisl varius risus, brbrLorem ipsum
dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur nibh
eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras scelerisque,
neque non fermentum suscipit, nulla nisl varius risus, brbrLorem
ipsum dolor sit amet, Integer vitae quam. Aliquam vestibulum. Curabitur
nibh eros, tincidunt eu, imperdiet non, pulvinar vel, pede. Cras
scelerisque, neque non fermentum suscipit, nulla nisl varius risus, ;

 


to create a textarea and scroll when necessary... I am able to style the
textarea the way I want to with:

 


textArea.setStyle(backgroundColor,0xcc);

 


How do I reach the UIScrollBar to set the style?

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


  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk/

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


[Flashcoders] UIScrollbar disabled state?

2006-08-01 Thread Mike Pearce
First time I've noticed this..

 

Where are the disabled state skins for UIScrollbar?

Seems crazy that as soon as the scrollbar is disabled the buttons return to
halo?

 

Anyone noticed this or am I missing something?

 

Ie: you can set  - upArrowUpName, upArrowOverName, but not the disabled
state.

 

.wtf?

 

Mike Pearce

Nectarine  +61 3 9687 7820

 http://www.nectarine.com.au/ www.nectarine.com.au

 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] UIScrollbar disabled state?

2006-08-01 Thread Vibol Hou
You can open up the Scrollbar.as file and find the list of skin 
variables in there.


C:\Program Files\Macromedia\Flash 8\en\First 
Run\Classes\mx\controls\scrollClasses


if you're on a PC

-V

Mike Pearce wrote:

First time I've noticed this..

 


Where are the disabled state skins for UIScrollbar?

Seems crazy that as soon as the scrollbar is disabled the buttons return to
halo?

 


Anyone noticed this or am I missing something?

 


Ie: you can set  - upArrowUpName, upArrowOverName, but not the disabled
state.

 


.wtf?

 


Mike Pearce

Nectarine  +61 3 9687 7820

 http://www.nectarine.com.au/ www.nectarine.com.au

 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] UIScrollbar bug?

2005-11-14 Thread Paul Steven
Anyone recommend a newsgroup or somewhere where I can ask the following
question as I have had no joy on this news group or the official macromedia
forum. It is a huge show stopper for the project I am working on and I
cannot even get anyone to confirm if it is a bug or not.

---

It appears that the UIScrollbar component breaks when a shared library
element is included on screen at the same time.

Basically if you have a movie with just a text field and the UIScrollbar
component, it works fine. If I then add a shared library item to the screen,
it stops working.

I have created a simple test file (mx2004) to illustrate this.

http://www.mediakitchen.co.uk/scrollbar.zip

I would really appreciate some advice on this as I really need to get around
this problem

Thanks

Paul

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


Re: [Flashcoders] UIScrollbar bug?

2005-11-14 Thread Julius - XK


File - Import - open external library
C:\Program Files\Macromedia\Flash MX 
2004\en\Configuration\ComponentFLA\StandardComponents.fla


Drag the UIScrollbar from the external libray into your library.  Delete the 
old scrollbar and use the one

from the external library :)





- Original Message - 
From: Paul Steven [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, November 14, 2005 2:12 AM
Subject: RE: [Flashcoders] UIScrollbar bug?



Anyone recommend a newsgroup or somewhere where I can ask the following
question as I have had no joy on this news group or the official 
macromedia

forum. It is a huge show stopper for the project I am working on and I
cannot even get anyone to confirm if it is a bug or not.

---

It appears that the UIScrollbar component breaks when a shared library
element is included on screen at the same time.

Basically if you have a movie with just a text field and the UIScrollbar
component, it works fine. If I then add a shared library item to the 
screen,

it stops working.

I have created a simple test file (mx2004) to illustrate this.

http://www.mediakitchen.co.uk/scrollbar.zip

I would really appreciate some advice on this as I really need to get 
around

this problem

Thanks

Paul

___
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] UIScrollbar bug?

2005-11-14 Thread Julius - XK

Your welcome very much.  I find myself in your position almost daily ;)

I was doing some skinning/theme work recently and after trying several
different tricks, it just popped in my head.  Maybe if I dropped the
UIScrollbar assets in there it would change things..  Well, it did ;)




- Original Message - 
From: Paul Steven [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, November 14, 2005 8:15 AM
Subject: RE: [Flashcoders] UIScrollbar bug?



Thank you Julius for replying to my question.

I can't believe this is not documented anywhere or if it is then so well
hidden.

Many thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Julius -
XK
Sent: 14 November 2005 12:42
To: Flashcoders mailing list
Subject: Re: [Flashcoders] UIScrollbar bug?



File - Import - open external library
C:\Program Files\Macromedia\Flash MX
2004\en\Configuration\ComponentFLA\StandardComponents.fla

Drag the UIScrollbar from the external libray into your library.  Delete 
the

old scrollbar and use the one
from the external library :)





- Original Message -
From: Paul Steven [EMAIL PROTECTED]
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Monday, November 14, 2005 2:12 AM
Subject: RE: [Flashcoders] UIScrollbar bug?



Anyone recommend a newsgroup or somewhere where I can ask the following
question as I have had no joy on this news group or the official
macromedia
forum. It is a huge show stopper for the project I am working on and I
cannot even get anyone to confirm if it is a bug or not.

---

It appears that the UIScrollbar component breaks when a shared library
element is included on screen at the same time.

Basically if you have a movie with just a text field and the UIScrollbar
component, it works fine. If I then add a shared library item to the
screen,
it stops working.

I have created a simple test file (mx2004) to illustrate this.

http://www.mediakitchen.co.uk/scrollbar.zip

I would really appreciate some advice on this as I really need to get
around
this problem

Thanks

Paul

___
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 


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


RE: [Flashcoders] UIScrollbar bug?

2005-11-13 Thread Paul Steven
On further investigation it looks like the UIScrollbar component does not
work if there is any element from a shared library on screen.

I have created a simple test file (mx2004) to illustrate this.

http://www.mediakitchen.co.uk/scrollbar.zip

I would really appreciate some advice on this as I really need to get around
this problem

Thanks

Paul

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Steven
Sent: 12 November 2005 13:04
To: Flashcoders mailing list
Subject: [Flashcoders] UIScrollbar bug?


I am trying to plonk a UIScrollBar component on a multiline input text area
in my Flash MX 2004 movie.

The scrollbar does appear to be snapping but no scroll arrows are appeaaring
no matter how many lines of text I type.

The weird thing is that if I delete a movie clip that I have on the stage,
it starts working. The movie clip is basically a sound on/off button from a
shared library.

Similarly if I create a new movie and then add the shared library movie clip
to the stage, it stops working.

Any idea why a shared library item would stop the scrollbar working?

Thanks

Paul

___
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] UIScrollbar bug?

2005-11-12 Thread Paul Steven
I am trying to plonk a UIScrollBar component on a multiline input text area
in my Flash MX 2004 movie.

The scrollbar does appear to be snapping but no scroll arrows are appeaaring
no matter how many lines of text I type.

The weird thing is that if I delete a movie clip that I have on the stage,
it starts working. The movie clip is basically a sound on/off button from a
shared library.

Similarly if I create a new movie and then add the shared library movie clip
to the stage, it stops working.

Any idea why a shared library item would stop the scrollbar working?

Thanks

Paul

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