all groups > flash (macromedia) > january 2004 >
You're in the

flash (macromedia)

group:

Control buttons in MPG Movie Clip


Control buttons in MPG Movie Clip kevin_tx
1/28/2004 10:46:15 PM
flash (macromedia):

Hey all...

Once I imported my MPG file and after crunching it in sorenson and placing it as a movieclip on the screen, I realized I needed some "pause" and "play" buttons.

For the "Pause" I imported one of the stock green-gel buttons on screen and inserted the following Actions:

on (releasestop();
) {
}

....and continue to get an error whenever I try and preview the movie and of course the button doesn't work. Here is the error:

**Error** Symbol=student1, layer=pause, frame=1:Line 1: Invalid mouse event specified.
on (releasestop();

**Error** Symbol=student1, layer=pause, frame=1:Line 2: Syntax error.
) {

**Error** Symbol=student1, layer=pause, frame=1:Line 1: Statement block must be terminated by '}'
on (releasestop();

**Error** Symbol=student1, layer=pause, frame=1:Line 4: Syntax error.

Total ActionScript Errors: 4 Reported Errors: 4

Any idea what I am doing wrong? I can't make sense out of the info above. I figure - "on Release" of pressing the button I simply want it to "stop". Isn't that a pause? I never got around to the "play" as I figure I'd get the "pause" down first and once I correct it I'll be able to figure out the "play".

Thanks in advance for your help -

Sincerely,

Kevin
McKinney, TX

Re:Control buttons in MPG Movie Clip gangof4
1/28/2004 10:52:57 PM
Kevin,

I don't know the answer to your question, but I live just 20 miles north of you (I work at Grayson County College). Would you be interested in tutoring me in a few areas? If so, we can discuss a price.

Re:Control buttons in MPG Movie Clip kevin_tx
1/29/2004 1:58:57 AM

gangof4...

I don't know enough about the software to warrant charging anyone for helping them out a bit, you'd really do better just going to the various flash tutorials (both in the software and on the many 3rd party sites out there on the web) and spending some time in forums like this one - especially this one.

The people here are great and non-judgemental. Also, I'd suggest picking up a couple of books from Barnes and Noble (don't start out with the Flash Bible - type books). I'd suggest picking up something like the following:

http://search.barnesandnoble.com/booksearch/isbnInquiry.asp?userid=2UOLRPYDII&isbn=0321213440&itm=1

Peachpit Press puts out some great books at a great price (19.99) and I've learned a lot from them and they go at a good pace for beginners and intermediate-level folks like us.

Hope this helps -

Kevin
McKinney, TX

AddThis Social Bookmark Button