Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Skinning The Progress Bar



Hi,How do you skin the progress bar component in Flash Pro 8?Thanks



KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 11-28-2007, 11:04 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Progress Bar For Showing Progress Of Loading Data From A CFC?
Hi all,

I wondered if anyone knew any way of showing a progress bar when calling a CFC through actionscript? I have a CFC which returns a ton of data, and so would like to show the progress of the data being loaded.

I know you can do this when loading a webpage, through using URLLoader, and getting the progress by listening to the ProgressEvent.PROGRESS event. However, when I call the CFC, I don't use the URLLoader class. My code for calling the CFC service looks like below


Code:
var service : RemoteObject = RemoteObject( ServiceLocator.getInstance().getService( "productService" ) );
var responder : GenericResponder = this.initResponder( getProductOptionListResult, getProductOptionListFault, resultHandle, faultHandle );
var call : AsyncToken = service.findOptionsForProduct( product );
thanks in advance for your help!

Mark

AS3 - Coding A Progress Bar To Show Progress Of A Timer.
Coding a progress bar to show progress of a Timer.

I have a timer that is set for (8000, 0). Pretty much what I would like to do is show the progress of where the timer is at but with a graphic. Something simple like a loader bar. Pending on where the timer is at the progress bar would load accordingly.

I am going to give it a try with out help but thought I would ask on the forum incase someone has an idea of how to do this before I go on a wild goose chase. Anyhow here goes the chase. If I figre it out before someone can help me I will post my code here.

Thanks,
Artofacks1

Progress Bar Not Showing Progress
Hi all

I have putted the code below in frame1, and then the actual movie in frame 2. The problem is that the code below doesn't show the progress unless i put the movie to start from say frame 5. Could someone please tell me why that is and any good progress bar code with percentage? I've actually tried a few tutorial sample and only this one works but need to move to higher frame no.

// stop the movie from continuing
stop();

// create a function called onEnterFrame
// with this name, it is an event handler
// and is called automatically by the flash
// player every frame at intervals specified
// by the frame rate of the movie
onEnterFrame = function(){

// percent loaded is loaded/total
var percent_loaded = _root.getBytesLoaded()/_root.getBytesTotal();

// assign percent loaded to preloader movie clip
// in the form of the variable named value
preloader_mc.value = percent_loaded;

if (percent_loaded == 1){

// delete the onEnterFrame event handler
// so that it is no longer being called
// every frame
delete onEnterFrame;

// tell the main timeline to play
play();
//gotoAndPlay(12);
}
}

Skinning
Thanks in advance...

Is there any way to change the default settings that are applied to a combo box (or all the components) that is simply dragged from the component library onto the stage? Basically, a way to change the .swc of the
UI Components, or to change the default theme they are using. The simplest thing would be if there was a way to use the sampleTheme.fla as the default opposed to
the HaloTheme.fla.

2.If skinning a component and using _global.style.setStyle is there any way to have everything load once only. It seems to load every time i go to the page or scene that the components are on.

Skinning
This I use for skinning my buttons

mx.controls.Button.prototype.falseUpSkin = "BlueButtonUpSkin";

How can I get this to work on the buttons inside the alert component. ??

Ive tied this:
mx.controls.Button.prototype.Alert.buttonUp = "BlueButtonUpSkin";

eg this http://livedocs.macromedia.com/flash...=00002076.html

Have a nice day :-)

Skinning Help
Hi

I've been skinning some components and am having trouble changing the colours of the button in media playback component and the white and grey border round the listbox (i've included a closeup of this in the image to illustrate and highlighted the problems in red).

Any help would be much appreciated as i am going mad.

Thanks

Onion Skinning
Is there a way of doing onion-skin animations thru actionscript?

Skinning Componants
I want to skin a combo box and a scrollbar and have them in the same movie. The problem is that if I change the scrollbar arrows and scroller it changes the combo box arrows and scroller. I have used FStyleFormat() but that only allows you to change the color. I want to change the shape. Is it possible to change the scroll bar scroller to a circle and not have it change the scroller in the combo box to a circle? If it is, please help me with this.

Onion Skinning
I have been looking for some simple tutorials on how to onion skin, can anyone explain how to do this, or point me towards some easy/full proff tutorials, im using flash 5, my msn handle is crow35@hotmail.com
Thanx

Skinning 3D Objects, Possible?
I've seen many examples of true 3D in flash. I believe it is possible to make a simple skinnable 3D object. I saw someone do this with a book, but I lost the URL. It was fully rotatable based on the mouse (click and drag).


