Solved

how cna I do this...?

Posted on 2001-06-05
4
191 Views
Last Modified: 2010-04-03
Hi there,

Being a total Flash 5 newbie I need some help...  What I want to do is this:

I would like to have 3 sets of images, and when a user clicks on a button it changes each of the images out of a set of pre-defined images, such as:

start image a - start image b - start image c

start image a will flick through at random from a set of images for 'a'.  start image b will flick through at random a set of images beloning to set 'b', etc.

You can think of this as a really simple slot machine, or something.

Can anyone show me the ropes and explain what steps need to be taken?  I don't know if there should be an image on each frame, one set of images all on the same frame (different layers), etc.. and I really need to know what action-scripting I'd need to do to start/stop the flipping of images.

Thanks for any help you can give me!

Andy
0
Comment
Question by:aahzman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 1

Author Comment

by:aahzman
ID: 6159269
Hi there,

No worries about answering the question.  I actually worked out how to do it all on my own - which I'm pretty proud about!  (small accomplishment on the scale on things, but it's a start!)

Incase anyone else is interested and doesn't know how to do it, this is what I did:

Created 3 symbols; a button and two movies.  The two movies had the 'stop()' action as their first frame, and from frame 2 and one I had images.  In the main sceene I attached an action to the button that sent a 'gotoandplay' to frame 2 on each of the other symbols.  Then when I hit it again I sent a stop to those symbols.

And that's it!  Easier than I though, looking back at it.

Andy
0
 

Expert Comment

by:zeekmama
ID: 6161376
Simply create a movie clip containing the same number of frames as you have images to show. Place a different image and a stop(); action on each frame.

Give this movie clip an instance name, such as "slides" on the mainstage. Then all you need to add is a button with an "onRelease" action of slides.nextFrame();
0
 

Expert Comment

by:zeekmama
ID: 6161379
My bad, didn't read completely. What you can do it use the example above and duplicate it 3 times, with different images in each movie clip.

Then you can use the random function to output a random number, which can be used as a frame number to goto for the different movies.
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 8302493
PAQ'd and points refunded.

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Stock Videos 17 346
Download Adobe Flash Player 6 67
free photo watermark software 5 102
Text Transformation using ActionScript 3 5 178
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question