How Can I Change The Generic Look Of The Component Scrollbar?
How can I change the generic look of the component scrollbar?
Does anyone know of any tutorials on the subject?
FlashKit > Flash Help > Flash ActionScript
Posted on: 01-07-2005, 06:41 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Change Style Of UI-Component Scrollbar
Hi Folks,
could anybody please explain to me how to change the properties
of the UI-Component "Scrollbar" in MX2004? (like scrolltrack color, arrow color, ...)
I mean in MX it was pretty easy using "FStyleFormat" ect. but in MX2004???
Thanks in advance for your effort!
Change Style Of UI-Component Scrollbar
Hi Folks,
could anybody please explain to me how to change the properties
of the UI-Component "Scrollbar" in MX2004? (like scrolltrack color, arrow color, ...)
I mean in MX it was pretty easy using "FStyleFormat" ect. but in MX2004???
Thanks in advance for your effort!
[CS3] Change Width Of Scrollbar In ScrollPane Component
Hi I'm using the scrollPane component in my flash movie to display some text. Is there any way of increasing the width of the actual scrollbar itself? It's appearing quite thin on the screen.
Any help is appreciated! Thanks very much!
Force Textarea With Scrollbar Component To Top On Change Of Content?
Hi
I have a movie that has a text field with a scrollbar component. It loads the content from a Loadvars object, and there's a set of buttons to change the content of the textbox. It all works fantstic... with the exception that when you change the content the scrollbar retains its position... is there a way to force it to go to the top when the content changes?
If you want to see it in action: http://www.themedialounge.com/mistertwister/ choose any location [consett has more content but not relevant for this] navigate to PARENTS section on the main menu and ADDITIONAL INFO on submenu.
Thanx in advance
Component Bindings For Generic WSC Forms… Path?
Ok, I am stumped here… I have been through many of the tutorials both here and abroad, but I cannot find the answer. I have been working on this problem for 2 solid days ~24hrs, at this point I need some professional help either here or on the psychiatrist’s couch.
By the way great bindings tutorial by Pete Hall, just did not go far enough for what I am looking for.
This is basically what I am trying to do: I have a .net web service sending out a generic soap xml to populate a verity of flash forms. I.e. think of a general web service that sends out xml that can populate income tax forms for all 50 states, depending on the nature of the data in the db.
I am trying to then catch this data with a WSC sent it into a data set then populate fields on the form. Most of these fields are simple text input fields, but each have properties such as a label (needs to be dynamic to support multi languages), editable, database reference etc.
The problem is I cannot figure out how to pull each single row form the dataset and fill the appropriate text/label components. I can fill a data grid through the data provider binding no problem. And I can use the index to page through the data set. But what I cannot do is use the data set to fill a number of (15-30) text/label components.
I think the answer is using a path statement in the bindings, and/or using what Macromedia calls virtual schemas. But I cannot get the syntax correct, I am assuming I need to use AS not Xpath as this is going through the WSC which converts it to AS. (There is an amazing lack of examples of complex binding to a WSC)
Here is a sample of the XML (maybe needs a bit more formatting):
<?xml version="1.0" encoding="utf-8" ?>
- <OxygenData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" EpisodeID="1" xmlns="http://www.OxygenHealthware.com">
<testData>auditest</testData>
- <OxygenData>
- <OxygenData dbID="episode_id" isRequired="false">
<DataValue>1</DataValue>
</OxygenData>
- <OxygenData dbID="episode_pat_id" isRequired="false">
<DataValue>1</DataValue>
</OxygenData>
- <OxygenData dbID="pat_org_id" isRequired="false">
<DataValue>1</DataValue>
</OxygenData>
- <OxygenData dbID="episode_name" isRequired="false">
<DataValue>heart failure</DataValue>
</OxygenData>
- <OxygenData dbID="episode_name_id" isRequired="false">
<DataValue>1</DataValue>
</OxygenData>
Resulting in a WSC schema of something like:
Results:OxygenMetaXML
OxygenData:Array
[n]:OxygenData
DataValue:String
DataLabel:String
dbID:String
etc…
If you have any advice please let me know!!!
I should also add that I am not so familiar with AS and as some of these forms may be created by novice developers (myself included) my intent is to come up with a simple process to visually develop additional forms.
Thanks
Audi
[F8] Help - Scrollbar Appear On The Scene Which Do Not Contain Scrollbar Component
1. I have successfully created multiple scenes with dynamic html text fields and UIscrollbar component.
2. Each scene is a webpage, so I can click on each button to go to corresponding scene.
3. The main page contains no scrollbar component. When I publish on the web, it run perfectly for the first time loading it. However, after I visit other pages (different scene created in F8) and click on "Home" button going back to the main page, the scrollbar component exists on the page which should not contain any scrollbar.
4. I try to give each scrollbar on different scene a unique instance name, and disable it using
Code:
scrollbar0._visible=false;
but it doesn't work. I think maybe I include the actionscript to the wrong place or under the wrong event/action.
5. Any idea of how this happened?
Thanks,
little_poem
Change ScrollBar Look
I inserted a scrollbar using the components panel... but i want to skin it and make it look, well different... is there a way to have a scrollbar that doesn't use windows default, and doesnt just color it with css. I want special arrows etc. is there a way to do this?
Happy First Post me!
Change ScrollBar Look
I inserted a scrollbar using the components panel... but i want to skin it and make it look, well different... is there a way to have a scrollbar that doesn't use windows default, and doesnt just color it with css. I want special arrows etc. is there a way to do this?
Happy First Post me!
How Do I Change The Colors Of My Scrollbar?
Hi,
I was hoping someone could help me.
I'm relatively new to Flash MX and I was wondering how I can change the color of my scrollbar within my scrollpane.
Any help would be appreciated!
Thx,
Moots
Change The Colour Of The Outside Scrollbar
In flash MX how do you gain access to controls where you can change the colour of the scrollbar at the side of the web page. Is there a way how to do this in the FLASH program or does it need to be done in an external program (like dreamweaver) so in dreamweaver how do you do it from there?
There has to be a way due to i have seen alot of site whcih have done this already with a diffrent coloured scrollbar and also a status bar.
Please help
Change Colours Of Scrollbar Not Available
Why don't I have this folder to change the colours of the standard UIScrollBar? In the Components panel, there's no folder and neither when I drag the scrollbar onto stage. Still no folder in my library. Just a scrollbar icon that says UIScrollBar and is a compiled MC...?
Confused now...
Change The ScrollBar For A TextArea
Hi there
I am trying to figure how I can modify the scrollbar in order to have a swirly slider for example.
Does somebody thought about that ?
Cheers
François
Change Flash Scrollbar?
Iv used a flash scroll bar from the "Flash Components" section attached it to a dynamic text box and works great. But is it possible some how to change the image of the scroll bar or draw my own?
If anyone could help would be great!
How Can I Change The Size Of My Scrollbar?
I've got a movie that is duplicating some movie clips vertically, they're all stacking up and I want to use the browsers scroll bar to match the length that its all totaled up to so i can tell it to scroll past the movies stage size. I've had too many problems with scroll bars in flash. Could someone help me out.
Change Flash Scrollbar?
Iv used a flash scroll bar from the "Flash Components" section attached it to a dynamic text box and works great. But is it possible some how to change the image of the scroll bar or draw my own?
If anyone could help would be great!
Change Appearance Of Scrollbar
How can you change the appearance of Scrollbar Component. I want to remove the both top and bottom arrow of scrollbar and change the size of dragger.
I will prefer to do this using actionscript.
Thanks
Change Arrow Property In Scrollbar
hi,
I used a UI component scrollbar in a dynamic tekstfield and it works fine. So far so good.
But: some scrollbars in the movie have to have other color-components.
(only the fsb_ScrollTrack, not the whole scrollbar)
How to do this?
Do I have to use FStyleFormat ?
And how do I use it and where do I have to put the code?
Thanks!!
Maaike
Change Color For TextArea Scrollbar
Hi,
I have a problem with the Textarea, well its just a problem with the Scrollbar that appears when the Text is bigger then the Area.
Hoe the hell can i change the color of it?
The cholorchange of the TextArea is not problem.. but i dindnt found a way to change the colors of the Scrollbar by AS too :/ ..
-XT
How Can I Change Text In Scrollbar Area?
I have Flash CS3. I've used the Scrollbar Component to create a simple scrolling text box. Trouble is, I can't find a way to change the text so that titles are in bold and there are some letters in italics. Also, I'd like to colour parts of the text differently. Everything I try seems to affect the text globally?
Any ideas? Please bear in mind that I am a rank beginner when it comes to Actionscript.
Cheers
Nick
Updating Scrollbar After Height Change
Hey everybody,
I'm writing a custom scrollbar for a project I'm working on, and I would like it to update the scroller size / position when the height of the scrollable object changes. All that code is already done, but without running an onEnterFrame or setInterval constantly to watch the _height of the scrollable object, I can't find a method of watching for _height change. Object.watch() apparently doesn't work with actionscript properties, so is there any other way, some other property that I can watch which gets updated whenever _height gets updated?
For now I just have it using onEnterFrame, but if anybody knows a better way please help a guy out.
Thanks,
--EP
How/Can Change Textarea Scrollbar Colour ?
Doing an xml import into a flash news screen using combobox and textarea components. It has worked ok but want to customise colour of text area scroll bar -can this be done? (managed to get background colour and border to be transparent) Also would like to customise the colour on the drop down button on combobox (and make background colour and border transparent on this too) Anybody cracked this ?
sablonneux
Change Scrollbar Position In Scrollpane
Hi,
Someone knows how I can change the Y position of the horizontal scrollbar inside scrollpane component?
I can change colors... for exemple. But I can?t change the location of horizontal scrollbar for the top of my scrollpane.
Thanks in advance
Scrollbar UI Component
There is a textfield (which can only show a few lines of text) with instance name "tar" and var "a" on the stage. There is also a scrollbar on the stage and the target is set to the textfield (i.e. "tar").
The action of the 1st frame is:
for(i=1;i<30;i++){
a += Math.random() + newline
}
When I run the swf, the textfield do show a list of 30 random numbers, but the scrollbar doesn't work though the field show only a few lines out of 30.
So how can I actiative the scrollbar?
MX Scrollbar UI Component
This is probably easy but I can't seem to figure out what I missed.
I'm loading dynamic text from XML into a dynamic text box in Flash MX. I've set the box to be multiline, have html enabled and to show the border. The text variable is name textboxtext and the dynamic text box itself is named textbox.
I know the XML is loading fine because I used the trace() function to know that it is loading up all 67 nodes. However only about 20 of them appear in the box at one time. And the scroller I added using the UI Component doesn't seem to do anything.
I added the scroller to the stage in a different layer from textbox and it is vertically aligned. The parameters window says that its "Target text field" is textbox.
Anyone know what I'm missing to make the scroll bar actually scroll the text within textbox?
Thanks,
-- Dave Goldfeder
Scrollbar Component
Can anybody tell me how a can get rid of the arrows in the scrollbar from the window comopents?
Thanks in advance
greetings
Scrollbar Component
Hi again:
Thanks so much for all the other help from you guys. Here is another one. I have used the scrollbar component with a dynamic text box. They are in the same timeline. It works when I test the scene, but when I publish the text box does not stay the same size it enlarges lenghwise to include all the text which is off the page and the scrollbar is enabled. Are there any fixes for this? I do not have text importing into the text box, I just copied and pasted the info from a text file into the box.
Patti
Scrollbar Component
how can i change the color of the scroll bar component that comes wid FLASH MX.....????
Scrollbar Component
i am having some trouble using the scrollbar component.
check out http://www.perkinsphotography.net and go to the families section. The text in the center left is supposed to scroll. The text field is dynamic. It has an instance name and a variable name of sectionText. I have the scroller's target text field is set to sectionText.
Note: the dynamic text field and the scrollbar are both inside of a movieclip named familyPlaceholder. My text is loaded like this:
onClipEvent(load){
section = "";
sectionText = "";
loadVariables("http://www.perkinsphotography.net/SWF files/about.txt", this);
loadMovie("../images/about/jperkins.jpg",photoPeg);
}
onClipEvent(enterFrame) {
if (sectionText != "") {
loading._alpha = 0;
}
}
any help is appreciated..
thanks,
-myk
...::: Mx Scrollbar Component :::...
I am using the mx scrollbar component on one of my text fields. it works great, you just snap it on and it scrolls whatevers in the field. however, i can't seem to get it to work on text being pulled in from a .txt file! The only way i can get it to scroll the field is if i make the field an inpuit box and click inside it, only then does it display the scroll buttons
has anyone else noticed this???
thanks
Scrollbar Component
I have been tinkering about with the Scrollbar component in Flash mx. Could someone tell me if the size of the scrollbar can be adjusted to match the hieght of the text field. I am sure i was able to do this but for some reason it won't do it now
ScrollBar Component Won't
Ok, I really need a smoke.
Anyway, I've used the scrollBar Component in the past with no problems. Now I'm trying to add one to an older file that's been saved as an MX file. When I drag the ScrollBar component from the library it won't snap to the edge of the text field and won't register the instance name of the the text field. No matter what I do I can't get the two to sync up. If I open a new file and try the EXACT same thing it works fine. Is there some problem with adding components to a Flash 5 file even if I've resaved the thing as an MX file? Even setting the Target TextField Parameter to the instance name of the the text field manually doesn't work. I be stumped. If anyone has any clue why this is happening.....you'll forever be my hero. Thanks.
Scrollbar Component Help
I am trying to customize the scrollbar component and am having some issues....
I see the individual objects/skins, but where is the clip that holds them all together?
For Example:
I am trying to move the arrow on the right, to the left, but don't know where to adjust this? Trying to change the actual component doesn't seem right (not sure whats happening there)
Looked at system docs, guess I didn't get it.....any help is appreciated.
Thanks!
ScrollBar Component
I am trying to use the ScrollBar component within a MovieClip.
It is attached to a dynamic text box that is using a TXT file for it's content.
Everything works except the scrollbar. It works fine oustide the MC but not inside.
Anyone know how to fix this problem
Thanks
Scrollbar Component ?
I recently bought flash MX I saw the components ,
but I don't know how to use the scrollbar component macromedia doesn't explain it well enough or well they don't explain it.
I know I have to name my text. and then drag it over teh text so it will get stuck on it but it doesn't work does anyone know why ?? or am I doing sojmthing wrong.
damn so anoyying when something doesn't work.
Scrollbar Component
I have successfully installed scrollbars several times but this time its not happening. Mx is asking for the textfield instance name but it has one called 'text' and the scrollbar commponent(my scrollbar) recognizes 'text" as the target textfield...not sure why this is happening- any possible explanations?
ScrollBar Component
I'm creating a specialized photo-album application which shows the customers photo-sessions from the photographer, and they can select which pictures they like.
In my thumbnail preview (mcThumbNailPrev), I'm attaching my thumbnails (mcThumb[x]). Is there any way I can utilize the scrollbar component for my 'mcThumbNailPrev' to view all my thumbnails? I'm just now getting used to MX, and all I know, is that the scrollbar works on text fields. Can it be used on movieclips too? I'm sure it can be.
Any guidance?
Scrollbar Component
I have a scrollbar component attached to a dynamic text box, which works fine(almost), but it always stops scrolling at the last but one line, no matter how long the text is, when I use the mouse. If I use the keyboard to scroll it is fine and shows the last line. Any ideas how to fix this? tks
Scrollbar Component Help?
How do i get those stupid scrollbars to work on a dynamic text field? I drag the component onto it, its attached to the textfield, but when i play the movie, it doesn't scroll, its just sitting there annoying me. What else do I have to do to get this to work?
MX UI Component - Scrollbar
I've designed my own scRollers before but was trying to get the canned UI component to work for me. The Help file states I can drop it on my dynamic textfield and it should work, but I'm finding differently. It seems to target my textfield's instance name correctly. I've traced my textfield's maxscroll property to 30. But, no matter what I've tried I've got no scrolling. It doesn't even show a grab handle.
Any ideas?
Scrollbar Component
Right,
I'm no biggy on actionscript which is why im trying to learn it in the first place.
My problem is this:
I have a dynamic text box,(with scrollbar comp) enter my text locally and format as html, and everything works great.
As soon as i change this to LoadVariables with an outside text source, my scrollbar blanks out and won't do anything.
so basically how the hell do you get external text to scroll using this component?
P.S iver tried it on the stage and also loading into a MC holder clip, with no joy.
Scrollbar Component
does anyone know how to make your own scrollbar component in flash mx, just like the one that it came with but with a different look?
Scrollbar Component
How do you get the scrollbar component in Flash MX to scroll the contents of the text automatically?
Quote:
scroller.setScrollProperties(80, 0, 100);
scroller.onEnterFrame = function() {
if (scroller.getScrollPosition()<100) {
scrollerpos = scroller.getScrollPosition()+1;
scroller.setScrollPosition(scrollerpos);
} else {
scroller.setScrollPosition(0);
}
};
When I did that, the text finished scrolling at about 1/4 of the scrollbar and scrollbar continues scrolling till the end. I need to know how to set the maximum page value of .setScrollProperties to fit the amount of text I have in the textbox.
Help!
|