-
The White Flame
AS ver2 mouse down plays a movie clip?
What action script would you use (ver2) to make a mouse down on a button play a movie clip?
Thx for the help
-
are you using a video loader to play the video or do you want it to load a new video on top of the current?
-
The White Flame
I'm not using video.
I'm not using video the movie clip I'm refering to is a movie clip instance in flash.
-
trace("AKA: Biro Barna");
try using something like this:
( code goes on frame )
yourButton.onPress = function()
{
yourMovieClip.play();
}
| Windows MSN: birobarna [at] hotmail [dot] com | Skype: barna.biro | WebLog: http://blog.wisebisoft.com/ |
| Software Developer / Flash & Flex Developer | Student ( Computer Science ) | Interested in: Sharing Knowledge |
| Romanian Adobe Flash, Flex, AIR Forum: http://www.flashforum.ro/ | By perseverance the snail reached the ark. |
-
The White Flame
I got it
I guess what I was trying to do was get a button (movieclip) to control the main time line,the code I was looking for was this. In the button there was a hit state that was triggering the the hit area of the movie clip I simply attacked the _root.goToAndPlay("home") AS so that way it would go to the frame labled "home" in the main time line and then play the content from there.
on (rollOver){
this.gotoAndPlay("over")
}
on (releaseOutside, release, rollOut){
this.gotoAndPlay("release")
}
on (release){
this.gotoAndPlay("release")
_root.gotoAndPlay("home")
}
Thx for the help bro take it easy
John
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|