Solved

Finding text values

Posted on 2003-10-31
6
140 Views
Last Modified: 2010-04-03
Hi there

Taking over someone else's file is never the wisest thing to do. There was a few buttons made in in the file, but to finish the whole navigation I had to expand with lots of new buttons.

What I find strange is, that if I change the command in the button, to go and play a movie, it will only play the movie if I keep the names of the premade movies from when I took over the file. If I change the names nothing happens. The most strange thing is, that I can change the name in the libary fx from service to client, and even if the button is telling it to go and play service, it play my new movie client without any problems.

However, this causes a lot of problems, since I can't just have 5 movies (which were there to begin with) I need to ad more than 20, and I need to change the names and values as well. To try and solve the problem, I have looked into the log fil ( crtl L - in Flashplayer) - and I can see that there is a lot of text values

ex:
Text: Value = "S"
  Shape:
  Text: Value = "T"
  Shape:
  Text: Value = "C"
  Shape:
  Text: Value = "W"

I thought these values might were causing my problems, but I can't find them in my fla file. Does anyone knows how I can find those files ? Please help.

Thanks
Freja_UK
0
Comment
Question by:Freja_UK
[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
  • 3
  • 3
6 Comments
 
LVL 27

Expert Comment

by:negatyve
ID: 9660834
Check the movieclip linkage in the library: right mouse button over the clip, and choose linkage from the contextual menu..
0
 

Author Comment

by:Freja_UK
ID: 9660972
I already tried that. Nothing what so ever in the linkage, but if I'm right, these variables are text variales on dynamic text.....

Dynamic text is not something I can find in the library. What I find most strange is, that I can't find any dynamic text in my fla file, and isn't that the only place where you can enter a text variable?

Is there any information that I can give you, that might help you solving my problems?

Thanks

Freja
0
 
LVL 27

Expert Comment

by:negatyve
ID: 9660986
yep, what's the button code?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:Freja_UK
ID: 9661070
on (release) {
    if (Services._currentframe != 30) {
        _root.Services.gotoAndPlay(2);
    }
    _root.Home.gotoAndPlay(31);
}


It works as long as I don't change anything - but when I want to change "Service" to another name, it all goes wrong. But if I change the name of my "service" movie in the library and keep the code to Service - it works, and call in a movie with the wrong name???

Hope that helped, cause I'm completely lost here.

Thank you so so so much, I owe you.
0
 
LVL 27

Accepted Solution

by:
negatyve earned 400 total points
ID: 9661101
The name in the library does not mean anything, it's the linkage and the instance name that makes the difference. Try to find your Services clip on the stage, change the instance name (from the properties-fmx or instance-f5 panel) to "myTest", and the script to:

on (release) {
   if (myTest._currentframe != 30) {
       _root.myTest.gotoAndPlay(2);
   }
   _root.Home.gotoAndPlay(31);
}

Does it work too?
0
 

Author Comment

by:Freja_UK
ID: 9661193
Now I feel like a complete idiot - the reason why I had looked more carefully at the instance names, was because the movies were see through, and therefor covered by lots of other elements.

I still don't know where those text variables comes from, but no need to get into that now, cause my file works perfect now, due to your help. Million thanks.
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
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 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.

615 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