flash button

The place to hang out and talk about totally anything general.
the white raven
level1
level1
Posts: 11
Joined: Wed Aug 30, 2006 8:58 pm
Location: not quite sure

flash button

Postby the white raven » Wed Feb 07, 2007 1:28 pm

i currently trying to make a flash animation and i want to make a play button but i can it says

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 2: Mouse events are permitted only for button instances
on(release) {

Total ActionScript Errors: 1 Reported Errors: 1
when i test the movie the action script is on the timeline the script is

stop();

on(release) {
play( );
};
any idea please explain it i a very simple way

thank you
Stewsburntmonkey
level5
level5
Posts: 11553
Joined: Wed Jul 10, 2002 7:44 pm
Location: Nashville, TN
Contact:

Postby Stewsburntmonkey » Wed Feb 07, 2007 3:20 pm

It looks like the mouse event is attached to the frame rather than the button. Delete the mouse event and then click on the button to select it and then add the event again and see if it works. :)

Return to “Introversion Lounge”

Who is online

Users browsing this forum: No registered users and 24 guests