Solved

var not working in mc

Posted on 2009-04-07
2
259 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
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…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

786 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