Solved

Flash Scroll Bar With Colors

Posted on 2004-08-17
4
227 Views
Last Modified: 2010-04-03
Hello
At the moment im using macromedia flash mx. I need to have a scroll bar
with diffeent colors, what im doing is I write my text as (Dynamic Text)
and then I drag the ScrollBar from the Componets, and when I export the
movie it comes just with one color and one font.
is there anyway to have different font and colors?
thanks
0
Comment
Question by:Xtry
  • 2
4 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 11829412
hi, not sure if I understand your question correctly, but it seems what you're trying to do is skin the components.

there's 2 ways to go about this in MX, either using your design skills, actually edit the component (hectic) - or using ActionScript with the globalStyleFormat.

so for example to change the scrolltract you'd say

globalStyleFormat.scrollTrack = 0x333300; //change to whatever colour you want
etc.

if you look in the help files you'll find all the different options for the scrollbar, like the arrows etc.

blu.
0
 

Author Comment

by:Xtry
ID: 11849239
I meant I want to have in the text section lets say

"Welcome" in blue and size 16 font arial
"Summary" in white with size 12 font verdana

Im using the scrollbar but when I save the movies its just one size one color and one font any  idea?
0
 
LVL 39

Expert Comment

by:blue-genie
ID: 11867782
how are you populating your dynamic text field?

are you simply typing (during development) - into the textbox, or are you populating it at run time?

either way, change your textbox to render as html, then if you're using the first way, simply select the text and change it in the properties as you would ordinarily, and in the second way, add html tags to your text.

blu.
0
 
LVL 2

Accepted Solution

by:
cheyennejk earned 500 total points
ID: 11972438
Unfortanately, Macromedia was in such a hurry to realease Flash MX-2004, many of the features will go unused until they catch up with their documentation.


Here is a the best article I have come across  on how to customize all the properties of UI components (background color, border color, border style, highlight color, and so on ..... )

http://www.ultrashock.com/tutorials/flashmx2004/skinning.php
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now