my guess is they created the 3D object, and then duped and masked the skin mc into pixel high strips, and placed them line by line along the wireframe. I've been able to skew and distort images this way creating a static false perspective, but I'd like to know if someone else has done it already.


My challenge is, has anyone seen this effect elsewhere, or done something similar?
grins,
-J

Skinning Question
Does anyone know if there's a way to make alterations to a component beyond the basic skinning options without affecting others? I want my scrollpane to have an invisible background, but I can't change this in any of the basic skinning options I've seen. So I edited it and altered the bounding box MC and the background MC to have an alpha of 0. Which works fine. But then when I try to use a combo box, it's properties are changed as well apparently because it uses the same stuff as the scrollpane. I can't change the alpha of the scrollpane as a whole because I don't want the scrollbar to be affected. Does anyone know how I might be able to accomplish this?

Skinning Components?
Hi,

I'm re-skinning a component, (ComboBox) , and am trying to change the colour of the text in the dropdown (its black at the moment).

I have figured out that under - Global Skins - Lable - is where you are supposed to be able to change colours/fonts etc, but I can only seem to change the font??, NOT the colour.

Whatever I change it to, it always shows up black when i test my movie.

Anybody else having trouble skinning mx's components??

Thanks,

Chris

Skinning MX 2004 Pro?
Hi,

I'm going through MX 2004 PRO at the mo trying to skin my components. In Flash MX this was easy and I would often just use code instead.

In 2004 Pro I'm trying to use the new TextArea component which contains a nested ScrollBar component. I would like to change the look of the ScrollBar in the TextArea component but its unfortunately not that easy.

I have tried editing the HaloTheme.fla and saving it as my own theme as per the instructions. But when I import the new theme into my library it still doesn't work?

Anyone got any ideas?

The new components look cool, but they are a real pain to customise!

Any help would be much appreciated,

thanks

grandmasterC

Component Skinning Help
Hello everyone..

Can anybody help me?

I need to skin some components like the textarea and the combobox.

Now as I seen in ultrashock you can change the skin "easilly" by changing a theme. The problem is pro example the textarea aren't in the themes!!!

So how can i skin this control without this. (i can change the scrollbars by changing the assets of the scrollbar), but i cannot change the text (or i can't find a place to do it) in there.

I know that you can do it by code, but the problem is that i need to give this to a designer who don't know actionscript to change the aspect of things, so i don't know what to do since i can't change some stuff in "design mode".

Thanks.

Skinning The ScrollPane ?
is there a way to get rid of all the "border"color.?
or to make it white ,this doesnt work


Code:
_global.style.setStyle("borderColor", "0xFFFFFF");
_global.style.setStyle("borderStyle", "none");
thanks !

Help Skinning Components
I'm using MX 2004, trying to alter a scrollpane, and I found some code that oldnewbie posted a while back that would fit, but I don't know where to put the code...I read some other posts and the PDF w/ flash about changing that stuff.

but I can't get the Flash UI Components folder to show up in the library. I'm assuming that we're all talking about the same library...the one that shows up when you go to Window > Library. Another user said that the folder should show up when you put a component into your fla.

So now I'm really confused as far as finding this stupid folder...I'm just making a new fla and dragging the scrollpane component into the window, but when I check the Library, it says there's 1 object...the scrollpane. No folders. How can I find this stupid Flash UI Components folder to change the code of it?

Onion Skinning
i saw a tutorial for onion skinning this morning and all it looks like to me is a motion tween. you still have to go to each frame and make the movements of the object you want to animate. i'm most likely missing something very importnat about onion skinning because i'm a total n00b when it comes to flash.

what am i missing??

Onion Skinning?
Can someone tell me the basics of onion skinning?

The Skinny On Skinning ?
Hi everyone,

I'm taking an independent study on flash mx 2004. I feel pretty confident in all the basics and am delving into actionscript. however, last time I spoke to my professor, she told me that I should learn how to skin components. The book that I used didn't provide any help.

Is there a book or tutorial that anyone has used and would recommend for learning how to skin components?

thanks everybody!!

Skinning V2 Components
Hey...
can someone point me to a really good, well written tutorial on skinning v2 components? In particular, I want to re-skin the scrollbar component.
I've done it manually before and I've also done it using A.S. with so-so results.
I really just need to simplify the graphics so they are flat colors, rectangles, no shadows, etc.
Any help is much appreciated.

~Big 'Un

Skinning Accordion
I was wondering if there is any way to use multiple headers for the accordion object, for example having a red button for one child element and a blue one for another. I tried using a reference like [0]trueUpSkin = "redButton" but found out that that was wrong because it ended up loading the last header I defined for all of the children.

$50 follow up question...why does the size of my header change between the Up and Over states, is this the default for the accordion and if so how do I change it, I looked for the accordion class in the mx folder but couldn't find it.

Thanks

Onion Skinning Getting In The Way.
I have 100 frames, made in 3ds max 7 and imported into flash as a .png sequence. I then converted each frame into a trace bitmap, pretty high quality ones. now, as to make the sequence all the right size, I attempt to use the 'edit multiple frames' tool next to the onion skin button only to find that my computer lags like no other after selecting about 30 frames. each one of these images is too high quality for flash to handle when all selected at once, and all i want to do is scale all 10 layers down a little bit at the same time.

Is there a way to turn the onion skinning effect off completely, so I don't have this problem?

Skinning A Scrollpane
I have read and follow some guide about how to skinning standard component in flash 2004 and flash 8.

I use flash 8 and I like to skinning a scrollpane so the vertical scroller is smaller and other color.

I can change color and that but I have big problem to change size of the scroller. now it is to wide.

Can someone please tell me how or give me a fla file that I can see how to make it smaller.

I have try this in so many days now.

Skinning A Scrollpane
I have read and follow some guide about how to skinning standard component in flash 2004 and flash 8.

I use flash 8 and I like to skinning a scrollpane so the vertical scroller is smaller and other color.

I can change color and that but I have big problem to change size of the scroller. now it is to wide.

Can someone please tell me how or give me a fla file that I can see how too make it smaller.

I have try this in so many days now.

Skinning Components
Does anyone know of a tried and true, step by step, beginning's type of tutorial for skinning components? Can you skin the scrollbar on a text area?

Please englighten me!

Skinning A Cat - Please Vote For The Best Way.
What's the best way to include jpegs? Want to display a random choice from a set of 12 jpegs. What am I missing?

1.)Convert each to movieclip then attachmovie
pros: easy
cons: labor intensive, clunky

