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

x
?
Solved

Flash MX - Movie symbol acting as button controlling other movie symbols

Posted on 2003-12-11
8
Medium Priority
?
914 Views
Last Modified: 2010-04-07
Hello,

I've recieved good advice from here before, in regards to using movie clips as buttons, but now I've come to another problem.

At the moment I have a movie clip acting as a button (on rollover gotoAndStop frame 2, etc) and this animates perfectly. What I'm having problems with is making this button useful - showing the appropriate screen. These buttons have code already and I'm wondering where to put the extra stuff. Up 'til now I've put it in the On Release section.

Because it plays an animation on release I don't think I can make the button link to another scene because this will kill the animation. What I've been trying is having the text panel of the site the same as the buttons - a movie clip with each frame a different page of text. I thought it would be easy for my button to change the current frame in the Text-movie clip... but I'm struggling.

It might be clearer if you can see what I have so far:

http://users.tpg.com.au/dflashmn/test.fla

So what I'm asking is, how can I show my different 'pages' of text and keep my animated buttons?
0
Comment
Question by:dissonant
[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
  • 3
  • 3
  • 2
8 Comments
 
LVL 5

Expert Comment

by:zenlion420
ID: 9932070
please .zip your .fla before posting it.  I can't read that link. I'll need to see what you're doing to help out.

j
0
 
LVL 5

Expert Comment

by:zenlion420
ID: 9933072
Why not put your difefrent pages of text on the frames inside of the mc buttons?

j
0
Looking for a new Web Host?

Lunarpages' assortment of hosting products and solutions ensure a perfect fit for anyone looking to get their vision or products to market. Our award winning customer support and 30-day money back guarantee show the pride we take in being the industry's premier MSP.

 
LVL 5

Expert Comment

by:zenlion420
ID: 9933075
P.S.-  I get output errors when trying to test your movie, so I'm going completely from the .fla
0
 
LVL 1

Expert Comment

by:Brandwood
ID: 9941858
use the onClipEvent(enterframe) on your intro clip.

on the last frame of your intro put the code on any mc in that frame

onClipEvent(enterFrame){
gotoAndStop("home", 1)
}

may I suggets you use the hit keyframe on your buttons.

insert a keyframe in the hit area and then draw a box for the hit area that you want your users to hit.  just draw a box around the whole area over the play text.  it will not show up in your movie.
0
 

Author Comment

by:dissonant
ID: 9954548
I think I've been misunderstood...

I have no problems with the intro clip, I'm talking about the 'Home' scene. On the right is a block of text on a white background, which I want to change whenever a button on the left is clicked. The buttons work, I just don't know how to use them to change that block of text.

I made the block of text a movieclip because the button animation wouldn't play if I made them go to the next scene.
0
 
LVL 1

Accepted Solution

by:
Brandwood earned 400 total points
ID: 9955969
on your button put

on(release){
tellTarget(_root.text){
gotoAndStop(2)
}
}
0
 

Author Comment

by:dissonant
ID: 9956363
Ahh thank you, good sir!
0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Turn A Profile Picture Into A Cartoon Using Photoshop And Illustrator This tutorial will teach you how to make a cartoon style image out of a regular picture. I have tried to keep the tutorial as simple as possible. I used Adobe CS4 for this tuto…
Objective of This Article In 1990’s, when I was a budding software professional, I had a lot of confusion about which stream or technology, I had to choose to build my career. In those days, I had lot of confusion like whether to choose System so…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

705 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