Solved

var not working in mc

Posted on 2009-04-07
2
258 Views
Last Modified: 2013-11-11
I have a mc with multiple dynamic text fields and they work perfect when the mc loads but if I call for that mc to change frames the var don't work. For example on my movie clip I have 2 frames and in frame one I have a text field text1 and it works but in frame 2 I have a text field text2 it does not work but if I have text2 in frames 1 and 2 it works. How do I get the text2 to show up in frame 2 without being in the first frame.

Thanks Jerry
0
Comment
Question by:ucohockey
2 Comments
 
LVL 19

Expert Comment

by:Gary Benade
ID: 24094278
This is hard to explain, but here goes.

If you create 2 layers, one with text1 on frame 1 and one with text2 on it, make sure frame 1 of layer 2 has a keyframe in frame 1 containing text2, place the cursor on frame 1 of layer 2 and then insert a new frame (F5?) to shift text2 to frame2, then delete the instance of text2 in frame 1, this should make the frame 1 white with a hollow dot and frame 2 will have a solid dot
0
 

Accepted Solution

by:
ucohockey earned 0 total points
ID: 24094368
Not sure I think I did that but still had the problem, I'm going to explain my problem better or try to, in my movie clip I have 2 frames one labeled off and one labeled over I then have a function that calls the movie clip to go to either off or over. Now the dynamic text field in frame one works great the dynamic text field in frame 2 doesn't work. If I place the dynamic text field across both frame it works then but defeats the purpose of having a role over.

Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

919 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