2.)Put all into frames of one MC, then attachmovie & gotoAndStop(rand.)
pros: easy
cons: stage-based

3.)Load with loadMovieNum from external file
pros: looks possible, AS-based
cons: are associated files a pain when putting a game in different places? i.e. submitting it?

4.)Putting in an invisible "dropZone" MC on the main timeline
pros: looks possible
cons: seems odd, stage-based

5.)?

Skinning UI Scrollbar In CS3 With AS2
EDIT: I have the Scrollbar Assets folder in my library. I can edit all the pieces, but when I drag a UI scrollbar out, it still looks just like the default one. Is there something else I need to do besides just having the scrollbar assets present?

EDIT EDIT: Figured it out.

Skinning _focusrect?
I want to get rid of the yellow focus rectangle but I can't use _focusrect = false. Does anyone know if it's possible to skin the rectangle?

Skinning FLV Player..
If you could point me to the best skin-able FLV player, that would be great!

I need a good FLV player for my site, but we have designed our own custom skin for it, and need to implement that into the player.

I have tried JW player, but I don't think I have the skill enough to integrate our skin into that, if you could.. please contact me: caleb@klydo.com


Thanks,
Caleb

Skinning Of Components By AS3.0
How to apply skinning to combo box using AS3.0

Skinning A Window
I was wondering if it is possiable to skin the window that a flash exe or swf is presented within? I Dont want my app to run at full screen so that idea is out. I would like to create my own window that it is presented in. I'm not sure if this can be done in flash, if not does anyone know of a freeware or something else that might work. Thanks in advance

Component Skinning
Hi,
I have following problem:
I'm trying to remove the border of a scrollbar and of a scrollpane, i've already done that with following code:

my_component.setStyle("borderStyle","none");

It worked pretty well, but now my component is inside a mc, and althoug i place this code in the frame where the component is placed nothig happens.

Does somebody know what is wrong?

The second question: Is there any easy way to change the scrollbar of a scrollpane, or maybe a whay to create my own scrollpane?

Thanks a lot,
Peter

Component Skinning
Hi,
I have following problem:
I'm trying to remove the border of a scrollbar and of a scrollpane, i've already done that with following code:

my_component.setStyle("borderStyle","none");

It worked pretty well, but now my component is inside a mc, and althoug i place this code in the frame where the component is placed nothig happens.

