Working with variables in symbols

Posted on 2003-03-10
Medium Priority
Last Modified: 2010-04-03
Here's the situation:
I have a button with an movie clip as the mouse over frame.  I created the animation clip in the most general form, so the text roll out reads "Menu Text".  I have it set up as dynamic text, variable name: buttonTitle.
Right now I'm having trouble getting the text to change.  If i create a global variable in my uppermost container, I can then edit the movie directly to get it to use that variable.
The thing is, I want to be able to work with the button on the uppermost container, and have the buttonTitle cascade down to the movie... i.e. I don't want to have to edit every instance of the movie.

I imagine the variable set will involve something along the lines of:  buttonInstance.animationInstance.buttonTitle = "Text", but all the variations I've tried (with the exception of the global variable) aren't working.  Any help would be great.

Question by:Via
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
  • 2

Expert Comment

ID: 8105011
it is very hard to understand exactly where u want to do and what it looks in ur movie...

can u post some code or a link to the swf/fla so we can understand better where the problem is.


Author Comment

ID: 8107445
Here's a link to what I have so far...

Accepted Solution

henryww earned 100 total points
ID: 8161595
sorry i missed ur post
no that i have seen it but i still don't quite get it
just make sure ur variable reference is correct put /: in front of the variable and have everything rest in the main timeline ... most probably is the variable or object path is incorrect....

 hope this help

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
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.
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

800 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