Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

gotoSceneAndPlay

Posted on 2006-07-19
5
Medium Priority
?
402 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

670 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