How To Make
Your Flash Quiz
Interactive
Adding Buttons
Next
Create Your Quiz
• Using all the tools that you have experimented with create
your quiz
o Use motion and shape tweens to make it appealing
o Make each question a new scene
o Create your “yeah” and “argh” scenes for right and wrong answers
• Once you have created all your scenes and you have all your
questions
o Name your scenes so they have meaning
o Create a button that your viewer can click to select the correct question
• You can create one button then drag new buttons from the library
• Now we need to stop your multimedia so we can read the
questions and give time to click the correct answer button
o Add a stop()
o Move your stop() to the end frame
• Now we need to click a button and it take you to the “yeah”
or “argh” scene
o Make your button interactive
• For problems see the troubleshooting section
Name Your Scene
Open the Scene
Panel
This panel opens. To rename
your scene double click the
current name
Creating Your Buttons
Make your
button(s) using
a shape
Create a layer
for your button.
Right click your shape and
choose Convert to Symbol.
Then name your symbol and
select a Button behaviourNext
Another Method For Buttons
• To create an interactive button with different states
1) Select New
Symbol… from
the Insert menu
2) Give your
Button a Name
3) Draw your
button. You should
use different layers
for text and shapes
4) Add Keyframes for each
state, changing the colour
for your shape and/or your
text, for each state
Next
Using Your Button
• The button
you have
just made
will now be
in the library
• You just
need to
drag the
button onto
your stage
to use.
• Don't forget
a new layer
first!
Add A Stop()
• You now need to add some
code in ActionScript to stop
your scene playing over and
over, or even moving onto
the next scene.
1) Add a new layer
and call it Stop
2) Open your
Actions panel
3) Click the plus
icon and choose
stop
4) Or, choose Global Functions,
Timeline Control then click stop Next
Moving Your Stop()
• Your ActionScript will probably be at the start of your
scene, if it is, drag the icon to the last frame
o You don’t want your scene stopping before it starts!
Catch the
ActionScript icon
and drag to the last
frame
Making Your Button
Interactive
• Making your button
interactive is simple and
involves more
ActionScript
1) Select your button
2) Click the plus and
choose Global Functions,
Media Clip Control and
click on
Next
Making Your Button
Interactive
3) A drop-down choice will appear, choose release
4) Click between the curly
brackets
5) Click the plus sign again and
this time choose Global
Functions, Timeline Control,
gotoAndPlay
Next
Making Your Button
Interactive
• Now you need to type just a small bit of the code to
tell the button where it is to go and play…
6) Your code now looks
like this
7) Click between the
brackets and type…
“name of your scene”, 1
This is the name of your
scene in “”
This is the frame number you would like your
scene to start from
Troubleshooting
• You click the correct answer but it doesn’t go to the
correct scene.
o Have you written your scene name in “” e.g. gotoAndPlay(“question1”,1)?
o Try renaming your scene to lowercase and no spaces
• Your scene won’t play
o Have you moved your stop () to the last frame?
• Flash won’t let you add your ActionScript, the code
is disabled
o Have you converted your image/text to a button?

How_to_make_ your_ quiz_interactive

  • 1.
    How To Make YourFlash Quiz Interactive Adding Buttons Next
  • 2.
    Create Your Quiz •Using all the tools that you have experimented with create your quiz o Use motion and shape tweens to make it appealing o Make each question a new scene o Create your “yeah” and “argh” scenes for right and wrong answers • Once you have created all your scenes and you have all your questions o Name your scenes so they have meaning o Create a button that your viewer can click to select the correct question • You can create one button then drag new buttons from the library • Now we need to stop your multimedia so we can read the questions and give time to click the correct answer button o Add a stop() o Move your stop() to the end frame • Now we need to click a button and it take you to the “yeah” or “argh” scene o Make your button interactive • For problems see the troubleshooting section
  • 3.
    Name Your Scene Openthe Scene Panel This panel opens. To rename your scene double click the current name
  • 4.
    Creating Your Buttons Makeyour button(s) using a shape Create a layer for your button. Right click your shape and choose Convert to Symbol. Then name your symbol and select a Button behaviourNext
  • 5.
    Another Method ForButtons • To create an interactive button with different states 1) Select New Symbol… from the Insert menu 2) Give your Button a Name 3) Draw your button. You should use different layers for text and shapes 4) Add Keyframes for each state, changing the colour for your shape and/or your text, for each state Next
  • 6.
    Using Your Button •The button you have just made will now be in the library • You just need to drag the button onto your stage to use. • Don't forget a new layer first!
  • 7.
    Add A Stop() •You now need to add some code in ActionScript to stop your scene playing over and over, or even moving onto the next scene. 1) Add a new layer and call it Stop 2) Open your Actions panel 3) Click the plus icon and choose stop 4) Or, choose Global Functions, Timeline Control then click stop Next
  • 8.
    Moving Your Stop() •Your ActionScript will probably be at the start of your scene, if it is, drag the icon to the last frame o You don’t want your scene stopping before it starts! Catch the ActionScript icon and drag to the last frame
  • 9.
    Making Your Button Interactive •Making your button interactive is simple and involves more ActionScript 1) Select your button 2) Click the plus and choose Global Functions, Media Clip Control and click on Next
  • 10.
    Making Your Button Interactive 3)A drop-down choice will appear, choose release 4) Click between the curly brackets 5) Click the plus sign again and this time choose Global Functions, Timeline Control, gotoAndPlay Next
  • 11.
    Making Your Button Interactive •Now you need to type just a small bit of the code to tell the button where it is to go and play… 6) Your code now looks like this 7) Click between the brackets and type… “name of your scene”, 1 This is the name of your scene in “” This is the frame number you would like your scene to start from
  • 12.
    Troubleshooting • You clickthe correct answer but it doesn’t go to the correct scene. o Have you written your scene name in “” e.g. gotoAndPlay(“question1”,1)? o Try renaming your scene to lowercase and no spaces • Your scene won’t play o Have you moved your stop () to the last frame? • Flash won’t let you add your ActionScript, the code is disabled o Have you converted your image/text to a button?