Welcome to GraphicForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Newbie - Trouble with movie embedded in a button

 
   Graphic Forums (Home) -> Newbie Corner RSS
Next:  Movie freeze on site re-visit in Firefox and Oper..  
Author Message
menehune3

External


Since: May 31, 2007
Posts: 5



(Msg. 1) Posted: Fri Jun 01, 2007 6:58 pm
Post subject: Newbie - Trouble with movie embedded in a button
Archived from groups: macromedia>flash (more info?)

How do I get it to not play again after clicking? I realize it is responding
this way because after I click, I am technically "mousing over" because my
mouse is still there. Do I need to do this differently or is there some simple
text I can add so that it doesn't play again?

 >> Stay informed about: Newbie - Trouble with movie embedded in a button 
Back to top
Login to vote
Anonymous Chief

External


Since: Jun 01, 2007
Posts: 1



(Msg. 2) Posted: Fri Jun 01, 2007 6:58 pm
Post subject: Re: Newbie - Trouble with movie embedded in a button [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Sorry, can you elaborate that.

"menehune3" <webforumsuser DeleteThis @macromedia.com> wrote in message
news:f3q1vj$nsc$1@forums.macromedia.com...
> How do I get it to not play again after clicking? I realize it is
> responding
> this way because after I click, I am technically "mousing over" because my
> mouse is still there. Do I need to do this differently or is there some
> simple
> text I can add so that it doesn't play again?
>

 >> Stay informed about: Newbie - Trouble with movie embedded in a button 
Back to top
Login to vote
brym

External


Since: Jun 02, 2007
Posts: 4



(Msg. 3) Posted: Sat Jun 02, 2007 2:48 am
Post subject: Re: Newbie - Trouble with movie embedded in a button [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Jun 1, 10:10 pm, "menehune3" <webforumsu....TakeThisOut@macromedia.com> wrote:
> How do I get it to not play again after clicking? I realize it is responding
> this way because after I click, I am technically "mousing over" because my
> mouse is still there. Do I need to do this differently or is there some simple
> text I can add so that it doesn't play again?

You can disable the button when you tell it to do whatever else it's
meant to do. In Flash 8, try this from the main timeline:

button.onRollOver = function() {
// your buttons regular actions here, then disable the button with
_root.button.enabled = false;
}

In Flash 9, try this from the main timeline:

button.addEventListener("mouseOver", doThis);
function doThis(event:MouseEvent) {
// your buttons regular actions here, then disable the button with
this.button.enabled = false
}

Hope this helps!
 >> Stay informed about: Newbie - Trouble with movie embedded in a button 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Newbie having trouble - I'm new to Flash, Have got the new Flash 8 Pro. I'm trying to start at the beginning with tutorials to learn how to use flash. The first tutorial under the "getting started with flash" area is "building your first flash application&quot...

Newbie sound on/off button - Hi, I am a newbie to Flash. All I want to do is make a flash movie that loops a song and the possibility to stop and play that song. The button should change appearance depending on whether the music is on or off. Sounds easy but I am lost here...

Newbie Problem with my Animated Button..... - Hello, I posted this in the General Discussion Forum, but maybe it's more of a Newbie Question so here it is again..... I seem to be having a problem with a "Button" i created inside of a "Movie Clip".... I simply wanted to crea...

Newbie - changing button frame number references - I didn't leave enough room in my timeline and need to move almost everything forward. The buttons frame refs (example: on(press) {gotoandplay(60)}) still stay the same and are then wrong. Is there an easy way to get the numbers to change..

newbie: inserting a movie clip - I've created a flash movie (we'll call it movie1) that I would like to insert into another movie (we'll call it movie2). I've learned there's no way to put the .swf in the new movie, so I've been creating a new movie clip in movie2, then pasting th...
   Graphic Forums (Home) -> Newbie Corner All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]