Solved

var not working in mc

Posted on 2009-04-07
2
257 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
Comment Utility
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
Comment Utility
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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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 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…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
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.

772 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

11 Experts available now in Live!

Get 1:1 Help Now