Does somebody know what is wrong?

The second question: Is there any easy way to change the scrollbar of a scrollpane, or maybe a whay to create my own scrollpane?

Thanks a lot,
Peter

Skinning CS3 Components
I'm having trouble understanding how to skin the flash components other than just changing around the original skin. I've looked over google and the docs and haven't had much luck. What I want to do is change the color of a row on the datagrid based on a value. But I'll settle for changing the text color, setting the row as "selected" by default with actionscript instead of the mouse or changing individual cells, but I haven't had a whole lot of luck figuring out how.

Here are some things that I'd tries that don't work:

var middleRow:Object = dg.getItemAt(1);
middleRow.selected=true;
middleRow.setStyle("backgroundColor",0xFFFF00);
dg.setStyle("backgroundColor",0xFFFF00);

All of these don't do anything, I don't get an error but no colors change either.

Can someone help? Thanks so much!

Skinning A Component With AS
Hi all,

I'm trying to change the graphics on the UIScrollBar component (which is attached to a scrollpane). Problem is, any that I specify an alternate movieclip (skin) for are not showing up. For example, if I specify the mouse over clip for the scrollbars arrows, they disappear.

I opened the standard and halo theme provided FLA files and copied the entire ScrollBar Assets folder over to my project. I altered the graphics and just tried it like this (making sure asset MCs were export in first frame). That had no effect. I then specified some changes in the init portion of my createClassObject() (e.g. {ScrollUpArrowOver:"SomeValidLinkageID"}) but the clip just keeps disappearing. Since the change is global to my whole project I started adding it to the prototype (e.g. mx.controls.UIScrollBar.prototype.upArrowOverName = "SomeValidLinkageID";), and that does (you guessed it), the same thing.. disappears!

How can I change the graphics on a scrollpane components scrollbar that I'm dynamically adding via createClassObject()??

Thanks for any info!

edit:

I should note that if I comment out the prototype lines or the init object declarations and such, the scrollpanes scrollbar goes back to normal. So I'm sure I'm affecting the right scrollpane with the code. I copied the assets from the FLAs flash comes with (via open external library and dragging into my project) so I'm sure the movieclips I'm using are good (I didn't make 'em). I didn't make any drastic changes to the movieclips, I literally changed the themeColor of the clips, just to see if I could do it so it can't be some wacky movieclip issue. I also tried enabling export on first frame for each clip I'm using as a skin (and tried with export in first frame disabled) and neither have any effect.





























Edited: 05/20/2008 at 10:16:34 AM by ominous93

Mediacomponents Skinning
I really need help quicky! I have a very short time left to complete my project.

I have flash mx 2004 Professional and i am using the MediaComponents for video playback.

I want to change the skin, however, i found out you can't do it. CAN YOU use the MediaComponents.fla in First Run/ComponentFLA?

Can i change all the graphics in it and use it? In this file where will i upload the video/music file into? OR where can i put a address to the file.

thanks.

Skinning V2 Components
I had the hardest time trying to skin the scrollbar (which is a subcomponent) for the TextArea component. Finding no definitive answer in any one place, I did however piece together enough information to finally accomplish just that.

Here's the steps I took to do it.....

