Having trouble with a "simple" flash slide show

0 views
Skip to first unread message

Romola Chrzanowski

unread,
Nov 23, 2009, 7:37:04 PM11/23/09
to ne...@googlegroups.com
I wanted to try a "simple" flash slideshow, quite willing to use
software to accomplish it. I spent much of last week trying out
different software -- from Coffee Cup, to ProShow Gold, ProShow
Producer, and just got SmishMax. (Some of these seem to require
purchasing templates ... to get enough out of them)

Finally, I decided to bite the bullet and try Flash itself, and found a
simple tutorial on creating a "simple" slideshow:
http://www.republicofcode.com/tutorials/flash/video/slideshow.php
This walks through creating AS2 code with 2 buttons-- next and previous.

That is great, except the narrator mentions a series of tutorials, and I
can't find the next ones, so am now struggling with what to do next. Now
I want to add pause/continue. I found some code that might work, but am
currently stuck on a really dopey problem. I inserted the code into
frame1 and cannot get it into the other frames. I just have 6 slides.
Each slide is a keyframe, and the button code shows up and works on
every page. How do I get the entire actionscript inserted into every
frame? Do I need to have the pause/restart buttons in order to do this.
The pause now works fine on slide one.

Here is the code:
============================
stop();

var startTime:Number = getTimer();
var pausedTime = 0;
//countTo = number of secs
var countTo:Number = 4;
var ref:MovieClip = this;

this.onEnterFrame = function():Void {
if (!paused) {
var elapsedTime:Number = getTimer()-ref.startTime-pausedTime;
var count:Number = Math.ceil(countTo-(elapsedTime*0.001));
if(count<1) {
this.gotoAndPlay(nextFrame());
}
}
}
next_btn.onRelease = function() {
if (_root._currentframe == 6) {
gotoAndStop(1);
}
else {
nextFrame();
}
}

prev_btn.onRelease = function() {
if (_root._currentframe == 1) {
gotoAndStop(6);
}
else {
prevFrame();
}
}
=============================
Thanks for any suggestions, including a tutorial on simple slide shows,
part 2.
Regards.
Romola Chrzanowski

jean andrÿffffffffffe9 mas

unread,
Nov 24, 2009, 12:49:17 PM11/24/09
to ne...@googlegroups.com
You can check some of my tutorials for slideshow using AS3 at aswebcreations.com

--- En date de : Mar 24.11.09, Romola Chrzanowski <rom...@verizon.net> a écrit :
--

You received this message because you are subscribed to the Google Groups "New England Adobe User Group" group.
To post to this group, send email to ne...@googlegroups.com.
To unsubscribe from this group, send email to neaug+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/neaug?hl=.



Romola Chrzanowski

unread,
Nov 24, 2009, 1:31:28 PM11/24/09
to ne...@googlegroups.com
Thank you so much! I will start with your Creating a Simple Slide Show
with Actionscript3 tutorial.

Romola C.

jean andr�ffffffffffe9 mas wrote:
> You can check some of my tutorials for slideshow using AS3 at
> aswebcreations.com
>
> --- En date de : *Mar 24.11.09, Romola Chrzanowski
> /<rom...@verizon.net>/* a �crit :
> </mc/compose?to=ne...@googlegroups.com>.
> To unsubscribe from this group, send email to
> neaug+un...@googlegroups.com
> </mc/compose?to=unsub...@googlegroups.com>.
> For more options, visit this group at
> http://groups.google.com/group/neaug?hl=.
>
>
>
> --
>
> You received this message because you are subscribed to the Google
> Groups "New England Adobe User Group" group.
> To post to this group, send email to ne...@googlegroups.com.
> To unsubscribe from this group, send email to
> neaug+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/neaug?hl=en.

Reply all
Reply to author
Forward
0 new messages