# Here ya go scotty

**URL:** <https://forum.kirupa.com/t/here-ya-go-scotty/34834>\
**Category:** flash\
**Created:** [November 6, 2003, 11:11pm UTC](https://forum.kirupa.com/t/here-ya-go-scotty/34834 "2003-11-06T23:11:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![dynastyjp](https://avatars.discourse-cdn.com/v4/letter/d/34f0e0/32.png) [@dynastyjp](https://forum.kirupa.com/u/dynastyjp)\
**Post date:** [November 6, 2003, 11:11pm UTC](https://forum.kirupa.com/t/here-ya-go-scotty/34834/1 "2003-11-06T23:11:47Z")

</div>

[http://www.eyeofthestormmusicgroup.com/unspeakable.zip](http://www.eyeofthestormmusicgroup.com/unspeakable.zip)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 6, 2003, 11:16pm UTC](https://forum.kirupa.com/t/here-ya-go-scotty/34834/2 "2003-11-06T23:16:24Z")

</div>

okay, downloading:thumb:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2003, 12:49am UTC](https://forum.kirupa.com/t/here-ya-go-scotty/34834/3 "2003-11-07T00:49:50Z")

</div>

oops, it’s getting late…  
i got it (a little bit) working, i hope i understand the setup you have.

[AS]on (rollOver) {  
\_root.rollover.gotoAndPlay(“RollOn7”);  
}  
on (rollOut) {  
\_root.rollover.gotoAndPlay(“RollOff7”);  
}  
on (release) {  
if (\_global.currMovie != “articles”) {  
\_root.contents.loadMovie(“articles.swf”);  
if (\_root.contents.\_currentframe == \_global.midframe) {//this is not working right. at least here  
\_root.contents.play();  
}  
}  
}[/AS]  
on your button (there’s a typo in your rollovermc (roffover7))  
at the end of your swf:  
[AS]\_global.currMovie = “articles”[/AS]  
and in the beginning \_global.midframe= …  
hope this will help

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2003, 1:01am UTC](https://forum.kirupa.com/t/here-ya-go-scotty/34834/4 "2003-11-07T01:01:24Z")

</div>

thanks for trying :).

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2003, 10:24am UTC](https://forum.kirupa.com/t/here-ya-go-scotty/34834/5 "2003-11-07T10:24:07Z")

</div>

didn’t work??  
[AS]on (rollOver) {  
\_root.rollover.gotoAndPlay(“RollOn7”);  
}  
on (rollOut) {  
\_root.rollover.gotoAndPlay(“RollOff7”);  
}  
on (release) {  
if (\_global.currMovie != “articles”) {  
\_root.contents.loadMovie(“articles.swf”);}  
if (\_global.currMovie = “articles” && \_root.contents.\_currentframe == \_global.midframe) {  
\_root.contents.play();  
}  
}

[/AS]  
the second “if” should be outside the first one.  
let me know if you’ve found out what was wrong:h:

scotty

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2003, 1:24pm UTC](https://forum.kirupa.com/t/here-ya-go-scotty/34834/6 "2003-11-07T13:24:32Z")

</div>

No, still can’t get it to work…I have until tommorow night. It was working at first…then it started screwing up…and I really need to get this to this client ASAP…and this is the only thing keep me from doing it.

If anyone else wants to help I basically have in and out animations for each section…that work fine…or used to. But even when it worked alright it was rendered useless when loaded into another movie because the MC’s were no longer \_root. I figured I’d just change a couple of things and it would work fine. The link to the zip is in this thread if you want to give it a shot. Home.fla is to be loaded in index.fla a couple of sections have been included to test the “in” and “out” transitions to make sure they work. Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2003, 4:44pm UTC](https://forum.kirupa.com/t/here-ya-go-scotty/34834/7 "2003-11-07T16:44:45Z")

</div>

okay, i won’t give up. i misunderstood the index.fla.  
this is working here: i puton the end of swf instead of the load mov thing:  
[AS]\_global.currMovie = “articles”  
[/AS]

and for your button (articles eg):  
[AS]on (rollOver) {  
\_root.homeloader.rollover.gotoAndPlay(“RollOn7”);  
}  
on (rollOut) {  
\_root.homeloader.gotoAndPlay(“RollOff7”);  
}  
on (release) {  
if (\_global.currMovie != “articles”) {  
\_global.currMovie = “articles”;  
\_root.homeloader.contents.loadMovie(“articles.swf”);  
} else if (\_global.currMovie == “articles”) {  
if (\_root.homeloader.contents.\_currentframe == \_root.homeloader.contents.midframe) {  
\_root.homeloader.contents.play();  
}  
}  
}  
[/AS]

scotty(-:  
ps i don’t know what you wan twith the midframe, better change that to global also(check my other post)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 7, 2003, 10:31pm UTC](https://forum.kirupa.com/t/here-ya-go-scotty/34834/8 "2003-11-07T22:31:46Z")

</div>

Thanks, I’ll give it a try, I’ll hit you with a PM if I have any questions!!
