What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Simple flash thing with buttons and a few frames

Simple flash thing with buttons and a few frames
Author: Message:
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. Simple flash thing with buttons and a few frames
[A]                O
                 __|__
[B]                 |
                     /\
[C]               /   \


When nothing is pressed, frames 1-8 repeat over and over

when A is pressed, frames 9-18 are played, then returns to playing 1-8

when B is pressed, frames 19-28 are played, then returns to playing 1-8

when C is pressed, frames 29-38 are played, then returns to playing 1-8


How do i do this with action script?

if simpler, how do i do this with actionscript where its blank until a button is pressed, ignore the 1-8 thing.



ive been trying to use

code:
on(release) {    this.gotoAndPlay(9);  }

but i can't stop it at the end of the sequence,
i cant get it to goto the begining 8 frame
and i cant get it to just repeat the first 8 frames for a bit whilst not playing the others until told to!


:(

any help is appreciated!
thanks!

[Image: lost7ru.gif]
01-08-2009 11:47 PM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Simple flash thing with buttons and a few frames
I will make a quick flash thing for you and upload it... just give me a few minutes and it will be done ;o

edit: quick note... im using flash 8... so hopefully it will work properly for you ;o

ok i have added the attachment with it... its a really rough thing because i did it so quick... only thing you could make to do it better is have the action script for making it go back the the start on another layer so that you dont ahve to copy and paste the last frame in...

and i made movie clip buttons so the action script is on it and that... just have to click the button and you can see the action script in your actions window :)

.rar File Attachment: M73A_Halp.rar (4.18 KB)
This file has been downloaded 129 time(s).

This post was edited on 01-09-2009 at 02:32 AM by NanaFreak.
01-09-2009 02:19 AM
Profile PM Find Quote Report
M73A
Veteran Member
*****

Avatar


Posts: 3213
Reputation: 37
34 / Male / Flag
Joined: Jul 2004
O.P. RE: Simple flash thing with buttons and a few frames
wow!

that works AMAZINGLY

thank you SO much! haha :D

ahh the frame having gotoandplay(1) ... clever:P

i like that A LOT!!!

thank you SO MUCH!

[Image: lost7ru.gif]
01-09-2009 07:46 PM
Profile E-Mail PM Find Quote Report
NanaFreak
Scripting Contest Winner
*****


Posts: 1476
Reputation: 53
32 / Male / Flag
Joined: Jul 2006
RE: Simple flash thing with buttons and a few frames
np... its easy flash stuff really... just a bit of logic ;o
01-10-2009 01:53 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On