Hover caption/volume bar problem

Alright, so my hover captions were working just fine, then I added a volume bar. If you mouse-over one of the 4 buttons the hover captions work fine, but as soon as you touch the volume slider, the captions only align over the slider…

Any ideas?

[http://web.ics.purdue.edu/~rstremke//mp3_tracks.swf](movie file)

I’d post the flash file itself, but it seems to be 65MB for some unknown reason…

edit: copy and paste link for it to work

65MB???

Thats what is says when I browse to the file in windows. I really have no idea why it would be that large.

On another note that may be of use, I made both the captions and slider by following the tutorials on the site, and didnt make any changes to the code, besides the alpha on the captions.

Wut u have in your file? sounds? :q:

I would have to take a look on the code…
If u succeed on reducing the file size, perhaps you could put the file on a free domain, such as geocities, lycos…
:wink:

Alright, I still have no idea why the first one was so big, there were only 11 objects in the library, all were buttons or movie clips. Anyways, I copied and pasted everything to a new .fla. It still has the exact same problem.

Here’s the .fla

Thanks.

Ok i think i fixed it…
:wink:

Works perfectly, thank you.

What exactly did you change, before I try to compare all of the AS?

On your slider movie you had this code:
[AS]this.ratio = 0;
dragger.onPress = function() {
this.startDrag(true, 0, 0, line._width, 0);
this.onEnterFrame = function() {
ratio = Math.round(this._x);
};
};
dragger.onRelease = dragger.onreleaseOutside=stopDrag;
[/AS]
I just changed last action for:
[AS]
dragger.onRelease = function() {
dragger.stopDrag();
startDrag(_root.caption, true);
};
dragger.onreleaseOutside = function() {
dragger.stopDrag();
startDrag(_root.caption, true);
};
[/AS]

Ahhh, I get it. Thanks a lot, again. Helped me with this and my general AS knowledge.

:slight_smile: