PDA

View Full Version : Stumped about "_root.Read=7"


John14_6
10-02-2006, 01:45 AM
I purchased a Flash template and I am trying to customize it. I understand everything in the code at the bottom except this line:

_root.READ = 7;

how is "7" declared. Or where is it viewed in Flash. Any clarification would be greately appreciated. I can usually figure things out but this one has stumped me.


on (release) {
_root.scrHEIGHT=100
_root.scroller.scroller.gotoAndStop(2);
_root.scroller._x = 100;
_root.scroller._y = 150.7;
_root.TM_title = "CALL 1-888-NeedHim";
_root.READ = 7;
}

Alfie
10-24-2006, 04:06 PM
John, I am having this exact problem. Did you figure it out?
Thanks. :confused:

gilesrulz
10-24-2006, 05:05 PM
Maybe I don't understand your question, but it looks to me like 'READ' is a variable in the _root timeline that is being set to 7

Texasdream
10-27-2006, 12:34 PM
Can you post the project so I can look at it and maybe help u?

CyanBlue
10-27-2006, 01:29 PM
I second that you should really post something more visible so that people can understand what's going on in the FLA file, but make sure that you are not violating the TOS of where you've bought the template... We don't want you get in trouble and we don't want the AS.org get in trouble because of that... Thank you... :)

wvxvw
10-30-2006, 01:36 PM
there's no predefined property of the _root object with such a name. So, whatever it is, it should be some custom variable. try pressing Ctrl+F to find another occurance of this variable in your code (if you'r lucky, you'll find even it's declaration =). Or simply try changin the value this variable to smth else =), then, testing your movie you'll certanly find out what it does =)

PigMan9080
04-25-2007, 02:03 PM
Hi all,
I was having this same problem, bought a template online and not able to understand this coding. Took me a file but finally figured it out. The command _read.ROOT is refering to a specific 'frame' where the text are located. If you open up to where you modify the text, look at the timeline and check, each frame would have different set of text. This is used so that you would only need one template background and the text would be able to change.

stickyfeet
05-06-2007, 02:13 PM
Hi all,

This is my first post so please be gentle :-)

Anyway, I've also just purchased a template and had trouble locating the text for a popup box.

Basically the same code as posted below

_root.READ = 7;

I've located where/what the '7' above relates to and thats 'Frame 7'

The problem I have is that Frames 1-6 are the exact same text. Changing the text on any of the frames changes every frame. Whereas Frame 7 seems to be independent. (I've tried to attach a pic hopefully it will show)

I'm really stumped. Can anyone help?

Many thanks.

PigMan9080
05-16-2007, 04:19 AM
Hi,
I'm no flash guru, but try this. It might be because the template you purchase had all the layers the samething, you might want to delete the keyframe, copy another (say #7 or #8) and put it in the old spot. Maybe someone that's more expert could help us both !!

teknic
08-16-2007, 12:47 AM
Hi all,

This is my first post so please be gentle :-)

Anyway, I've also just purchased a template and had trouble locating the text for a popup box.

Basically the same code as posted below

_root.READ = 7;

I've located where/what the '7' above relates to and thats 'Frame 7'

The problem I have is that Frames 1-6 are the exact same text. Changing the text on any of the frames changes every frame. Whereas Frame 7 seems to be independent. (I've tried to attach a pic hopefully it will show)

I'm really stumped. Can anyone help?

Many thanks.

Guys,

In the frames 1-6 you have the same object (same Symbol). Go to the Library and make duplicates of that Symbol and then go back to each frame and swap the symbols.

Example: on frames 1-6 you have Symbol "John Doe". Go to Library , duplicate 5 times , aka "John Doe copy", John Doe copy 1"..."John Doe copy 5" and then go back to:
- frame 2 and swap "John Doe" with "John Doe copy"
- frame 3 and swap "John Doe" with "John Doe copy 2"
....
-frame 6 and swap "John Doe" with "John Doe copy 5"

Now you can modify the text for each frame (pop-up) by modifying the corespondent symbol : "John Doe"....

Hope that helps!

wstsd1
08-15-2009, 11:15 PM
How do I find out which symbol my animation is using? And when I'm replacing the default symbol with my new duplicated one, how exactly do I swap them?