Solved

Finding text values

Posted on 2003-10-31
6
135 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

867 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

18 Experts available now in Live!

Get 1:1 Help Now