1. I opened the HaloTheme.fla
(Path.....Flash root installation folder>en>FirstRun>ComponentFLA>HaloTheme.fla

2. Save as myTheme.fla (or any other name you choose)

3. Open Library (Ctrl+L)

4. Inside the Flash UI Components 2 folder navigate to Theme>MMDefault

5. Open each folder for the component you wish to skin and break it down to the core assets and modify to your liking

6. Save fla after all modifications are made

To Use Your Modified Skin

1. Open a new Flash document (Save As and name it as you wish...here I'll use appliedTheme.fla)

2. Open the myTheme.fla file (or your choice)

3. Drag the Flash UI Components 2 folder from the myTheme.fla library to the stage of appliedTheme.fla

4. You now have the Flash UI Components 2 folder in the appliedTheme.fla....just use the components from the Components Panel as before

I'm sure there are other ways, but that worked for me. I know it has to possible with AS too. (I was able to do the TextArea background with AS but not the scrollbar). I did the TextArea with....



ActionScript Code:
// Change background color of TextField component instance myText_txt.setStyle("backgroundColor", "0x5a6970") myText_txt.setStyle("borderColor", "0x6e818a")     /*Outside Top and Bottom*/ myText_txt.setStyle("highlightColor", "0xabc9d6")  /*Inside Top*/ myText_txt.setStyle("shadowColor", "0xabc9d6")     /*Inside Bottom*/ myText_txt.setStyle("borderCapColor", "0x6e818a")  /*Outside Left and Right*/ myText_txt.setStyle("shadowCapColor", "0xabc9d6")  /*Inside Left and Right*/

Skinning Components
Hi,
I wonder wich code I need to put in actionscript to not have a srollbar in a list component. I know the one for border for example : myList..setStyle("borderStyle","none");
Is there something for scrollbars????
Or is there anybody that knows a complete list for all styles???
Thank's a lot

Skinning Components
Hi,
I wonder wich code I need to put in actionscript to not have a srollbar in a list component. I know the one for border for example : myList..setStyle("borderStyle","none");
Is there something for scrollbars????
Or is there anybody that knows a complete list for all styles???
Thank's a lot

Skinning Scrollbar
Does anyone know how to skin the scrollbar component? Some people reviewing my site suggested to make it look more like my site.

Skinning Scrollbars
When you use the scrollbar component in Flash MX2004 they are white/offwhite, is there a easy way to skin them. I've seen tutorials on how to make your own but someone mentioned "just skin them yourself".

http://rberry883.home.comcast.net

Skinning The Datagrid
hi

can someone please tell how do i change the header of the datagrid component?

i've tryed with

datagrid.setStyle("headerColor","0x000000") for an example and it changes color but keeps the gradient pattern underneath it

i've tryied to apply a CSS style and it didin't work to

all i want is to get rid of that gradient, can someone tell me how?

thanks

Skinning The Scrollpane
Hi

I'm making another website that requires the scrollpane component, to scroll a collection of images and buttons, in a window of limited size.

I'd much rather make my own version of the scrollpane component (not necessarily a component, but something that will replace the scrollpane, even if it involves me writing it in actionscript. Basiclly something i can have more control over) but since I don't know how to do that, I'll need to replace the look of the scrollpane.

My website won't be using colours that will work well with the grey look the scrollpane has. So I need help modifying it. (my site will be orange, with some off yellow. weird but it'll look good)

Does anyone have any tutorials or suggestions on how I could/should go about doing this?

I'll work on the rest of the site while I see if anyone will reply.

Thanks for at least reading this

-Lem

P.S. I'm using Flash 8 for my site, but I also have Flash MX 2004, Flash MX, and Flash 5. And if I really have to I can drop down a version.

Skinning The Scrollbar
Hey all,

Sorry if this has been posted before..

I read gotolearn's tutorial about skinning components and had a go at skinning the scrollbar component, but it's insanely hard.. does anyone have any advice? or maybe a link to a tutorial, specifically showing how to skin the v2 scrollbar?

Thanks all!

Ben

Skinning A UIScrollBar
I used to work with Flash MX2004 and a downloaded scrollbar I could skin by changing the actual movieclips. Pretty straight-forward.

But now I'm wondering about the UIScrollBar in Flash 8. Is it possible to change everything about that scrollbar? The shape, size, colors, ... not just a silly color when you click on the buttons by using a Theme. If so, how do I do this?

Hope you guys can help me because google is failing me

Skinning A Scrollbar...
Heya,
Can anyone point me to a really clear and simple tutorial on how to create a custom scrollbar or skin a component scroll bar?? Thanks!

Skinning A DataGrid
I'm working on a project where I have to simulate an application screen and indicate whether the responses are correct or not. Basically, it will consist of a screen shot of the actual application with components plopped on top of it. I'm using a Form Application to put the whole thing together to keep my stage from getting too cluttered. There will be 6 DataGrids that are populated by XML files, along with about a dozen text fields. I have most of my functionality the way I want it, but the problem I'm running into is that the dataGrid doesn't look anything like I need it to. I've tried altering the skins, but it isn't doing anything for the title bars or the selected object. It doesn't have to be spot-on, but it should at least look more like the original than it currently does.

I'm attaching a 2 screen shots of what I have and 1 of what it's supposed to look like. Anybody out there know how to make this happen? I'm ok with actionScript, but by no means am I an expert. That being said, if there's a non-AS method for this, that's my preference. However, AS or not, I am open to ALL suggestions.

Thanks!

Skinning ScrollPane
I know it's possible to skin scrollPane in Flash 8 but i can't find the way to do it so i would really like to know how it can be done? I tried with editing component but with no luck. All i am trying is to change scroll and arows color.

thanks

Copyright © 2005-08 www.BigResource.com, All rights reserved