?
Solved

Working with variables in symbols

Posted on 2003-03-10
5
Medium Priority
?
148 Views
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.

Via
0
Comment
Question by:Via
[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
  • 2
5 Comments
 
LVL 6

Expert Comment

by:henryww
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.

cheers
0
 

Author Comment

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

http://128.148.187.234/Flash/Button_Animation.swf
0
 
LVL 6

Accepted Solution

by:
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
0

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