Solved

Finding text values

Posted on 2003-10-31
6
138 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
Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

830 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