-
1. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
Ned Murphy Sep 11, 2013 12:56 PM (in response to iBabs2)Can you explain what the code you show is supposed to be doing and how the movieclip you speak of fits into it?
It looks as if you are using timeline animations and trying to control them by timeline navigation. If you need something to move up and down, consider using actions to accomplish that.
-
2. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
kglad Sep 11, 2013 12:57 PM (in response to iBabs2)you want mc_data to gotoAndPlay("down") and when that completes, gotoAndPlay("up")?
if yes, how do you determine when the "down" sequence of frames completes?
p.s. you can attach a file by posting a response and then editing it, but most of us do not download and correct files.
-
3. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
iBabs2 Sep 11, 2013 1:31 PM (in response to Ned Murphy)Well, on the mc_data movie clip, I had the animation going up and down with stop actions to stop it. so I put labels on those areas and tried to just control it that way. Seemed simple enough, but not working.
I really don't know how to control the toggle up and down in AS without using the timeline....just trying to help a friend, and ready to scream..I thought this would be so simple...
would be easier to explain if I could show you a dummy file...but I still don't see an attach button????
-
4. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
kglad Sep 11, 2013 1:58 PM (in response to iBabs2)again:
you want mc_data to gotoAndPlay("down") and when that completes, gotoAndPlay("up")?
if yes, how do you determine when the "down" sequence of frames completes?
p.s. you can attach a file by posting a response and then editing it, but most of us do not download and correct files.
-
5. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
iBabs2 Sep 11, 2013 2:04 PM (in response to kglad)Well, I had some success putting the user interaction for that last one, inside of its own movie clip. Of course other things are acting weird. Maybe that is the best way to go, put each set of buttons and action in their own movie clip.??
The action was getting activated by user hitting an invisible button on the main timeline and each time you hit the button, the movie clip timeline would continue. All was well, until one had to go both up and down to view some elements below....
-
6. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
iBabs2 Sep 11, 2013 2:34 PM (in response to iBabs2)hmmm..OK. so I have replied and then I click edit, but still can't find a way to load a fla file ;(
I actually have all the pieces someone working, but they don;t all open and close as easily as they originally did...Need help with some clean up...
Where is the upload for fla option??? I can't find it anywhere???
thanks!!
babs
-
7. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
iBabs2 Sep 11, 2013 2:44 PM (in response to iBabs2)I have a thought....is there a way to have a button, just hide a movie clip on the main timeline???
If so, I could duplicate this one movie clip and make one go up and one for the down and just hide the other one when the user clicks the appropriate button and then have it show again when the button is clicked for that particular one...does that make sense???
How easy is it to hide and show a mc?
thanks!
babs -
8. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
Ned Murphy Sep 11, 2013 2:48 PM (in response to iBabs2)to control the visibility of a movieclip you can set its visible property to true/false...
mc_data.visible = true; // show it
mc_data.visible = false; // hide it
-
9. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
iBabs2 Sep 11, 2013 2:51 PM (in response to Ned Murphy)Ok Ned..gonna try that option...thank you!!!
-
10. Re: Trying to get a movie clip to go both up and down depending on which button gets clicked
iBabs2 Sep 12, 2013 8:33 AM (in response to iBabs2)Hi Ned,
That worked perfectly....took a little finagling, but I got everything to work the way I needed to. I know it's a workaround.... But, just trying to help a friend
thanks!!!babs



