Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

adding a volume slider

Status
Not open for further replies.

t5pete

Technical User
Mar 20, 2001
52
0
0
US
Im trying to add a volume slider to my website. Im using Flash 5. I tried following along with the help files but when I go to enter the action script for: on clip event--enter frame, I copied and pasted the code in and I keep getting an error saying "the action on the clipboard contains errors, actions with errors cannot be pasted into normal mode." Im just a beginner with code, so forgive my stupidity, Im more of a designer.
Thanks,
t5
 
Can you copy & paste here the code you were trying to add?

Regards,
new.gif
 
Here's the code I was trying to copy and paste from the help files.
Thanks again
t5onClipEvent (load) {
top=_y;
left=_x;
right=_x;
bottom=_y+100;
}

onClipEvent(enterFrame){
if (dragging==true){
_root.s.setVolume(100-(_y-top));
}
}

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top