Solved

gotoSceneAndPlay

Posted on 2006-07-19
5
386 Views
Last Modified: 2006-11-18
Hey guys,

I have been asked to create a little flash based movie thingy and I need to have 4 images (front covers) and when you roll over the cover, it expands, you move your mouse of and it strinks down to normal size.  Fine.

Scene 1

all the covers lined up, converted to buttons

scene 2

1st mag growing

scene 3

2nd mag growing

etc etc

Now i have the gotoSceneAndPlay on the roll over but it just plays the scene 2 on its own, meaning that other magazines disappear because they are not a part of that scene.

Now how do I get around this?  I though the thing needed to do is to when someone rolls over, it plays both the main scene AND the scene of it growing.  Is this possible and if not what is?

Thank you

Steve
0
Comment
Question by:stevemarsh99
[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
5 Comments
 
LVL 23

Accepted Solution

by:
Zeffer earned 500 total points
ID: 17141533
firstlt..stay in scene 1

this is for one cover .. repeat for others.
make the cover into a movieclip.
doubleclick on the cover .. you now see another timeline.
put a stop();  on frame 1 ..this is so the movie doesn't run until you tell it
put the content you have in scene 2 ..of the cover growing.. into that timeline from frame 2 onwards

back to the main timeline
on  the cover movieclip put the code..

on(rollOver)(
this.gotoAndPlay(2);
}

on(rollOut){
this.gotoAndStop(1);
}

so all the content is in scene 1 ..
bottom line..don't use scenes .. these were thought up by the developers.. who probably don't use the software and
don't know what a pain and how unnecessary they are.
:)
Z
0
 

Author Comment

by:stevemarsh99
ID: 17144845
Hey Z, I am using SWISH so I can't double click on the image itself.  Is there anything else I can do?
0
 
LVL 23

Expert Comment

by:Zeffer
ID: 17145745
yes..use flash

Z
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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
How do I change text in a Flash (FLA, SWF) file? 3 1,075
Does Flash have a Firefox problem? 5 330
Devices and printers wont load and flash files in print spooler 3 232
type of website 13 51
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.

732 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