Solved

Finding text values

Posted on 2003-10-31
6
134 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
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 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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

744 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

12 Experts available now in Live!

Get 1:1 Help Now