Solved

Finding text values

Posted on 2003-10-31
6
137 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

831 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