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!

Problem

Status
Not open for further replies.

slasticar

Technical User
Nov 1, 2006
12
BA
I have two movie , one is name intro.dir, and one has name text.dir. How Can I conect this two movie, i want that when I finish with movie intro.dir that i am going to movie text.dir when i click on the button go.

Thank you
 
Thank you, it' s working and it' s going autoamticaly but I want to click on button go and whene I click on this button that I go on movie text.dir
 
Sorry, I misunderstood your initial post. Here's how to do.

Put this at the end of your intro.dir so that the playhead stays there:
Code:
-- Frame script
on exitFrame me
  _movie.go(_movie.frame)
end exitFrame

Attach this to your button:
Code:
-- Behaviour script
on mouseUp me
  _movie.go(1, "text.dir")
end mouseUp


Kenneth Kawamoto
 
Hy, it is not working, I put on the end of intro.dir:

-- Frame script
on exitFrame me
_movie.go(_movie.frame)
end exitFrame

and on the button go i Attached behavior script :

on rightMouseDown me
play movie "Text.dir"
end

and it is working with right click of mousse but I cannot to put something that is working with both key of mouse.
 
My mistake, i put on the stage flash button and becuase i havent'had possibility to make mouse click. Thank you for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top