This is a discussion on "Navbar Slider" within the Flash & Multimedia Forum section. This forum, and the thread "Navbar Slider are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
Navbar Slider
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
Navbar Slider
Hello,
Please view http://www.kirupa.com/developer/mx20...ith_slider.htm to get a look at what I am trying to attempt. But I am modifying it. My buttons are different sizes, so I am trying to make the slider various sizes(widths) also. I have created a fla file using the above tutorial. I know my attempt is incorrect, but I was wondering if you could see my fla and point me in the right direction. The tutorial uses a single symbol as the movie clip. I have created an actual movie clip, which is where I am wrong. I have included the AS as instructed by tutorial. Thanks. |
|
|
|
|||
|
Re: Navbar Slider
I downloaded the source file from Kirupa...you need to put this on each respective button...
Cheers, Scott
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Re: Navbar Slider
Thank you.
The reason I did a tween is because the slider is a different size as it goes to each button. How do I reflect that in the design? Do I need a MC for each size?or perhaps 1 frame in the same mc and have the frame displayed as it goes to its assigned button? |
|
|||
|
Re: Navbar Slider
You can do that in your actionscript...as the AS tells the MC to go to different frames...you can use the "_scale" class to adjust the size...
i.e. slider._scale = 50; //50% the size. Something like that...
Last Blog Entry: Yay!? (Oct 8th, 2007)
|
|
|||
|
Re: Navbar Slider
Is there an X-scale class?
The only change to scale is the width. on (rollOver) { // slider - Movie Clip's Instance Name. button_1 - Button's Instance Name. slider.xMove = button_6._x; } on (rollOver) { slider._xscale = 1; } This is the script I have for the first button. The original size of the mc. Is this correct? I am not very educated on AS, but have found a few tutorials. thanks. I have edited this as I am making changes to script. Last edited by Rick; Sep 20th, 2007 at 22:44. |
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| dual slider layout | pesho318i | Web Page Design | 2 | Dec 6th, 2007 12:43 |
| implementing a Double Slider | pesho318i | JavaScript Forum | 5 | Nov 20th, 2007 12:47 |
| slider moving problem | arhun | JavaScript Forum | 1 | Sep 14th, 2007 15:38 |
| Slider/Progress Bar | JCote1985 | Flash & Multimedia Forum | 1 | Aug 2nd, 2007 21:22 |
| Image Slider | Artry | Flash & Multimedia Forum | 2 | Jul 23rd, 2007 08:39 |