Solved

gotoSceneAndPlay

Posted on 2006-07-19
5
362 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
  • 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Embedding Flash App/Movie on Website 3 494
Error 2032 in all the browser 6 2,836
Updating Flash Player with GPO 3 350
What is needed to center a flash image to the center of the page? 4 100
Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

813 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now