Solved

gotoSceneAndPlay

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
The goal of the tutorial is to teach the user how to how to record live broadcast.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

746 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