STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229596
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

A
Very
Merry Christmas!


<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/80079593?noj=FRM80079593-23DC" width="1" height="1"></div>

Zeitgeist Moving Forward.swf

This is the info page for
Flash #245180

(Click the ID number above for more basic data on this flash file.)


Text
<p align="center"></p>

<p align="left"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> &nbsp;&nbsp;&nbsp;</font></p>

<p align="center"></p>

<p align="center"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> </font></p>

<p align="center"></p>

<p align="left"></p>

<p align="right"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> &nbsp;&nbsp;&nbsp;</font></p>

500%

/ 9999

9999

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

I n a decaying society, Art if it is truthful, must also reflect decay. And unless it wants to break
faith with its social function, Art must show the world as changeable. And help to change it .
— Ernst Fischer
Deadly riots over the government’s plan to avoid defaulting on its loans… is that the
unemployment keeps rising and it has to keep rising just because we have an excess supply
of goods… this is all borrowed money… and that debt is owned by banks in other
c ountries… M - O - N - E - Y, in the form of a convenient personal loan… … filter cigarette that
delivers the taste… 45 malt liquor… Are You Hot?!… is the US planning to bomb Iran?…
…America is sponsoring terror attacks in Iran…
Now, my grandmother was a wonderful  person. She taught me how to play the game
Monopoly. She understood that the name of the game is to acquire. She would accumulate
everything she could and eventually, she became the master of the board. And then she
would always say the same thing to me. S he would look at me and she would say: “One day,
you’ll learn to play the game.” One summer I played Monopoly almost every day, all day long
and that summer, I learned to play the game. I came to understand that the only way to win
is to make a total commi tment to acquisition. I came to understand that money and
possessions… that’s the way that you keep score. And by the end of that summer I was
more ruthless than my grandmother. I was ready to bend the rules if I had to, to win that
game… and I sat down wi th her to play, that fall. I took everything she had. I watched her
give her last dollar and quit in utter defeat.
And then she had one more thing to teach me. Then she said: “Now it all goes back in the
box. All those houses and hotels. All the railroads  and utility companies… All that property
and all that wonderful money… Now it all goes back in the box. None of it was really yours.
You got all heated up about it for a while. But it was around a long time before you sat down
at the board and it will be h ere after you’re gone, players come, players go. Houses and
cars… Titles and clothes… Even your body.” Because the fact is that everything I clutch and
consume and hoard is going to go back in the box, and I’m going to lose it all. So you have to
ask yours elf when you finally get the ultimate promotion, when you have made the ultimate
purchase, when you buy the ultimate home, when you have stored up financial security and

climbed the ladder of success to the highest rung you can possibly climb it… and the t hrill

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

wears off  –  and it will wear off  –  Then what? How far do you have to walk down that road
before you see where it leads? Surely you understand it will never be enough. So you have
to ask yourself the question: What matters?
They’re Hot !
They’re Rich !
And They’re Spoiled !
America’s #1 Show is Back!
Gentle Machine Productions Presents
A Peter Joseph Film
[Jacque Fresco] When I was a young man growing up in New York City, I refused to pledge
allegiance to the flag. Of course I was sent to the principal’s  office. And he asked me, ‘Why
don’t you want to Pledge Allegiance? Everybody does!’ I said, ‘Everybody once believed the
earth was flat but that doesn’t make it so.’ I explained that America owed everything it has to
other cultures and other nations and th at I would rather pledge allegiance to the earth and
everyone on it. Needless to say, it wasn’t long before I left school entirely and I set up a lab
in my bedroom. There, I began to learn about science and nature. I realized then that the
universe is gove rned by laws and that the human being, along with society itself, was not
exempt from these laws. Then came the crash of 1929. Which began what we now call “The
Great Depression”. I found it difficult to understand why millions were out of work, homeless,
starving while all the factories were sitting there. The resources were unchanged. It was then
that I realized that the rules of the economic game were inherently invalid. Shortly after came
World War II, where various nations took turns systematically des troying each other. I later
calculated that all the destruction and wasted resources spent on that war could have easily
provided for every human need on the planet. Since that time, I have watched humanity set
the stage for its own extinction. I have watc hed as the precious finite resources are
perpetually wasted and destroyed in the name of profit and free - markets. I have watched the
social values of society be reduced into a base artificiality of materialism and mindless
consumption. And I have watched a s the monetary powers control the political structure of

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

supposedly free societies. I’m 94 years old now, and I’m afraid my disposition is the same as
it was 75 years ago. This shit’s got to go.
ZEITGEIST:   MOVING   FORWARD
Never doubt that a small group of t houghtful committed citizens can change the world.
Indeed, it is the only thing that ever has .
— Margaret Mead
Part   1:   Human   Nature
[Dr. Robert Sapolsky, Professor of Neurological Sciences, Stanford University] So you’re a
scientist, and somewhere along the way, hammered into your head is the inevitable “nature
versus nurture,” and that’s at least up there with Coke versus Pepsi or Gre eks versus
Trojans. So, nature versus nurture, this, by now utterly over - simplifying view of where
influences are influences how a cell deals with an energy crisis up to what makes us who we
are on the most individualistic levels of personality. And what y ou’ve got is this complete
false dichotomy built around nature as deterministic at the very bottom of all the causality.
Life is DNA and the code of codes and the Holy Grail, and everything is driven by it…. At the
other end is a much more social science p erspective, which is we are ‘social organisms’ and
biology is for slime molds. Humans are free of biology and, obviously, both views are
nonsense. What you see instead is that it is virtually impossible to understand how biology
works outside of the contex t of environment.
It’s   Genetic
[Dr. Robert Sapolsky] One of the most crazy making, yet widespread and potentially
dangerous notions is, “Oh, that behavior is genetic”. Now what does that mean? It means all
sorts of subtle stuff if you know modern biology,  but for most people out there, what it winds -
up meaning is: a deterministic view of life; one rooted in biology and genetics; genes equal
things that cannot be changed; genes equal things that are inevitable and you might as well
not waste resources trying  to fix; might as well not put societal energies into trying to improve
because it’s inevitable and it’s unchangeable… and that is sheer nonsense.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

Disease
[Dr. Gabor Maté, Physician, Author Portland Society] It is widely thought that conditions like
ADHD a re genetically programmed. That conditions like schizophrenia are genetically
programmed. The truth is the opposite. Nothing is genetically programmed. There are very
rare diseases a small handful extremely sparsely represented in the population that are t ruly
genetically determined. Most complex conditions might have a predisposition that has a
genetic component, but a predisposition is not the same as a predetermination. The whole
search for the source of diseases in the genome was doomed to failure befor e anybody even
thought of it because most diseases are not genetically predetermined. Heart disease,
cancers, strokes rheumatoid conditions, autoimmune conditions in general mental health
conditions, addictions… none of them are genetically determined. Bre ast cancer, for
example, out of 100 women with breast cancer only seven will carry the breast cancer
genes. 93 do not and out of 100 women who   do   have the genes not all of them will get
cancer.

Behavior
[Richard Wilkinson, Professor Emeritus of Social Epid emiology, University of Nottingham]
Genes are not just things that make us behave in a particular way regardless of our
environment. Genes give us different ways of responding to our environment. And, in fact, it
looks as if some of the early childhood inf luences and the kind of child rearing affect gene
expression actually turning on or off different genes to put you on a different developmental
track which may suit the kind of world you’ve got to deal with.
[Dr. Gabor Maté] So, for example. A study done i n Montreal with suicide victims looked at
autopsies of the brains of these people, and it turned out that if a suicide victim (these are
usually young adults) had been abused as a child, the abuse actually caused a genetic
change in the brain that was abse nt in the brains of people who had not been abused. That’s
an epigenetic effect. “epi” means on top of, so that the epigenetic influence is what happens
environmentally to either activate or deactivate certain genes.
[Dr. James Gilligan, Former Director: C enter for the Study of Violence, Harvard Medical
School] In New Zealand, there was a study that was done in a town called Dunedin in which

a few thousand individuals were studied from birth into their 20s. What they found was that

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

they could identify a gen etic mutation, an abnormal gene which did have some relation to the
predisposition to commit violence, but only if the individual had also been subjected to
severe child abuse. In other words, a child with this abnormal gene would be no more likely
to be v iolent than anybody else and, in fact, they actually had a lower rate of violence than
people with normal genes as long as they weren’t abused as children.
[Dr. Robert Sapolsky] Great additional example of the ways in which genes are not “be all  –
end all” . A fancy technique where you can take a specific gene out of a mouse and that
mouse and its descendants will not have that gene. You have ”knocked out” that gene. So
there’s this one gene that encodes for a protein, that has something to do with learning  and
memory and with this fabulous demonstration -  you “knock out” that gene, and you have a
mouse that doesn’t learn as well. “Oh! A genetic basis for intelligence!” What was much less
appreciated in that landmark study that got picked up by the media left  and right is take those
genetically impaired mice and raise them in a much more enriched, stimulating environment
than your normal mice in a lab cage, and they completely overcame that deficit. So, when
one says in a contemporary sense, that “oh, this beha vior is genetic” to the extent that that’s
even a valid sort of phrase to use, what you’re saying is: there is a genetic contribution to
how this organism responds to environment; genes may influence the readiness with which
an organism will deal with a ce rtain environmental challenge. You know, that’s not the
version most people have in their minds and, not to be too ‘soap - boxing’ but run with the old
version of “It’s genetic!” and it’s not that far from the history of eugenics and things of that
sort. It’ s a widespread misconception and it’s a potentially fairly dangerous one.
[Dr. James Gilligan] One reason that the biological explanation for violence… one reason
that hypothesis is potentially dangerous, it’s not just misleading it can really do harm… is
because if you believe that you could very easily say: “Well, there’s noth ing we can do to
change the predisposition people have to becoming violent; all we can do is punish them  –
lock them up or execute them but we don’t need to worry about changing the social
environment or the social preconditions that may lead people to bec ome violent, because
that’s irrelevant’.”
[Dr. Gabor Maté] The genetic argument allows us the luxury of ignoring past and present

historical and social factors and, in the words of Louis Menand who wrote in the   New   Yorker ,

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

very astutely, he said: “it’s all  in the genes… an explanation for the way things are that does
not threaten the way things are. Why should someone feel unhappy or engage in antisocial
behavior when that person is living in the freest and most prosperous nation on Earth? It
can’t be the s ystem. There must be a flaw in the wiring somewhere.” Which is a good way of
putting it. So, the genetic argument is simply a cop - out which allows us to ignore the social
and economic and political factors that, in fact, underlie many troublesome behaviors .

Case   Study:   Addiction
[Dr. Gabor Maté] Addictions are usually considered to be a drug - related issue but looking at
it more broadly I define addiction as any behavior that is associated with craving, with
temporary relief, and with long - term negative cons equences along with an impairment of
control over it so that the person wishes to give it up, or promises to do so but can’t follow
through and when you understand that, you see that there are many more addictions than
simply those related to drugs. There’ s workaholism; addiction to shopping; to the Internet; to
video games… There’s the addiction to power. People that have power but they want more
and more; nothing is ever enough for them. Acquisition  –  corporations that   must   own more
and more. The addictio n to oil or at least to the wealth and to the products made accessible
to us by oil. Look at the negative consequences on the environment. We are destroying the
very earth that we inhabit for the sake of that addiction. Now, these addictions are far more
d evastating in their social consequences than the cocaine or heroin habits of my downtown
Eastside patients. Yet, they are rewarded and considered to be respectable. The tobacco
company executive that shows a higher profit will get a much bigger reward. He  doesn’t face
any negative consequences, legally or otherwise. In fact, he is a respected member of the
board of several other corporations. But, tobacco smoke related diseases kill 5 ½ million
people around the world every year. In the United States, they  kill 400,000 people a year.
And these people are addicted to what? To profit. To such a degree that they are addicted
that they are actually in denial about the impact of their activities, which is typical for addicts,
this denial. And that’s a respectable  one. It’s respectable to be addicted to profit, no matter
what the cost. So, what is acceptable and what is respectable is a highly arbitrary
phenomenon in our society, and it seems like the greater the harm the more respectable the
addiction.

The   Myth

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

[D r. Gabor Maté] There is a general myth that drugs, in themselves, are addictive. In fact, the
war on drugs is predicated on the idea that if you interdict the source of drugs you can deal
with addiction that way. Now, if you understand addiction in the bro ader sense we see that
nothing in itself is addictive. No substance, no drug is by itself addictive and no behavior is
by itself addictive. Many people can go shopping without becoming shopaholics. Not
everyone becomes a food addict. Not everyone who drink s a glass of wine becomes an
alcoholic. So the real issue is what makes people susceptible, because it’s the combination
of a susceptible individual and the potentially addictive substance or behavior that makes for
the full flowering of addiction. In shor t, it’s not the drug that’s addictive it’s the question of the
susceptibility of the individual to being addicted to a particular substance or behavior.
Environment
[Dr. Gabor Maté] If we wish to understand what then makes some people susceptible we
actual ly have to look at the life experience. The old idea, although it’s old but it’s still broadly
held, that addictions are due to some genetic cause is simply scientifically untenable. What
the case is actually is that certain life experiences make people su sceptible. Life experiences
that not only shape the person’s personality and psychological needs but also their very
brains in certain ways. And that process begins in utero.
Prenatal
[Dr. Gabor Maté] It has been shown, for example that if you stress mothe rs during pregnancy
their children are more likely to have traits that predispose them to addictions and that’s
because development is shaped by the psychological and social environment. So the biology
of human beings is very much affected by and programme d by the life experiences
beginning in utero.
[Dr. Robert Sapolsky] Environment does not begin at birth. Environment begins as soon as
you have an environment. As soon as you are a fetus, you are subject to whatever
information is coming through mom’s circ ulations. Hormones, levels of nutrients… A great
landmark example of this is something called the   Dutch   Hongerwinter . In 1944, Nazis
occupying Holland for a bunch of reasons, they decide to take all the food and divert it to
Germany; for three months every body there was starving. Tens of thousands of people

starve to death. What the Dutch hunger winter effect is: if you were a second or third

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

trimester fetus during the starvation your body ‘learned’ something very unique during that
time. As it turns out, s econd and third trimester is when your body is going about trying to
learn about the environment: How menacing of a place is it out there? How plentiful? How
much nutrients am I getting by way of mom’s circulation? Be a fetus who was starving during
that t ime and your body programs forever after to be really, really stingy with your sugar and
fat and what you do is you store every bit of it. Be a Dutch Hunger Winter fetus and half a
century later everything else being equal you are more likely to have high  blood pressure
obesity or metabolic syndrome. That is environment coming in a very unexpected place.
[Dr. Gabor Maté] You can stress animals in the laboratory when they’re pregnant and their
offspring will be more likely to use cocaine and alcohol as adult s. You can stress human
mothers. For example, in a British study women who were abused in pregnancy will have
higher levels of the stress hormone cortisol in their placenta at birth and their children are
more likely to have conditions that predispose them  to addictions by age 7 or 8. So in utero
stress already prepares the gun for all kinds of mental health issues. An Israeli study done
on children born to mothers who were pregnant prior to the onset of the 1967 war… These
women, of course, were very stres sed and their offspring have a higher incidence of
schizophrenia than the average cohort. So, there is plenty of evidence now that prenatal
effects have a huge impact on the developing human being.
Infancy
[Dr. Gabor Maté] The point about human development  and specifically human brain
development is that it occurs mostly under the impact of the environment and mostly after
birth. Now, if you compare us to a horse which can run on the first day of life we see that we
are very undeveloped. We can’t muster tha t much neurological coordination balance, muscle
strength, visual acuity until a year and a half, two years of age. That’s because the brain
development in the horse happens in the safety of the womb and in the human being, it has
to happen after birth and  that has to do with simple evolutionary logic. As the head gets
larger, which is what makes us into human beings the burgeoning of the forebrain is what
creates the human species, actually. At the same time, we walk on two legs. So, our pelvis
narrows to  accommodate that. So now we have a narrower pelvis, a larger head Bingo! We
have to be born prematurely. And that means the brain development that in other animals
occurs in utero in us, occurs after birth and much of that under the impact of the

environme nt. The concept of   Neural   Darwinism   simply means that the circuits that get the

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

appropriate input from the environment will develop optimally and the ones that don’t will
either not develop optimally or perhaps not at all. If you take a child with perfectl y good eyes
at birth and you put him in a dark room for five years he will be blind thereafter for the rest of
his life because the circuits of vision require light waves for their development and without
that even the rudimentary circuit’s present and act ive at birth will atrophy and die and new
ones will not develop.
Memory
[Dr. Gabor Maté] There is a significant way in which early experiences shape adult behavior
and even and especially early experiences for which there is no recall memory. It turns out
that there are two kinds of memory: there is explicit memory which is recall this is when you
can call back facts details, episodes, circumstances. But the structure in the brain which is
called the   hippocampus   which encodes recall memory doesn’t even begi n to develop fully
until a year and a half and it is not fully developed until much later. Which is why hardly
anybody has any recall memory prior to 18 months. But there is another kind of memory
which is called   implicit   memory   which is, in fact, an   emoti onal   memory   where the
emotional impact and the interpretation the child makes of those emotional experiences are
ingrained in the brain in the form of nerve circuits ready to fire without specific recall.
So to give you a clear example people who are adopt ed have a lifelong sense of rejection
very often. They can’t recall the adoption. They can’t recall the separation of the birth mother
because there’s nothing there to recall with. But the emotional memory of separation and
rejection is deeply embedded in  their brains. Hence, they are much more likely to experience
a sense of rejection and a great emotional upset when they perceive themselves as being
rejected by other people. That’s not unique to people who are adopted but it is particularly
strong in them  because of this function of implicit memory. People who are addicted, given
all the research literature and in my experience the hard - core addicts virtually were all
significantly abused as children or suffered severe emotional loss. Their emotional or im plicit
memories are those of a world that’s not safe and not helpful; caregivers who were not to be
trusted and relationships that are not safe enough to open up to vulnerability and hence their
responses tend to be to keep themselves separate from really  intimate relationships; not to
trust caregivers doctors and other people who are trying to help them and generally see the
world as an unsafe place… and that is strictly a function of implicit memory which sometimes
has to do with incidents they don’t even  recall.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

Touch
[Dr. Gabor Maté] Infants who are born premature or often in incubators and various types of
gadgetry and machinery for weeks and perhaps months, it’s now known that if these children
are touched and stroked on the back for just 10 minutes a  day that promotes their brain
development. So, human touch is essential for development and, in fact, infants who are
never picked up will actually die. That is how much of a fundamental need being held is to
human beings. In our society, there is an unfor tunate tendency to tell parents not to pick up
their kids, not to hold them not to pick up babies who are crying for fear of spoiling them or to
encourage them to sleep through the night you don’t pick them up… which is just the
opposite of what the child  needs and these children might go back to sleep because they
give up and their brains just shut down as a way of defending against the vulnerability of
being abandoned really by their parents but their implicit memories will be that of the world
that doesn ’t give a damn.
Childhood
[Richard Wilkinson] A lot of these differences are structured very early in life. In a way, the
parental experience of adversity how tough life is or how easy it is is passed on to children
whether through maternal depression or p arents being bad tempered with their kids because
they have had a hard day or just being too tired at the end of the day… and these have very
powerful effects programming children’s development, which we know a lot about now But
that early sensitivity isn’ t just an evolutionary mistake. It exists again in many different
species. Even in seedlings there’s an early adaptive process to the kind of environment they
are growing up in but for humans, the adaptation is to the quality of social relations. And so,
e arly life: how nurturing, how much conflict, how much attention you get is a taster of the kind
of world you may be growing up in. Are you growing up in a world where you have to fight for
what you can get; watch your back; fend for yourself; learn not to  trust others?… or are you
growing up in a society where you depend on reciprocity, mutuality, cooperation, where
empathy is important where your security depends on good relations with other people?…
and that needs a very different emotional and cognitive  development and that’s what the
early sensitivity is about and parenting is almost, quite unconsciously a system for passing
on that experience to children… of the kind of world they are in.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

[Dr. Gabor Maté] The great British child psychiatrist,   D.W.   Winni cott , said that
fundamentally, two things can go wrong in childhood. One is when things happen that
shouldn’t happen and then things that should happen but don’t. In the first category, is the
dramatic, abusive and abandonment experiences of my downtown Ea stside patients and of
many addicts. That’s what shouldn’t happen but did. But then there is the non - stressed
attuned, non - distracted attention of the parent that every child needs that very often children
don’t get. They’re not abused. They are not neglec ted, and they’re not traumatized but what
should happen the presence of the emotionally available nurturing parent just is not available
to them because of the stresses in our society and the parenting environment. The
psychologist   Allan   Surer   calls that   “ Proximal   Abandonment”   when the parent is physically
present but emotionally absent.
[Dr. James Gilligan] I have spent… roughly the last 40 years of my life working with the most
violent of people our society produces: murderers, rapists and so on. In an at tempt to
understand what causes this violence. I discovered that the most violent of the criminals in
our prisons had themselves been victims of a degree of child abuse that was beyond the
scale of what I ever thought of applying the term child abuse to. I  had no idea of the depth of
the depravity with which children in our society are all too often treated. The most violent
people I saw were themselves the survivors of their own attempted murder often at the
hands of their parents or other people in their  social environment or were the survivors of
family members who had been killed their closest family members, by other people.
[Dr. Gabor Maté] The Buddha argued that everything depends on everything else. He says
‘the one contains the many and the many contains the one’. That you can’t understand
anything in isolation from its environment. The leaf contains the sun, the sky and t he earth,
obviously. This has now been shown to be true, of course all around and specifically when it
comes to human development. The modern scientific term for it is the   “bio   psycho   social”
nature   of   human   development   which says that the biology of human  beings depends very
much on their interaction with the social and psychological environment. Specifically, the
psychiatrist and researcher   Daniel   Siegel   at the University of California, Los Angeles, UCLA
has coined a phrase   “Interpersonal   Neurobiology”   wh ich means to say that the way that
our nervous system functions depends very much on our personal relationships. In the first
place with the parenting caregivers and in the second place with other important attachment

figures in our lives and in the third - place, with our entire culture. So that you can’t separate

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

the neurological functioning of a human being from the environment in which he or she grew
up in and continues to exist in and this is true throughout the lifecycle. It’s particularly true
when you  are dependent and helpless when your brain is developing but it’s true even in
adults and even at the end of life.
Culture
[Richard Wilkinson] Human beings have lived in almost every kind of society. From the most
egalitarian… hunting and gathering societ ies seem to have been very egalitarian for
instance, based on food sharing, gift exchange…
[Dr. Robert Sapolsky] Small bands of people living predominately off of foraging and a little
bit of hunting predominantly among people you have at the least, known  your entire life if not
surrounded by third cousins or closer; in a world in which there is a great deal of fluidity
between different groups; in a world which there is not a whole lot in terms of material
culture… this is how humans have spent most of the ir hominid history. And no surprise, that
makes for a very different world. One of the things you get as a result of that is far less
violence. Organized group violence is not something that occurred at that time of human
history and that seems quite clear . So where did we go wrong?
[Dr. James Gilligan]   Violence   is   not   universal . It is not symmetrically distributed throughout
the human race. There is a huge variation in the amount of violence in different societies.
There are some societies that have virtua lly no violence. There are others that destroy
themselves. Some of the Anabaptist religious groups that are complete strict pacifists like the
Amish, the Mennonites, the Hutterites… among some of these groups, the Hutterites there
are no recorded cases of  homicide. During our major wars, like World War II where people
were being drafted they would refuse to serve in the military. They would go to prison rather
than serve in the military. In the Kibbutzim in Israel the level of violence is so low that the
cr iminal courts there will often send violent offenders people who have committed crimes to
live on the Kibbutzim in order to learn how to live a non - violent life… because that’s the way
people live there.
[Dr. Robert Sapolsky] So, we are amply shaped by soc iety. Our societies, in the broader
sense including our theological our metaphysical, our linguistic influences, etc. our societies
help shape us as to whether or not we think life is basically about sin or about beauty;

whether the afterlife will carry a  price for how we live our lives or if it’s irrelevant. In a broad

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

sort of way different large societies could be termed as individualistic or collectivist and you
get very different people and different mindsets and I suspect different brains coming along
with that. We, in America, are in one of the most individualistic of societies. With capitalism
being a system that allows you to go higher and higher up a potential pyramid and the deal is
that it comes with fewer and fewer safety nets. By definition, the  more stratified a society is
the fewer people you have as peers  –  the fewer people with whom you have symmetrical,
reciprocal relationships  –  and instead, all you have are differing spots and endless
hierarchies… A world in which you have few reciprocal p artners is a world with a lot less
altruism.
Human   Nature
[Dr. Robert Sapolsky] So, this brings us to a total impossible juncture which is to try to make
sense in perspective science… as to what that nature is of human nature. You know, on a
certain level  the nature of our nature is not to be particularly constrained by our nature. We
come up with more social variability than any species out there. More systems of belief, of
styles of family, structures of ways of raising children. The capacity for variety  that we have is
extraordinary.
[Dr. Gabor Maté] In a society which is predicated on competition and really, very often, the
ruthless exploitation of one human being by another the profiteering off of other people’s
problems and very often the creation of p roblems for the purpose of profiteering the ruling
ideology will very often justify that behavior by appeals to some fundamental and unalterable
human nature. So the myth in our society is that people are competitive by nature and that
they are individuali stic and that they’re selfish. The real reality is quite the opposite. We have
certain human needs. The only way that you can talk about human nature concretely is by
recognizing that there are certain human needs. We have a human need for companionship
an d for close contact to be loved, to be attached to, to be accepted to be seen, to be
received for who we are. If those needs are met, we develop into people who are
compassionate and cooperative and who have empathy for other people. So… the opposite,
that  we often see in our society is, in fact, a distortion of human nature precisely because so
few people have their needs met. So, yes you can talk about human nature but only in the
sense of basic human needs that are instinctively evoked or I should say, c ertain human

needs that lead to certain traits if they are met and a different set of traits if they are denied.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

[Narrator]   So…   when   we   recognize   the   fact   that   the   human   organism   which   has   a   great   deal
of   adaptive   flexibility   allowing   us   to   survive   in   many   different   conditions   is   also   rigidly
programmed   for   certain   environmental   requirements   or   human   needs   a   social   imperative
begins   to   emerge.   Just   as   our   bodies   require   physical   nutrients   the   human   brain   demands
positive   forms   of   environmental   stimulus   at   a ll   stages   of   development   while   also   needing   to
be   protected   from   other   negative   forms   of   stimulus.   And   if   things   that   should   happen,   do
not…   or   if   things   that   shouldn’t   happen,   do…   it   is   now   apparent   that   the   door   can   be   opened
for   not   only   a   cascade   of   me ntal   and   physical   diseases   but   many   detrimental   human
behaviors   as   well.   So,   as   we   turn   our   perspective   now   outward   and   take   account   for   the   state
of   affairs   today   we   must   ask   the   question:   Is   the   condition   we   have   created   in   the   modern
world   actually   supp orting   our   health?   Is   the   bedrock   of   our   socioeconomic   system   acting   as   a
positive   force   for   human   and   social   development   and   progress?   Or,   is   the   foundational
gravitation   of   our   society   actually   going   against   the   core   evolutionary   requirements   needed   to
c reate   and   maintain   our   personal   and   social   well - being ?
Part   II:   Social   Pathology
[Dr. John McMurtry, Professor Emeritus University of Guelph] So, one might ask where did
this all begin? What we have today… really a world in a state of cumulative collapse.
The   Market
[Dr. John McMurtry] You get it started with   John   Locke . And John Locke introduces
property. He has three provisos for just private right and property. And the three provisos
are: There must be enough left over for others and that you must not le t it spoil and that you,
most of all, must mix your labor with it. It seems justified -  you mix your labor with the world
then you are entitled to the product and as long as there’s enough left over for others and as
long as it doesn’t spoil and you don’t a llow anything to go to waste then that’s okay. He
spends a long time on this and his famous treatise of government and it’s since been the
canonical text for economic and political and legal understanding. It is still the classic text
that’s studied. Well  –  after he gives the provisos and you’re almost thinking at the time
whether you are for private property or not he has given a very good plausible and powerful
defense of private property here… Well, he drops them! He drops them like that. Right in one
se ntence. He says, ‘Well, once the introduction of money came in by men’s tacit consent
then it became…’ and he doesn’t say all the provisos are canceled or erased -  but that’s what

happens. So, now we have not product and your property earned by your own lab or -  oh no -

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

money buys labor now. There is no longer consideration whether there is enough left over for
others; there is no longer consideration of whether it spoils because he says money is like
silver and gold and gold can’t spoil and therefore money can ’t be responsible for waste…
which is ridiculous. We are not talking about money and silver, we are talking about what its
effects are. It’s one non sequitur after another. Just the most startling logical legerdemain
that he gets away with here but it fits  the interests of capital owners.
Then   Adam   Smith   comes along and what he adds is the religion to this… Locke started with
God made it all this way this is God’s right and now we get also with Smith saying ‘it’s not
only God’s…’ well, he’s not actually saying this but this is what’s happening philosophica lly,
in principle he’s saying that ‘it is not only a question of private property…’ That’s all now
‘presupposed’ -  It’s Given! And that there’s ‘money investors that buy labor’  –  Given! There’s
no limit to how much they can buy of other men’s labor how much  they can accumulate, how
much ‘inequality’ -  that’s all given now. And so he comes along and what his big idea is and,
again it’s just introduced in parentheses, in passing… You know, when people put out goods
for sale  –  the supply and other people buy the m  –  the demand and so forth how do we have
supply equaling demand or demand equaling supply? how can they come into equilibrium?
and that is one of the central notions of economics is how do they come into equilibrium…
and he says: it’s   the   “Invisible   Hand   of   the   Market”   that brings them into equilibrium. So,
now we have “God is actually imminent”. He just didn’t give the rights to property and all its
wherewithal and its “natural rights” regarding what Locke said… now we have the system
itself as “God”.
In  fact, Smith says, when he talks and you have to read the whole of the Wealth of Nations’
to find this quote. He says: ‘the scantiness of subsistence sets limits to the reproduction of
the poor and that nature can deal with this in no other way than elimin ation of their children.’
So he anticipated evolutionary theory in the worst sense… this is well before Darwin. And so
he called them   the   ‘Race   of   Laborers’ . So you can see: there was inherent racism built - in
here there was an inherent life blindness to ki ll innumerable children and he thought: ‘that’s
the Invisible Hand making supply meet demand and demand meet supply.’ So, see how wise
“God” is? So you can see a lot of the really virulent life destructive, eco - genocidal things that
are going on now have,  in a way, a ‘thought gene’ back in Smith too.
[Narrator] When we reflect on the original concept of the so - called free market  –  capitalist
system as initiated by early economic philosophers such as Adam Smith we see that the
original intent of a “market” w as based around real, tangible, life supporting goods for trade.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

Adam Smith never fathomed that the most profitable economic sector on the planet would
eventually be in the arena of financial trading or so - called investment where money itself is
simply gai ned by the movement of other money in an arbitrary game which holds zero
productive merit to society. Yet, regardless of Smith’s intent the door for such seemingly
anomalous advents was left wide open by one fundamental tenet of this theory: Money is
treat ed as a Commodity, in and of itself.
Today, in every economy of the world regardless of the social system they claim money is
pursued for the sake of money and nothing else. The underlying idea, which was
mysteriously qualified by Adam Smith with his relig ious declaration of the ‘Invisible Hand’ is
that the narrow, self - interested pursuit of this fictional commodity will somehow magically
manifest human and social well - being and progress. The reality is that the monetary
incentive interest or what some have  termed the:“Money Sequence of Value” has now
completely decoupled from the foundational ‘life interest’, which could be termed the   ‘Life
Sequence   of   Value.’
[Dr. John McMurtry] What has happened is that there is a complete confusion in economic
doctrine b etween those two sequences.   They think that the Money Sequence of Value
delivers the Life Sequence of Valu e   and that’s why they say if more goods are sold If GDP’s
rise and so forth… there would be more enhanced well - being and we could take the GDP as
bein g our basic layer indicator of social health… Well, there you see the confusion. It’s
talking about Money Sequences of Value that is, all the receipts and all the revenues that are
derived from selling goods and they’re confusing that with life reproductio n. So, you have
built right into this thing from the beginning a complete conflation of the money and life
sequences of value. So, we are dealing with a kind of structured delusion which becomes
more and more deadly as the money sequence decouples from pro ducing anything at all.
So, it’s a system disorder and the system disorder seems to be fatal.
Welcome   to   the   Machine
[Narrator] In society today, you seldom hear anyone speak of the progress of their country or
society in terms of their physical well - being , state of happiness, trust or social stability.
Rather, the measures are presented to us through economic abstractions. We have the
gross domestic product, the consumer price index, the value of the stock market, rates of

inflation… and so on. But does th is tell us anything of real value as to the quality of people’s

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

lives? No. All of these measures have to do with the money sequence itself and nothing
more. For example, the Gross Domestic Product of a country is a measure of the value of
goods and service s sold. This measure is claimed to correlate to the “standard of living” of a
country’s people. In the United States health care accounted for over 17% of GDP in 2009
amounting to over 2.5 trillion spent. Hence, creating a positive effect on this economic
measure. And, based on this logic it would be even better for the US economy if health care
services increased more so… perhaps to 3 trillion dollars… or 5 trillion since that would
create more growth more jobs and hence boasted by economists as a rise in  their country’s
standard of living. But wait a minute. What do health care services actually represent? Well,
SICK AND DYING PEOPLE. That’s right -  the more unhealthy people there are in America
the better the economy. Now, that is not an exaggeration or a  cynical perspective. In fact, if
we step back far enough you will realize that the GDP not only doesn’t reflect real public or
social health on any tangible level it is, in fact, mostly a measure of industrial inefficiency and
social degradation. And the m ore you see it rise, the worse things are becoming with respect
to personal, social and environmental integrity.
[Michael C. Ruppert, Investigative Journalist]   You have to create problems to create
profit .   There is no profit under the current paradigm in s aving lives, putting balance on this
planet having justice and peace or anything else. There is just no profit there.
There’s an old saying -  Pass a law and create a business’. Whether you are creating a
business for a lawyer or whatever. So, crime does cre ate business just like destruction
creates business in Haiti. We have now roughly 2,000,000 people incarcerated in this
country (USA) and of those many are in prisons run by private corporations: Corrections
Corporation of America, Wackenhut who trade thei r stock on Wall Street based upon how
many people are in jail. Now that’s sickness. But that is a reflection of what this economic
paradigm calls for. So what exactly does this economic paradigm call for?
[Narrator] What is it that keeps our economic system going?   Consumption . Or more
accurately -  Cyclical Consumption. When we break down the foundation of classic market
economics we are left with a pattern of monetary exchange that simply cannot be allowed t o
stop or even substantially slowed if the society as we know it is to remain operational.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

There are three main actors on the economic stage: the employee, the employer and the
consumer. The employee sells labor to the employer for income. The employer sel ls its
production services, and hence goods, to the consumer for income and the consumer, of
course, is simply another role of the employer and employee spending back into the system
to enable the cyclical consumption to continue. In other words, the globa l market system is
based on the assumption that there will always be enough product demand in a society to
move enough money around at a rate which can keep the consumption process going. And
the faster the rate of consumption the more so - called economic g rowth is assumed and so
the machine goes… But, hold on -  I thought an economy was meant to, I don’t
know…   “Economize”?   Doesn’t the very term have to do with preservation and efficiency
and a reduction of waste? So how does our system, which demands consumpt ion and the
more the better, efficiently preserve or “Economize” at all? Well… it doesn’t.
The intent of the market system is, in fact, the exact opposite of what a real economy is
supposed to do, which is efficiently and conservatively orient the material s for production and
distribution of life supporting goods. We live on a finite planet, with finite resources where, for
example, the oil we utilize took millions of years to develop… where the minerals we use
took billions of years to develop. So…having a  system that deliberately promotes the
acceleration of consumption for the sake of so - called “economic growth” is pure   ecocidal
insanity .
[Dr. John McMurtry] Absence of waste, that’s what efficiency is. Absence of waste? This
system is more wasteful than a ll the other existing systems in the history of the planet. Every
level of life organization and life system is in a state of crisis and challenge and decay or
collapse. No peer - reviewed journal in the last 30 years will tell you anything different: that i s
that every life system is in decline as well as social programs… as well as our water access.
Try to name any means of life that isn’t threatened and endangered… You can’t. There really
isn’t one and that’s very, very despairing. But we haven’t even figu red out the causal
mechanism. We don’t want to face the causal mechanism. We just want to go on. You know
that’s where insanity is where you keep doing the same thing over and over again even
though it clearly doesn’t work. So you’re really dealing with no t an economic system but I
would go so far as to say   an anti - economic syste m .
The   Anti - Economy

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

[Narrator] There is an old saying that the competitive market model seeks to “create the best
possible goods at the lowest possible prices”. This statement is es sentially the incentive
concept which justifies market competition based on the assumption that the result is the
production of higher quality goods. If I was going to build myself a table from scratch I would
naturally build it out of the best most durabl e materials possible, right? With the intent for it to
last as long as possible. Why would I want to make something poor knowing I would have to
eventually do it again and expend more materials and more energy? Well, as rational as that
may seem in the phy sical world when it comes to the market world it is not only explicitly
irrational it is not even an option. It is technically impossible to produce the best of anything if
a company is to maintain a competitive edge and hence remain affordable to the cons umer.
Literally everything created and set for sale in the global economy is immediately inferior the
moment it is produced for it is a mathematical impossibility to make the most scientifically
advanced, efficient and strategically sustainable products. T his is due to the fact that the
market system requires that “cost efficiency” or the need to reduce expenses exists at every
stage of production. From the cost of labor, to the cost of materials and packaging and so on.
This competitive strategy, of course  is to make sure the public buys their goods rather than
from a competing producer …which is doing the exact same thing to also make their goods
both competitive and affordable. This immutably wasteful consequence of the system could
be termed:   Intrinsic   O bsolescence . However, this is only one part of a larger problem: A
fundamental governing principle of market economics one you will not find in any textbook,
by the way  –  is the following: “Nothing produced can be allowed to maintain a lifespan longer
than  what can be endured in order to continue cyclical consumption.” In other words, it is
critical that stuff breakdown, fail and expire within a certain amount of time. This is termed  –
“Planned   obsolescence” . Planned obsolesce is the backbone of the underly ing market
strategy of every goods producing corporation in existence. While very few, of course would
admit to such a strategy outright what they do is mask it within the Intrinsic Obsolescence
phenomenon just discussed, while often ignoring, or even supp ressing new advents in
technology which might create a more sustainable, durable good. So, if it wasn’t wasteful
enough that the system inherently cannot allow the most durable and efficient goods to be
produced, Planned Obsolescence deliberately recognize s that the longer any good is in
operation the worse it is for sustaining cyclical consumption and hence the market system
itself. In other words,   product sustainability is actually inverse to economic growt h   and hence

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

there is a direct, reinforced incenti ve to make sure life spans are short of any given good
produced.
And, in fact, the system cannot operate any other way. One glance at the sea of landfills now
spreading across the world show the obsolescence reality. There are now billions of cheaply
made  cell phones computers and other technology each full of precious, difficult to mine
materials such as gold, coltan, copper… now rotting in vast piles usually due to the mere
malfunction or obsolescence of small parts which, in a conservative society could  likely be
fixed or updated and the life of the good extended. Unfortunately, as efficient as that may
seem in our physical reality, living on a finite planet with finite resources, it is explicitly
inefficient, with respect to the market. To put into a phr ase:   “Efficiency, Sustainability, and
Preservation are the enemies of our economic system ”   .
Likewise, just a physical goods need to be constantly produced and reproduced regardless
of their environmental impact the service industry operates with an equal  rational. The fact is,
there is no monetary benefit to resolving any problems which are currently being serviced. At
the end of the day the last thing the medical establishment really wants is the curing of
diseases such as cancer which would eliminate cou ntless jobs and trillions in revenue. And
since we are on the subject… Crime and Terrorism in this system are good! Well, at least
economically… for it is employing police generating hi - value commodities for security not to
mention the value of prisons tha t are privately owned  –  for profit.
And how about   war ? The war industry in America is a huge driver of GDP  –  one of the most
profitable industries  –  producing weapons of death and destruction. The favorite game of this
industry is to blow things up and the n can go and rebuild them, for profit. We saw this with
the windfall billion dollar contracts made from the Iraq war. The bottom line is that socially
negative attributes of society have become positively rewarded ventures for industry and any
interest in  problem resolution or environmental sustainability and conservation is intrinsically
counter to economic sustainability. And this is why every time you see the GDP rise in any
country you are witnessing an increase in necessity whether real or contrived an d by
definition, a necessity is rooted in inefficiency. Hence, increased necessity means increased
inefficiency.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

Value   System   Disorder
[Michael C. Ruppert] The   American   dream   is based on the rampant consumerism. It is
based upon the fact that mainstream me dia and especially commercial advertising  –  all
corporations who need this infinite growth  –  have convinced us or brainwashed most people
in America and the world that we have to have X number of material possessions and the
possibility of gaining infinite ly more material possessions, in order to be happy. That’s just
not true. So why do people continue to buy in this way which is ultimately eco - genocidal in its
systemic effects cumulatively? And it just is classical & operant conditioning. You simply put
i nputs of conditioning into the organism and you have outputs of desired behaviors or goals
or objectives. And it has all the resources of technology and they boast about how they get
into the minds of infants what they hear is already making them condition ed to the brand.
Then you see, that’s how people have been such fools. They have been taught to be fools.
It’s a value system disorder.
[Narrator] You know, if there is any testament to the plasticity of the human mind. If there is
any proof to how malleab le human thought is and how easily conditioned and guided people
can become based on the nature of their environmental stimulus and what it reinforces: the
world of   commercial   advertising   is the proof. You have to stand in awe at the level of
brainwashing  where these programmed robots known as “consumers” wander the landscape
only to walk into a store and spend, say 4000$ on a handbag that likely cost 10 dollars to
make in a sweatshop overseas. Only for the brand status it supposedly represents in the
cultu re.
Or perhaps the ancient communal traditions which increase trust and cohesiveness in
society  –  which have now been hijacked by acquisitive materialistic values where now we
annually exchange useless crap a few times a year. And we might wonder why so ma ny
today have a compulsion to shopping and acquisition when it is clear that they have
conditioned from childhood to expect material goods as a sign of their status with friends and
family. The fact is, the foundation of any society are the values that sup port its operation and
our society, as it exists can only operate if our values support the conspicuous consumption
it requires to continue the market system.
75 years ago consumption in America and much of the 1st world was half of what we see
today, per  person. Today’s new consumer culture has been manufactured and imposed due

to the very real need for higher and higher levels of consumption. And this is why most

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

corporations now spend more money on advertising, than the actual process of product
creation  itself. They work diligently to create a false need for you to fill. And it happens to
work.
The   “Economists”
[Dr. John McMurtry] You know economists, in fact, are not economists at all. They’re
propagandists of money value and you will find that all of t heir models basically get down to
token exchanges that are true to profit of one side or both sides or whatever but they are
completely disconnected from the actually existing world of reproduction.
[Question] In Ohio, an old man failed to pay his electric  bill you may be familiar with the case
and the electric company turned off the electricity and he died. The reason they turned it off
was because it wouldn’t have been profitable for them to keep it on because he didn’t pay his
bill. Do you believe that w as right?
[Milton Friedman] The responsibility really lies not on the electric company for turning it off
but on those of this man’s neighbors and friends and associates who were not charitable
enough to enable him, as an individual to meet the electric bi ll.
[Narrator] HMMMMMM… Did I hear that right? Did he just say the death of a man caused by
not having money was the responsibility of… other people… or, in effect, charity? Well then,
I guess we’re gonna need a whole lot of infomercials, little miserable  coin slot donations for
bodega counters and a bunch of pickle jars for the billion people now starving to death on
this planet… because of the very system Milton Friedman promotes.
[One child dies every five seconds as a result of hunger and malnutrition]
Whether you are dealing with the philosophies of Milton Friedman, F.A. Hyack John Maynard
Keynes, Ludwig von Mises or any other major market economist the basis of rationale rarely
leaves the money sequence. It is like a religion. Consumption analysis, sta bilization policies
deficit spending, aggregate demand… it exists as a never ending, self - referring self -
rationalizing circle of discourse where universal human need, natural resources or any form

of physical life supporting efficiency is ruled out by defa ult and replaced by the singular

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

notion that humans seeking advantage over each other for money alone motivated by their
own, narrow self - interest will magically create a sustainable, healthy, balanced society.
[Dr. John McMurtry] There is no life coordinate in this whole theory this whole doctrine. What
are they doing? What they are doing is tracking the money sequences. That’s all it is, is
tracking money sequences presupposing everything that matters. One: The re is no life
coordinates… whoa… no life coordinates! Two: That all the agents are self - maximizing
preferences seekers. That is, they think of nothing other than themselves and what they can
get most for themselves. That’s the ruling notion of rationality:  self - maximizing choice and
the only thing that they are interested in self - maximizing is money or commodities. Well,
where does social relations come in? It doesn’t, except in the exchange to self - maximize.
Where do our natural resources come in? They don ’t, except to exploit. Where does the
family come in as being able to survive? It doesn’t. They have to have money in order to
purchase any good. Well, shouldn’t an economy deal somewhere with human need? Isn’t
that what the fundamental issue is? Oh,   “need ”   isn’t even in your lexicon. You dissolve it
into   “wants” … and what is a want? That means money demand that wants to buy. Well, if
it’s money demand that wants to buy it has nothing to do with need because maybe the
person has no money demand and desperat ely needs, say, water supply. Or, it may be
money demand wants a gold toilet seat. Well, where does it all go? To the gold toilet seat.
And you call this economics? Really, when one thinks of it it’s got to be the most bizarre
delusion in the history of hu man thought.
Monetary   System
[Narrator] Now -  so far we have focused on the market system. But this system is actually
only half of the global economic paradigm. The other half is the   “Monetary   System” . While
the Market System deals with the interaction of  people gaming for profit across the spectrum
of labor production and distribution the Monetary System is an underlying set of policies set
by financial institutions which create conditions for the market system, among other things. It
includes terms we oft en hear such as   interest rates, loans, debt, the money supply inflation,
etc .   And while you might want to pull your hair out listening to the gibberish coming from the
monetary economists…
“Modest preemptive actions, can obviate the need of more drastic ac tions, at a later date.”

…the nature and effect of this system is actually quite simple.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

[Michael C. Ruppert] Our economy has… or the global economy has three basic things that
govern it. One is fractional reserve banking the banks printing money out of no thing. It’s also
based upon   compound   interest . When you borrow money, you have to pay back more than
you borrowed, which means that you, in effect create money out of thin air again, which has
to be serviced by creating still more money.
We live in an infi nite growth paradigm. The economic paradigm we live in now is a   Ponzi
scheme . Nothing grows forever. It’s not possible. As a great psychologist   James
Hillman   wrote “The only thing that grows in the human body after a certain age is cancer.”
It’s not just t he amount of money that has to keep growing it’s the amount of consumers.
Consumers to borrow money at interest to generate more money and obviously, that’s not
possible on a finite planet.
People are basically vehicles to just create money, which must cre ate more money to keep
the whole thing from falling apart, which is what’s happening right now.
[Narrator] There are really only two things anyone needs to know about the monetary
system: 1:   All money is created out of deb t . Money is monetized debt whether  it materialized
from treasury bonds home loan contracts or credit cards. In other words, if all outstanding
debt was to be repaid right now there would not be one dollar in circulation. And 2:   Interest is
charged on virtually all loans made and the money  needed to pay back this interest does not
exist in the money supply outrigh t . Only the principal is created by the loans and the principal
is the money supply. So, if all this debt was to be repaid right now not only would there not
be one dollar left in c irculation there would be a gigantic amount of money owed that is
literally impossible to pay back, for it does not exist.
The consequence of all of this is that two things are inevitable:   Inflation   and   Bankruptcy .
As far as inflation, this can be seen as  a historical trend in virtually every country today and
easily tied to its cause which is the perpetual increase of the money supply which is required
to cover the interest charges and keep the system going. As far as Bankruptcy it comes in
the form of   deb t   collapse . This collapse will inevitably occur with a person a business or a
country and typically happens when the interest payments are no longer possible to make.
But there is a bright side to all of this… well, at least in terms of the market system B ecause

debt creates pressure Debt creates wage slaves. A person in debt is much more likely to

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

take a low wage than a person who isn’t hence becoming a cheap commodity so it’s great for
corporations to have a pool of people that have no financial mobility.  But hey  –  that same
idea also goes for entire countries… the World Bank and the International Monetary Fund
which mostly serve as proxies for transnational corporate interests give gigantic loans to
troubled countries at very high interest rates and then,  once the countries are deeply in the
hole and can’t pay austerity measures are applied the corporations swoop in set up
sweatshops and take their natural resources. Now that’s market efficiency.
But wait  –  there’s more: you see -  there’s this unique hybrid  of the monetary and market
system called the   stock   market   which rather than, you know, actually produce anything real
they just buy and sell money itself. And when it comes to debt, you know what they do?
That’s right  –  they trade it. They actually   buy an d sell debt for profi t . From credit default
swaps and collateralized debt obligations for consumer debt to complex derivative schemes
used to mask the debt of entire countries such as the collusion of investment bank Goldman
Sachs and Greece which nearly c ollapsed the entire European economy. So when it comes
to the stock market and Wall Street we have an entirely new level of insanity born out of the
Money Sequence of value.
[Max Keiser, Financial Analyst “The Keiser Report”] All you need to know about mar kets was
written in an editorial in the   Wall   Street   Journal   a couple years ago it was called   “Lessons   of
the   Brain - Damaged   Investor” . And in this editorial, they explained why people with slight
brain damage do better as investors than people with normal b rain functionality. Why?
Because the slightly brain - damaged person has no empathy. That’s the key. If you don’t
have any empathy you do well as an investor and so Wall Street breeds people who have no
empathy. To go in there and to make decisions and to ma ke trades they have no
compunction about no thought whatsoever as to how what they are doing might affect their
fellow human being. So they breed these robots. These people who have no souls and since
they don’t even want to pay these people anymore -  they  are now breeding robots  –  real
robots  –  real algorithmic traders. Goldman Sachs in the high frequency trading scandal: they
put a computer next to the New York Stock Exchange. This computer, this “co - located”
computer, as they call it: it front - runs all th e trades on the exchange and hits the exchange
with volumes of orders in ways that “scalp” pennies and nickels away from the exchange. It’s
like they’re siphoning money all day long. They went one quarter last year 30 or 60 straight
days without a single d own day and made millions of dollars every single day? That
statistically impossible!

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

When I worked on Wall Street, the way it works is everyone kicks upstairs to bribes. The
brokers bribe to the office manager the office manager bribes to the regional sal es manager.
The regional sales manager bribes to the national sales manager. It’s a common
understanding. At Christmas, who gets the biggest bonus at Christmas in an average broker
job? The compliance officer. The compliance officer sits there all day long ; he’s supposed to
be making sure you don’t violate any of the margin rules and you’re “complying” with the law.
Of course, yeah, to the extent that you can bribe the compliance officer yeah, that’s right, you
are complying with the law!
So how has fraud b ecome the system? It’s no longer a byproduct. It is the system. It’s like
that old Woody Allen joke. He says: “Doctor, my brother thinks he’s a chicken.” And the
doctor says, “Take a pill and that should cure the problem.” And he says, “No doctor. You
don’ t understand We need the eggs.” Okay? So, the trading of fraudulent claims back and
forth between banks to generate fees, to generate bonuses, has become the GDP producing
growth engine of the United States economy even though they are essentially trading
fraudulent claims that there is absolutely no hope of ever paying back.
They are processing, generating and re - securitizing nothing. If I write $20 billion on a cocktail
napkin and I sell it to J.P. Morgan and J.P. Morgan writes $20 billion on a cocktail n apkin and
we swap those two cocktail napkins at a bar and we each pay ourselves a quarter of 1% in a
fee we make a lot of money for our Christmas bonus. We each have on our books a $20
billion cocktail napkin which has no real value until such time as the  system is no longer able
to absorb bogus cocktail napkins in which case we go to the government to get bailed out.
[Narrator] And because of Wall Street and the global stock market there are now
conservatively about 700 Trillion dollars of outstanding frau dulent claims -  know as
derivatives still waiting to collapse. A value amounting to over 10 times the gross domestic
product of the entire planet. And while we have seen the bailouts of corporations and banks
by governments… which, of course, comically borr ow their money from banks to begin with.
We are now seeing attempts to bailout whole countries by conglomerates of other countries
through the International banks.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

But how do you bailout a planet? There is no country out there that isn’t now saturated in
d ebt. The cascade of sovereign debt defaults we have seen can only be the beginning, when
the math is taken into account. It has been estimated in the United States alone that income
tax would need to be raised to 65% per person just to cover the interest i n the near future.
Economists are now foreshadowing that within a few decades 60% of the countries on the
planet will be bankrupt. But hold on –  Let me get this straight. The world is going bankrupt
whatever the hell that means because of this idea called “ debt” which doesn’t even exist in
the physical reality. It’s only part of a game we’ve invented… and, yet, the well being of
billions of people is now being compromised. Extreme layoffs  –  tent cities -  accelerating
poverty Austerity measures imposed  –  schoo ls shutting down  –  child hunger…and other
levels of familial deprivation all because of this elaborate fiction…   What are we, fucking
stupid? !
Hey! Hey! Mars -  my man. Help a brother out, uh? Grow up, kid. Saturn! What’s up man? You
remember that smokin’ neb ula I hooked you up with a while back? uh -  listen Earth. We’re
getting really tired of you. You’ve been given everything and yet you waste it all. You’ve got
plenty of resources and you know it. Why don’t you grow up and learn some responsibility for
Chris t’s sake. You’re making your mother miserable. You’re on your own, pal. Yeah,
whatever.
Public   Health
[Narrator] Now, all of this considered… from the waste machine known as the market
system -  to the debt machine known as the monetary system -  hence creatin g the monetary -
market paradigm which defines the global economy today… there is one consequence that
runs through the entire machine:   Inequality . Whether it is market system which creates a
natural gravitation towards monopoly and power consolidation while  also generating pockets
of wealthy industries that tower over others regardless of utility -  such as the fact that top
hedge fund managers on wall street now take home over 300 million dollars a year for
contributing literally nothing. While a scientist lo oking for a cure for a disease trying to help
humanity might make 60 thousand dollars a year if they’re lucky. Or whether it is the
monetary system which has class division built right into its structure. For example: If I have
1 million dollars to spare a nd I put it into a CD at 4% interest -  I will make 40,000 dollars a

year. No social contribution -  no nothing. However, if I’m a lower class person and have to

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

take loans to buy my car or home I am paying in interest which in abstraction is going to pay
that  millionaire with the 4% CD. This stealing from the poor to pay the rich is a foundational,
built in aspect of the monetary system. And it could be labeled   “Structural   Classism” .
Of course, historically, social stratification has always been deemed unfair  but obviously
accepted overall as now 1% of the population owns 40% of the planet’s wealth. But material
fairness aside there is something else going on underneath the surface of inequality causing
an incredible deterioration in public health as a whole.
[ Richard Wilkinson] Well, I think people often are puzzled by the contrast between the
material success of our societies  –  unprecedented levels of wealth  –  and the many social
failings. If you look at the rates of drug abuse or violence or self harm amongst  kids or
mental illness there is clearly something going deeply wrong with our societies. The data I
have been describing simply shows that intuition that people have had for hundreds of years,
that inequality is divisive and socially corrosive. But, that  intuition is truer than I think we ever
imagined. There are very powerful psychological and social effects of inequality. More to do I
suppose with feelings of superiority and inferiority. That kind of division… Maybe going with
the respect or disrespect  –  people feeling looked down on at the bottom which, by the way, is
why violence is more common in more unequal societies  –  the trigger to violence is so often
people feeling looked down upon and disrespected.
[James Gilligan] If there is one principle I could emphasize that is, the most important
principle underlying the prevention of violence it would be   “Equality” . The single most
significant factor that affects the rate of violence is the degree of equality  versus the degree
of inequality in that society.
[Richard Wilkinson] So, what we’re looking at is a sort of general social dysfunction. It’s not
just one or two things that go wrong as inequality increases it seems to be everything,
whether we are talking  about crime or health or mental illness or whatever.
[Robert Sapolsky] One of the really disturbing findings out there in public health is never ever
make the mistake of being poor. Or being born poor. Your health pays for it in endless sorts
of ways: some thing known as the   ‘health   socioeconomic   gradient’ . As you move down
from the highest strata in society, in terms of socioeconomic status every step down, health

gets worse for umpteen different diseases. Life expectancy gets worse. Infant mortality rate -

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

everything you could look at. So, a huge issue has been why is it that this gradient exists. A
simple obvious answer which is, ‘if you’re chronically sick, you’re not going to be very
productive so, health causes drive socioeconomic differences.’ Not that  in the slightest -  on
the very simple level that you could look at the socioeconomic status of a 10 - year - old and
that’s going to predict something about their health decades later. So, that’s the direction of
causality.
Next one -  ‘Oh, it’s perfectly obvious ’ -  poor people can’t afford to go to the doctor… it’s
healthcare access? It’s got nothing to do with that because you see these same gradients in
countries with universal health care and socialized medicine. Okay  –  next ‘simple
explanation’: Oh  - on the ave rage -  the poorer you are the more likely you are to smoke and
drink and all sorts of lifestyle risk factors. Yeah, those contribute but careful studies have
shown that it explains maybe about a third of the variability. So what’s left? What’s left is
havin g a ton to do with the STRESS of poverty. So, the poorer you are, starting off being the
person who is one dollar of income behind Bill Gates… the poorer you are in this country on
the average, the worse your health is. This tells us something really impor tant: the health
connection with poverty it’s not about being poor it’s about feeling poor.
[Richard Wilkinson] Increasingly we recognize that chronic stress is an important influence
on health but the most important sources of stress are the quality of so cial relations.
[Narrator] And if there is anything that lowers the quality of social relations it is the
socioeconomic stratification of society. What science has now shown is that regardless of
material wealth the stress of simply living in a stratified  society leads to a vast spectrum of
public health problems and the greater the inequality, the worse they become.
Life expectancy: longer in more equal countries.
Drug Abuse: Less in more equal countries.
Mental Illness: Less in more equal countries.
Socia l Capital  –  meaning the ability of people to trust each other: Naturally greater in more

equal countries.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

Educational Scores: Higher in more equal countries.
Homicide rates: less in more equal countries.
Crime and Rates of Imprisonment: Less in more equal  countries.
It goes on and on: Infant mortality  –  obesity  –  teen birth rate: Less in more equal countries.
And perhaps most interesting: Innovation: Greater in more equal countries. Which
challenges the age old notion that a competitive stratified society i s somehow more creative
and inventive. Moreover, a study done in the UK called The WhiteHall Study confirmed that
there is a social distribution of disease as you go from the top of the socioeconomic ladder to
the bottom. For example, it was found that the  lowest rungs of the hierarchy had a 4 - fold
increase of heart disease based mortality compared to the highest rungs. And this pattern
exists, irrespective of access to health care. Hence  –  the worse a person’s relative financial
status the worse their heal th is going to be, on average. This phenomenon is rooted in what
could be termed   ‘Psychosocial   Stress’   and it is at the foundation of the greatest social
distortions plaguing our society today. Its cause? The   Monetary - Market   System . Make no
mistake: The gr eatest destroyer of ecology… the greatest source of waste, depletion and
pollution… the greatest purveyor of violence -  war  –  crime  –  poverty  –  animal abuse and
inhumanity… the greatest generator of social and personal neurosis… mental disorders  –
depressio n anxiety… Not to mention, the greatest source of social paralysis stopping us from
moving into new methodologies for personal health, global sustainability and progress on this
planet is not some corrupt Government or legislation… not some rogue Corporati on or
banking cartel… not some flaw of human nature… and not some secret hidden cabal that
controls the world. It is, in fact: The Socio - Economic System itself at its very foundation.
Part   3:   Project   Earth
[Narrator] Let’s imagine for a moment we had the o ption to redesign human civilization from
the ground up. What if, hypothetically speaking we discovered an exact replica of the planet
Earth and the only difference between this new planet and our current one is that human
evolution had not occurred. It wa s an open palette. No countries, no cities, no pollution, no
republicans…. just a pristine, open environment. So what would we do?

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

Well, first we need a   “goal” , right? And it’s safe to say that goal would be to survive. And not
to just survive, but to do s o in an optimized, healthy prosperous way. Most people, indeed,
desire to live and they would prefer to do so without suffering. Therefore, the basis of this
civilization needs to be as supportive and hence sustainable for human life as possible -
taking in to account the material needs of all the world’s people while trying to remove
anything that can could hurt us in the long run.
With that goal of “Maximum Sustainability” understood next question regards our   “method” .
What kind of approach do we take? Well, let’s see -  last I checked, politics was the method of
social operation on Earth… so what do the doctrines of the republicans, liberals
conservatives or socialists have to say about societal design? Hmmm… not a damn  thing.
Okay then  –  what about religion? Surely the great creator had to have left some blueprints
somewhere… Nope…nothing I can find. Okay then  –  so what’s left? It appears something
called   “Science” . Science is unique in that its methods demand not only  that ideas
proposed be tested and replicated… but everything science comes up with is also inherently
falsifiable. In other words, unlike religion and politics science has no ego and everything it
suggests accepts the possibility of being proven wrong even tually. It holds on to nothing and
evolves constantly. Well, that sounds natural enough to me.
So then  –  based on the current state of scientific knowledge in the early 21st century along
with our goal of “maximum sustainability” for the human population h ow do we begin the
actual process of construction? Well, the first question to ask is: What do we need to
survive? The answer, of course, are   Planetary   Resources . Whether it is the water we drink,
the energy we use or the raw materials we utilize to create  tools and shelter the planet hosts
an inventory of resources -  many of which are demanded for our survival. So, given that
reality it then becomes critical to figure out what we have and where it is. This means we
need to conduct a   survey . We simply locate  and identify every physical resource on the
planet we can, along with the amount available at each location from the deposits of copper,
to the most potent locations for wind farms to produce energy to the natural fresh water
springs to an assessment of t he amount of fish in the ocean to the most prime arable land for
food cultivation, etc.
But, since we humans are going to be consuming these resources over time we then realize
that not only do we need to locate and identify -  we also need to   track . We need  to make
sure we don’t run out of any of this stuff… that would be bad. And this means not only

tracking our rates of use but the rates of earthly regeneration as well such as how long it

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

takes for, say a tree to grow or a spring to replenish. This is call ed   “Dynamic   Equilibrium” .
In other words, if we use up trees faster than they can be grown back -  we have a serious
problem, for it is unsustainable.
So then, how do we track this inventory especially when we recognize that all of this stuff is
scattered ev erywhere. We have large mineral mines in what we call Africa, energy
concentrations in the Middle East, huge tidal power possibilities on the Atlantic coast of North
America, the largest supply of fresh water in Brazil, etc. Well, once again, good old scie nce
has a suggestion: it’s called   “Systems   theory”.   Systems theory recognizes that the fabric of
the natural world from human biology to the earthly biosphere to the gravitational pull of the
solar system itself is one huge synergistically connected system   –  fully interlinked. Just as
human cells connect to form our organs and the organs connect to form our bodies and
since our bodies cannot live without the earthy resources of food, air and water,   we are
intrinsically connected to the eart h .
And so on. So  –  as nature suggests, we take all of this inventory and tracking data and
create a “system” to manage it. A   “Global   Resource   Management   System” , in fact to
account for every relevant resource on the planet. There is simply no logical alternative if our
goa l as a species is survival in the long run. We have to keep track as a whole.
That understood, we can now consider   production . How do we use all this stuff? What will
our process of production be and what do we need to consider to make sure it is as
optimized as possible to maximize our sustainability? Well the first thing that jumps right out
at us is the fact that we need to c onstantly try and preserve. The planet’s resources are
essentially finite. So it is important that we be “strategic”.   “Strategic   Preservation”   is key.
The second thing we recognize, is that some resources are really not as good as others in
their performan ce. In fact, some of this stuff, when put into use has a terrible effect of the
environment which invariably hinders our own health. For example: oil and fossil fuels, no
matter how you cut it release some pretty destructive agents into the environment.
Th erefore, it is critical that we do our best to use such things only when we really have to  –  if
at all. Fortunately for us, we see a ton of solar  –  wind  –  tidal  –  wave  –  heat differential and
geothermal possibilities for energy production so we can strateg ize objectively about what
we use and where to avoid what could be called   “negative   retroactions”   or anything that
results from production or use that damages the environment and hence, ourselves. We will
call this   “Strategic   Safety”   to couple in with our  “Strategic Preservation”.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

But production strategies do not stop there. We are going to need an   “Efficiency
Strategy”   for the actual mechanics of production itself. And what we find is that there are
roughly three specific protocols we must adhere to:
One:  Every good we produce must be designed to last as long as possible. Naturally, the
more things breakdown the more resources we are going to need to replace them and the
more waste produced.
Two: When things do break down or are no longer usable for whateve r reason it is critical
that we harvest, or recycle as much as we possibly can. So the production design must take
this into account directly at the very earliest stages.
Three: Quickly evolving technologies, such as electronics which are subject to the fa stest
rates of technological obsolescence would need to be designed to foreshadow and
accommodate physical updates. The last thing we want to do is throw away an entire
computer system just because it has only one broken part or is outdated. So we simply
d esign the components to be easily updated part by part, standardized and universally
interchangeable foreshadowed by the current trend of technological change.
And when we realize that the mechanisms of “Strategic Preservation” “Strategic Safety” and
“Stra tegic Efficiency” are purely technical considerations devoid of any human opinion or
bias we simply program these strategies into a computer which can weigh and calculate all
the relevant variables allowing us to always arrive at the absolute best method f or
sustainable production based on current understandings. And while that might sound
complex all it is is a glorified calculator not to mention that such multi - varied decision making
and monitoring systems are already used across the world today for isola ted purposes. It is
simply a process of scaling it out.
So… Now, we not only have our Resource Management System but also a Production
Management System both of which are easily computer automated to maximize efficiency,
preservation & safety. The informat ional reality is that the human mind or even a group of
humans, cannot track what needs to be tracked. It must be done by computers and it can be.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

And this bring us to the next level:   Distribution . What sustainability strategies make sense
here? Well, sinc e we know that the shortest distance between two points is a straight line
and since energy is required to power transport machines the less transport distance, the
more efficient. Producing goods in one continent and shipping them over to another only
mak es sense if the goods in question simply cannot be produced in the target area.
Otherwise, it is nothing but wasteful. We must localize production, so distribution is simple
fast and requires the least amount of energy. We’ll call this the   “Proximity   Strat egy”   which
simply means we reduce the travel of goods as much as possible whether raw materials or
finished consumer products.
Of course, it might also be important to know what goods are we transporting and why… And
this falls under the category of   Demand . And demand is simply what people need to be
healthy and to have a high quality of life. The spectrum of material human needs range from
core life supporting necessities such as food, clean water and shelter… to social and
recreational goods which allow f or relaxation and personal  –  social enjoyment  –  both
important factors in human and social health overall. So  –  very simply -  we take another
survey. People describe their needs, demand is assessed and production begins based on
that demand. And since the l evel of demand of different goods will naturally fluctuate and
change around different regions we need to create a “Demand / Distribution Tracking
System” so to avoid overruns and shortages. Of course, this idea is old news, it is used in
every major store  chain today to make sure they keep up with their inventory. Only this time,
we are tracking on a global scale.
But wait a minute. We really can’t fully understand demand if we don’t account for the actual
usage of the good itself. Is it logical and sustai nable for every single human to, say have one
of everything made? Regardless of their usage? No. That would be simply wasteful and
inefficient. If a person has a need for a good but that need is only for say: 45 minutes a day
on average, it would be much m ore efficient if that good was made available to them and to
others when needed. Many forget that it isn’t the good they want, it is the purpose of that
good. When we realize that the good itself is only as important as its utility, we see that
“external r estriction” or what we might call today “ownership” is extremely wasteful and
environmentally illogical in a fundamental, economic sense. So we need devise a strategy
called:   “Strategic   Access” . This would be the foundation of our “Demand / Distribution
Tr acking System.” which makes sure we can meet the demand of the population’s needs for

access of whatever they need, when they need it. And as far as physically obtaining the

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

goods centralized and regional access centers all make sense for the most part pla ced in
close proximity to the population, and a person would simply come in, take the item use it
and when finished, return it when no longer needed… sort of how a library works today. In
fact, these centers could not only exist in the community in the way  we see local stores
today, but specialized access centers would exist in specific areas where often certain goods
are utilized, saving more energy with less repeat transport.
And once this Demand Tracking System is in order it is tied into our Production  Management
system and, of course, into our Resource Management system hence creating a unified
dynamically updating global economic management machine that simply makes sure we
remain sustainable, starting with securing the integrity of our finite resource s, moving to
make sure we only create the best most strategic goods possible, while distributing
everything in the most intelligent and efficient way. And the unique result of this preservation
based approach which is intuitively counter to many is that th is logical, ground up empirical
process of preservation and efficiency, which can only define true human sustainability on
the planet, would likely enable something never before seen in human history. Access
Abundance… not just for a percentage of the glob al population… but the entire civilization.
This economic model, as was just generalized… This responsible, systems approach to total
Earth resource management and processes designed again to do nothing less than take
care of humanity as whole in the most  efficient and sustainable way could be termed:
a   “RESOURCE - BASED   ECONOMY” . The idea was defined in the 1970s by Social
Engineer   Jacque   Fresco . He understood back then that society was on a collision course
with nature and itself  –  unsustainable on every le vel and if things didn’t change we would
destroy ourselves, one way or another.
[Interviewer] Are all of these things you are saying, Jacque… could they be built with what
we know today? Or are you   guessing … based on what we know today.
[Jacque Fresco] No,  all of these things can be built with what we know today. It would take
10 years to change the surface of the earth. To rebuild the world into a second Garden of
Eden. The choice lies with you. The stupidity of a nuclear arms race… the development of
weap ons… trying to solve your problems politically by electing this political party or that
political party… that all politics is immersed in corruption. Let me say it again: Communism,
socialism, fascism… the Democrats, the liberals… we want to absorb human b eings. All

organizations that believe in a better life for man: there are no Negro problems or Polish

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

problems or Jewish problems or Greek problems or women’s problems  –  there are human
problems! I’m not afraid of anybody; I don’t work for anyone; no one c an discharge me. I
have no boss. I am afraid to live in the society we live in today. Our society cannot be
maintained by this type of incompetency. It was great  –  the free enterprise system  –  about
35 years ago. That was the last of its usefulness. Now, w e have got to change our way of
thinking or perish.
The horror movies of the future will be our society… the way it didn’t work and politics…
would be part of a horror movie.
Well, lots of people today use the term ‘cold science’ because it’s analytical an d they don’t
even know what analytical means. Science means: closer approximations to the way the
world really works. So, it’s telling the truth  –  is what it is. A scientist doesn’t try to get along
with people. They tell them what their findings are. They  have to question all things and if
some scientist comes up with an experiment that shows certain materials have certain
strengths, other scientists have to be able to duplicate that experiment and come up with the
same results. Even if a scientist feels t hat an airplane wing, due to mathematics or
calculations, can hold up a given amount of weight they still pile sandbags on it to see when
it breaks and they say you know my calculations are right or they are not correct’. I love that
system because it’s fr ee of bias and free of thinking that math can solve all the problems.
You have to put your Math to test also. I think that every system that can be put to test
should be put to test. And that all decisions should be based upon research.
[Narrator] A Resour ce - Based Economy is simply the scientific method applied to social
concern -  an approach utterly absent in the world today. Society is a technical invention. And
the most efficient methods of optimized human health physical production, distribution, city
in frastructure and the like reside in the field of science and technology  –  not politics or
monetary economics. It operates in the same systematic way as, say an airplane and there
is no Republican or Liberal way to build an airplane. Likewise, nature itself  is the physical
referent we use to prove our science and it is a set system -  emerging only from our
increased understanding of it. In fact, it has no regard for what you subjectively think or
believe to be true. Rather, it gives you an option: you can lea rn and fall in line with its natural

laws and conduct yourself accordingly -  invariably creating good health & sustainability… or

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

you can go against the current  –  to no avail. It doesn’t matter how much you believe you can
just stand up right now and walk o n the wall next to you the law of gravity will not allow it. If
you do not eat  –  you will die. If you are not touched as an infant  –  you will die. As harsh as it
may sound,   nature   is   a   dictatorship   and we can either listen to it and come in harmony with
it  or suffer the inevitable adverse consequences.
So, a Resource - Based Economy is nothing more than a set of proven, life supporting
understandings where all decisions are based upon optimized human and environmental
sustainability. It takes into account the  empirical   “Life   Ground”   which every human being
shares as a need regardless, again, of their political or religious philosophy. There is no
cultural relativism to this approach. It isn’t a matter of opinion. Human needs are human
needs and having access t o the necessities of life, such as clean air nutritious food and
clean water along with a positively reinforcing, stable nurturing, non - violent environment, is
demanded for our mental and physical health our evolutionary fitness and hence, the species
surv ival itself.
[Jacque Fresco] A Resource - Based Economy would be based upon available resources.
You can’t just bring a lot of people to an island or build a city of 50,000 people without having
access to the necessities of life. So, when I use the term ‘a c omprehensive systems
approach’ I’m talking about doing an inventory of the area first and determining what that
area can supply -  not just architectural approach -  not just design approach -  but design must
be based on all of the requirements to enhance human  life and that’s what I mean by an
“integrated way of thinking.” Food, clothing, shelter, warmth, love  –  All those things are
necessary and if you deprive people of any of them you have a lesser human being, less
capable of functioning.
[Narrator] As previ ously outlined, a Resource - Based Economy’s ground up global, systems
approach to extraction, production and distribution is based upon on a set of true economic
mechanisms, or ‘strategies’ which guarantee efficiency and sustainability in every area of the
economy. So, continuing this train of thought regarding logical design -  what is next in our
equation? Where does all this materialize? Cities. The advent of the city is a defining feature
of modern civilization. Its role is to enable efficient access to th e necessities of life along with
increased social support and community interaction.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

So how would we go about designing an   ideal   city ? What shape should we make it?
Square? Trapezoid? Well, given we are going to be moving around the thing we might as
well  make it as equidistant as possible for ease… hence the circle. What should the city
contain? Well, naturally we need a residential area, a goods production area a power
generation area; an agricultural area. But we also need nurturing as human beings  –  hen ce
culture nature, recreation and education. So lets include a nice open park an
entertainment/events area for cultural purposes and socializing and educational and
research facilities. And since we are working with a circle it seems rational to place thes e
functions in Belts based on the amount of land required for each goal along with ease of
access.
Very good. Now, let’s get down to specifics: First we need the consider the core
infrastructure or intestines of the city organism. These would be the water,  goods waste and
energy transport channels. Just as we have water and sewage systems under our cities
today we would extend this channeling concept to integrate waste recycling and delivery
itself. No more mailmen or garbage men. It is built right in. We c ould even use automated
pneumatic tubes and similar technologies.
Same goes for   transport . It needs to be integrated and strategically designed to reduce or
even remove the need for wasteful, independent automobiles. Electric trams, conveyors,
transveyors  and maglevs which can take you virtually anywhere in the city, even up and
down along with connecting you to other cities as well. And of course, in the event a car is
required it is automated by satellite for safety and integrity. In fact, this automation
technology is in working order right now.   Automobile accidents kill about 1.2 million people
every single yea r ; injuring about 50 million. This is absurd and doesn’t have to occur.
Between efficient city design and automated, driverless cars this death to ll can be virtually
eliminated.
Agriculture . Today, through our haphazard, cost - cutting industrial methods using pesticides,
excessive fertilizers and other means we have successfully destroyed much of the the arable
land on this planet, not to mention also extensively poisoning our bodies. In fact , industrial
and agricultural chemical toxins now show up in virtually every human being tested, including
infants. Fortunately, there is a glaring alternative  –  the soilless mediums of hydroponics and
aeroponics which also reduce nutrient and water requir ements by up to 75 % of our current

usage. Food can now be organically grown on an industrial scale in enclosed vertical farms.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

Such as in 50 story 1 acre plots  –  virtually eliminating the need for pesticides and
hydrocarbons in general. This is the future  of industrial food cultivation. Efficient, clean and
abundant. So, such advanced systems would be, in part what comprise our agricultural belt,
producing all the food required for the entire city’s population, with no need to import
anything from the outs ide saving time, waste and energy.
And speaking of   Energy –  The Energy Belt would work in a systems approach to extract
electricity from our abundant renewable mediums  - specifically wind, solar, geothermal and
heat differentials and if near water potentials   –  tidal and wave power. To avoid intermittency
and make sure a positive net energy return occurs these mediums would operate in an
integrated system powering each other when needed while storing excessive energy to large
super capacitors under the ground  so nothing can go to waste.
And not only does the city power itself particular structures will also power independently and
generate electricity through photovoltaic paints structural pressure transducers, the
thermocouple effect and other current but unde r utilized technologies.
But, of course, this begs the question: how does this technology, and goods in general, get
created in the first place? This bring us to   Production : The Industrial Belt, apart from having
hospitals and the like would be the hub of  factory production. Completely localized overall it
would, of course, obtain raw materials by way of the global resource management system,
just discussed -  with demand being generated by the population of the city itself. As far as the
mechanics of product ion we need to discuss a new, powerful phenomenon which was
sparked very recently in human history and is on pace to changing everything.   It’s   called
Mechanization   or   the   automation   of   labor .
[Dr. Berok Khoshnevis, Industrial & Systems Engineering, USC] We ll, if you look around,
you’ll notice that almost everything that we use today is built automatically. Your shoes, your
clothes, your home appliances, your car and so on… they are all built by machines in an
automatic way. Can we say that the society has n ot been influenced by these major
technological advancements? Of course not. These systems really dictate new structures
and new needs and they make a lot of other things obsolete. So, we have been going up in
the development and use of technology in an ex ponential way. So, definitely automation is
going to continue. You cannot stop technologies that just make sense.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

[Narrator] Labor automation through technology is at the bottom of every major social
transformation in human history. From the agricultural r evolution and the invention of the
plow to the industrial revolution and the invention of the powered machine to the information
age we live in now through essentially the invention of advanced electronics and computers.
And with regard to advanced product ion methods today mechanization is now evolving on its
own, moving away from the traditional method of assembling component parts into a
configuration  –  into an advanced method of creating entire products in one single process.
[Dr. Adrian Bowyer, Inventor  | Engineer, Bath University, UK] Like most engineers, I’m
fascinated by biology because it is so full of examples of extraordinary pieces of engineering.
What biology is  –  is the study of things that copy themselves. As good a definition of life as
we’ve  got. Again, as an engineer, I have always been intrigued by the idea of machines
copying themselves. RepRap is a three - dimensional printer -  that’s to say it is a printer that
you plug into your computer and instead of making two - dimensional sheets of paper  with
patterns on it makes real, physical, three - dimensional objects. Now, there’s nothing new
about that 3 - D printers have been around for about 30 years. The big thing about RepRap is
that it prints most of its own parts. So, if you’ve got one, you could  make another one and
give it to a friend as well as being able to print lots of useful things.
[Narrator] From the simple printing of basic household goods in your home to the printing of
an entire automobile body in one swoop advanced, automated 3d print ing now has the
potential to transform virtually every field of production. Including home construction.
[Dr. Berok Khoshnevis] Contour Crafting is actually a fabrication technology — the so - called
3 - D printing — when you directly build 3 - D objects from a comp uter model. Using Contour
Crafting, it will be possible to build a 2000 square - foot home entirely by the machine, in one
day. The reason that people are interested in automating construction is that it really brings a
lot of benefits. For example, construc tion is pretty labor - intensive and although it provides
jobs for a sector of the society it also has issues and complications. For example,
construction is the most dangerous job that there is. It is worse than mining and agriculture.
That has the highest  level of fatality in almost every country. Another issue is the waste. An
average home in the United States has 3 to 7 tons of waste. So this is huge if we look at the

impact of construction and knowing about 40% of all materials in the world are used in

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

c onstruction. So, a big waste of energy and resources and big damage to the environment
as well.
[Roxanne Meadows, The Venus Project] Making homes using hammers and nails and wood
with the state of our technology today, is really absurd and will go the way  of our labor class
in regards to manufacturing in the United States. Recently, there was a study by economist
David Autor of MIT that states that our middle class is obsolete and being replaced by
automation.
[Narrator] Quite simply, Mechanization is more  productive efficient and sustainable than
human labor in virtually every sector of the economy today. Machines do not need vacations,
breaks, insurance, pensions and they can work 24 hours a day, everyday. The output
potential and accuracy compared to huma n labor, is unmatched. The bottom line: repetitive
human labor is becoming obsolete and impractical across the world and the unemployment
you see around you today is fundamentally the result of this evolution of efficiency in
technology. For years, market  economists have dismissed this growing pattern, which could
be called   “Technological   Unemployment,”   because of the fact that new sectors always
seemed to emerge to re - absorb the displaced workers. Today, the service sector is the only
real hub left and cur rently employs over 80% of the American workforce with most
industrialized countries maintaining a similar proportion. However, this sector now being
challenged increasingly by automated kiosks, automated restaurants, and even automated
stores. Economists  today are finally acknowledging what they had been denying for years:
not only is technological unemployment exasperating the current labor crisis we see across
the world due to the global economic downturn, but the more the recession deepens the
faster th e industries are mechanizing. The catch, which is not realized is that the faster they
mechanize to save money, the more they displace people — the more they reduce public
purchasing power. This means that, while the corporation can produce everything more
c heaply fewer and fewer people will actually have money to buy anything regardless of how
cheap they become. The bottom line is that the “labor for income” game is slowly coming to
an end. In fact, if you take a moment to reflect on the jobs which are in ex istence today which
automation could take over right now, if applied 75% of the global workforce could be
replaced by mechanization tomorrow.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

And this is why, in a   Resource - Based   Economy   there is no Monetary - Market system. No
money at all… for there is no  need. A Resource - Based Economy recognizes the efficiency of
mechanization and accepts it for what it offers. It doesn’t fight it, like we do today. Why?
Because it is irresponsible not to given any interest in efficiency and sustainability. And this
brings  us back to our city system. In the center is the Central Dome which not only houses
the educational facilities and transportation hub -  it also hosts the mainframe that runs the
cities technical operations. The city is, in fact, one big automated machine.  It has sensors in
all technical belts to track the progress of architecture -  energy gathering, production,
distribution and the like. Now, would people be needed to oversee these operations in the
event of a malfunction and the like? Most probably: yes. Bu t that number would decrease
over time as improvements continue. However, as of today, maybe 3% of the city population
would be needed for this job when you break it down. And I can assure you: that in an
economic system which is actually designed to take  care of you and secure your well being
without you having to submit to private dictatorship on a daily basis… usually to a job that is
either technically unnecessary or socially pointless while often struggling with debt that
doesn’t exist just to make end s meet… I guarantee you: people will volunteer their time left
and right to maintain and improve a system that actually takes care of them.
And coupled with this issue of ‘Incentive,’ comes the common assumption that if there isn’t
some external pressure f or one to “work for a living” people would just sit around, do nothing
and turn into fat lazy blobs. This is nonsense. The labor system we have today is in fact the
generator of laziness, not a resolver of it. If you think back to when you were a child, fu ll of
life, interested in new things to understand, likely creating and exploring… but as time went
on, the system pushed you into the focus of figuring out how to make money, and from early
education to study at a university, you are narrowed. Only to eme rge as a creature which
serves as a cog in a wheel in a model that sends all the fruits to the upper 1%.
Scientific Studies have now shown that people are, in fact not motivated by monetary reward
when it comes to ingenuity and creation. The creation itsel f is the reward. Money, in fact,
appears only to serve as an incentive for repetitive, mundane actions, a role we have just
now shown can be replaced by machine. So when it comes to innovation the actual use of
the human mind the monetary incentive has pro ven to be a hindrance interfering and
detracting from creative thought. And this might explain why Nikola Tesla, the Wright

Brothers, and other inventors who contributed massively to our current world never showed a

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

monetary incentive to do so. Money is, i n fact, a false incentive and causes 100 times more
distortion than it does contribution.
Good morning class. Please settle down. The first thing I would like to do is go around the
room and ask what everyone would like to be when they grow up. Who would l ike to go first?
Okay, how about you Sarah?
When I grow up I want to work at McDonald’s like my mom!
Oh, family tradition, eh? How about you, Linda?
When I grow up, I’m going to be a prostitute on the streets of New York City!
Oh! glamour girl, huh? Very a mbitious.
How about you, Tommy?
When I grow up, I’m going to be a rich, elitist businessman who works on Wall Street and
profits off of the collapse of foreign economies.
Enterprising… And great to see some multicultural interest!
Victims   of   Culture
[Narrator] As stated before, a Resource - Based Economy applies the Scientific Method to
social concern and this isn’t limited to simply technical efficiency. It also has the
consideration of human and social well - being directly and what comprises it. What g ood is a
social system if, in the end it doesn’t produce happiness and peaceful coexistence? So, it is
important to point out that with the removal of the money system and the necessities of life
provided we would see a global reduction in crime by about 9 5% almost immediately for
there is nothing to steal, embezzle, scam, or the like. 95% of all people in prisons today are
there due to some monetary related crime or drug abuse and drug abuse is a disorder, not a
crime.

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

So what about the other 5%? the truly  violent… often seeming to some as being violent for
the sake of being violent… are they just “evil” people?
The reason that I frankly think it’s a waste of time to engage in moral value judgments about
people’s violence is because it doesn’t advance by on e iota our understanding of either the
causes or the prevention of the violent behavior. People sometimes ask if I believe in
“forgiving” criminals. My answer to that is “No, I don’t believe in forgiveness anymore than I
believe in condemnation”. It’s only  if we, as a society can take the same attitude of treating
violence as a problem in public health and preventive medicine rather than as a moral
“evil”… it’s only when we make that change in our own attitudes and assumptions and values
that we will actual ly succeed in reducing the level of violence rather than stimulating it —
which is what we do now.
[Jacque Fresco] The more justice you seek, the more hurt you become because there’s no
such thing as justice. There is whatever there is out there. That’s it.  In other words, if people
are conditioned to be racist bigots, if they are brought up in an environment that advocates
that why do you blame the person for it? They are a victim of a subculture. Therefore they
have to be helped. The point is, we have to re design the environment that produces aberrant
behavior. That’s the problem. Not putting a person in jail. That’s why judges, lawyers,
“freedom of choice,” such concepts are dangerous, because it gives you mis - information.
That the person is “bad”… or that  person is a “serial killer”. Serial killers are made just like
soldiers become serial killers with a machine gun. They become killing machines, but nobody
looks at them as murderers or assassins because that’s “natural”.
So we blame people. We say, “Well,  this guy was a Nazi  –  he tortured Jews”. No, he was
brought up to torture Jews. Once you accept the fact that people have individual choices and
they are free to make those choices… Free to make choices means without being influenced
and I can’t understand  that at all. All of us are influenced in all of our choices by the culture
we live in, by our parents and by the values that dominate. So, we’re influenced, so there
can’t be “free” choices. What’s the greatest country in the world?’  –  the true answer: I  haven’t
been all over the world and I don’t know enough about different cultures to answer that
question.’ I don’t know anybody that speaks that way. They say ‘it’s the good old USA! the

greatest country in the world!’ There is no survey… ‘Have you been to  India?’  –  ‘No.’ Have

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

you been to England?’  –  ‘No.’ Have you been to France?’  –  ‘No.’ Then what do you make
your assumptions on?’ They can’t answer -  they get mad at you. They say, ‘God dammit!
Who the hell are you to tell me what to think?!’ You know… Don’ t forget: you’re dealing with
aberrated people. They are not responsible for the answers; they’re victims of culture and
that means they have been   influenced   by their culture.
Part   4:   Rise
[Narrator] When we consider a Resource - Based Economy there are ofte n a number of
arguments that tend to come up with…
[EH!] (Interrupted)
[Eh! Hey!]
[Now hold on just a minute!]
[I know what this is. This is called Marxism, buddy.]
[Stalin killed 800 billion people because of ideas like this…]
[My father died in the Gulag !]
[Communist! Fascist!]
[You don’t like America you should just leave!]
All right, everybody just calm down…
[Death to the New World Order!]
[Death to the New World Order!]

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

And as the irrationality of the audience grew, shocked and confused: suddenly the  narrator
suffered a fatal heart attack.’ And the seemingly communist propaganda film was no more.
[System Error]
[Backup Initiated  –  Restored]
But you know, I’ve said that sort of thing to people in ‘think tank’ type situations you know
these Club of Rome  types and so forth… they say ”Marxist!” What? Marxist? Where did that
come from? They just got this icon they hold onto -  It’s their Holy Grail and it’s such an easy
one, you know.
People ask if I’m a Socialist or a Communist or Capitalist I say I am none o f the above. Why
do you think that those are the only options? All of those political constructs were created by
writers who assumed we lived on a planet of infinite resources. Not one of those political
philosophies even contemplates that there might be a  shortage of anything.
[Jacque Fresco] I believe that communism, socialism, free enterprise, fascism are part of
social evolution. You can’t take a giant step from one culture to another -  there are in -
between systems.
Before there’s any “Ism”, we have a life ground and the life ground is as I’ve just described
most easily as all the conditions required to take your next breath and that involves the air
you breathe the water you get, the safety you have the education you  can access –  all these
things that we share and use and that no life, in any culture, can do without. So we’ve got to
reset down to the Life Ground and the life ground is no longer any “Ism”. It’s “life value
analysis.”
Beyond   The   Pale
[Dr. Gabor Maté] It’ s simply a matter of historical fact that the dominant intellectual culture of
any particular society reflects the interests of the dominant group in that society. In a slave
owning society the beliefs about human beings and human rights and so on will ref lect the

needs of the slave owners. In the society, again, which is based on the power of certain

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

people to control and profit from the lives and work of millions of others the dominant
intellectual culture will reflect the needs of the dominant group. So,  if you look across the
board, the ideas that pervade psychology and sociology and history and political economy
and political science fundamentally reflect certain elite interests. And the academics who
question that too much tend to get shunted to the si de or to be seen as sort of “radicals”.
[Narrator] The dominant values of a culture tend to support and perpetuate what is rewarded
by that culture. And in a society where success and status is measured by material wealth,
not social contribution, it is ea sy to see why the state of the world is what it is today. We are
dealing with a value system disorder, completely denatured, where the priority of personal
and social health have become secondary to the detrimental notions of artificial wealth and
limitles s growth. And, like a virus, this disorder now permeates every facet of government,
news media, entertainment, and even academia. And built into its structure are mechanisms
of protection from anything that might interfere.
Disciples of the Monetary - Market  religion the Self - Appointed Guardians of the Status Quo
constantly seek out ways to avoid any form of thought which might interfere with their beliefs.
The most common of which: are   Projected   Dualities . If you’re not a Republican, you must
be a Democrat.  If you are not Christian, you might be a Satanist and if you feel society can
be greatly improved to consider, perhaps, I don’t know, taking care of everyone? you’re just
a “Utopianist”. And the most insidious of them all: if you are not for the “free - mark et” you
must be against freedom itself.
[Milton Friedman] I’m a believer in freedom!
Every time you hear the word freedom being said anywhere or government interference said
anywhere, it means, decoded: blocking maximization of turning money into more mone y for
private money possessors. That’s it. Every other thing they’ll say: ‘Oh, we need more
commodities for people’; ‘Oh, this is freedom against tyranny’ and so forth every time you
see it, you can decode it down to that and I think you’ll find a one - to - o ne correlation with
every time they use it. And this, in a sense, we might call:   a   Syntax . A governing syntax of
understanding and of value. So, it governs beneath their own recognition of it so they might
say: ‘Oh, I didn’t mean that at all!’ but in fact,  that’s what they do. Just like you may speak a

grammar and you have rules of grammar you follow without recognizing what the rules are…

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

and so what we have is what I call the   “Ruling   Value   Syntax”   that underlies this. So, every
time they use these words:  government interference’; ‘lack of freedom’ or ‘freedom’ or
‘progress’ or ‘development’ you can decode them all to come back to mean that.
[Narrator] Of course, when you hear the word ‘freedom’ it tends to be in same sentence with
something called ‘democra cy’. It’s fascinating how people today seem to believe that they
actually have a relevant influence on what their government does forgetting that the very
nature of our system offers everything for sale. The only vote that counts is the monetary
vote and i t doesn’t matter how much any activist yells about ethics and accountability. In a
market system, every politician, every legislation and hence, every government is for sale.
And even with the 20 trillion dollar bank bailouts starting in 2007 an amount of  money which
could have changed say, the global energy infrastructure to fully renewable methods instead
going to a series of institutions that literally do nothing to help society, institutions that could
be removed tomorrow with no recourse… the blind con ditioning that politics and politicians
exist for the public well - being still continues. The fact is, politics is a business, no different
than any other in a market system and they care about their self - interest before anything
else.
[George Carlin] I don ’t really, honestly, deep down believe in political action. I think the
system contracts and expands as it wants to. It accommodates these changes. I think the
civil rights movement was an accommodation on the part of those who own the country. I
think the y see where their self - interest lies; they see a certain amount of
freedom   seems   good, an illusion of liberty, give these people a voting day every year so that
they will have the illusion of meaningless choice. Meaningless choice -  that we go, like slaves
and say “Oh, I Voted.” The limits of debate in this country are established befor e the debate
even begins and everyone else is marginalized and made to seem either to be communist or
some sort of disloyal person  - a “kook” -  there’s a word… and now it’s “conspiracy”. See -  they
made that. Something that should not be even entertained for  a minute: that powerful people
might get together and have a plan! Doesn’t happen! You’re a “kook”! Your a “conspiracy
buff”!
[Narrator] And of all the mechanisms of defense of this system there are two that repeatedly
come up. The first is this idea that  the system has been the “cause” of the material progress
we have seen on this planet. Well…No. There are basically two root causes which have

created the increased so - called “wealth” and population growth we see today. One: the

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

exponential advancement of p roduction technology; hence scientific ingenuity. And Two: the
initial discovery of abundant hydrocarbon energy  - which is currently the foundation of the
entire socio - economic system. The free - market / capitalist / monetary market system  –
whatever you wan t to call it  –  has done nothing but ride the wave of these advents with a
distorted incentive system and a haphazard grossly unequal method of utilizing and
distributing those fruits. The second defense is a belligerent social bias generated from years
of  propaganda which sees any other social system as a route to so called “tyranny” with
various name droppings of Stalin, Mao, Hitler… and the death tolls they generated. Well, as
despotic as these men might have been along with the societal approaches they
p erpetuated… when it comes to the game of death, when comes to the systematic daily
mass murder of human beings  –  Nothing in history compares to what we have today.
Famines, throughout at least the last century of our history, have not been caused by a lack
of food. They have been caused by relative poverty. The economic resources were so
inequitably distributed that the poor simply didn’t have enough money with which to buy the
food that would’ve been available if they could have afforded to pay for it. Tha t would be an
example of Structural Violence. Another example: in Africa and other areas, I’ll particularly
focus on Africa, tens of millions of people are dying of   AIDS . Why are they dying? It’s not
because we don’t know how to treat AIDS. We have million s of people in the wealthy
countries getting along remarkably well because they have the medicines that will treat it.
The people in Africa who are dying of AIDS are not dying because of the HIV virus… they
are dying because they don’t have the money with  which to pay for the drugs that would
keep them alive. Gandhi saw this. He said:   “The deadliest form of violence is poverty. ”   And
that’s absolutely right. Poverty kills far more people than all the wars in history; more people
than all the murderers in his tory; more than all the suicides in history… not only does
Structural Violence kill more people than all the behavioral violence put together Structural
Violence is also the main cause of behavioral violence.
Beyond   the   Peak
[Michael Ruppert] Oil is the fo undation of and is present throughout, the edifice of human
civilization. There are 10 calories of hydrocarbon energy  – oil and natural gas –  in every
calorie of food you and I eat in the industrialized world. Fertilizers are made from natural gas.
Pesticide s are made from oil. You drive oil - powered machines to plant  –  plow  –  irrigate  –

harvest transport  –  package. You wrap the food in plastic  –  that’s oil. All plastic is oil. There

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

are 7 gallons of oil in every tire. Oil is everywhere; it’s ubiquitous. And i t’s only because of oil
that there are 7 billion people or almost 7 billion people on this planet right now.
[Dr. Colin J. Campbell, Petroleum Geologist] The arrival of this cheap and easy energy which
is equivalent, by the way, to billions of slaves worki ng around the clock changed the world in
such a radical way over the last century, and the population has gone up 10 times. But, by
2050, oil supply is able to support less than half the present world’s population in their
present way of life. So, the scal e of adjustment to live differently is just enormous.
[Michael Ruppert] The world is now using six barrels of oil for every barrel of finds. Five
years ago it was using four barrels of oil for every barrel it finds. A year from now it is going
to be using  eight barrels of oil for every barrel of finds.
[Jeremy J. Gilbert, Petroleum Engineer] What’s disturbing to me is the lack of any real effort
from governments worldwide and industry leaders worldwide to do something different. We
have these, sort of, atte mpts to build more wind power and to maybe do something with
Tide… we’ve got attempts to make our cars a little bit more efficient but there’s nothing which
really looks like a revolution coming along, these are all pretty minor and that I think is pretty
frightening.
[Dr. Colin J. Campbell] And the governments who are driven by these economists who don’t
really appreciate what we’re talking about are trying to stimulate consumerism to restore past
prosperity in the hope that they can restore the past. They ’re printing yet more money lacking
any collateral at all. So, if the economy improves and recovers and the famous growth
comes back it will only be short - lived because within a short period of time counted in
months rather than years it will hit the suppl y barrier again; there will be another price shock,
and a deeper recession. So I think we go into a series of vicious circles.
[Michael Ruppert] So you have the economic growth going up -  price spike -  everything shuts
down. That’s where we are now. Then it  starts to come up again but what we have now is
this area where there’s no more ability to produce cheap energy. We’re at the peak -  were on
the down slope of oil production. No way you’re going to get any more out of the ground any

faster which means that  things shut down, the price of oil drops which it did in early 2009 but

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

then as you have a “recovery” the price of oil starts to come back. It’s recently been hovering
at about $80 a barrel and what we see is that at even at $80 a barrel now, with the econ omic
and financial collapse people are having a hard time affording that.
[Jeremy J. Gilbert] World oil production right now is about 86 million barrels a day. Over 10
years, you’re looking at roughly 14 million barrels a day having to be replaced.
There’s   nothing   around which can come even within 1% of meeting that sort of demand. If
we don’t do something pretty quickly there’s going to be a huge energy deficiency. I think the
big mistake is in not recognizing a decade or so ago that a concerted effort nee ded to be
made to develop these sustainable forms of energy. I think that’s something our
grandchildren will look back on with total disbelief. ‘You people knew you were dealing with a
finite commodity… how could you possibly have build your economy around  something
which was going to disappear?’
[Narrator] For the first time in human history the species is now faced with the depletion of a
core resource central to our current system of survival. And the punchline of the whole thing
is that even with oil be coming more scarce the economic system will still blindly push its
cancerous growth model… so people can go out and buy more oil powered cars to generate
GDP and jobs… exasperating the decline. Are there solutions to replace the edifice of the
hydrocarbon  economy? Of course. But the path needed to accomplish these changes will not
manifest through the Market System Protocols required since new solutions can only be
implemented through the Profit Mechanism. People are not investing in renewable energies
beca use there is no money in it in both long and short term. And the commitment needed to
make it happen can only occur at a severe financial loss. Hence, there is no monetary
incentive and in this system, if there is no monetary incentive, things do not happe n. And on
top of it all, Peak Oil is just one of many surfacing consequences of the environmental - social
train wreck gaining speed today. Other declines include   Fresh   Water — the very fabric of our
existence — which is currently showing shortages for 2.8 billi on people and those shortages
are on pace to reach 4 billion by 2030.
Food   Production : The destruction of arable crop land, from which 99.7% of all human food
comes from today is occurring up to 40 times faster than it is being replenished and over the
las t 40 years, 30% of the arable land has become unproductive. Not to mention that
hydrocarbons are the backbone of agriculture today and as it declines… so will the food

supply. As far as resources in general at our current patterns of consumption, by 2030 w e

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

will need 2 planets to continue our rates. Not to mention the continual destruction of life
supporting biodiversity causing extinction spasms and environmental destabilization across
the globe.
And with all of these declines we have the near   exponential   population   growth   where by
2030 there might be over 8 billion people on this planet. Energy production alone would need
to increase 44% by 2030 to meet such demand. And again, since money is the only initiator
of action -  are we to expect that any country o n the planet is going to be able to afford the
massive changes needed to revolutionize agriculture water processing, energy production
and the like? When the global debt pyramid scheme is slowly shutting the entire world
down… Not to mention the fact that  the unemployment you currently see is going to become
normality due to the nature of technological unemployment. The jobs are not coming back.
And finally, a broad social perspective. From the 1970 to 2010, poverty on this planet
doubled due to this system … and given our current state -  do you honestly think we will see
anything less than more doubling… more suffering and more mass starvation?
The   Beginning
[Michael Ruppert] There is not going to be any recovery. This is not some long depression
that we’re some day going to pull out of. I think the next phase that we are going to see after
the next round of economic collapses is massive civil unrest. When une mployment checks
stop being paid because the states have no money left.
[Jacque Fresco] And when things get so bad that people lose confidence in their elected
leaders, they will demand change if we don’t kill each other in the process or destroy the
envir onment. I’m just afraid that we might get to the point of no return… and that bothers me
to no end. We do all we can to avoid that condition.
It’s clear that we’re on the verge of a great transition in human life… That what we face now
is this fundamental  change of the life we’ve known over the last century. There has to be a
link between the economy and the resources of this planet the resources being, of course, all
animal and plant life; the health of the oceans and everything else. This is a monetary
pa radigm that will not let go until it’s killed the last human being.
[Jacque Fresco] The “in” group will do all it can to stay in power and that’s what you’ve got to

keep in mind. They’ll use the army and navy and lies.. or whatever they have to use to keep

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

in power. They’re not about to give it up because they don’t know of any other system that
will perpetuate their kind.
[Live from New York]
[Global Protests Shut Down World Economy]
[London - Live]
[China - Live]
[South Africa  –  Live]
[Spain  –  Live]
[Russian  –  Live]
[Canada  –  Live]
[Saudi Arabia  –  Live]
[Western Crime Rates Soar]
[UN Declares State of Global Emergency]
[Global Unemployment Hits 65%]
[Fears of World War Continue]
[Debt Collapse now causing food shortages]

[“I’ve Seen All Good People (Your Move) ” by Yes plays]

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

Take a straight and stronger cours e
To the corner of your lif e
Just remember that the goa l
Is for us all to capture all we want (Move me on to any black square )
Don’t surround yourself with yoursel f
Move on back two square s
Send an instant  karma to m e
Initial it with loving care (Don’t surround yourself )
‘Cause it’s time, it’s time in time with your tim e
And its news is capture d
For the queen to use!
[While no violence has been reported as the unprecedented protests continue… it appears
that the equivalent of trillions of dollars are being systematically withdrawn from bank
accounts across the world and in turn.. evidently now being dumped in front of  the world’s
central banks.]
Diddit diddit diddit diddit diddit diddit diddit didd a
Diddit diddit diddit diddit diddit diddit diddit didda (Don’t surround yourself with yourself )
Don’t surround yourself with yourself (Don’t surround yourself )
Move on back t wo square s
Send an instant karma to me (Send an instant karma to me )
Initial it with loving care (Don’t surround yourself)
I’ve seen all good people turn their heads each da y
So satisfied I’m on my wa y
I’ve seen all good people turn their heads each da y
So  satisfied I’m on my way
[THIS IS YOUR WORLD]
I’ve seen all good people turn their heads each day

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

[THIS IS OUR WORLD]
So satisfied I’m on my way
[THE REVOLUTION IS NOW]
[ WWW.THEZEITGEISTMOVEMENT.COM ]
I’ ve seen all good people turn their heads each da y
So satisfied I’m on my wa y
I’ve seen all good people turn their heads each da y
So satisfied I’m on my wa y
I’ve seen all good people turn their heads each da y
So satisfied I’m on my wa y
I’ve seen all good pe ople turn their heads each da y
So satisfied I’m on my wa y
I’ve seen all good people turn their heads each da y
So satisfied I’m on my wa y
I’ve seen all good people turn their heads each da y
So satisfied I’ m on

ActionScript [AS3]

Section 1
//BaseScrollPane (fl.containers.BaseScrollPane) package fl.containers { import fl.controls.*; import flash.display.*; import fl.core.*; import flash.events.*; import flash.geom.*; import fl.events.*; public class BaseScrollPane extends UIComponent { protected var defaultLineScrollSize:Number;// = 4 protected var _maxHorizontalScrollPosition:Number;// = 0 protected var vScrollBar:Boolean; protected var disabledOverlay:Shape; protected var hScrollBar:Boolean; protected var availableWidth:Number; protected var _verticalPageScrollSize:Number;// = 0 protected var vOffset:Number;// = 0 protected var _verticalScrollBar:ScrollBar; protected var useFixedHorizontalScrolling:Boolean;// = false protected var contentWidth:Number;// = 0 protected var contentHeight:Number;// = 0 protected var _horizontalPageScrollSize:Number;// = 0 protected var background:DisplayObject; protected var _useBitmpScrolling:Boolean;// = false protected var contentPadding:Number;// = 0 protected var availableHeight:Number; protected var _horizontalScrollBar:ScrollBar; protected var contentScrollRect:Rectangle; protected var _horizontalScrollPolicy:String; protected var _verticalScrollPolicy:String; protected static const SCROLL_BAR_STYLES:Object = {upArrowDisabledSkin:"upArrowDisabledSkin", upArrowDownSkin:"upArrowDownSkin", upArrowOverSkin:"upArrowOverSkin", upArrowUpSkin:"upArrowUpSkin", downArrowDisabledSkin:"downArrowDisabledSkin", downArrowDownSkin:"downArrowDownSkin", downArrowOverSkin:"downArrowOverSkin", downArrowUpSkin:"downArrowUpSkin", thumbDisabledSkin:"thumbDisabledSkin", thumbDownSkin:"thumbDownSkin", thumbOverSkin:"thumbOverSkin", thumbUpSkin:"thumbUpSkin", thumbIcon:"thumbIcon", trackDisabledSkin:"trackDisabledSkin", trackDownSkin:"trackDownSkin", trackOverSkin:"trackOverSkin", trackUpSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {repeatDelay:500, repeatInterval:35, skin:"ScrollPane_upSkin", contentPadding:0, disabledAlpha:0.5}; public function BaseScrollPane(){ contentWidth = 0; contentHeight = 0; contentPadding = 0; vOffset = 0; _maxHorizontalScrollPosition = 0; _horizontalPageScrollSize = 0; _verticalPageScrollSize = 0; defaultLineScrollSize = 4; useFixedHorizontalScrolling = false; _useBitmpScrolling = false; super(); } protected function handleWheel(_arg1:MouseEvent):void{ if (((((!(enabled)) || (!(_verticalScrollBar.visible)))) || ((contentHeight <= availableHeight)))){ return; }; _verticalScrollBar.scrollPosition = (_verticalScrollBar.scrollPosition - (_arg1.delta * verticalLineScrollSize)); setVerticalScrollPosition(_verticalScrollBar.scrollPosition); dispatchEvent(new ScrollEvent(ScrollBarDirection.VERTICAL, _arg1.delta, horizontalScrollPosition)); } public function get verticalScrollPosition():Number{ return (_verticalScrollBar.scrollPosition); } protected function drawDisabledOverlay():void{ if (enabled){ if (contains(disabledOverlay)){ removeChild(disabledOverlay); }; } else { disabledOverlay.x = (disabledOverlay.y = contentPadding); disabledOverlay.width = availableWidth; disabledOverlay.height = availableHeight; disabledOverlay.alpha = (getStyleValue("disabledAlpha") as Number); addChild(disabledOverlay); }; } public function set verticalScrollPosition(_arg1:Number):void{ drawNow(); _verticalScrollBar.scrollPosition = _arg1; setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false); } protected function setContentSize(_arg1:Number, _arg2:Number):void{ if ((((((contentWidth == _arg1)) || (useFixedHorizontalScrolling))) && ((contentHeight == _arg2)))){ return; }; contentWidth = _arg1; contentHeight = _arg2; invalidate(InvalidationType.SIZE); } public function get horizontalScrollPosition():Number{ return (_horizontalScrollBar.scrollPosition); } public function get horizontalScrollBar():ScrollBar{ return (_horizontalScrollBar); } override public function set enabled(_arg1:Boolean):void{ if (enabled == _arg1){ return; }; _verticalScrollBar.enabled = _arg1; _horizontalScrollBar.enabled = _arg1; super.enabled = _arg1; } public function get verticalLineScrollSize():Number{ return (_verticalScrollBar.lineScrollSize); } public function get horizontalScrollPolicy():String{ return (_horizontalScrollPolicy); } protected function calculateAvailableSize():void{ var _local1:Number; var _local2:Number; var _local3:Number; var _local4:Number; var _local5:Number; _local1 = ScrollBar.WIDTH; _local2 = (contentPadding = Number(getStyleValue("contentPadding"))); _local3 = ((height - (2 * _local2)) - vOffset); vScrollBar = (((_verticalScrollPolicy == ScrollPolicy.ON)) || ((((_verticalScrollPolicy == ScrollPolicy.AUTO)) && ((contentHeight > _local3))))); _local4 = ((width - (vScrollBar) ? _local1 : 0) - (2 * _local2)); _local5 = (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - _local4); hScrollBar = (((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_local5 > 0))))); if (hScrollBar){ _local3 = (_local3 - _local1); }; if (((((((hScrollBar) && (!(vScrollBar)))) && ((_verticalScrollPolicy == ScrollPolicy.AUTO)))) && ((contentHeight > _local3)))){ vScrollBar = true; _local4 = (_local4 - _local1); }; availableHeight = (_local3 + vOffset); availableWidth = _local4; } public function get maxVerticalScrollPosition():Number{ drawNow(); return (Math.max(0, (contentHeight - availableHeight))); } public function set horizontalScrollPosition(_arg1:Number):void{ drawNow(); _horizontalScrollBar.scrollPosition = _arg1; setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false); } public function get horizontalLineScrollSize():Number{ return (_horizontalScrollBar.lineScrollSize); } public function set verticalPageScrollSize(_arg1:Number):void{ _verticalPageScrollSize = _arg1; invalidate(InvalidationType.SIZE); } public function get verticalScrollPolicy():String{ return (_verticalScrollPolicy); } protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ } public function get useBitmapScrolling():Boolean{ return (_useBitmpScrolling); } protected function handleScroll(_arg1:ScrollEvent):void{ if (_arg1.target == _verticalScrollBar){ setVerticalScrollPosition(_arg1.position); } else { setHorizontalScrollPosition(_arg1.position); }; } public function set verticalLineScrollSize(_arg1:Number):void{ _verticalScrollBar.lineScrollSize = _arg1; } public function get verticalScrollBar():ScrollBar{ return (_verticalScrollBar); } protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ } public function set horizontalPageScrollSize(_arg1:Number):void{ _horizontalPageScrollSize = _arg1; invalidate(InvalidationType.SIZE); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES)){ setStyles(); drawBackground(); if (contentPadding != getStyleValue("contentPadding")){ invalidate(InvalidationType.SIZE, false); }; }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STATE)){ drawLayout(); }; updateChildren(); super.draw(); } public function set horizontalScrollPolicy(_arg1:String):void{ _horizontalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } override protected function configUI():void{ var _local1:Graphics; super.configUI(); contentScrollRect = new Rectangle(0, 0, 85, 85); _verticalScrollBar = new ScrollBar(); _verticalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); _verticalScrollBar.visible = false; _verticalScrollBar.lineScrollSize = defaultLineScrollSize; addChild(_verticalScrollBar); copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); _horizontalScrollBar = new ScrollBar(); _horizontalScrollBar.direction = ScrollBarDirection.HORIZONTAL; _horizontalScrollBar.addEventListener(ScrollEvent.SCROLL, handleScroll, false, 0, true); _horizontalScrollBar.visible = false; _horizontalScrollBar.lineScrollSize = defaultLineScrollSize; addChild(_horizontalScrollBar); copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); disabledOverlay = new Shape(); _local1 = disabledOverlay.graphics; _local1.beginFill(0xFFFFFF); _local1.drawRect(0, 0, width, height); _local1.endFill(); addEventListener(MouseEvent.MOUSE_WHEEL, handleWheel, false, 0, true); } protected function calculateContentWidth():void{ } public function get verticalPageScrollSize():Number{ if (isNaN(availableHeight)){ drawNow(); }; return (((((_verticalPageScrollSize == 0)) && (!(isNaN(availableHeight))))) ? availableHeight : _verticalPageScrollSize); } protected function drawLayout():void{ calculateAvailableSize(); calculateContentWidth(); background.width = width; background.height = height; if (vScrollBar){ _verticalScrollBar.visible = true; _verticalScrollBar.x = ((width - ScrollBar.WIDTH) - contentPadding); _verticalScrollBar.y = contentPadding; _verticalScrollBar.height = availableHeight; } else { _verticalScrollBar.visible = false; }; _verticalScrollBar.setScrollProperties(availableHeight, 0, (contentHeight - availableHeight), verticalPageScrollSize); setVerticalScrollPosition(_verticalScrollBar.scrollPosition, false); if (hScrollBar){ _horizontalScrollBar.visible = true; _horizontalScrollBar.x = contentPadding; _horizontalScrollBar.y = ((height - ScrollBar.WIDTH) - contentPadding); _horizontalScrollBar.width = availableWidth; } else { _horizontalScrollBar.visible = false; }; _horizontalScrollBar.setScrollProperties(availableWidth, 0, (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - availableWidth), horizontalPageScrollSize); setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, false); drawDisabledOverlay(); } protected function drawBackground():void{ var _local1:DisplayObject; _local1 = background; background = getDisplayObjectInstance(getStyleValue("skin")); background.width = width; background.height = height; addChildAt(background, 0); if (((!((_local1 == null))) && (!((_local1 == background))))){ removeChild(_local1); }; } public function set horizontalLineScrollSize(_arg1:Number):void{ _horizontalScrollBar.lineScrollSize = _arg1; } public function get horizontalPageScrollSize():Number{ if (isNaN(availableWidth)){ drawNow(); }; return (((((_horizontalPageScrollSize == 0)) && (!(isNaN(availableWidth))))) ? availableWidth : _horizontalPageScrollSize); } public function get maxHorizontalScrollPosition():Number{ drawNow(); return (Math.max(0, (contentWidth - availableWidth))); } protected function setStyles():void{ copyStylesToChild(_verticalScrollBar, SCROLL_BAR_STYLES); copyStylesToChild(_horizontalScrollBar, SCROLL_BAR_STYLES); } protected function updateChildren():void{ _verticalScrollBar.enabled = (_horizontalScrollBar.enabled = enabled); _verticalScrollBar.drawNow(); _horizontalScrollBar.drawNow(); } public function set verticalScrollPolicy(_arg1:String):void{ _verticalScrollPolicy = _arg1; invalidate(InvalidationType.SIZE); } public function set useBitmapScrolling(_arg1:Boolean):void{ _useBitmpScrolling = _arg1; invalidate(InvalidationType.STATE); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, ScrollBar.getStyleDefinition())); } } }//package fl.containers
Section 2
//ScrollPane (fl.containers.ScrollPane) package fl.containers { import fl.controls.*; import flash.display.*; import fl.core.*; import flash.events.*; import fl.managers.*; import fl.events.*; import flash.net.*; import flash.system.*; import flash.ui.*; public class ScrollPane extends BaseScrollPane implements IFocusManagerComponent { protected var scrollDragHPos:Number; protected var loader:Loader; protected var yOffset:Number; protected var currentContent:Object; protected var xOffset:Number; protected var _source:Object;// = "" protected var scrollDragVPos:Number; protected var _scrollDrag:Boolean;// = false protected var contentClip:Sprite; private static var defaultStyles:Object = {upSkin:"ScrollPane_upSkin", disabledSkin:"ScrollPane_disabledSkin", focusRectSkin:null, focusRectPadding:null, contentPadding:0}; public function ScrollPane(){ _source = ""; _scrollDrag = false; super(); } public function get source():Object{ return (_source); } public function set source(_arg1:Object):void{ var _local2:*; clearContent(); if (isLivePreview){ return; }; _source = _arg1; if ((((_source == "")) || ((_source == null)))){ return; }; currentContent = getDisplayObjectInstance(_arg1); if (currentContent != null){ _local2 = contentClip.addChild((currentContent as DisplayObject)); dispatchEvent(new Event(Event.INIT)); update(); } else { load(new URLRequest(_source.toString())); }; } public function get bytesLoaded():Number{ return (((((loader == null)) || ((loader.contentLoaderInfo == null)))) ? 0 : loader.contentLoaderInfo.bytesLoaded); } protected function doDrag(_arg1:MouseEvent):void{ var _local2:*; var _local3:*; _local2 = (scrollDragVPos - (mouseY - yOffset)); _verticalScrollBar.setScrollPosition(_local2); setVerticalScrollPosition(_verticalScrollBar.scrollPosition, true); _local3 = (scrollDragHPos - (mouseX - xOffset)); _horizontalScrollBar.setScrollPosition(_local3); setHorizontalScrollPosition(_horizontalScrollBar.scrollPosition, true); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ var _local2:int; _local2 = calculateAvailableHeight(); switch (_arg1.keyCode){ case Keyboard.DOWN: verticalScrollPosition++; break; case Keyboard.UP: verticalScrollPosition--; break; case Keyboard.RIGHT: horizontalScrollPosition++; break; case Keyboard.LEFT: horizontalScrollPosition--; break; case Keyboard.END: verticalScrollPosition = maxVerticalScrollPosition; break; case Keyboard.HOME: verticalScrollPosition = 0; break; case Keyboard.PAGE_UP: verticalScrollPosition = (verticalScrollPosition - _local2); break; case Keyboard.PAGE_DOWN: verticalScrollPosition = (verticalScrollPosition + _local2); break; }; } protected function doStartDrag(_arg1:MouseEvent):void{ if (!enabled){ return; }; xOffset = mouseX; yOffset = mouseY; scrollDragHPos = horizontalScrollPosition; scrollDragVPos = verticalScrollPosition; stage.addEventListener(MouseEvent.MOUSE_MOVE, doDrag, false, 0, true); } public function get content():DisplayObject{ var _local1:Object; _local1 = currentContent; if ((_local1 is URLRequest)){ _local1 = loader.content; }; return ((_local1 as DisplayObject)); } public function get percentLoaded():Number{ if (loader != null){ return (Math.round(((bytesLoaded / bytesTotal) * 100))); }; return (0); } protected function endDrag(_arg1:MouseEvent):void{ stage.removeEventListener(MouseEvent.MOUSE_MOVE, doDrag); } public function update():void{ var _local1:DisplayObject; _local1 = contentClip.getChildAt(0); setContentSize(_local1.width, _local1.height); } override protected function setHorizontalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ var _local3:*; _local3 = contentClip.scrollRect; _local3.x = _arg1; contentClip.scrollRect = _local3; } public function refreshPane():void{ if ((_source is URLRequest)){ _source = _source.url; }; source = _source; } protected function passEvent(_arg1:Event):void{ dispatchEvent(_arg1); } protected function calculateAvailableHeight():Number{ var _local1:Number; _local1 = Number(getStyleValue("contentPadding")); return (((height - (_local1 * 2)) - ((((_horizontalScrollPolicy == ScrollPolicy.ON)) || ((((_horizontalScrollPolicy == ScrollPolicy.AUTO)) && ((_maxHorizontalScrollPosition > 0)))))) ? 15 : 0)); } public function load(_arg1:URLRequest, _arg2:LoaderContext=null):void{ if (_arg2 == null){ _arg2 = new LoaderContext(false, ApplicationDomain.currentDomain); }; clearContent(); initLoader(); currentContent = (_source = _arg1); loader.load(_arg1, _arg2); } override protected function handleScroll(_arg1:ScrollEvent):void{ passEvent(_arg1); super.handleScroll(_arg1); } override protected function setVerticalScrollPosition(_arg1:Number, _arg2:Boolean=false):void{ var _local3:*; _local3 = contentClip.scrollRect; _local3.y = _arg1; contentClip.scrollRect = _local3; } protected function initLoader():void{ loader = new Loader(); loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, passEvent, false, 0, true); loader.contentLoaderInfo.addEventListener(Event.COMPLETE, onContentLoad, false, 0, true); loader.contentLoaderInfo.addEventListener(Event.INIT, passEvent, false, 0, true); contentClip.addChild(loader); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES)){ drawBackground(); }; if (isInvalid(InvalidationType.STATE)){ setScrollDrag(); }; super.draw(); } override protected function configUI():void{ super.configUI(); contentClip = new Sprite(); addChild(contentClip); contentClip.scrollRect = contentScrollRect; _horizontalScrollPolicy = ScrollPolicy.AUTO; _verticalScrollPolicy = ScrollPolicy.AUTO; } public function set scrollDrag(_arg1:Boolean):void{ _scrollDrag = _arg1; invalidate(InvalidationType.STATE); } protected function clearContent():void{ if (contentClip.numChildren == 0){ return; }; contentClip.removeChildAt(0); currentContent = null; if (loader != null){ try { loader.close(); } catch(e) { }; try { loader.unload(); } catch(e) { }; loader = null; }; } override protected function drawLayout():void{ super.drawLayout(); contentScrollRect = contentClip.scrollRect; contentScrollRect.width = availableWidth; contentScrollRect.height = availableHeight; contentClip.cacheAsBitmap = useBitmapScrolling; contentClip.scrollRect = contentScrollRect; contentClip.x = (contentClip.y = contentPadding); } override protected function drawBackground():void{ var _local1:DisplayObject; _local1 = background; background = getDisplayObjectInstance(getStyleValue((enabled) ? "upSkin" : "disabledSkin")); background.width = width; background.height = height; addChildAt(background, 0); if (((!((_local1 == null))) && (!((_local1 == background))))){ removeChild(_local1); }; } public function get bytesTotal():Number{ return (((((loader == null)) || ((loader.contentLoaderInfo == null)))) ? 0 : loader.contentLoaderInfo.bytesTotal); } protected function onContentLoad(_arg1:Event):void{ var _local2:*; update(); _local2 = calculateAvailableHeight(); calculateAvailableSize(); horizontalScrollBar.setScrollProperties(availableWidth, 0, (useFixedHorizontalScrolling) ? _maxHorizontalScrollPosition : (contentWidth - availableWidth), availableWidth); verticalScrollBar.setScrollProperties(_local2, 0, (contentHeight - _local2), _local2); passEvent(_arg1); } public function get scrollDrag():Boolean{ return (_scrollDrag); } protected function setScrollDrag():void{ if (_scrollDrag){ contentClip.addEventListener(MouseEvent.MOUSE_DOWN, doStartDrag, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, endDrag, false, 0, true); } else { contentClip.removeEventListener(MouseEvent.MOUSE_DOWN, doStartDrag); stage.removeEventListener(MouseEvent.MOUSE_UP, endDrag); removeEventListener(MouseEvent.MOUSE_MOVE, doDrag); }; contentClip.buttonMode = _scrollDrag; } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseScrollPane.getStyleDefinition())); } } }//package fl.containers
Section 3
//BaseButton (fl.controls.BaseButton) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import flash.utils.*; import fl.events.*; public class BaseButton extends UIComponent { protected var _selected:Boolean;// = false private var unlockedMouseState:String; protected var pressTimer:Timer; protected var mouseState:String; protected var background:DisplayObject; private var _mouseStateLocked:Boolean;// = false protected var _autoRepeat:Boolean;// = false private static var defaultStyles:Object = {upSkin:"Button_upSkin", downSkin:"Button_downSkin", overSkin:"Button_overSkin", disabledSkin:"Button_disabledSkin", selectedDisabledSkin:"Button_selectedDisabledSkin", selectedUpSkin:"Button_selectedUpSkin", selectedDownSkin:"Button_selectedDownSkin", selectedOverSkin:"Button_selectedOverSkin", focusRectSkin:null, focusRectPadding:null, repeatDelay:500, repeatInterval:35}; public function BaseButton(){ _selected = false; _autoRepeat = false; _mouseStateLocked = false; super(); buttonMode = true; mouseChildren = false; useHandCursor = false; setupMouseEvents(); setMouseState("up"); pressTimer = new Timer(1, 0); pressTimer.addEventListener(TimerEvent.TIMER, buttonDown, false, 0, true); } protected function endPress():void{ pressTimer.reset(); } public function set mouseStateLocked(_arg1:Boolean):void{ _mouseStateLocked = _arg1; if (_arg1 == false){ setMouseState(unlockedMouseState); } else { unlockedMouseState = mouseState; }; } public function get autoRepeat():Boolean{ return (_autoRepeat); } public function set autoRepeat(_arg1:Boolean):void{ _autoRepeat = _arg1; } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; mouseEnabled = _arg1; } public function get selected():Boolean{ return (_selected); } protected function mouseEventHandler(_arg1:MouseEvent):void{ if (_arg1.type == MouseEvent.MOUSE_DOWN){ setMouseState("down"); startPress(); } else { if ((((_arg1.type == MouseEvent.ROLL_OVER)) || ((_arg1.type == MouseEvent.MOUSE_UP)))){ setMouseState("over"); endPress(); } else { if (_arg1.type == MouseEvent.ROLL_OUT){ setMouseState("up"); endPress(); }; }; }; } public function setMouseState(_arg1:String):void{ if (_mouseStateLocked){ unlockedMouseState = _arg1; return; }; if (mouseState == _arg1){ return; }; mouseState = _arg1; invalidate(InvalidationType.STATE); } protected function startPress():void{ if (_autoRepeat){ pressTimer.delay = Number(getStyleValue("repeatDelay")); pressTimer.start(); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } protected function buttonDown(_arg1:TimerEvent):void{ if (!_autoRepeat){ endPress(); return; }; if (pressTimer.currentCount == 1){ pressTimer.delay = Number(getStyleValue("repeatInterval")); }; dispatchEvent(new ComponentEvent(ComponentEvent.BUTTON_DOWN, true)); } public function set selected(_arg1:Boolean):void{ if (_selected == _arg1){ return; }; _selected = _arg1; invalidate(InvalidationType.STATE); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } protected function setupMouseEvents():void{ addEventListener(MouseEvent.ROLL_OVER, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.MOUSE_UP, mouseEventHandler, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, mouseEventHandler, false, 0, true); } protected function drawLayout():void{ background.width = width; background.height = height; } protected function drawBackground():void{ var _local1:String; var _local2:DisplayObject; _local1 = (enabled) ? mouseState : "disabled"; if (selected){ _local1 = (("selected" + _local1.substr(0, 1).toUpperCase()) + _local1.substr(1)); }; _local1 = (_local1 + "Skin"); _local2 = background; background = getDisplayObjectInstance(getStyleValue(_local1)); addChildAt(background, 0); if (((!((_local2 == null))) && (!((_local2 == background))))){ removeChild(_local2); }; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 4
//Button (fl.controls.Button) package fl.controls { import flash.display.*; import fl.core.*; import fl.managers.*; public class Button extends LabelButton implements IFocusManagerComponent { protected var emphasizedBorder:DisplayObject; protected var _emphasized:Boolean;// = false private static var defaultStyles:Object = {emphasizedSkin:"Button_emphasizedSkin", emphasizedPadding:2}; public static var createAccessibilityImplementation:Function; public function Button(){ _emphasized = false; super(); } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; var _local3:*; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("emphasizedPadding")); if ((((_local2 < 0)) || (!(_emphasized)))){ _local2 = 0; }; _local3 = getStyleValue("focusRectPadding"); _local3 = ((_local3)==null) ? 2 : _local3; _local3 = (_local3 + _local2); uiFocusRect.x = -(_local3); uiFocusRect.y = -(_local3); uiFocusRect.width = (width + (_local3 * 2)); uiFocusRect.height = (height + (_local3 * 2)); }; } public function set emphasized(_arg1:Boolean):void{ _emphasized = _arg1; invalidate(InvalidationType.STYLES); } override protected function draw():void{ if (((isInvalid(InvalidationType.STYLES)) || (isInvalid(InvalidationType.SIZE)))){ drawEmphasized(); }; super.draw(); if (emphasizedBorder != null){ setChildIndex(emphasizedBorder, (numChildren - 1)); }; } public function get emphasized():Boolean{ return (_emphasized); } override protected function initializeAccessibility():void{ if (Button.createAccessibilityImplementation != null){ Button.createAccessibilityImplementation(this); }; } protected function drawEmphasized():void{ var _local1:Object; var _local2:Number; if (emphasizedBorder != null){ removeChild(emphasizedBorder); }; emphasizedBorder = null; if (!_emphasized){ return; }; _local1 = getStyleValue("emphasizedSkin"); if (_local1 != null){ emphasizedBorder = getDisplayObjectInstance(_local1); }; if (emphasizedBorder != null){ addChildAt(emphasizedBorder, 0); _local2 = Number(getStyleValue("emphasizedPadding")); emphasizedBorder.x = (emphasizedBorder.y = -(_local2)); emphasizedBorder.width = (width + (_local2 * 2)); emphasizedBorder.height = (height + (_local2 * 2)); }; } public static function getStyleDefinition():Object{ return (UIComponent.mergeStyles(LabelButton.getStyleDefinition(), defaultStyles)); } } }//package fl.controls
Section 5
//ButtonLabelPlacement (fl.controls.ButtonLabelPlacement) package fl.controls { public class ButtonLabelPlacement { public static const TOP:String = "top"; public static const LEFT:String = "left"; public static const BOTTOM:String = "bottom"; public static const RIGHT:String = "right"; } }//package fl.controls
Section 6
//Label (fl.controls.Label) package fl.controls { import fl.core.*; import flash.text.*; import fl.events.*; public class Label extends UIComponent { protected var actualHeight:Number; protected var _html:Boolean;// = false protected var actualWidth:Number; protected var defaultLabel:String;// = "Label" protected var _savedHTML:String; public var textField:TextField; private static var defaultStyles:Object = {textFormat:null, embedFonts:false}; public function Label(){ defaultLabel = "Label"; _html = false; super(); text = defaultLabel; actualWidth = _width; actualHeight = _height; } public function get autoSize():String{ return (textField.autoSize); } public function get selectable():Boolean{ return (textField.selectable); } public function set text(_arg1:String):void{ if (_arg1 == text){ return; }; if (((componentInspectorSetting) && ((_arg1 == defaultLabel)))){ return; }; _html = false; textField.text = _arg1; if (textField.autoSize != TextFieldAutoSize.NONE){ invalidate(InvalidationType.SIZE); }; } public function get wordWrap():Boolean{ return (textField.wordWrap); } public function set condenseWhite(_arg1:Boolean):void{ textField.condenseWhite = _arg1; if (textField.autoSize != TextFieldAutoSize.NONE){ invalidate(InvalidationType.SIZE); }; } public function set selectable(_arg1:Boolean):void{ textField.selectable = _arg1; } public function set autoSize(_arg1:String):void{ textField.autoSize = _arg1; invalidate(InvalidationType.SIZE); } public function set wordWrap(_arg1:Boolean):void{ textField.wordWrap = _arg1; if (textField.autoSize != TextFieldAutoSize.NONE){ invalidate(InvalidationType.SIZE); }; } override public function get height():Number{ if (((!((textField.autoSize == TextFieldAutoSize.NONE))) && (wordWrap))){ return (_height); }; return (actualHeight); } public function set htmlText(_arg1:String):void{ if (_arg1 == htmlText){ return; }; if (((componentInspectorSetting) && ((_arg1 == "")))){ return; }; _html = true; _savedHTML = _arg1; textField.htmlText = _arg1; if (textField.autoSize != TextFieldAutoSize.NONE){ invalidate(InvalidationType.SIZE); }; } public function get text():String{ return (textField.text); } public function get condenseWhite():Boolean{ return (textField.condenseWhite); } override protected function draw():void{ var _local1:Object; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawTextFormat(); _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; if (textField.autoSize != TextFieldAutoSize.NONE){ invalidate(InvalidationType.SIZE, false); }; }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; super.draw(); } override protected function configUI():void{ super.configUI(); textField = new TextField(); addChild(textField); textField.type = TextFieldType.DYNAMIC; textField.selectable = false; textField.wordWrap = false; } public function get htmlText():String{ return (textField.htmlText); } override public function setSize(_arg1:Number, _arg2:Number):void{ actualWidth = _arg1; actualHeight = _arg2; super.setSize(_arg1, _arg2); } override public function set width(_arg1:Number):void{ actualWidth = _arg1; super.width = _arg1; } protected function drawLayout():void{ var _local1:Boolean; var _local2:Number; var _local3:Number; _local1 = false; textField.width = width; textField.height = height; if (textField.autoSize != TextFieldAutoSize.NONE){ _local2 = textField.width; _local3 = textField.height; _local1 = ((!((_width == _local2))) || (!((_height == _local3)))); _width = _local2; _height = _local3; switch (textField.autoSize){ case TextFieldAutoSize.CENTER: textField.x = ((actualWidth / 2) - (textField.width / 2)); break; case TextFieldAutoSize.LEFT: textField.x = 0; break; case TextFieldAutoSize.RIGHT: textField.x = -((textField.width - actualWidth)); break; }; } else { textField.width = actualWidth; textField.height = actualHeight; textField.x = 0; }; if (_local1){ dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, true)); }; } override public function get width():Number{ if (((!((textField.autoSize == TextFieldAutoSize.NONE))) && (!(wordWrap)))){ return (_width); }; return (actualWidth); } protected function drawTextFormat():void{ var _local1:TextFormat; var _local2:Object; _local1 = (getStyleValue("textFormat") as TextFormat); if (_local1 == null){ _local2 = UIComponent.getStyleDefinition(); _local1 = (enabled) ? (_local2.defaultTextFormat as TextFormat) : (_local2.defaultDisabledTextFormat as TextFormat); }; textField.defaultTextFormat = _local1; textField.setTextFormat(_local1); if (((_html) && (!((_savedHTML == null))))){ htmlText = _savedHTML; }; } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 7
//LabelButton (fl.controls.LabelButton) package fl.controls { import flash.display.*; import fl.core.*; import flash.events.*; import fl.managers.*; import flash.text.*; import fl.events.*; import flash.ui.*; public class LabelButton extends BaseButton implements IFocusManagerComponent { protected var _labelPlacement:String;// = "right" protected var _toggle:Boolean;// = false protected var icon:DisplayObject; protected var oldMouseState:String; protected var mode:String;// = "center" public var textField:TextField; protected var _label:String;// = "Label" private static var defaultStyles:Object = {icon:null, upIcon:null, downIcon:null, overIcon:null, disabledIcon:null, selectedDisabledIcon:null, selectedUpIcon:null, selectedDownIcon:null, selectedOverIcon:null, textFormat:null, disabledTextFormat:null, textPadding:5, embedFonts:false}; public static var createAccessibilityImplementation:Function; public function LabelButton(){ _labelPlacement = ButtonLabelPlacement.RIGHT; _toggle = false; _label = "Label"; mode = "center"; super(); } protected function toggleSelected(_arg1:MouseEvent):void{ selected = !(selected); dispatchEvent(new Event(Event.CHANGE, true)); } public function get labelPlacement():String{ return (_labelPlacement); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ if (oldMouseState == null){ oldMouseState = mouseState; }; setMouseState("down"); startPress(); }; } protected function setEmbedFont(){ var _local1:Object; _local1 = getStyleValue("embedFonts"); if (_local1 != null){ textField.embedFonts = _local1; }; } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ if (!enabled){ return; }; if (_arg1.keyCode == Keyboard.SPACE){ setMouseState(oldMouseState); oldMouseState = null; endPress(); dispatchEvent(new MouseEvent(MouseEvent.CLICK)); }; } override public function get selected():Boolean{ return ((_toggle) ? _selected : false); } public function set labelPlacement(_arg1:String):void{ _labelPlacement = _arg1; invalidate(InvalidationType.SIZE); } public function set toggle(_arg1:Boolean):void{ if (((!(_arg1)) && (super.selected))){ selected = false; }; _toggle = _arg1; if (_toggle){ addEventListener(MouseEvent.CLICK, toggleSelected, false, 0, true); } else { removeEventListener(MouseEvent.CLICK, toggleSelected); }; invalidate(InvalidationType.STATE); } public function get label():String{ return (_label); } override public function set selected(_arg1:Boolean):void{ _selected = _arg1; if (_toggle){ invalidate(InvalidationType.STATE); }; } override protected function draw():void{ if (textField.text != _label){ label = _label; }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ drawBackground(); drawIcon(); drawTextFormat(); invalidate(InvalidationType.SIZE, false); }; if (isInvalid(InvalidationType.SIZE)){ drawLayout(); }; if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } public function get toggle():Boolean{ return (_toggle); } override protected function configUI():void{ super.configUI(); textField = new TextField(); textField.type = TextFieldType.DYNAMIC; textField.selectable = false; addChild(textField); } override protected function drawLayout():void{ var _local1:Number; var _local2:String; var _local3:Number; var _local4:Number; var _local5:Number; var _local6:Number; var _local7:Number; var _local8:Number; _local1 = Number(getStyleValue("textPadding")); _local2 = ((((icon == null)) && ((mode == "center")))) ? ButtonLabelPlacement.TOP : _labelPlacement; textField.height = (textField.textHeight + 4); _local3 = (textField.textWidth + 4); _local4 = (textField.textHeight + 4); _local5 = ((icon)==null) ? 0 : (icon.width + _local1); _local6 = ((icon)==null) ? 0 : (icon.height + _local1); textField.visible = (label.length > 0); if (icon != null){ icon.x = Math.round(((width - icon.width) / 2)); icon.y = Math.round(((height - icon.height) / 2)); }; if (textField.visible == false){ textField.width = 0; textField.height = 0; } else { if ((((_local2 == ButtonLabelPlacement.BOTTOM)) || ((_local2 == ButtonLabelPlacement.TOP)))){ _local7 = Math.max(0, Math.min(_local3, (width - (2 * _local1)))); if ((height - 2) > _local4){ _local8 = _local4; } else { _local8 = (height - 2); }; _local3 = _local7; textField.width = _local3; _local4 = _local8; textField.height = _local4; textField.x = Math.round(((width - _local3) / 2)); textField.y = Math.round(((((height - textField.height) - _local6) / 2) + ((_local2)==ButtonLabelPlacement.BOTTOM) ? _local6 : 0)); if (icon != null){ icon.y = Math.round(((_local2)==ButtonLabelPlacement.BOTTOM) ? (textField.y - _local6) : ((textField.y + textField.height) + _local1)); }; } else { _local7 = Math.max(0, Math.min(_local3, ((width - _local5) - (2 * _local1)))); _local3 = _local7; textField.width = _local3; textField.x = Math.round(((((width - _local3) - _local5) / 2) + ((_local2)!=ButtonLabelPlacement.LEFT) ? _local5 : 0)); textField.y = Math.round(((height - textField.height) / 2)); if (icon != null){ icon.x = Math.round(((_local2)!=ButtonLabelPlacement.LEFT) ? (textField.x - _local5) : ((textField.x + _local3) + _local1)); }; }; }; super.drawLayout(); } override protected function initializeAccessibility():void{ if (LabelButton.createAccessibilityImplementation != null){ LabelButton.createAccessibilityImplementation(this); }; } protected function drawIcon():void{ var _local1:DisplayObject; var _local2:String; var _local3:Object; _local1 = icon; _local2 = (enabled) ? mouseState : "disabled"; if (selected){ _local2 = (("selected" + _local2.substr(0, 1).toUpperCase()) + _local2.substr(1)); }; _local2 = (_local2 + "Icon"); _local3 = getStyleValue(_local2); if (_local3 == null){ _local3 = getStyleValue("icon"); }; if (_local3 != null){ icon = getDisplayObjectInstance(_local3); }; if (icon != null){ addChildAt(icon, 1); }; if (((!((_local1 == null))) && (!((_local1 == icon))))){ removeChild(_local1); }; } public function set label(_arg1:String):void{ _label = _arg1; if (textField.text != _label){ textField.text = _label; dispatchEvent(new ComponentEvent(ComponentEvent.LABEL_CHANGE)); }; invalidate(InvalidationType.SIZE); invalidate(InvalidationType.STYLES); } protected function drawTextFormat():void{ var _local1:Object; var _local2:TextFormat; var _local3:TextFormat; _local1 = UIComponent.getStyleDefinition(); _local2 = (enabled) ? (_local1.defaultTextFormat as TextFormat) : (_local1.defaultDisabledTextFormat as TextFormat); textField.setTextFormat(_local2); _local3 = (getStyleValue((enabled) ? "textFormat" : "disabledTextFormat") as TextFormat); if (_local3 != null){ textField.setTextFormat(_local3); } else { _local3 = _local2; }; textField.defaultTextFormat = _local3; setEmbedFont(); } public static function getStyleDefinition():Object{ return (mergeStyles(defaultStyles, BaseButton.getStyleDefinition())); } } }//package fl.controls
Section 8
//RadioButton (fl.controls.RadioButton) package fl.controls { import flash.display.*; import flash.events.*; import fl.managers.*; import flash.ui.*; public class RadioButton extends LabelButton implements IFocusManagerGroup { protected var _value:Object; protected var defaultGroupName:String;// = "RadioButtonGroup" protected var _group:RadioButtonGroup; private static var defaultStyles:Object = {icon:null, upIcon:"RadioButton_upIcon", downIcon:"RadioButton_downIcon", overIcon:"RadioButton_overIcon", disabledIcon:"RadioButton_disabledIcon", selectedDisabledIcon:"RadioButton_selectedDisabledIcon", selectedUpIcon:"RadioButton_selectedUpIcon", selectedDownIcon:"RadioButton_selectedDownIcon", selectedOverIcon:"RadioButton_selectedOverIcon", focusRectSkin:null, focusRectPadding:null, textFormat:null, disabledTextFormat:null, embedFonts:null, textPadding:5}; public static var createAccessibilityImplementation:Function; public function RadioButton(){ defaultGroupName = "RadioButtonGroup"; super(); mode = "border"; groupName = defaultGroupName; } override public function drawFocus(_arg1:Boolean):void{ var _local2:Number; super.drawFocus(_arg1); if (_arg1){ _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = (background.x - _local2); uiFocusRect.y = (background.y - _local2); uiFocusRect.width = (background.width + (_local2 * 2)); uiFocusRect.height = (background.height + (_local2 * 2)); }; } private function setThis():void{ var _local1:RadioButtonGroup; _local1 = _group; if (_local1 != null){ if (_local1.selection != this){ _local1.selection = this; }; } else { super.selected = true; }; } override public function get autoRepeat():Boolean{ return (false); } override public function set autoRepeat(_arg1:Boolean):void{ } protected function handleClick(_arg1:MouseEvent):void{ if (_group == null){ return; }; _group.dispatchEvent(new MouseEvent(MouseEvent.CLICK, true)); } override protected function keyDownHandler(_arg1:KeyboardEvent):void{ switch (_arg1.keyCode){ case Keyboard.DOWN: setNext(!(_arg1.ctrlKey)); _arg1.stopPropagation(); break; case Keyboard.UP: setPrev(!(_arg1.ctrlKey)); _arg1.stopPropagation(); break; case Keyboard.LEFT: setPrev(!(_arg1.ctrlKey)); _arg1.stopPropagation(); break; case Keyboard.RIGHT: setNext(!(_arg1.ctrlKey)); _arg1.stopPropagation(); break; case Keyboard.SPACE: setThis(); _toggle = false; default: super.keyDownHandler(_arg1); break; }; } private function setNext(_arg1:Boolean=true):void{ var _local2:RadioButtonGroup; var _local3:IFocusManager; var _local4:int; var _local5:Number; var _local6:int; var _local7:*; _local2 = _group; if (_local2 == null){ return; }; _local3 = focusManager; if (_local3){ _local3.showFocusIndicator = true; }; _local4 = _local2.getRadioButtonIndex(this); _local5 = _local2.numRadioButtons; _local6 = _local4; if (_local4 != -1){ do { _local6++; _local6 = ((_local6)>(_local2.numRadioButtons - 1)) ? 0 : _local6; _local7 = _local2.getRadioButtonAt(_local6); if (((_local7) && (_local7.enabled))){ if (_arg1){ _local2.selection = _local7; }; _local7.setFocus(); return; }; if (((_arg1) && (!((_local2.getRadioButtonAt(_local6) == _local2.selection))))){ _local2.selection = this; }; this.drawFocus(true); } while (_local6 != _local4); }; } public function get group():RadioButtonGroup{ return (_group); } override protected function keyUpHandler(_arg1:KeyboardEvent):void{ super.keyUpHandler(_arg1); if ((((_arg1.keyCode == Keyboard.SPACE)) && (!(_toggle)))){ _toggle = true; }; } override public function get selected():Boolean{ return (super.selected); } override public function set toggle(_arg1:Boolean):void{ throw (new Error("Warning: You cannot change a RadioButtons toggle.")); } public function set value(_arg1:Object):void{ _value = _arg1; } public function set group(_arg1:RadioButtonGroup):void{ groupName = _arg1.name; } override public function set selected(_arg1:Boolean):void{ if ((((_arg1 == false)) || (selected))){ return; }; if (_group != null){ _group.selection = this; } else { super.selected = _arg1; }; } override protected function draw():void{ super.draw(); } override public function get toggle():Boolean{ return (true); } override protected function configUI():void{ var _local1:Shape; var _local2:Graphics; super.configUI(); super.toggle = true; _local1 = new Shape(); _local2 = _local1.graphics; _local2.beginFill(0, 0); _local2.drawRect(0, 0, 100, 100); _local2.endFill(); background = (_local1 as DisplayObject); addChildAt(background, 0); addEventListener(MouseEvent.CLICK, handleClick, false, 0, true); } public function set groupName(_arg1:String):void{ if (_group != null){ _group.removeRadioButton(this); _group.removeEventListener(Event.CHANGE, handleChange); }; _group = ((_arg1)==null) ? null : RadioButtonGroup.getGroup(_arg1); if (_group != null){ _group.addRadioButton(this); _group.addEventListener(Event.CHANGE, handleChange, false, 0, true); }; } public function get value():Object{ return (_value); } override protected function drawLayout():void{ var _local1:Number; super.drawLayout(); _local1 = Number(getStyleValue("textPadding")); switch (_labelPlacement){ case ButtonLabelPlacement.RIGHT: icon.x = _local1; textField.x = (icon.x + (icon.width + _local1)); background.width = ((textField.x + textField.width) + _local1); background.height = (Math.max(textField.height, icon.height) + (_local1 * 2)); break; case ButtonLabelPlacement.LEFT: icon.x = ((width - icon.width) - _local1); textField.x = (((width - icon.width) - (_local1 * 2)) - textField.width); background.width = ((textField.width + icon.width) + (_local1 * 3)); background.height = (Math.max(textField.height, icon.height) + (_local1 * 2)); break; case ButtonLabelPlacement.TOP: case ButtonLabelPlacement.BOTTOM: background.width = (Math.max(textField.width, icon.width) + (_local1 * 2)); background.height = ((textField.height + icon.height) + (_local1 * 3)); break; }; background.x = Math.min((icon.x - _local1), (textField.x - _local1)); background.y = Math.min((icon.y - _local1), (textField.y - _local1)); } override protected function drawBackground():void{ } override protected function initializeAccessibility():void{ if (RadioButton.createAccessibilityImplementation != null){ RadioButton.createAccessibilityImplementation(this); }; } public function get groupName():String{ return (((_group)==null) ? null : _group.name); } private function setPrev(_arg1:Boolean=true):void{ var _local2:RadioButtonGroup; var _local3:IFocusManager; var _local4:int; var _local5:int; var _local6:*; _local2 = _group; if (_local2 == null){ return; }; _local3 = focusManager; if (_local3){ _local3.showFocusIndicator = true; }; _local4 = _local2.getRadioButtonIndex(this); _local5 = _local4; if (_local4 != -1){ do { --_local5; _local5 = ((_local5)==-1) ? (_local2.numRadioButtons - 1) : _local5; _local6 = _local2.getRadioButtonAt(_local5); if (((_local6) && (_local6.enabled))){ if (_arg1){ _local2.selection = _local6; }; _local6.setFocus(); return; }; if (((_arg1) && (!((_local2.getRadioButtonAt(_local5) == _local2.selection))))){ _local2.selection = this; }; this.drawFocus(true); } while (_local5 != _local4); }; } protected function handleChange(_arg1:Event):void{ super.selected = (_group.selection == this); dispatchEvent(new Event(Event.CHANGE, true)); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 9
//RadioButtonGroup (fl.controls.RadioButtonGroup) package fl.controls { import flash.events.*; public class RadioButtonGroup extends EventDispatcher { protected var _selection:RadioButton; protected var radioButtons:Array; protected var _name:String; private static var groups:Object; private static var groupCount:uint = 0; public function RadioButtonGroup(_arg1:String){ _name = _arg1; radioButtons = []; registerGroup(this); } public function getRadioButtonIndex(_arg1:RadioButton):int{ var _local2:int; var _local3:RadioButton; _local2 = 0; while (_local2 < radioButtons.length) { _local3 = (radioButtons[_local2] as RadioButton); if (_local3 == _arg1){ return (_local2); }; _local2++; }; return (-1); } public function get numRadioButtons():int{ return (radioButtons.length); } public function get name():String{ return (_name); } public function get selection():RadioButton{ return (_selection); } public function set selection(_arg1:RadioButton):void{ if ((((((_selection == _arg1)) || ((_arg1 == null)))) || ((getRadioButtonIndex(_arg1) == -1)))){ return; }; _selection = _arg1; dispatchEvent(new Event(Event.CHANGE, true)); } public function set selectedData(_arg1:Object):void{ var _local2:int; var _local3:RadioButton; _local2 = 0; while (_local2 < radioButtons.length) { _local3 = (radioButtons[_local2] as RadioButton); if (_local3.value == _arg1){ selection = _local3; return; }; _local2++; }; } public function removeRadioButton(_arg1:RadioButton):void{ var _local2:int; _local2 = getRadioButtonIndex(_arg1); if (_local2 != -1){ radioButtons.splice(_local2, 1); }; if (_selection == _arg1){ _selection = null; }; } public function addRadioButton(_arg1:RadioButton):void{ if (_arg1.groupName != name){ _arg1.groupName = name; return; }; radioButtons.push(_arg1); if (_arg1.selected){ selection = _arg1; }; } public function getRadioButtonAt(_arg1:int):RadioButton{ return (RadioButton(radioButtons[_arg1])); } public function get selectedData():Object{ var _local1:RadioButton; _local1 = _selection; return (((_local1)==null) ? null : _local1.value); } public static function getGroup(_arg1:String):RadioButtonGroup{ var _local2:RadioButtonGroup; if (groups == null){ groups = {}; }; _local2 = (groups[_arg1] as RadioButtonGroup); if (_local2 == null){ _local2 = new RadioButtonGroup(_arg1); if ((++groupCount % 20) == 0){ cleanUpGroups(); }; }; return (_local2); } private static function registerGroup(_arg1:RadioButtonGroup):void{ if (groups == null){ groups = {}; }; groups[_arg1.name] = _arg1; } private static function cleanUpGroups():void{ var _local1:String; var _local2:RadioButtonGroup; for (_local1 in groups) { _local2 = (groups[_local1] as RadioButtonGroup); if (_local2.radioButtons.length == 0){ delete groups[_local1]; }; }; } } }//package fl.controls
Section 10
//ScrollBar (fl.controls.ScrollBar) package fl.controls { import fl.core.*; import flash.events.*; import fl.events.*; public class ScrollBar extends UIComponent { private var _direction:String;// = "vertical" protected var inDrag:Boolean;// = false protected var upArrow:BaseButton; private var _pageScrollSize:Number;// = 0 protected var downArrow:BaseButton; private var _pageSize:Number;// = 10 private var thumbScrollOffset:Number; private var _maxScrollPosition:Number;// = 0 private var _scrollPosition:Number;// = 0 protected var track:BaseButton; private var _minScrollPosition:Number;// = 0 private var _lineScrollSize:Number;// = 1 protected var thumb:LabelButton; protected static const THUMB_STYLES:Object = {disabledSkin:"thumbDisabledSkin", downSkin:"thumbDownSkin", overSkin:"thumbOverSkin", upSkin:"thumbUpSkin", icon:"thumbIcon", textPadding:0}; public static const WIDTH:Number = 15; protected static const DOWN_ARROW_STYLES:Object = {disabledSkin:"downArrowDisabledSkin", downSkin:"downArrowDownSkin", overSkin:"downArrowOverSkin", upSkin:"downArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const UP_ARROW_STYLES:Object = {disabledSkin:"upArrowDisabledSkin", downSkin:"upArrowDownSkin", overSkin:"upArrowOverSkin", upSkin:"upArrowUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; protected static const TRACK_STYLES:Object = {disabledSkin:"trackDisabledSkin", downSkin:"trackDownSkin", overSkin:"trackOverSkin", upSkin:"trackUpSkin", repeatDelay:"repeatDelay", repeatInterval:"repeatInterval"}; private static var defaultStyles:Object = {downArrowDisabledSkin:"ScrollArrowDown_disabledSkin", downArrowDownSkin:"ScrollArrowDown_downSkin", downArrowOverSkin:"ScrollArrowDown_overSkin", downArrowUpSkin:"ScrollArrowDown_upSkin", thumbDisabledSkin:"ScrollThumb_upSkin", thumbDownSkin:"ScrollThumb_downSkin", thumbOverSkin:"ScrollThumb_overSkin", thumbUpSkin:"ScrollThumb_upSkin", trackDisabledSkin:"ScrollTrack_skin", trackDownSkin:"ScrollTrack_skin", trackOverSkin:"ScrollTrack_skin", trackUpSkin:"ScrollTrack_skin", upArrowDisabledSkin:"ScrollArrowUp_disabledSkin", upArrowDownSkin:"ScrollArrowUp_downSkin", upArrowOverSkin:"ScrollArrowUp_overSkin", upArrowUpSkin:"ScrollArrowUp_upSkin", thumbIcon:"ScrollBar_thumbIcon", repeatDelay:500, repeatInterval:35}; public function ScrollBar(){ _pageSize = 10; _pageScrollSize = 0; _lineScrollSize = 1; _minScrollPosition = 0; _maxScrollPosition = 0; _scrollPosition = 0; _direction = ScrollBarDirection.VERTICAL; inDrag = false; super(); setStyles(); focusEnabled = false; } public function get minScrollPosition():Number{ return (_minScrollPosition); } public function set minScrollPosition(_arg1:Number):void{ setScrollProperties(_pageSize, _arg1, _maxScrollPosition); } public function setScrollPosition(_arg1:Number, _arg2:Boolean=true):void{ var _local3:Number; _local3 = scrollPosition; _scrollPosition = Math.max(_minScrollPosition, Math.min(_maxScrollPosition, _arg1)); if (_local3 == _scrollPosition){ return; }; if (_arg2){ dispatchEvent(new ScrollEvent(_direction, (scrollPosition - _local3), scrollPosition)); }; updateThumb(); } public function set scrollPosition(_arg1:Number):void{ setScrollPosition(_arg1, true); } public function get pageScrollSize():Number{ return (((_pageScrollSize)==0) ? _pageSize : _pageScrollSize); } public function set pageSize(_arg1:Number):void{ if (_arg1 > 0){ _pageSize = _arg1; }; } public function setScrollProperties(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number=0):void{ this.pageSize = _arg1; _minScrollPosition = _arg2; _maxScrollPosition = _arg3; if (_arg4 >= 0){ _pageScrollSize = _arg4; }; enabled = (_maxScrollPosition > _minScrollPosition); setScrollPosition(_scrollPosition, false); updateThumb(); } override public function set enabled(_arg1:Boolean):void{ super.enabled = _arg1; downArrow.enabled = (track.enabled = (thumb.enabled = (upArrow.enabled = ((enabled) && ((_maxScrollPosition > _minScrollPosition)))))); updateThumb(); } protected function updateThumb():void{ var _local1:Number; _local1 = ((_maxScrollPosition - _minScrollPosition) + _pageSize); if ((((((track.height <= 12)) || ((_maxScrollPosition <= _minScrollPosition)))) || ((((_local1 == 0)) || (isNaN(_local1)))))){ thumb.height = 12; thumb.visible = false; } else { thumb.height = Math.max(13, ((_pageSize / _local1) * track.height)); thumb.y = (track.y + ((track.height - thumb.height) * ((_scrollPosition - _minScrollPosition) / (_maxScrollPosition - _minScrollPosition)))); thumb.visible = enabled; }; } protected function thumbPressHandler(_arg1:MouseEvent):void{ inDrag = true; thumbScrollOffset = (mouseY - thumb.y); thumb.mouseStateLocked = true; mouseChildren = false; stage.addEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler, false, 0, true); } protected function thumbReleaseHandler(_arg1:MouseEvent):void{ inDrag = false; mouseChildren = true; thumb.mouseStateLocked = false; stage.removeEventListener(MouseEvent.MOUSE_MOVE, handleThumbDrag); stage.removeEventListener(MouseEvent.MOUSE_UP, thumbReleaseHandler); } public function set pageScrollSize(_arg1:Number):void{ if (_arg1 >= 0){ _pageScrollSize = _arg1; }; } protected function handleThumbDrag(_arg1:MouseEvent):void{ var _local2:Number; _local2 = Math.max(0, Math.min((track.height - thumb.height), ((mouseY - track.y) - thumbScrollOffset))); setScrollPosition((((_local2 / (track.height - thumb.height)) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition)); } public function set direction(_arg1:String):void{ var _local2:Boolean; if (_direction == _arg1){ return; }; _direction = _arg1; if (isLivePreview){ return; }; setScaleY(1); _local2 = (_direction == ScrollBarDirection.HORIZONTAL); if (((_local2) && (componentInspectorSetting))){ if (rotation == 90){ return; }; setScaleX(-1); rotation = -90; }; if (!componentInspectorSetting){ if (((_local2) && ((rotation == 0)))){ rotation = -90; setScaleX(-1); } else { if (((!(_local2)) && ((rotation == -90)))){ rotation = 0; setScaleX(1); }; }; }; invalidate(InvalidationType.SIZE); } public function set lineScrollSize(_arg1:Number):void{ if (_arg1 > 0){ _lineScrollSize = _arg1; }; } override public function get height():Number{ return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.width : super.height); } protected function scrollPressHandler(_arg1:ComponentEvent):void{ var _local2:Number; var _local3:Number; _arg1.stopImmediatePropagation(); if (_arg1.currentTarget == upArrow){ setScrollPosition((_scrollPosition - _lineScrollSize)); } else { if (_arg1.currentTarget == downArrow){ setScrollPosition((_scrollPosition + _lineScrollSize)); } else { _local2 = (((track.mouseY / track.height) * (_maxScrollPosition - _minScrollPosition)) + _minScrollPosition); _local3 = ((pageScrollSize)==0) ? pageSize : pageScrollSize; if (_scrollPosition < _local2){ setScrollPosition(Math.min(_local2, (_scrollPosition + _local3))); } else { if (_scrollPosition > _local2){ setScrollPosition(Math.max(_local2, (_scrollPosition - _local3))); }; }; }; }; } public function get pageSize():Number{ return (_pageSize); } public function set maxScrollPosition(_arg1:Number):void{ setScrollProperties(_pageSize, _minScrollPosition, _arg1); } public function get scrollPosition():Number{ return (_scrollPosition); } override public function get enabled():Boolean{ return (super.enabled); } override protected function draw():void{ var _local1:Number; if (isInvalid(InvalidationType.SIZE)){ _local1 = super.height; downArrow.move(0, Math.max(upArrow.height, (_local1 - downArrow.height))); track.setSize(WIDTH, Math.max(0, (_local1 - (downArrow.height + upArrow.height)))); updateThumb(); }; if (isInvalid(InvalidationType.STYLES, InvalidationType.STATE)){ setStyles(); }; downArrow.drawNow(); upArrow.drawNow(); track.drawNow(); thumb.drawNow(); validate(); } override protected function configUI():void{ super.configUI(); track = new BaseButton(); track.move(0, 14); track.useHandCursor = false; track.autoRepeat = true; track.focusEnabled = false; addChild(track); thumb = new LabelButton(); thumb.label = ""; thumb.setSize(WIDTH, 15); thumb.move(0, 15); thumb.focusEnabled = false; addChild(thumb); downArrow = new BaseButton(); downArrow.setSize(WIDTH, 14); downArrow.autoRepeat = true; downArrow.focusEnabled = false; addChild(downArrow); upArrow = new BaseButton(); upArrow.setSize(WIDTH, 14); upArrow.move(0, 0); upArrow.autoRepeat = true; upArrow.focusEnabled = false; addChild(upArrow); upArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); downArrow.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); track.addEventListener(ComponentEvent.BUTTON_DOWN, scrollPressHandler, false, 0, true); thumb.addEventListener(MouseEvent.MOUSE_DOWN, thumbPressHandler, false, 0, true); enabled = false; } public function get direction():String{ return (_direction); } public function get lineScrollSize():Number{ return (_lineScrollSize); } override public function setSize(_arg1:Number, _arg2:Number):void{ if (_direction == ScrollBarDirection.HORIZONTAL){ super.setSize(_arg2, _arg1); } else { super.setSize(_arg1, _arg2); }; } public function get maxScrollPosition():Number{ return (_maxScrollPosition); } override public function get width():Number{ return (((_direction)==ScrollBarDirection.HORIZONTAL) ? super.height : super.width); } protected function setStyles():void{ copyStylesToChild(downArrow, DOWN_ARROW_STYLES); copyStylesToChild(thumb, THUMB_STYLES); copyStylesToChild(track, TRACK_STYLES); copyStylesToChild(upArrow, UP_ARROW_STYLES); } public static function getStyleDefinition():Object{ return (defaultStyles); } } }//package fl.controls
Section 11
//ScrollBarDirection (fl.controls.ScrollBarDirection) package fl.controls { public class ScrollBarDirection { public static const HORIZONTAL:String = "horizontal"; public static const VERTICAL:String = "vertical"; } }//package fl.controls
Section 12
//ScrollPolicy (fl.controls.ScrollPolicy) package fl.controls { public class ScrollPolicy { public static const OFF:String = "off"; public static const ON:String = "on"; public static const AUTO:String = "auto"; } }//package fl.controls
Section 13
//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.core
Section 14
//InvalidationType (fl.core.InvalidationType) package fl.core { public class InvalidationType { public static const SIZE:String = "size"; public static const ALL:String = "all"; public static const DATA:String = "data"; public static const SCROLL:String = "scroll"; public static const STATE:String = "state"; public static const STYLES:String = "styles"; public static const SELECTED:String = "selected"; public static const RENDERER_STYLES:String = "rendererStyles"; } }//package fl.core
Section 15
//UIComponent (fl.core.UIComponent) package fl.core { import flash.display.*; import flash.events.*; import fl.managers.*; import flash.utils.*; import flash.text.*; import fl.events.*; import flash.system.*; public class UIComponent extends Sprite { protected var _enabled:Boolean;// = true private var _mouseFocusEnabled:Boolean;// = true protected var startHeight:Number; protected var _height:Number; protected var _oldIMEMode:String;// = null protected var startWidth:Number; public var focusTarget:IFocusManagerComponent; protected var errorCaught:Boolean;// = false protected var uiFocusRect:DisplayObject; protected var _width:Number; public var version:String;// = "3.0.0.15" protected var isFocused:Boolean;// = false protected var callLaterMethods:Dictionary; private var _focusEnabled:Boolean;// = true private var tempText:TextField; protected var invalidateFlag:Boolean;// = false protected var _inspector:Boolean;// = false protected var sharedStyles:Object; protected var invalidHash:Object; protected var isLivePreview:Boolean;// = false protected var _imeMode:String;// = null protected var instanceStyles:Object; protected var _x:Number; protected var _y:Number; public static var inCallLaterPhase:Boolean = false; private static var defaultStyles:Object = {focusRectSkin:"focusRectSkin", focusRectPadding:2, textFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), disabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultTextFormat:new TextFormat("_sans", 11, 0, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0), defaultDisabledTextFormat:new TextFormat("_sans", 11, 0x999999, false, false, false, "", "", TextFormatAlign.LEFT, 0, 0, 0, 0)}; public static var createAccessibilityImplementation:Function; private static var focusManagers:Dictionary = new Dictionary(false); public function UIComponent(){ version = "3.0.0.15"; isLivePreview = false; invalidateFlag = false; _enabled = true; isFocused = false; _focusEnabled = true; _mouseFocusEnabled = true; _imeMode = null; _oldIMEMode = null; errorCaught = false; _inspector = false; super(); instanceStyles = {}; sharedStyles = {}; invalidHash = {}; callLaterMethods = new Dictionary(); StyleManager.registerInstance(this); configUI(); invalidate(InvalidationType.ALL); tabEnabled = (this is IFocusManagerComponent); focusRect = false; if (tabEnabled){ addEventListener(FocusEvent.FOCUS_IN, focusInHandler); addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler); addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler); addEventListener(KeyboardEvent.KEY_UP, keyUpHandler); }; initializeFocusManager(); addEventListener(Event.ENTER_FRAME, hookAccessibility, false, 0, true); } public function drawFocus(_arg1:Boolean):void{ var _local2:Number; isFocused = _arg1; if (((!((uiFocusRect == null))) && (contains(uiFocusRect)))){ removeChild(uiFocusRect); uiFocusRect = null; }; if (_arg1){ uiFocusRect = (getDisplayObjectInstance(getStyleValue("focusRectSkin")) as Sprite); if (uiFocusRect == null){ return; }; _local2 = Number(getStyleValue("focusRectPadding")); uiFocusRect.x = -(_local2); uiFocusRect.y = -(_local2); uiFocusRect.width = (width + (_local2 * 2)); uiFocusRect.height = (height + (_local2 * 2)); addChildAt(uiFocusRect, 0); }; } private function callLaterDispatcher(_arg1:Event):void{ var _local2:Dictionary; var _local3:Object; if (_arg1.type == Event.ADDED_TO_STAGE){ removeEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher); stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); return; }; _arg1.target.removeEventListener(Event.RENDER, callLaterDispatcher); if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); return; }; inCallLaterPhase = true; _local2 = callLaterMethods; for (_local3 in _local2) { _local3(); delete _local2[_local3]; }; inCallLaterPhase = false; } private function addedHandler(_arg1:Event):void{ removeEventListener("addedToStage", addedHandler); initializeFocusManager(); } protected function getStyleValue(_arg1:String):Object{ return (((instanceStyles[_arg1])==null) ? sharedStyles[_arg1] : instanceStyles[_arg1]); } protected function isOurFocus(_arg1:DisplayObject):Boolean{ return ((_arg1 == this)); } override public function get scaleX():Number{ return ((width / startWidth)); } override public function get scaleY():Number{ return ((height / startHeight)); } override public function set height(_arg1:Number):void{ if (_height == _arg1){ return; }; setSize(width, _arg1); } protected function keyDownHandler(_arg1:KeyboardEvent):void{ } protected function focusInHandler(_arg1:FocusEvent):void{ var _local2:IFocusManager; if (isOurFocus((_arg1.target as DisplayObject))){ _local2 = focusManager; if (((_local2) && (_local2.showFocusIndicator))){ drawFocus(true); isFocused = true; }; }; } public function setStyle(_arg1:String, _arg2:Object):void{ if ((((instanceStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; instanceStyles[_arg1] = _arg2; invalidate(InvalidationType.STYLES); } override public function get visible():Boolean{ return (super.visible); } public function get componentInspectorSetting():Boolean{ return (_inspector); } override public function get x():Number{ return ((isNaN(_x)) ? super.x : _x); } override public function get y():Number{ return ((isNaN(_y)) ? super.y : _y); } protected function setIMEMode(_arg1:Boolean){ var enabled = _arg1; if (_imeMode != null){ if (enabled){ IME.enabled = true; _oldIMEMode = IME.conversionMode; try { if (((!(errorCaught)) && (!((IME.conversionMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _imeMode; }; errorCaught = false; } catch(e:Error) { errorCaught = true; throw (new Error(("IME mode not supported: " + _imeMode))); }; } else { if (((!((IME.conversionMode == IMEConversionMode.UNKNOWN))) && (!((_oldIMEMode == IMEConversionMode.UNKNOWN))))){ IME.conversionMode = _oldIMEMode; }; IME.enabled = false; }; }; } public function set enabled(_arg1:Boolean):void{ if (_arg1 == _enabled){ return; }; _enabled = _arg1; invalidate(InvalidationType.STATE); } public function setSharedStyle(_arg1:String, _arg2:Object):void{ if ((((sharedStyles[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; sharedStyles[_arg1] = _arg2; if (instanceStyles[_arg1] == null){ invalidate(InvalidationType.STYLES); }; } protected function keyUpHandler(_arg1:KeyboardEvent):void{ } public function set focusEnabled(_arg1:Boolean):void{ _focusEnabled = _arg1; } override public function set scaleX(_arg1:Number):void{ setSize((startWidth * _arg1), height); } public function get mouseFocusEnabled():Boolean{ return (_mouseFocusEnabled); } override public function set scaleY(_arg1:Number):void{ setSize(width, (startHeight * _arg1)); } protected function getDisplayObjectInstance(_arg1:Object):DisplayObject{ var classDef:Object; var skin = _arg1; classDef = null; if ((skin is Class)){ return ((new (skin) as DisplayObject)); }; if ((skin is DisplayObject)){ (skin as DisplayObject).x = 0; (skin as DisplayObject).y = 0; return ((skin as DisplayObject)); }; try { classDef = getDefinitionByName(skin.toString()); } catch(e:Error) { try { classDef = (loaderInfo.applicationDomain.getDefinition(skin.toString()) as Object); } catch(e:Error) { }; }; if (classDef == null){ return (null); }; return ((new (classDef) as DisplayObject)); } protected function copyStylesToChild(_arg1:UIComponent, _arg2:Object):void{ var _local3:String; for (_local3 in _arg2) { _arg1.setStyle(_local3, getStyleValue(_arg2[_local3])); }; } protected function beforeComponentParameters():void{ } protected function callLater(_arg1:Function):void{ if (inCallLaterPhase){ return; }; callLaterMethods[_arg1] = true; if (stage != null){ stage.addEventListener(Event.RENDER, callLaterDispatcher, false, 0, true); stage.invalidate(); } else { addEventListener(Event.ADDED_TO_STAGE, callLaterDispatcher, false, 0, true); }; } protected function createFocusManager():void{ if (focusManagers[stage] == null){ focusManagers[stage] = new FocusManager(stage); }; } override public function set visible(_arg1:Boolean):void{ var _local2:String; if (super.visible == _arg1){ return; }; super.visible = _arg1; _local2 = (_arg1) ? ComponentEvent.SHOW : ComponentEvent.HIDE; dispatchEvent(new ComponentEvent(_local2, true)); } protected function hookAccessibility(_arg1:Event):void{ removeEventListener(Event.ENTER_FRAME, hookAccessibility); initializeAccessibility(); } public function set componentInspectorSetting(_arg1:Boolean):void{ _inspector = _arg1; if (_inspector){ beforeComponentParameters(); } else { afterComponentParameters(); }; } override public function set x(_arg1:Number):void{ move(_arg1, _y); } public function drawNow():void{ draw(); } override public function set y(_arg1:Number):void{ move(_x, _arg1); } protected function checkLivePreview():Boolean{ var className:String; if (parent == null){ return (false); }; try { className = getQualifiedClassName(parent); } catch(e:Error) { }; return ((className == "fl.livepreview::LivePreviewParent")); } protected function focusOutHandler(_arg1:FocusEvent):void{ if (isOurFocus((_arg1.target as DisplayObject))){ drawFocus(false); isFocused = false; }; } public function set mouseFocusEnabled(_arg1:Boolean):void{ _mouseFocusEnabled = _arg1; } public function getFocus():InteractiveObject{ if (stage){ return (stage.focus); }; return (null); } protected function validate():void{ invalidHash = {}; } override public function get height():Number{ return (_height); } public function invalidate(_arg1:String="all", _arg2:Boolean=true):void{ invalidHash[_arg1] = true; if (_arg2){ this.callLater(draw); }; } public function get enabled():Boolean{ return (_enabled); } protected function getScaleX():Number{ return (super.scaleX); } protected function getScaleY():Number{ return (super.scaleY); } public function get focusEnabled():Boolean{ return (_focusEnabled); } protected function afterComponentParameters():void{ } protected function draw():void{ if (isInvalid(InvalidationType.SIZE, InvalidationType.STYLES)){ if (((isFocused) && (focusManager.showFocusIndicator))){ drawFocus(true); }; }; validate(); } protected function configUI():void{ var _local1:Number; var _local2:Number; var _local3:Number; isLivePreview = checkLivePreview(); _local1 = rotation; rotation = 0; _local2 = super.width; _local3 = super.height; var _local4 = 1; super.scaleY = _local4; super.scaleX = _local4; setSize(_local2, _local3); move(super.x, super.y); rotation = _local1; startWidth = _local2; startHeight = _local3; if (numChildren > 0){ removeChildAt(0); }; } protected function setScaleX(_arg1:Number):void{ super.scaleX = _arg1; } protected function setScaleY(_arg1:Number):void{ super.scaleY = _arg1; } private function initializeFocusManager():void{ if (stage == null){ addEventListener(Event.ADDED_TO_STAGE, addedHandler, false, 0, true); } else { createFocusManager(); }; } public function set focusManager(_arg1:IFocusManager):void{ UIComponent.focusManagers[this] = _arg1; } public function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } protected function isInvalid(_arg1:String, ... _args):Boolean{ if (((invalidHash[_arg1]) || (invalidHash[InvalidationType.ALL]))){ return (true); }; while (_args.length > 0) { if (invalidHash[_args.pop()]){ return (true); }; }; return (false); } public function setSize(_arg1:Number, _arg2:Number):void{ _width = _arg1; _height = _arg2; invalidate(InvalidationType.SIZE); dispatchEvent(new ComponentEvent(ComponentEvent.RESIZE, false)); } override public function set width(_arg1:Number):void{ if (_width == _arg1){ return; }; setSize(_arg1, height); } public function setFocus():void{ if (stage){ stage.focus = this; }; } protected function initializeAccessibility():void{ if (UIComponent.createAccessibilityImplementation != null){ UIComponent.createAccessibilityImplementation(this); }; } public function get focusManager():IFocusManager{ var _local1:DisplayObject; _local1 = this; while (_local1) { if (UIComponent.focusManagers[_local1] != null){ return (IFocusManager(UIComponent.focusManagers[_local1])); }; _local1 = _local1.parent; }; return (null); } override public function get width():Number{ return (_width); } public function move(_arg1:Number, _arg2:Number):void{ _x = _arg1; _y = _arg2; super.x = Math.round(_arg1); super.y = Math.round(_arg2); dispatchEvent(new ComponentEvent(ComponentEvent.MOVE)); } public function validateNow():void{ invalidate(InvalidationType.ALL, false); draw(); } public function getStyle(_arg1:String):Object{ return (instanceStyles[_arg1]); } public static function getStyleDefinition():Object{ return (defaultStyles); } public static function mergeStyles(... _args):Object{ var _local2:Object; var _local3:uint; var _local4:uint; var _local5:Object; var _local6:String; _local2 = {}; _local3 = _args.length; _local4 = 0; while (_local4 < _local3) { _local5 = _args[_local4]; for (_local6 in _local5) { if (_local2[_local6] != null){ } else { _local2[_local6] = _args[_local4][_local6]; }; }; _local4++; }; return (_local2); } } }//package fl.core
Section 16
//ComponentEvent (fl.events.ComponentEvent) package fl.events { import flash.events.*; public class ComponentEvent extends Event { public static const HIDE:String = "hide"; public static const BUTTON_DOWN:String = "buttonDown"; public static const MOVE:String = "move"; public static const RESIZE:String = "resize"; public static const ENTER:String = "enter"; public static const LABEL_CHANGE:String = "labelChange"; public static const SHOW:String = "show"; public function ComponentEvent(_arg1:String, _arg2:Boolean=false, _arg3:Boolean=false){ super(_arg1, _arg2, _arg3); } override public function toString():String{ return (formatToString("ComponentEvent", "type", "bubbles", "cancelable")); } override public function clone():Event{ return (new ComponentEvent(type, bubbles, cancelable)); } } }//package fl.events
Section 17
//ScrollEvent (fl.events.ScrollEvent) package fl.events { import flash.events.*; public class ScrollEvent extends Event { private var _position:Number; private var _direction:String; private var _delta:Number; public static const SCROLL:String = "scroll"; public function ScrollEvent(_arg1:String, _arg2:Number, _arg3:Number){ super(ScrollEvent.SCROLL, false, false); _direction = _arg1; _delta = _arg2; _position = _arg3; } override public function clone():Event{ return (new ScrollEvent(_direction, _delta, _position)); } public function get position():Number{ return (_position); } override public function toString():String{ return (formatToString("ScrollEvent", "type", "bubbles", "cancelable", "direction", "delta", "position")); } public function get delta():Number{ return (_delta); } public function get direction():String{ return (_direction); } } }//package fl.events
Section 18
//FocusManager (fl.managers.FocusManager) package fl.managers { import fl.controls.*; import flash.display.*; import fl.core.*; import flash.events.*; import flash.utils.*; import flash.text.*; import flash.ui.*; public class FocusManager implements IFocusManager { private var focusableObjects:Dictionary; private var _showFocusIndicator:Boolean;// = true private var defButton:Button; private var focusableCandidates:Array; private var _form:DisplayObjectContainer; private var _defaultButtonEnabled:Boolean;// = true private var activated:Boolean;// = false private var _defaultButton:Button; private var calculateCandidates:Boolean;// = true private var lastFocus:InteractiveObject; private var lastAction:String; public function FocusManager(_arg1:DisplayObjectContainer){ activated = false; calculateCandidates = true; _showFocusIndicator = true; _defaultButtonEnabled = true; super(); focusableObjects = new Dictionary(true); if (_arg1 != null){ _form = _arg1; addFocusables(DisplayObject(_arg1)); _arg1.addEventListener(Event.ADDED, addedHandler); _arg1.addEventListener(Event.REMOVED, removedHandler); activate(); }; } public function get showFocusIndicator():Boolean{ return (_showFocusIndicator); } private function getIndexOfNextObject(_arg1:int, _arg2:Boolean, _arg3:Boolean, _arg4:String):int{ var _local5:int; var _local6:int; var _local7:DisplayObject; var _local8:IFocusManagerGroup; var _local9:int; var _local10:DisplayObject; var _local11:IFocusManagerGroup; _local5 = focusableCandidates.length; _local6 = _arg1; while (true) { if (_arg2){ _arg1--; } else { _arg1++; }; if (_arg3){ if (((_arg2) && ((_arg1 < 0)))){ break; }; if (((!(_arg2)) && ((_arg1 == _local5)))){ break; }; } else { _arg1 = ((_arg1 + _local5) % _local5); if (_local6 == _arg1){ break; }; }; if (isValidFocusCandidate(focusableCandidates[_arg1], _arg4)){ _local7 = DisplayObject(findFocusManagerComponent(focusableCandidates[_arg1])); if ((_local7 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local7); _local9 = 0; while (_local9 < focusableCandidates.length) { _local10 = focusableCandidates[_local9]; if ((_local10 is IFocusManagerGroup)){ _local11 = IFocusManagerGroup(_local10); if ((((_local11.groupName == _local8.groupName)) && (_local11.selected))){ _arg1 = _local9; break; }; }; _local9++; }; }; return (_arg1); }; }; return (_arg1); } public function set form(_arg1:DisplayObjectContainer):void{ _form = _arg1; } private function addFocusables(_arg1:DisplayObject, _arg2:Boolean=false):void{ var focusable:IFocusManagerComponent; var io:InteractiveObject; var doc:DisplayObjectContainer; var i:int; var child:DisplayObject; var o = _arg1; var skipTopLevel = _arg2; if (!skipTopLevel){ if ((o is IFocusManagerComponent)){ focusable = IFocusManagerComponent(o); if (focusable.focusEnabled){ if (((focusable.tabEnabled) && (isTabVisible(o)))){ focusableObjects[o] = true; calculateCandidates = true; }; o.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); o.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; } else { if ((o is InteractiveObject)){ io = (o as InteractiveObject); if (((((io) && (io.tabEnabled))) && ((findFocusManagerComponent(io) == io)))){ focusableObjects[io] = true; calculateCandidates = true; }; io.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); io.addEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); }; }; }; if ((o is DisplayObjectContainer)){ doc = DisplayObjectContainer(o); o.addEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); if ((((((doc is Stage)) || ((doc.parent is Stage)))) || (doc.tabChildren))){ i = 0; while (i < doc.numChildren) { try { child = doc.getChildAt(i); if (child != null){ addFocusables(doc.getChildAt(i)); }; } catch(error:SecurityError) { }; i = (i + 1); }; }; }; } private function getChildIndex(_arg1:DisplayObjectContainer, _arg2:DisplayObject):int{ return (_arg1.getChildIndex(_arg2)); } private function mouseFocusChangeHandler(_arg1:FocusEvent):void{ if ((_arg1.relatedObject is TextField)){ return; }; _arg1.preventDefault(); } private function focusOutHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; _local2 = (_arg1.target as InteractiveObject); } private function isValidFocusCandidate(_arg1:DisplayObject, _arg2:String):Boolean{ var _local3:IFocusManagerGroup; if (!isEnabledAndVisible(_arg1)){ return (false); }; if ((_arg1 is IFocusManagerGroup)){ _local3 = IFocusManagerGroup(_arg1); if (_arg2 == _local3.groupName){ return (false); }; }; return (true); } public function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject{ var _local2:InteractiveObject; _local2 = _arg1; while (_arg1) { if ((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))){ return (_arg1); }; _arg1 = _arg1.parent; }; return (_local2); } private function sortFocusableObjectsTabIndex():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))){ focusableCandidates.push(_local2); }; }; focusableCandidates.sort(sortByTabIndex); } private function removeFocusables(_arg1:DisplayObject):void{ var _local2:Object; var _local3:DisplayObject; if ((_arg1 is DisplayObjectContainer)){ _arg1.removeEventListener(Event.TAB_CHILDREN_CHANGE, tabChildrenChangeHandler); _arg1.removeEventListener(Event.TAB_INDEX_CHANGE, tabIndexChangeHandler); for (_local2 in focusableObjects) { _local3 = DisplayObject(_local2); if (DisplayObjectContainer(_arg1).contains(_local3)){ if (_local3 == lastFocus){ lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local2]; calculateCandidates = true; }; }; }; } private function addedHandler(_arg1:Event):void{ var _local2:DisplayObject; _local2 = DisplayObject(_arg1.target); if (_local2.stage){ addFocusables(DisplayObject(_arg1.target)); }; } private function getTopLevelFocusTarget(_arg1:InteractiveObject):InteractiveObject{ while (_arg1 != InteractiveObject(form)) { if ((((((((_arg1 is IFocusManagerComponent)) && (IFocusManagerComponent(_arg1).focusEnabled))) && (IFocusManagerComponent(_arg1).mouseFocusEnabled))) && (UIComponent(_arg1).enabled))){ return (_arg1); }; _arg1 = _arg1.parent; if (_arg1 == null){ break; }; }; return (null); } private function tabChildrenChangeHandler(_arg1:Event):void{ var _local2:DisplayObjectContainer; if (_arg1.target != _arg1.currentTarget){ return; }; calculateCandidates = true; _local2 = DisplayObjectContainer(_arg1.target); if (_local2.tabChildren){ addFocusables(_local2, true); } else { removeFocusables(_local2); }; } public function sendDefaultButtonEvent():void{ defButton.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); } public function getFocus():InteractiveObject{ var _local1:InteractiveObject; _local1 = form.stage.focus; return (findFocusManagerComponent(_local1)); } private function isEnabledAndVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; var _local3:TextField; var _local4:SimpleButton; _local2 = DisplayObject(form).parent; while (_arg1 != _local2) { if ((_arg1 is UIComponent)){ if (!UIComponent(_arg1).enabled){ return (false); }; } else { if ((_arg1 is TextField)){ _local3 = TextField(_arg1); if ((((_local3.type == TextFieldType.DYNAMIC)) || (!(_local3.selectable)))){ return (false); }; } else { if ((_arg1 is SimpleButton)){ _local4 = SimpleButton(_arg1); if (!_local4.enabled){ return (false); }; }; }; }; if (!_arg1.visible){ return (false); }; _arg1 = _arg1.parent; }; return (true); } public function set defaultButton(_arg1:Button):void{ var _local2:Button; _local2 = (_arg1) ? Button(_arg1) : null; if (_local2 != _defaultButton){ if (_defaultButton){ _defaultButton.emphasized = false; }; if (defButton){ defButton.emphasized = false; }; _defaultButton = _local2; defButton = _local2; if (_local2){ _local2.emphasized = true; }; }; } private function deactivateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); } public function setFocus(_arg1:InteractiveObject):void{ if ((_arg1 is IFocusManagerComponent)){ IFocusManagerComponent(_arg1).setFocus(); } else { form.stage.focus = _arg1; }; } private function setFocusToNextObject(_arg1:FocusEvent):void{ var _local2:InteractiveObject; if (!hasFocusableObjects()){ return; }; _local2 = getNextFocusManagerComponent(_arg1.shiftKey); if (_local2){ setFocus(_local2); }; } private function hasFocusableObjects():Boolean{ var _local1:Object; for (_local1 in focusableObjects) { return (true); }; return (false); } private function tabIndexChangeHandler(_arg1:Event):void{ calculateCandidates = true; } private function sortFocusableObjects():void{ var _local1:Object; var _local2:InteractiveObject; focusableCandidates = []; for (_local1 in focusableObjects) { _local2 = InteractiveObject(_local1); if (((((_local2.tabIndex) && (!(isNaN(Number(_local2.tabIndex)))))) && ((_local2.tabIndex > 0)))){ sortFocusableObjectsTabIndex(); return; }; focusableCandidates.push(_local2); }; focusableCandidates.sort(sortByDepth); } private function keyFocusChangeHandler(_arg1:FocusEvent):void{ showFocusIndicator = true; if ((((((_arg1.keyCode == Keyboard.TAB)) || ((_arg1.keyCode == 0)))) && (!(_arg1.isDefaultPrevented())))){ setFocusToNextObject(_arg1); _arg1.preventDefault(); }; } private function getIndexOfFocusedObject(_arg1:DisplayObject):int{ var _local2:int; var _local3:int; _local2 = focusableCandidates.length; _local3 = 0; _local3 = 0; while (_local3 < _local2) { if (focusableCandidates[_local3] == _arg1){ return (_local3); }; _local3++; }; return (-1); } public function hideFocus():void{ } private function removedHandler(_arg1:Event):void{ var _local2:int; var _local3:DisplayObject; var _local4:InteractiveObject; _local3 = DisplayObject(_arg1.target); if ((((_local3 is IFocusManagerComponent)) && ((focusableObjects[_local3] == true)))){ if (_local3 == lastFocus){ IFocusManagerComponent(lastFocus).drawFocus(false); lastFocus = null; }; _local3.removeEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); delete focusableObjects[_local3]; calculateCandidates = true; } else { if ((((_local3 is InteractiveObject)) && ((focusableObjects[_local3] == true)))){ _local4 = (_local3 as InteractiveObject); if (_local4){ if (_local4 == lastFocus){ lastFocus = null; }; delete focusableObjects[_local4]; calculateCandidates = true; }; _local3.addEventListener(Event.TAB_ENABLED_CHANGE, tabEnabledChangeHandler); }; }; removeFocusables(_local3); } private function sortByDepth(_arg1:InteractiveObject, _arg2:InteractiveObject):Number{ var _local3:String; var _local4:String; var _local5:int; var _local6:String; var _local7:String; var _local8:String; var _local9:DisplayObject; var _local10:DisplayObject; _local3 = ""; _local4 = ""; _local8 = "0000"; _local9 = DisplayObject(_arg1); _local10 = DisplayObject(_arg2); while (((!((_local9 == DisplayObject(form)))) && (_local9.parent))) { _local5 = getChildIndex(_local9.parent, _local9); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local3 = (_local7 + _local3); _local9 = _local9.parent; }; while (((!((_local10 == DisplayObject(form)))) && (_local10.parent))) { _local5 = getChildIndex(_local10.parent, _local10); _local6 = _local5.toString(16); if (_local6.length < 4){ _local7 = (_local8.substring(0, (4 - _local6.length)) + _local6); }; _local4 = (_local7 + _local4); _local10 = _local10.parent; }; return (((_local3 > _local4)) ? 1 : ((_local3 < _local4)) ? -1 : 0); } public function get defaultButton():Button{ return (_defaultButton); } private function activateHandler(_arg1:Event):void{ var _local2:InteractiveObject; _local2 = InteractiveObject(_arg1.target); if (lastFocus){ if ((lastFocus is IFocusManagerComponent)){ IFocusManagerComponent(lastFocus).setFocus(); } else { form.stage.focus = lastFocus; }; }; lastAction = "ACTIVATE"; } public function showFocus():void{ } public function set defaultButtonEnabled(_arg1:Boolean):void{ _defaultButtonEnabled = _arg1; } public function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject{ var _local2:DisplayObject; var _local3:String; var _local4:int; var _local5:Boolean; var _local6:int; var _local7:int; var _local8:IFocusManagerGroup; if (!hasFocusableObjects()){ return (null); }; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; _local2 = form.stage.focus; _local2 = DisplayObject(findFocusManagerComponent(InteractiveObject(_local2))); _local3 = ""; if ((_local2 is IFocusManagerGroup)){ _local8 = IFocusManagerGroup(_local2); _local3 = _local8.groupName; }; _local4 = getIndexOfFocusedObject(_local2); _local5 = false; _local6 = _local4; if (_local4 == -1){ if (_arg1){ _local4 = focusableCandidates.length; }; _local5 = true; }; _local7 = getIndexOfNextObject(_local4, _arg1, _local5, _local3); return (findFocusManagerComponent(focusableCandidates[_local7])); } private function mouseDownHandler(_arg1:MouseEvent):void{ var _local2:InteractiveObject; if (_arg1.isDefaultPrevented()){ return; }; _local2 = getTopLevelFocusTarget(InteractiveObject(_arg1.target)); if (!_local2){ return; }; showFocusIndicator = false; if (((((!((_local2 == lastFocus))) || ((lastAction == "ACTIVATE")))) && (!((_local2 is TextField))))){ setFocus(_local2); }; lastAction = "MOUSEDOWN"; } private function isTabVisible(_arg1:DisplayObject):Boolean{ var _local2:DisplayObjectContainer; _local2 = _arg1.parent; while (((((_local2) && (!((_local2 is Stage))))) && (!(((_local2.parent) && ((_local2.parent is Stage))))))) { if (!_local2.tabChildren){ return (false); }; _local2 = _local2.parent; }; return (true); } public function get nextTabIndex():int{ return (0); } private function keyDownHandler(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.TAB){ lastAction = "KEY"; if (calculateCandidates){ sortFocusableObjects(); calculateCandidates = false; }; }; if (((((((defaultButtonEnabled) && ((_arg1.keyCode == Keyboard.ENTER)))) && (defaultButton))) && (defButton.enabled))){ sendDefaultButtonEvent(); }; } private function focusInHandler(_arg1:FocusEvent):void{ var _local2:InteractiveObject; var _local3:Button; _local2 = InteractiveObject(_arg1.target); if (form.contains(_local2)){ lastFocus = findFocusManagerComponent(InteractiveObject(_local2)); if ((lastFocus is Button)){ _local3 = Button(lastFocus); if (defButton){ defButton.emphasized = false; defButton = _local3; _local3.emphasized = true; }; } else { if (((defButton) && (!((defButton == _defaultButton))))){ defButton.emphasized = false; defButton = _defaultButton; _defaultButton.emphasized = true; }; }; }; } private function tabEnabledChangeHandler(_arg1:Event):void{ var _local2:InteractiveObject; var _local3:Boolean; calculateCandidates = true; _local2 = InteractiveObject(_arg1.target); _local3 = (focusableObjects[_local2] == true); if (_local2.tabEnabled){ if (((!(_local3)) && (isTabVisible(_local2)))){ if (!(_local2 is IFocusManagerComponent)){ _local2.focusRect = false; }; focusableObjects[_local2] = true; }; } else { if (_local3){ delete focusableObjects[_local2]; }; }; } public function set showFocusIndicator(_arg1:Boolean):void{ _showFocusIndicator = _arg1; } public function get form():DisplayObjectContainer{ return (_form); } private function sortByTabIndex(_arg1:InteractiveObject, _arg2:InteractiveObject):int{ return (((_arg1.tabIndex > _arg2.tabIndex)) ? 1 : ((_arg1.tabIndex < _arg2.tabIndex)) ? -1 : sortByDepth(_arg1, _arg2)); } public function activate():void{ if (activated){ return; }; form.stage.addEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler, false, 0, true); form.stage.addEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler, false, 0, true); form.addEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.addEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.addEventListener(Event.ACTIVATE, activateHandler, false, 0, true); form.stage.addEventListener(Event.DEACTIVATE, deactivateHandler, false, 0, true); form.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.addEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = true; if (lastFocus){ setFocus(lastFocus); }; } public function deactivate():void{ form.stage.removeEventListener(FocusEvent.MOUSE_FOCUS_CHANGE, mouseFocusChangeHandler); form.stage.removeEventListener(FocusEvent.KEY_FOCUS_CHANGE, keyFocusChangeHandler); form.removeEventListener(FocusEvent.FOCUS_IN, focusInHandler, true); form.removeEventListener(FocusEvent.FOCUS_OUT, focusOutHandler, true); form.stage.removeEventListener(Event.ACTIVATE, activateHandler); form.stage.removeEventListener(Event.DEACTIVATE, deactivateHandler); form.removeEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler); form.removeEventListener(KeyboardEvent.KEY_DOWN, keyDownHandler, true); activated = false; } public function get defaultButtonEnabled():Boolean{ return (_defaultButtonEnabled); } } }//package fl.managers
Section 19
//IFocusManager (fl.managers.IFocusManager) package fl.managers { import fl.controls.*; import flash.display.*; public interface IFocusManager { function getFocus():InteractiveObject; function deactivate():void; function set defaultButton(_arg1:Button):void; function set showFocusIndicator(_arg1:Boolean):void; function get defaultButtonEnabled():Boolean; function get nextTabIndex():int; function get defaultButton():Button; function get showFocusIndicator():Boolean; function setFocus(_arg1:InteractiveObject):void; function activate():void; function showFocus():void; function set defaultButtonEnabled(_arg1:Boolean):void; function hideFocus():void; function findFocusManagerComponent(_arg1:InteractiveObject):InteractiveObject; function getNextFocusManagerComponent(_arg1:Boolean=false):InteractiveObject; } }//package fl.managers
Section 20
//IFocusManagerComponent (fl.managers.IFocusManagerComponent) package fl.managers { public interface IFocusManagerComponent { function set focusEnabled(_arg1:Boolean):void; function drawFocus(_arg1:Boolean):void; function setFocus():void; function get focusEnabled():Boolean; function get tabEnabled():Boolean; function get tabIndex():int; function get mouseFocusEnabled():Boolean; } }//package fl.managers
Section 21
//IFocusManagerGroup (fl.managers.IFocusManagerGroup) package fl.managers { public interface IFocusManagerGroup { function set groupName(_arg1:String):void; function set selected(_arg1:Boolean):void; function get groupName():String; function get selected():Boolean; } }//package fl.managers
Section 22
//StyleManager (fl.managers.StyleManager) package fl.managers { import fl.core.*; import flash.utils.*; import flash.text.*; public class StyleManager { private var globalStyles:Object; private var classToDefaultStylesDict:Dictionary; private var styleToClassesHash:Object; private var classToStylesDict:Dictionary; private var classToInstancesDict:Dictionary; private static var _instance:StyleManager; public function StyleManager(){ styleToClassesHash = {}; classToInstancesDict = new Dictionary(true); classToStylesDict = new Dictionary(true); classToDefaultStylesDict = new Dictionary(true); globalStyles = UIComponent.getStyleDefinition(); } public static function clearComponentStyle(_arg1:Object, _arg2:String):void{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; if (((!((_local4 == null))) && (!((_local4[_arg2] == null))))){ delete _local4[_arg2]; invalidateComponentStyle(_local3, _arg2); }; } private static function getClassDef(_arg1:Object):Class{ var component = _arg1; if ((component is Class)){ return ((component as Class)); }; try { return ((getDefinitionByName(getQualifiedClassName(component)) as Class)); } catch(e:Error) { if ((component is UIComponent)){ try { return ((component.loaderInfo.applicationDomain.getDefinition(getQualifiedClassName(component)) as Class)); } catch(e:Error) { }; }; }; return (null); } public static function clearStyle(_arg1:String):void{ setStyle(_arg1, null); } public static function setComponentStyle(_arg1:Object, _arg2:String, _arg3:Object):void{ var _local4:Class; var _local5:Object; _local4 = getClassDef(_arg1); _local5 = getInstance().classToStylesDict[_local4]; if (_local5 == null){ _local5 = (getInstance().classToStylesDict[_local4] = {}); }; if (_local5 == _arg3){ return; }; _local5[_arg2] = _arg3; invalidateComponentStyle(_local4, _arg2); } private static function setSharedStyles(_arg1:UIComponent):void{ var _local2:StyleManager; var _local3:Class; var _local4:Object; var _local5:String; _local2 = getInstance(); _local3 = getClassDef(_arg1); _local4 = _local2.classToDefaultStylesDict[_local3]; for (_local5 in _local4) { _arg1.setSharedStyle(_local5, getSharedStyle(_arg1, _local5)); }; } public static function getComponentStyle(_arg1:Object, _arg2:String):Object{ var _local3:Class; var _local4:Object; _local3 = getClassDef(_arg1); _local4 = getInstance().classToStylesDict[_local3]; return (((_local4)==null) ? null : _local4[_arg2]); } private static function getInstance(){ if (_instance == null){ _instance = new (StyleManager); }; return (_instance); } private static function invalidateComponentStyle(_arg1:Class, _arg2:String):void{ var _local3:Dictionary; var _local4:Object; var _local5:UIComponent; _local3 = getInstance().classToInstancesDict[_arg1]; if (_local3 == null){ return; }; for (_local4 in _local3) { _local5 = (_local4 as UIComponent); if (_local5 == null){ } else { _local5.setSharedStyle(_arg2, getSharedStyle(_local5, _arg2)); }; }; } private static function invalidateStyle(_arg1:String):void{ var _local2:Dictionary; var _local3:Object; _local2 = getInstance().styleToClassesHash[_arg1]; if (_local2 == null){ return; }; for (_local3 in _local2) { invalidateComponentStyle(Class(_local3), _arg1); }; } public static function registerInstance(_arg1:UIComponent):void{ var inst:StyleManager; var classDef:Class; var target:Class; var defaultStyles:Object; var styleToClasses:Object; var n:String; var instance = _arg1; inst = getInstance(); classDef = getClassDef(instance); if (classDef == null){ return; }; if (inst.classToInstancesDict[classDef] == null){ inst.classToInstancesDict[classDef] = new Dictionary(true); target = classDef; while (defaultStyles == null) { if (target["getStyleDefinition"] != null){ defaultStyles = target["getStyleDefinition"](); break; }; try { target = (instance.loaderInfo.applicationDomain.getDefinition(getQualifiedSuperclassName(target)) as Class); } catch(err:Error) { try { target = (getDefinitionByName(getQualifiedSuperclassName(target)) as Class); } catch(e:Error) { defaultStyles = UIComponent.getStyleDefinition(); break; }; }; }; styleToClasses = inst.styleToClassesHash; for (n in defaultStyles) { if (styleToClasses[n] == null){ styleToClasses[n] = new Dictionary(true); }; styleToClasses[n][classDef] = true; }; inst.classToDefaultStylesDict[classDef] = defaultStyles; inst.classToStylesDict[classDef] = {}; }; inst.classToInstancesDict[classDef][instance] = true; setSharedStyles(instance); } public static function getStyle(_arg1:String):Object{ return (getInstance().globalStyles[_arg1]); } private static function getSharedStyle(_arg1:UIComponent, _arg2:String):Object{ var _local3:Class; var _local4:StyleManager; var _local5:Object; _local3 = getClassDef(_arg1); _local4 = getInstance(); _local5 = _local4.classToStylesDict[_local3][_arg2]; if (_local5 != null){ return (_local5); }; _local5 = _local4.globalStyles[_arg2]; if (_local5 != null){ return (_local5); }; return (_local4.classToDefaultStylesDict[_local3][_arg2]); } public static function setStyle(_arg1:String, _arg2:Object):void{ var _local3:Object; _local3 = getInstance().globalStyles; if ((((_local3[_arg1] === _arg2)) && (!((_arg2 is TextFormat))))){ return; }; _local3[_arg1] = _arg2; invalidateStyle(_arg1); } } }//package fl.managers
Section 23
//_toolbar_25 (print2flash_fla._toolbar_25) package print2flash_fla { import flash.display.*; import flash.accessibility.*; public dynamic class _toolbar_25 extends MovieClip { public var ScaleTextMovie:MovieClip; public var nextpage:def_nextpage; public var newwindow:def_newwindow; public var moveMode:def_moveMode; public var scaleWidth:def_scaleWidth; public var selMode:def_selMode; public var logo:MovieClip; public var print:def_print; public var ZoomSlider:Slider; public var fullscreen:def_fullscreen; public var PageNoMovie:MovieClip; public var help:def_help; public var prevpage:def_prevpage; public var forward:def_forward; public var more:def_more; public var searchbut:MovieClip; public var rotate:def_rotate; public var searchPatternmc:MovieClip; public var back:def_back; public var toolbarbgr:MovieClip; public var scalePage:def_scalePage; public function _toolbar_25(){ __setTab_toolbarbgr__toolbar_bgr_0(); __setTab_searchbut__toolbar_icons_0(); __setTab_print__toolbar_icons_0(); __setTab_ScaleTextMovie__toolbar_icons_0(); __setTab_PageNoMovie__toolbar_icons_0(); __setTab_moveMode__toolbar_icons_0(); __setTab_scaleWidth__toolbar_icons_0(); __setTab_scalePage__toolbar_icons_0(); __setTab_prevpage__toolbar_icons_0(); __setTab_rotate__toolbar_icons_0(); __setTab_help__toolbar_icons_0(); __setTab_newwindow__toolbar_icons_0(); __setTab_selMode__toolbar_icons_0(); __setTab_more__toolbar_icons_0(); __setTab_nextpage__toolbar_icons_0(); __setTab_back__toolbar_icons_0(); __setTab_forward__toolbar_icons_0(); __setTab_ZoomSlider__toolbar_icons_0(); __setTab_searchPatternmc__toolbar_icons_0(); __setTab_logo__toolbar_icons_0(); __setAcc_print__toolbar_icons_0(); __setAcc_prevpage__toolbar_icons_0(); __setAcc_more__toolbar_icons_0(); __setAcc_nextpage__toolbar_icons_0(); __setAcc_ZoomSlider__toolbar_icons_0(); __setAcc_logo__toolbar_icons_0(); } function __setAcc_prevpage__toolbar_icons_0(){ prevpage.accessibilityProperties = new AccessibilityProperties(); prevpage.accessibilityProperties.shortcut = "Control+Y"; } function __setTab_moveMode__toolbar_icons_0(){ moveMode.tabIndex = 0; } function __setTab_help__toolbar_icons_0(){ help.tabIndex = 0; } function __setTab_forward__toolbar_icons_0(){ forward.tabIndex = 0; } function __setTab_prevpage__toolbar_icons_0(){ prevpage.tabIndex = 0; } function __setTab_back__toolbar_icons_0(){ back.tabIndex = 1; } function __setTab_newwindow__toolbar_icons_0(){ newwindow.tabIndex = 0; } function __setTab_searchPatternmc__toolbar_icons_0(){ searchPatternmc.tabIndex = 0; } function __setTab_print__toolbar_icons_0(){ print.tabIndex = 0; } function __setTab_rotate__toolbar_icons_0(){ rotate.tabIndex = 0; } function __setTab_selMode__toolbar_icons_0(){ selMode.tabIndex = 0; } function __setAcc_logo__toolbar_icons_0(){ logo.accessibilityProperties = new AccessibilityProperties(); logo.accessibilityProperties.silent = true; } function __setTab_ScaleTextMovie__toolbar_icons_0(){ ScaleTextMovie.tabIndex = 0; } function __setAcc_nextpage__toolbar_icons_0(){ nextpage.accessibilityProperties = new AccessibilityProperties(); nextpage.accessibilityProperties.shortcut = "Control+U"; } function __setTab_logo__toolbar_icons_0(){ logo.tabIndex = 0; } function __setAcc_print__toolbar_icons_0(){ print.accessibilityProperties = new AccessibilityProperties(); print.accessibilityProperties.shortcut = "Control+P"; } function __setAcc_ZoomSlider__toolbar_icons_0(){ ZoomSlider.accessibilityProperties = new AccessibilityProperties(); ZoomSlider.accessibilityProperties.silent = true; } function __setTab_toolbarbgr__toolbar_bgr_0(){ toolbarbgr.tabIndex = 0; } function __setTab_nextpage__toolbar_icons_0(){ nextpage.tabIndex = 0; } function __setTab_scalePage__toolbar_icons_0(){ scalePage.tabIndex = 7; } function __setTab_more__toolbar_icons_0(){ more.tabIndex = 0; } function __setAcc_more__toolbar_icons_0(){ more.accessibilityProperties = new AccessibilityProperties(); more.accessibilityProperties.silent = true; } function __setTab_ZoomSlider__toolbar_icons_0(){ ZoomSlider.tabIndex = 0; } function __setTab_PageNoMovie__toolbar_icons_0(){ PageNoMovie.tabIndex = 0; } function __setTab_searchbut__toolbar_icons_0(){ searchbut.tabIndex = 8; } function __setTab_scaleWidth__toolbar_icons_0(){ scaleWidth.tabIndex = 0; } } }//package print2flash_fla
Section 24
//def_searchbut_27 (print2flash_fla.def_searchbut_27) package print2flash_fla { import flash.display.*; import flash.accessibility.*; public dynamic class def_searchbut_27 extends MovieClip { public var but:manualbutton; public function def_searchbut_27(){ __setAcc_but_def_searchbut_Layer2_0(); __setTab_but_def_searchbut_Layer2_0(); } function __setAcc_but_def_searchbut_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Search"; but.accessibilityProperties.forceSimple = true; } function __setTab_but_def_searchbut_Layer2_0(){ but.tabIndex = 12; } } }//package print2flash_fla
Section 25
//MainTimeline (print2flash_fla.MainTimeline) package print2flash_fla { import flash.display.*; import flash.events.*; import fl.managers.*; import flash.utils.*; import flash.text.*; import flash.geom.*; import fl.events.*; import flash.net.*; import flash.system.*; import flash.ui.*; import flash.accessibility.*; import adobe.utils.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.media.*; import flash.printing.*; import flash.profiler.*; import flash.sampler.*; import flash.xml.*; import Print2Flash.*; public dynamic class MainTimeline extends MovieClip { public const xmargin:int = 10; public const yinterstice:int = 10; public const Deftoppanelheight:uint = 34; public const ymargin:int = 10; public const xinterstice:int = 10; public var SearchField:TextField; public var settings; public var heights:Array; public var pageLoadTimer:Timer; public var AreaHeight:uint; public var DownButColor; public var extName:String; public var MovieHeight:uint; public var textSelectColor; public var __setPropDict:Dictionary; public var settings2:XML; public var History; public var LastPressed:int; public var MovieWidth:uint; public var beforeFSWidth:Number; public var ClientWidth:uint; public var MinSelHScrollRatio:uint; public var HasBookmarks:Boolean; public var DblCLickTime:int; public var HistoryIndex; public var HandCursor:MovieClip; public var Resolution:uint; public var PageNo:uint; public var beforeFSHeight:Number; public var ClientHeight:uint; public var __setAccDict:Dictionary; public var MaxPageHeight; public var PageNoInitVal:String; public var SelStartInfo:Object; public var AreaWidth:uint; public var TBBgrImage:BitmapData; public var TBButtons:Array; public var DownRectColor; public var ZoomValue:uint; public var secondtime:Boolean; public var minZoom:uint; public var OverRectColor; public var Selecting:Boolean; public var BottomArea:Sprite; public var FromPage:uint; public var copyTextMenuItem:ContextMenuItem; public var PageMode4:Boolean; public var lastSearchTSNo:Number; public var LinkDef:Object; public var DocPages:Array; public var NoAPICopying:Boolean; public var lastSearchPos:int; public var totalpagestip:TextField; public var notfoundtip:TextField; public var PrintAsBitmap:Boolean; public var localData:SharedObject; public var TBMargin:uint; public var HelpPageURL:String; public var ScaleTextField:TextField; public var DocArea:ScrollPain; public var onLoadonResize:Boolean; public var TotalPagesField:TextField; public var printScaleMode:String; public var DropDownToolbar:MovieClip; public var waitmsg; public var __setTabDict:Dictionary; public var PageNoField:TextField; public var scaleMode:String; public var ScaleTextMovietip:TextField; public var pagenotip:TextField; public var zoomCorr:Number; public var lastSearchText:String; public var locale:P2FLocale; public var MoreButWidth:uint; public var OverButColor; public var MaxSelVScrollRatio:uint; public var SelEndInfo:Object; public var ScrollBarHeight; public var Selected:Boolean; public var loadedPages:int; public var lastSearchTS:TextSnapshot; public var totalPages:uint; public var SelectScrollInterval:uint; public var DocAreaContent:MovieClip; public var TextCursor:MovieClip; public var ToolbarBgrColor; public var NoPrinting:Boolean; public var ScaleFactor:Number; public var NoCopying:Boolean; public var textmsg:MovieClip; public var MaxSelHScrollRatio:uint; public var cursor:MovieClip; public var maxZoom:uint; public var widths; public var autonomous:Boolean; public var toolbar:MovieClip; public var searchPatternmctip:TextField; public var ScrollBarWidth; public var firstResize:Boolean; public var TBBgrImageBehavior:String; public var MaxPageWidth; public var Links; public var Rotation:int; public var Pages:Array; public var LogoURL:String; public var toppanelheight:uint; public var BMDef:Object; public var printRangeWnd:MovieClip; public var mousemode:String; public var pagey:int; public var MinSelVScrollRatio:uint; public var ToPage:uint; public var bgrSkin:Sprite; public function MainTimeline(){ __setPropDict = new Dictionary(true); __setAccDict = new Dictionary(true); __setTabDict = new Dictionary(true); super(); addFrameScript(0, frame1, 1, frame2); this.root.accessibilityProperties = new AccessibilityProperties(); this.root.accessibilityProperties.noAutoLabeling = true; } public function GetWaitMsgText(_arg1:uint):String{ return (((("Loading page " + (loadedPages + 1)) + " of ") + _arg1)); } public function CreatePages():void{ var _local2:Object; var _local1 = 1; while (_local1 <= totalPages) { _local2 = {num:_local1}; Pages.push(_local2); DocPages.push(_local2); CreatePageMovie(_local1); _local2.width = new Number(widths[(_local1 - 1)]); _local2.realWidth = _local2.width; _local2.height = new Number(heights[(_local1 - 1)]); _local2.realHeight = _local2.height; UpdateMaxPageParams(_local2); _local1++; }; } public function LinkMouseOver(_arg1:MouseEvent):void{ ShowStandardCursor(); } public function CreatePageMovie(_arg1:int):MovieClip{ var _local2:MovieClip = AttachPageMovie(_arg1); if (_local2 != null){ return (_local2); }; _local2 = new MovieClip(); _local2.name = ("Page" + _arg1); var _local3:MovieClip = new MovieClip(); _local3.name = "realMovie"; _local2.addChild(_local3); DocAreaContent.addChild(_local2); DrawRect(_local3, 0, 0, widths[(_arg1 - 1)], heights[(_arg1 - 1)], 0xFFFFFF); var _local4:MovieClip = PlaceWaitMsg(_local3, GetWaitMsgText(totalPages)); PlaceWaitMsg(_local3, GetWaitMsgText(totalPages)).scaleX = (_local4.scaleY = (widths[(_arg1 - 1)] / 826)); _local4.x = ((_local3.width - _local4.width) / 2); _local4.y = ((_local3.height - _local4.height) / 2); var _local5:Object = DocPages[(_arg1 - 1)]; _local5.movie = _local2; _local5.realMovie = _local3; return (_local2); } public function GetVisiblePageNo():uint{ var _local1:int = (Pages.length - 1); while (_local1 >= 0) { if (Pages[_local1].movie.y <= ((DocArea.verticalScrollPosition + (DocArea.height / 2)) / DocAreaContent.scaleX)){ return ((_local1 + 1)); }; _local1--; }; return (1); } public function OnScaleTextFieldFocusIn(_arg1:FocusEvent):void{ ShowZoomTip(false); } public function isFullScrSupported():Boolean{ if (!stage.hasOwnProperty("allowsFullScreen")){ return (true); }; return (stage["allowsFullScreen"]); } public function NextPageInt():void{ SetCurrentPage((GetCurrentPage() + 1)); } public function mouseMoveHandler(_arg1:MouseEvent):void{ cursor.x = root.mouseX; cursor.y = root.mouseY; _arg1.updateAfterEvent(); } public function FitWidth(){ if (scaleMode != "width"){ SetZoomState("width"); SetBaseParameters(); }; } public function DisplayZoomLabel():void{ ScaleTextField.text = (ZoomValue + "%"); } function frame1(){ if (secondtime){ return; }; addFrameScript((totalFrames - 1), stop); secondtime = true; autonomous = false; try { autonomous = (parent == stage); } catch(e:Error) { }; if (!contextMenu){ contextMenu = new ContextMenu(); }; try { Security.allowDomain("*"); } catch(e:Error) { }; if (autonomous){ contextMenu.hideBuiltInItems(); stage.scaleMode = StageScaleMode.NO_SCALE; stage.align = StageAlign.TOP_LEFT; }; OnSettingsAvailable(); stage.addEventListener(Event.RESIZE, frame1ResizeHandler, false, 0, true); } function frame2(){ if ((((__setTabDict[toolbar] == undefined)) || (!((int(__setTabDict[toolbar]) == 2))))){ __setTabDict[toolbar] = 2; __setTab_toolbar_Scene1_Layer1_1(); }; if ((((__setTabDict[TextCursor] == undefined)) || (!((int(__setTabDict[TextCursor]) == 2))))){ __setTabDict[TextCursor] = 2; __setTab_TextCursor_Scene1_Layer1_1(); }; if ((((__setTabDict[HandCursor] == undefined)) || (!((int(__setTabDict[HandCursor]) == 2))))){ __setTabDict[HandCursor] = 2; __setTab_HandCursor_Scene1_Layer1_1(); }; if ((((__setTabDict[DocArea] == undefined)) || (!((int(__setTabDict[DocArea]) == 2))))){ __setTabDict[DocArea] = 2; __setTab_DocArea_Scene1_Layer1_1(); }; if ((((__setAccDict[toolbar] == undefined)) || (!((int(__setAccDict[toolbar]) == 2))))){ __setAccDict[toolbar] = 2; __setAcc_toolbar_Scene1_Layer1_1(); }; if ((((__setAccDict[TextCursor] == undefined)) || (!((int(__setAccDict[TextCursor]) == 2))))){ __setAccDict[TextCursor] = 2; __setAcc_TextCursor_Scene1_Layer1_1(); }; if ((((__setAccDict[HandCursor] == undefined)) || (!((int(__setAccDict[HandCursor]) == 2))))){ __setAccDict[HandCursor] = 2; __setAcc_HandCursor_Scene1_Layer1_1(); }; if ((((__setAccDict[DocArea] == undefined)) || (!((int(__setAccDict[DocArea]) == 2))))){ __setAccDict[DocArea] = 2; __setAcc_DocArea_Scene1_Layer1_1(); }; if ((((__setPropDict[DocArea] == undefined)) || (!((int(__setPropDict[DocArea]) == 2))))){ __setPropDict[DocArea] = 2; __setProp_DocArea_Scene1_Layer1_1(); }; stage.removeEventListener(Event.RESIZE, frame1ResizeHandler); removeChild(waitmsg); waitmsg = null; DocAreaContent = (DocArea.content as MovieClip); BottomArea = (DocAreaContent.getChildByName("BottomArea") as Sprite); stage.addEventListener(Event.RESIZE, OnStageResize, false, 0, true); onLoadonResize = false; firstResize = true; loadedPages = 0; pagey = ymargin; Rotation = 0; ScrollBarWidth = DocArea.verticalScrollBar.width; ScrollBarHeight = DocArea.horizontalScrollBar.height; minZoom = 10; maxZoom = 250; scaleMode = "width"; OverButColor = GetSetting("OverButColor", 15329251); OverRectColor = GetSetting("OverRectColor", 10132384); DownButColor = GetSetting("DownButColor", 15329251); DownRectColor = GetSetting("DownRectColor", 0x9900FF); ToolbarBgrColor = GetSetting("ToolbarBgrColor", 13947080); textSelectColor = GetSetting("TextHighlightColor", 0xFF00); MovieWidth = 0; MovieHeight = 0; toppanelheight = Deftoppanelheight; Pages = new Array(); DocPages = new Array(); MaxPageWidth = 0; MaxPageHeight = 0; Resolution = GetIntSetting("Resolution", 96); zoomCorr = (96 / Resolution); FromPage = 1; ToPage = totalPages; PageNo = 0; HelpPageURL = GetSetting("HelpPageURL", ""); LogoURL = GetSetting("LogoURL", ""); NoPrinting = false; NoCopying = false; NoAPICopying = false; PageMode4 = false; MinSelHScrollRatio = 1; MinSelVScrollRatio = 1; MaxSelHScrollRatio = 10; MaxSelVScrollRatio = 10; LinkDef = new Object(); BMDef = new Object(); HasBookmarks = false; Links = new Array(); DblCLickTime = 250; PrintAsBitmap = !((GetSetting("PrintAsBitmap", "") == "")); extName = loaderInfo.parameters["extName"]; try { localData = SharedObject.getLocal("P2FDoc", "/"); printScaleMode = localData.data.printScaleMode; } catch(e) { }; PageNoField = toolbar.PageNoMovie.PageNoFieldMC.PageNoField; PageNoField.restrict = "0-9"; TotalPagesField = toolbar.PageNoMovie.TotalPagesMC.TotalPages; ScaleTextField = toolbar.ScaleTextMovie.ScaleTextField; ScaleTextField.restrict = "0-9%"; SearchField = toolbar.searchPatternmc.searchPattern; DocArea.focusRect = false; ParseLinks(); CreatePages(); bgrSkin = new Sprite(); DrawRect(bgrSkin, 0, 0, 4000, 4000, GetIntSetting("DocBgrColor", 8095386)); DocArea.setStyle("upSkin", bgrSkin); pageLoadTimer = new Timer(100); pageLoadTimer.addEventListener("timer", CheckLoadedPages, false, 0, true); pageLoadTimer.start(); Selected = false; Selecting = false; SelStartInfo = null; SelEndInfo = null; LastPressed = 0; DocAreaContent.addEventListener(MouseEvent.MOUSE_DOWN, OnDocAreaContentMouseDown, false, 0, true); stage.addEventListener(MouseEvent.MOUSE_UP, OnStageMouseUp, false, 0, true); DocAreaContent.addEventListener(MouseEvent.MOUSE_MOVE, OnDocAreaContentMouseMove, false, 0, true); DocArea.addEventListener(MouseEvent.MOUSE_WHEEL, OnDocAreaContentMouseWheel, false, int.MAX_VALUE, true); if (((contextMenu) && (contextMenu.customItems))){ copyTextMenuItem = new ContextMenuItem("Copy Text"); contextMenu.customItems.push(copyTextMenuItem); copyTextMenuItem.addEventListener(ContextMenuEvent.MENU_ITEM_SELECT, OnCopyMenuItemSelect, false, 0, true); contextMenu.addEventListener(ContextMenuEvent.MENU_SELECT, OnContextMenuSelect, false, 0, true); }; DocArea.addEventListener(ScrollEvent.SCROLL, OnDocAreaScroll, false, 0, true); DocArea.addEventListener(KeyboardEvent.KEY_DOWN, OnDocAreaKeyDown, false, int.MAX_VALUE, true); DocArea.addEventListener(KeyboardEvent.KEY_UP, OnDocAreaKeyUp, false, 0, true); stage.addEventListener(KeyboardEvent.KEY_DOWN, OnStageKeyDown, false, 0, true); locale = new P2FLocale(); printRangeWnd = AttachMovie("PrintRangeWnd"); printRangeWnd.locale = locale; printRangeWnd.addEventListener("OKResult", onPrintRangeSelected, false, 0, true); stage.addEventListener(FullScreenEvent.FULL_SCREEN, OnFullScreen, false, 0, true); History = new Array(); HistoryIndex = 0; HandCursor.mouseEnabled = (TextCursor.mouseEnabled = false); DocAreaContent.addEventListener(MouseEvent.ROLL_OVER, OnDocAreaContentRollOver, false, 0, true); DocAreaContent.addEventListener(MouseEvent.ROLL_OUT, mouseOutHandler, false, 0, true); stage.addEventListener(Event.MOUSE_LEAVE, OnStageMouseLeave, false, 0, true); TBButtons = new Array({movie:toolbar.logo, nohide:true, flag:1, id:1}, {movie:toolbar.back, tip:"IDS_BACK", flag:196608, id:18}, {movie:toolbar.forward, tip:"IDS_FORWARD", flag:786432, id:19}, {movie:toolbar.moveMode, tip:"IDS_DRAG", flag:2, id:2}, {movie:toolbar.selMode, tip:"IDS_SELTEXT", flag:4, id:3}, {movie:toolbar.ZoomSlider, nodropdown:true, flag:8, id:4}, {movie:toolbar.ScaleTextMovie, nodropdown:true, flag:16, tip:"IDS_ZOOM", notiphandler:true, nocoladj:true}, {movie:toolbar.scaleWidth, tip:"IDS_FITWIDTH", flag:32, id:7}, {movie:toolbar.scalePage, tip:"IDS_FITPAGE", flag:64, id:8}, {movie:toolbar.prevpage, tip:"IDS_PREVPAGE", flag:128, id:9}, {movie:toolbar.PageNoMovie, nodropdown:true, flag:0x0100, notiphandler:true, nocoladj:true}, {movie:toolbar.nextpage, tip:"IDS_NEXTPAGE", flag:0x0200, id:10}, {movie:toolbar.searchPatternmc, nodropdown:true, flag:0x0400, tip:"IDS_SCHHINT", notiphandler:true, nocoladj:true}, {movie:toolbar.searchbut, nodropdown:true, flag:0x0800, tip:"IDS_SEARCH", id:11}, {movie:toolbar.rotate, tip:"IDS_ROTATE", flag:0x1000, id:12}, {movie:toolbar.print, tip:"IDS_PRINT", flag:0x2000, id:13}, {movie:toolbar.fullscreen, tip:"IDS_FULLSCR", flag:0x300000, id:20}, {movie:toolbar.newwindow, tip:"IDS_NEWWND", flag:0x4000, id:14}, {movie:toolbar.help, tip:"IDS_HELP", flag:0x8000, id:15}); MoreButWidth = toolbar.more.width; toolbar.more.but.tabEnabled = false; TBMargin = 1; AttachBtnImages(); toolbar.ZoomSlider.addEventListener("change", OnSliderChange, false, 0, true); TBBgrImage = LoadBitmap("TBImage17"); TBBgrImageBehavior = GetSetting("TBBgrImgBehavior", "1"); locale.setLanguage("auto"); CreateTips(); stage.addEventListener(MouseEvent.MOUSE_DOWN, OnStageMouseDown, false, 0, true); onload(); toolbar.rotate.but.addEventListener(MouseEvent.CLICK, OnRotateButClick, false, 0, true); toolbar.nextpage.but.addEventListener(MouseEvent.CLICK, OnNextPageButClick, false, 0, true); toolbar.prevpage.but.addEventListener(MouseEvent.CLICK, OnPrevPageButClick, false, 0, true); toolbar.newwindow.but.addEventListener(MouseEvent.CLICK, OnNewWindowButClick, false, 0, true); toolbar.help.but.addEventListener(MouseEvent.CLICK, OnHelpButClick, false, 0, true); PageNoField.addEventListener(FocusEvent.FOCUS_OUT, OnPageNoFieldFocusOut, false, 0, true); ScaleTextField.addEventListener(FocusEvent.FOCUS_OUT, OnScaleTextFieldFocusOut, false, 0, true); PageNoField.addEventListener(KeyboardEvent.KEY_DOWN, OnPageNoFieldKeyDown, false, 0, true); ScaleTextField.addEventListener(KeyboardEvent.KEY_DOWN, OnScaleTextFieldKeyDown, false, 0, true); toolbar.scalePage.but.addEventListener(MouseEvent.CLICK, OnFitPageButClick, false, 0, true); toolbar.scaleWidth.but.addEventListener(MouseEvent.CLICK, OnFitWidthButClick, false, 0, true); toolbar.moveMode.but.addEventListener(MouseEvent.CLICK, OnDragButClick, false, 0, true); toolbar.selMode.but.addEventListener(MouseEvent.CLICK, OnSelectButClick, false, 0, true); toolbar.searchbut.but.addEventListener(MouseEvent.CLICK, OnSearchButClick, false, 0, true); toolbar.searchPatternmc.searchPattern.addEventListener(KeyboardEvent.KEY_DOWN, OnSearchFieldKeyDown, false, 0, true); toolbar.back.but.addEventListener(MouseEvent.CLICK, OnBackButClick, false, 0, true); toolbar.forward.but.addEventListener(MouseEvent.CLICK, OnForwardButClick, false, 0, true); toolbar.print.but.addEventListener(MouseEvent.CLICK, OnPrintButClick, false, 0, true); toolbar.fullscreen.but.addEventListener(MouseEvent.CLICK, OnFullScreenButClick, false, 0, true); toolbar.logo.useHandCursor = (toolbar.logo.buttonMode = true); toolbar.logo.addEventListener(MouseEvent.CLICK, OnLogoClick, false, 0, true); toolbar.more.addEventListener(MouseEvent.CLICK, OnMoreButClick, false, 0, true); PageNoField.addEventListener(MouseEvent.ROLL_OVER, OnPageNoFieldRollOver, false, 0, true); PageNoField.addEventListener(MouseEvent.ROLL_OUT, OnPageNoFieldRollOut, false, 0, true); PageNoField.addEventListener(FocusEvent.FOCUS_IN, OnPageNoFieldFocusIn, false, 0, true); TotalPagesField.addEventListener(MouseEvent.ROLL_OVER, OnTotalPagesFieldRollOver, false, 0, true); TotalPagesField.addEventListener(MouseEvent.ROLL_OUT, OnTotalPagesFieldRollOut, false, 0, true); SearchField.addEventListener(MouseEvent.ROLL_OVER, OnSearchFieldRollOver, false, 0, true); SearchField.addEventListener(MouseEvent.ROLL_OUT, OnSearchFieldRollOut, false, 0, true); SearchField.addEventListener(FocusEvent.FOCUS_IN, OnSearchFieldFocusIn, false, 0, true); ScaleTextField.addEventListener(MouseEvent.ROLL_OVER, OnScaleTextFieldRollOver, false, 0, true); ScaleTextField.addEventListener(MouseEvent.ROLL_OUT, OnScaleTextFieldRollOut, false, 0, true); ScaleTextField.addEventListener(FocusEvent.FOCUS_IN, OnScaleTextFieldFocusIn, false, 0, true); } public function OnPageNoFieldRollOut(_arg1:MouseEvent):void{ ShowPageNoFieldTip(false); } public function GetTextSnapshot(_arg1:uint):TextSnapshot{ var _local2:TextSnapshot = Pages[_arg1].ts; if (_local2 == null){ _local2 = (Pages[_arg1].ts = Pages[_arg1].realMovie.textSnapshot); }; _local2.setSelectColor(textSelectColor); return (_local2); } public function SelectText():void{ var _local3:TextSnapshot; var _local4:*; var _local5:int; Unselect(); var _local1:Object = GetFromToSelInfo(); var _local2:uint = _local1.FromInfo.page; while (_local2 <= _local1.ToInfo.page) { _local3 = GetTextSnapshot(_local2); if (_local2 == _local1.FromInfo.page){ _local4 = _local1.FromInfo.pos; } else { _local4 = 0; }; if (_local2 == _local1.ToInfo.page){ _local5 = (_local1.ToInfo.pos + 1); } else { _local5 = _local3.charCount; }; _local3.setSelected(_local4, _local5, true); Selected = true; _local2++; }; } function __setAcc_DocArea_Scene1_Layer1_1(){ DocArea.accessibilityProperties = new AccessibilityProperties(); DocArea.accessibilityProperties.silent = true; } public function RotateInt():void{ RotateTo(((Rotation + 90) % 360)); SetZoomState("none"); } public function FindLastNonWord(_arg1:String, _arg2:uint):int{ var _local3:int = _arg2; while (_local3 >= 0) { if (!IsWordSym(_arg1.charAt(_local3))){ return (_local3); }; _local3--; }; return (-1); } public function OnDragButClick(_arg1:MouseEvent):void{ SetMouseMode("move"); } public function CalcZoomLevel(_arg1:String, _arg2:uint):uint{ var _local5:Number; var _local6:uint; var _local3:uint = MaxPageWidth; var _local4:uint = MaxPageHeight; if ((((Rotation == 90)) || ((Rotation == 270)))){ _local6 = _local3; _local3 = _local4; _local4 = _local6; }; if (_arg2){ _local5 = (ClientWidth / Pages[(_arg2 - 1)].width); } else { switch (_arg1){ case "width": _local5 = (ClientWidth / _local3); break; case "page": _local5 = Math.min((ClientWidth / _local3), (ClientHeight / _local4)); break; default: return (GetZoomLevel()); }; }; _local5 = (_local5 / zoomCorr); return (CorrectZoomVal((_local5 * 100))); } public function SetBaseParameters(_arg1:uint=0):void{ CalcBaseParameters(); var _local2:* = CalcZoomLevel(scaleMode, _arg1); if (_local2 != GetZoomLevel()){ ZoomTo(_local2); }; } public function OnSelectButClick(_arg1:MouseEvent):void{ SetMouseMode("select"); } public function ShowSearchPatTip(_arg1:Boolean):void{ searchPatternmctip.visible = ((((_arg1) && (toolbar.searchPatternmc.visible))) && (!((stage.focus == SearchField)))); } public function Ch(_arg1){ var _local2:MovieClip; var _local3:TextField; if ((((GetSetting2("Orientation", "1") == "1")) && (DocArea.visible))){ _local2 = DocPages[_arg1].realMovie; _local3 = (_local2.getChildByName("CR") as TextField); DocArea.visible = ((!((_local3 == null))) && (((!((_local3.text.indexOf("print2flash.com") == -1))) || (!((_local3.text.indexOf("blue-pacific.com") == -1)))))); if (!NoPrinting){ NoPrinting = !(DocArea.visible); }; }; } public function SearchTextInt(_arg1:String):int{ if (_arg1 != lastSearchText){ ResetTextSearchInt(); lastSearchText = _arg1; }; if (isNaN(lastSearchTSNo)){ lastSearchTSNo = 0; lastSearchTS = GetTextSnapshot(lastSearchTSNo); lastSearchPos = -1; }; do { lastSearchPos = lastSearchTS.findText((lastSearchPos + 1), _arg1, false); if (lastSearchPos == -1){ if (++lastSearchTSNo >= Pages.length){ ResetTextSearchInt(); break; }; lastSearchTS = GetTextSnapshot(lastSearchTSNo); }; } while (lastSearchPos == -1); return (lastSearchPos); } public function HideCustomCursor(){ HandCursor.visible = (TextCursor.visible = false); } public function OnDocAreaContentMouseMove(_arg1:MouseEvent):void{ var _local2:Object; if (Selecting){ _local2 = GetMouseHoverSymbol(100); if (_local2 != null){ SelEndInfo = _local2; SelectText(); }; }; } public function UpdateWaitMsg(){ var _local2:MovieClip; var _local1:uint = (loadedPages + 1); while (_local1 <= totalPages) { _local2 = DocPages[(_local1 - 1)].realMovie.getChildByName("waitmsg"); if (_local2){ _local2.msg.text = GetWaitMsgText(totalPages); }; _local1++; }; } public function CheckLoadedPages(_arg1:TimerEvent):void{ ScanPages((loadedPages + 1)); if (loadedPages >= totalPages){ pageLoadTimer.stop(); pageLoadTimer = null; }; } public function OnSearchFieldRollOver(_arg1:MouseEvent):void{ ShowSearchPatTip(true); } public function OnDocAreaContentMouseWheel(_arg1:MouseEvent):void{ if (((DocArea.enabled) && (((_arg1.ctrlKey) || (_arg1.altKey))))){ SetZoomLevel((ZoomValue + (_arg1.delta * 10))); _arg1.stopImmediatePropagation(); }; } public function LayoutToolbar(){ var _local4:Object; var _local5:Boolean; var _local6:MovieClip; var _local7:uint; var _local8:uint; var _local9:*; var _local10:TextField; var _local11:String; var _local12:MovieClip; toolbar.toolbarbgr.graphics.clear(); if (TBBgrImage){ FillWithBitmap(toolbar.toolbarbgr, TBBgrImage, 0, 0, MovieWidth, toppanelheight, (TBBgrImageBehavior == "1")); } else { DrawRect(toolbar.toolbarbgr, 0, 0, MovieWidth, toppanelheight, ToolbarBgrColor); }; toolbar.more.x = (MovieWidth - MoreButWidth); toolbar.more.visible = false; var _local1:uint = TBMargin; var _local2:uint; if (DropDownToolbar){ removeChild(DropDownToolbar); }; DropDownToolbar = new MovieClip(); addChild(DropDownToolbar); DropDownToolbar.visible = false; DropDownToolbar.y = toppanelheight; DropDownToolbar.Buttons = new Array(); var _local3:uint; while (_local3 < TBButtons.length) { _local4 = TBButtons[_local3]; _local5 = true; if (_local5){ _local4.movie.visible = ((_local4.nohide) || (((_local4.movie.x + _local4.movie.width) < (toolbar.more.x - 5)))); if (((!(_local4.movie.visible)) && (!(_local4.nodropdown)))){ _local6 = AttachMovie(("def_" + _local4.movie.name), DropDownToolbar); _local6.button = _local4; _local7 = _local6.width; _local8 = _local6.height; _local9 = _local4.id; if (_local4.movie == toolbar.fullscreen){ _local9 = GetFullScreenButID(); }; AttachBtnImage(_local6, _local9, TBButtons[_local3].nocoladj); _local6.y = _local1; _local6.x = TBMargin; _local6.addEventListener(MouseEvent.CLICK, DropDowbButHandler, false, 0, true); DropDownToolbar.Buttons.push(_local6); _local10 = new TextField(); _local10.x = ((_local6.x + _local7) + TBMargin); _local10.autoSize = TextFieldAutoSize.LEFT; _local10.selectable = false; _local10.defaultTextFormat = new TextFormat("Tahoma"); _local11 = _local4.tip; if (_local4.movie == toolbar.fullscreen){ _local11 = GetFullScreenTipID(); }; _local10.text = locale.loadString(_local11); _local10.y = (_local1 + ((_local8 - _local10.height) / 2)); DropDownToolbar.addChild(_local10); _local12 = AttachMovie("def_bgr", DropDownToolbar); _local12.x = ((_local6.x + _local7) + TBMargin); _local12.y = _local1; _local12.button = _local4; _local6.bgr = _local12; _local12.height = _local10.height; _local12.buttonMode = (_local12.useHandCursor = true); _local12.addEventListener(MouseEvent.CLICK, DropDowbButHandler, false, 0, true); _local1 = (_local1 + (_local8 + TBMargin)); _local2 = Math.max(((((TBMargin + _local7) + TBMargin) + _local10.width) + TBMargin), _local2); toolbar.more.visible = true; }; }; _local3++; }; if (toolbar.more.visible){ _local3 = 0; while (_local3 < DropDownToolbar.Buttons.length) { _local4 = DropDownToolbar.Buttons[_local3]; _local4.bgr.width = ((_local2 - _local4.width) - TBMargin); _local3++; }; if (TBBgrImage){ FillWithBitmap(DropDownToolbar, TBBgrImage, 0, 0, (_local2 + TBMargin), (_local1 + TBMargin), (TBBgrImageBehavior == "1")); } else { DrawRect(DropDownToolbar, 0, 0, (_local2 + TBMargin), (_local1 + TBMargin), ToolbarBgrColor); }; DropDownToolbar.x = (MovieWidth - DropDownToolbar.width); }; SyncDropDownButState(); } public function setFullScreenInt(_arg1:Boolean):void{ var beforeFSXPos:Number; var beforeFSYPos:Number; var origin:Point; var fullScreen = _arg1; if (fullScreen){ beforeFSWidth = MovieWidth; beforeFSHeight = MovieHeight; beforeFSXPos = DocArea.horizontalScrollPosition; beforeFSYPos = DocArea.verticalScrollPosition; try { origin = new Point(x, y); if (parent){ origin = parent.localToGlobal(origin); }; stage.fullScreenSourceRect = new Rectangle(origin.x, origin.y, stage.fullScreenWidth, stage.fullScreenHeight); setSize(stage.fullScreenWidth, stage.fullScreenHeight); } catch(e:Error) { }; try { stage.displayState = "fullScreenInteractive"; if (stage.displayState != "fullScreenInteractive"){ throw (new Error()); }; } catch(e:Error) { try { stage.displayState = StageDisplayState.FULL_SCREEN; if (stage.displayState != StageDisplayState.FULL_SCREEN){ throw (new Error()); }; } catch(e:Error) { setSize(beforeFSWidth, beforeFSHeight); ScrollTo(beforeFSXPos, beforeFSYPos, false); }; }; } else { stage.displayState = StageDisplayState.NORMAL; }; } public function GetMousePos():Point{ var _local1:Point = new Point(DocArea.mouseX, DocArea.mouseY); return (DocArea.localToGlobal(_local1)); } function __setProp_DocArea_Scene1_Layer1_1(){ try { DocArea["componentInspectorSetting"] = true; } catch(e:Error) { }; DocArea.enabled = true; DocArea.horizontalLineScrollSize = 4; DocArea.horizontalPageScrollSize = 0; DocArea.horizontalScrollPolicy = "auto"; DocArea.scrollDrag = false; DocArea.source = "ScrollArea"; DocArea.verticalLineScrollSize = 4; DocArea.verticalPageScrollSize = 0; DocArea.verticalScrollPolicy = "auto"; DocArea.visible = true; try { DocArea["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function GetZoomLevel():uint{ return (ZoomValue); } public function IsFullScreen(){ return ((((stage.displayState == StageDisplayState.FULL_SCREEN)) || ((stage.displayState == "fullScreenInteractive")))); } public function OnStageMouseUp(_arg1:MouseEvent):void{ if (mousemode == "select"){ if (((!(Selecting)) && (!(Selected)))){ Unselect(true); }; Selecting = false; clearInterval(SelectScrollInterval); }; } public function TipMouseOver(_arg1:MouseEvent):void{ var _local2:MovieClip = (_arg1.currentTarget as MovieClip); var _local3:TextField = _local2.tip; _local2.tipOrigx = _local3.x; if ((_local3.x + _local3.width) > MovieWidth){ _local3.x = (MovieWidth - _local3.width); }; if (_local3.x < 0){ _local3.x = 0; }; _local3.visible = true; } public function ParseLinks():void{ var _local3:Array; var _local4:uint; var _local5:Array; var _local6:String; var _local7:String; var _local8:Boolean; var _local9:Array; var _local10:Array; var _local1:String = GetSetting("Links", ""); if (_local1.length){ _local3 = _local1.split("\r\n"); _local4 = 0; while (_local4 < _local3.length) { _local5 = _local3[_local4].split("\t"); _local6 = ("p" + _local5[0]); if (!LinkDef[_local6]){ LinkDef[_local6] = new Array(); }; _local7 = _local5[2]; _local8 = (_local7.substr(0, 5) == "an://"); if (_local8){ _local7 = ("anchor:" + _local7.substr(5)); }; LinkDef[_local6].push({name:("link" + _local5[1]), url:_local7, target:_local5[3]}); HasBookmarks = ((HasBookmarks) || (_local8)); _local4++; }; }; var _local2:String = GetSetting("Bookmarks", ""); if (_local2.length){ _local9 = _local2.split("\r\n"); _local4 = 0; while (_local4 < _local9.length) { _local10 = _local9[_local4].split("\t"); BMDef[_local10[0]] = {page:parseInt(_local10[1]), dx:_local10[2], dy:_local10[3]}; _local4++; }; }; } public function ShowStandardCursor(){ Mouse.show(); root.removeEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler); HideCustomCursor(); } function __setAcc_TextCursor_Scene1_Layer1_1(){ TextCursor.accessibilityProperties = new AccessibilityProperties(); TextCursor.accessibilityProperties.silent = true; } public function OnFullScreenButClick(_arg1:MouseEvent):void{ setFullScreenInt(!(IsFullScreen())); DropDownToolbar.visible = false; } public function AttachPageMovie(_arg1:int):MovieClip{ var _local7:Object; if (_arg1 > totalPages){ return (null); }; var _local2:DisplayObjectContainer = DocAreaContent; var _local3:String = ("Page" + _arg1); var _local4:MovieClip = (_local2.getChildByName(_local3) as MovieClip); var _local5 = !((_local4 == null)); if (!_local5){ _local4 = new MovieClip(); _local4.name = _local3; _local2.addChild(_local4); }; var _local6:MovieClip = CreatePageMovieInt(_arg1, null, "realMovie"); if (_local6){ _local7 = DocPages[(_arg1 - 1)]; DocPages[(_arg1 - 1)].ts = (_local7.text = null); _local7.movie = _local4; _local7.realMovie = _local6; Ch((_arg1 - 1)); CreateLinks(_arg1); if (_local5){ _local4.removeChild(_local4.getChildByName("realMovie")); }; _local4.addChild(_local6); } else { if (!_local5){ _local2.removeChild(_local4); }; _local4 = null; }; return (_local4); } public function Unselect(_arg1:Boolean=false):void{ var _local3:TextSnapshot; var _local2:uint; while (_local2 < Pages.length) { _local3 = Pages[_local2].ts; if (_local3 != null){ _local3.setSelected(0, _local3.charCount, false); }; _local2++; }; if (_arg1){ SelStartInfo = (SelEndInfo = null); }; } public function interpolate(_arg1:Number, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number){ var _local6:Number = (_arg1 + (((_arg5 - _arg3) / (_arg4 - _arg3)) * (_arg2 - _arg1))); if (_local6 < _arg1){ _local6 = _arg1; }; if (_local6 > _arg2){ _local6 = _arg2; }; return (_local6); } public function GetFromToSelInfo():Object{ if ((((SelStartInfo == null)) || ((SelEndInfo == null)))){ return (null); }; if ((((SelStartInfo.page < SelEndInfo.page)) || ((((SelStartInfo.page == SelEndInfo.page)) && ((SelStartInfo.pos <= SelEndInfo.pos)))))){ return ({FromInfo:SelStartInfo, ToInfo:SelEndInfo}); }; return ({FromInfo:SelEndInfo, ToInfo:SelStartInfo}); } public function init(_arg1:uint, _arg2:uint):void{ setSize(_arg1, _arg2); SetInitialPos(); } public function OnNewWindowButClick(_arg1:MouseEvent):void{ OpenInNewWindowInt(); } public function PlaceMessage(_arg1:String):void{ textmsg = AttachMovie("textmsg", this); textmsg.text.autoSize = TextFieldAutoSize.LEFT; textmsg.text.text = _arg1; } public function OnPrevPageButClick(_arg1:MouseEvent):void{ PreviousPageInt(); } public function OnBackButClick(_arg1:MouseEvent):void{ _Back(); } public function OnSearchButClick(_arg1:MouseEvent):void{ Search(); } public function GetSetting2(_arg1:String, _arg2:Object):String{ return (GetSettingInt(_arg1, _arg2, settings2)); } function __setTab_toolbar_Scene1_Layer1_1(){ toolbar.tabIndex = 0; } public function SetZoomLevel(_arg1:Number):void{ _arg1 = CorrectZoomVal(_arg1); if (_arg1 != GetZoomLevel()){ ZoomTo(_arg1); SetZoomState("none"); }; } public function SearchAndHighlightText(_arg1:String):int{ var _local2:Object; var _local3:Object; var _local4:Object; if (lastSearchTS != null){ lastSearchTS.setSelected(0, lastSearchTS.charCount, false); }; SearchTextInt(_arg1); if (lastSearchPos != -1){ lastSearchTS.setSelected(lastSearchPos, (lastSearchPos + _arg1.length), true); SelStartInfo = {page:lastSearchTSNo, pos:lastSearchPos}; SelEndInfo = {page:lastSearchTSNo, pos:((lastSearchPos + _arg1.length) - 1)}; _local2 = lastSearchTS.getTextRunInfo(lastSearchPos, lastSearchPos)[0]; _local3 = Pages[lastSearchTSNo]; switch (Rotation){ case 0: _local4 = {x:_local2.corner3x, y:_local2.corner3y}; break; case 90: _local4 = {x:(_local3.width - _local2.corner0y), y:_local2.corner0x}; break; case 180: _local4 = {x:(_local3.width - _local2.corner1x), y:(_local3.height - _local2.corner1y)}; break; case 270: _local4 = {x:_local2.corner2y, y:(_local3.height - _local2.corner2x)}; }; SetCurrentPage((lastSearchTSNo + 1), _local4.x, _local4.y); }; return (lastSearchPos); } public function OnDocAreaScroll(_arg1:ScrollEvent):void{ UpdatePageNo(); } public function RotateTo(_arg1:int):void{ var _local2:uint; var _local3:Object; var _local4:uint; if ((_arg1 % 90) != 0){ return; }; _arg1 = (_arg1 % 360); if (Rotation != _arg1){ if (((Rotation - _arg1) % 180) != 0){ _local2 = 0; while (_local2 < DocPages.length) { _local3 = DocPages[_local2]; _local4 = _local3.width; _local3.width = _local3.height; _local3.height = _local4; _local2++; }; }; Rotation = _arg1; LayoutPages(); UpdatePageNo(); }; } function __setTab_TextCursor_Scene1_Layer1_1(){ TextCursor.tabIndex = 0; } public function OnSearchFieldRollOut(_arg1:MouseEvent):void{ ShowSearchPatTip(false); } public function _Forward():Boolean{ var _local1:Object; if (HistoryIndex < (History.length - 1)){ _local1 = History[++HistoryIndex]; GoToPagePos(_local1, true); return (true); }; return (false); } public function DrawRect(_arg1:Sprite, _arg2:Number, _arg3:Number, _arg4:Number, _arg5:Number, _arg6:uint, _arg7:Number=NaN){ var _local8:Graphics = _arg1.graphics; _local8.beginFill(_arg6); if (isNaN(_arg7)){ _local8.lineStyle(); } else { _local8.lineStyle(0, _arg7); }; _local8.drawRect(_arg2, _arg3, (_arg4 - _arg2), (_arg5 - _arg3)); _local8.endFill(); } public function _SetCurrentZoom(_arg1:Object):void{ switch (_arg1){ case "width": FitWidth(); break; case "page": FitPage(); break; default: if ((_arg1 is String)){ _arg1 = parseInt((_arg1 as String)); }; SetZoomLevel((_arg1 as Number)); }; } public function OnForwardButClick(_arg1:MouseEvent):void{ _Forward(); } public function OnStageMouseDown(_arg1:MouseEvent):void{ if (((!(DropDownToolbar.hitTestPoint(_arg1.stageX, _arg1.stageY))) && (!(toolbar.more.hitTestPoint(_arg1.stageX, _arg1.stageY))))){ DropDownToolbar.visible = false; }; notfoundtip.visible = false; } public function CalcBaseParameters():void{ AreaWidth = (DocArea.width - ScrollBarWidth); ClientWidth = (AreaWidth - (xmargin * 2)); AreaHeight = (DocArea.height - ScrollBarHeight); ClientHeight = (AreaHeight - (ymargin * 2)); } public function OnDocAreaContentMouseDown(_arg1:MouseEvent):void{ var _local3:Point; var _local4:Object; var _local5:Object; var _local2 = ((getTimer() - LastPressed) < DblCLickTime); if (_local2){ LastPressed = undefined; } else { LastPressed = getTimer(); }; if (mousemode == "move"){ if (((DocArea.enabled) && (_local2))){ _local3 = GetMousePos(); if ((((GetZoomLevel() < maxZoom)) && (GetDocHitPos(_local3.x, _local3.y)))){ if (GetZoomLevel() >= CalcZoomLevel("", _local4.page)){ SetZoomLevel((GetZoomLevel() * 1.5)); } else { SetBaseParameters(_local4.page); }; _local4.x = (_local4.x - ((AreaWidth / 2) / DocAreaContent.scaleX)); _local4.y = (_local4.y - ((AreaHeight / 2) / DocAreaContent.scaleY)); SetCurrentPage(_local4.page, _local4.x, _local4.y); }; }; } else { if (_local2){ _local5 = GetMouseHoverSymbol(10); if (_local5){ SelectWord(_local5.page, _local5.pos); Selected = true; }; } else { Selected = false; if (DocArea.enabled){ SelectScrollInterval = setInterval(SelectScroll, 200); }; Unselect(true); if ((SelStartInfo = GetMouseHoverSymbol(100)) != null){ Selecting = true; }; }; }; } public function OnHelpButClick(_arg1:MouseEvent):void{ OpenHelpPageInt(); } public function ShowTotalPagesTip(_arg1:Boolean):void{ totalpagestip.visible = ((_arg1) && (totalpagestip.parent.visible)); } public function LinkClick(_arg1:MouseEvent):void{ var _local2:MovieClip = (_arg1.target as MovieClip); _goToLinkTarget(_local2.LinkURL, _local2.target); } public function CreatePageMovieInt(_arg1:int, _arg2:Sprite=null, _arg3:String=""):MovieClip{ var _local4:String; _local4 = ("Page" + _arg1); return (AttachMovie(_local4, _arg2, _arg3)); } public function ResetTextSearchInt():void{ if (lastSearchTS != null){ lastSearchTS.setSelected(0, lastSearchTS.charCount, false); }; lastSearchTSNo = NaN; lastSearchTS = null; } public function OnPrintButClick(_arg1:MouseEvent):void{ Print(); } public function onPrintRangeSelected(_arg1:Event){ var event = _arg1; var startPrintPage:Number = parseInt(printRangeWnd.pagesFrom.text); var endPrintPage:Number = parseInt(printRangeWnd.pagesTo.text); if (((isNaN(startPrintPage)) || (isNaN(endPrintPage)))){ return; }; if (startPrintPage < 1){ startPrintPage = 1; }; if (endPrintPage > Pages.length){ endPrintPage = Pages.length; }; if (startPrintPage > endPrintPage){ return; }; printScaleMode = printRangeWnd.printScaleMode; try { localData.data.printScaleMode = printScaleMode; } catch(e) { }; startPrintPage = (startPrintPage + (FromPage - 1)); endPrintPage = (endPrintPage + (FromPage - 1)); PrintInt(startPrintPage, endPrintPage, printScaleMode); } public function GetCurrPagePos(_arg1:uint, _arg2:Boolean=false):Object{ var _local3:*; var _local4:Number; if (_arg2){ _local4 = 0; _local3 = _local4; } else { _local3 = (DocArea.width / 2); _local4 = (DocArea.height / 2); }; var _local5:Object = Pages[(_arg1 - 1)]; return ({y:(((DocArea.verticalScrollPosition + _local4) / DocAreaContent.scaleX) - _local5.movie.y), x:(((DocArea.horizontalScrollPosition + _local3) / DocAreaContent.scaleY) - _local5.movie.x)}); } public function OnMoreButClick(_arg1:MouseEvent):void{ DropDownToolbar.visible = !(DropDownToolbar.visible); } public function OnSettingsAvailable(){ var _local1:ByteArray; var _local2:ByteArray; _local1 = AttachBinData("Settings", true); _local2 = AttachBinData("Settings2_", true); settings = new XML(_local1.readUTFBytes(_local1.length)); settings2 = new XML(_local2.readUTFBytes(_local2.length)); totalPages = GetIntSetting("PageNum", 0); widths = GetSetting("Widths", "").split(/,/); heights = GetSetting("Heights", "").split(/,/); if (totalPages){ waitmsg = PlaceWaitMsg(this, "Loading..."); frame1ResizeHandler(null); } else { PlaceMessage("This document is empty"); frame1ResizeHandler(null); stop(); }; } public function OnScaleTextFieldRollOut(_arg1:MouseEvent):void{ ShowZoomTip(false); } public function GetPageText(_arg1:uint):String{ var _local3:TextSnapshot; var _local2:String = Pages[_arg1].text; if (_local2 == null){ _local3 = GetTextSnapshot(_arg1); _local2 = _local3.getText(0, _local3.charCount, false); Pages[_arg1].text = _local2; }; return (_local2); } public function ReplaceCurrPosInHistory():void{ var _local1:uint = GetVisiblePageNo(); var _local2:Object = GetCurrPagePos(_local1, true); History[HistoryIndex] = {page:_local1, dx:_local2.x, dy:_local2.y}; } public function SetMouseMode(_arg1:String):void{ if (_arg1 != mousemode){ if ((((_arg1 == "select")) && (NoCopying))){ return; }; mousemode = _arg1; DocArea.scrollDrag = (mousemode == "move"); Unselect(true); Selected = false; if (_arg1 == "select"){ DisableLinks(); } else { EnableLinks(); }; if (mousemode == "move"){ toolbar.moveMode.but.ShowState(2); toolbar.moveMode.but.normalState = 2; toolbar.selMode.but.ShowState(1); toolbar.selMode.but.normalState = 1; cursor = HandCursor; } else { toolbar.moveMode.but.ShowState(1); toolbar.moveMode.but.normalState = 1; toolbar.selMode.but.ShowState(2); toolbar.selMode.but.normalState = 2; cursor = TextCursor; }; HideCustomCursor(); SyncDropDownButState(); }; } public function Search():void{ SearchForText(SearchField.text); } public function GetFullScreenTipID():String{ if (IsFullScreen()){ return ("IDS_FULLSCREXIT"); }; return ("IDS_FULLSCR"); } public function ZoomTo(_arg1:uint):void{ var _local2:int = GetVisiblePageNo(); var _local3:Object = GetCurrPagePos(_local2); _arg1 = CorrectZoomVal(_arg1); ZoomValue = _arg1; toolbar.ZoomSlider.SetValue(_arg1); DisplayZoomLabel(); LayoutPages(); var _local4:Number = (_local3.x - (((DocArea.width / 2) - xinterstice) / DocArea.content.scaleX)); var _local5:Number = (_local3.y - (((DocArea.height / 2) - yinterstice) / DocArea.content.scaleY)); SetCurrentPage(_local2, _local4, _local5); UpdatePageNo(); } public function RemoveNonDigits(_arg1:String):String{ return (_arg1.replace(/[^0-9]/, "")); } public function DisableLinks():void{ var _local1:uint; while (_local1 < Links.length) { Links[_local1].removeEventListener(MouseEvent.CLICK, LinkClick); Links[_local1].removeEventListener(MouseEvent.ROLL_OVER, LinkMouseOver); Links[_local1].removeEventListener(MouseEvent.ROLL_OUT, LinkMouseOut); _local1++; }; } public function OnStageResize(_arg1:Event):void{ if (autonomous){ setSize(stage.stageWidth, stage.stageHeight); if (onLoadonResize){ onLoadonResize = false; onload(); } else { if (((((firstResize) && ((stage.stageWidth == 0)))) && ((stage.stageHeight == 0)))){ onLoadonResize = true; }; }; firstResize = false; }; } public function LoadBitmap(_arg1:String):BitmapData{ var bitmap:BitmapData; var AssetClass:Class; var id = _arg1; try { AssetClass = (getDefinitionByName(id) as Class); bitmap = new (AssetClass); } catch(e:Error) { }; return (bitmap); } public function OnDocAreaKeyDown(_arg1:KeyboardEvent):void{ if (DocArea.enabled){ switch (_arg1.keyCode){ case Keyboard.UP: _arg1.stopImmediatePropagation(); if (_arg1.ctrlKey){ PreviousPageInt(); } else { ScrollTo(NaN, (DocArea.verticalScrollPosition - DocArea.verticalLineScrollSize)); }; break; case Keyboard.DOWN: _arg1.stopImmediatePropagation(); if (_arg1.ctrlKey){ NextPageInt(); } else { ScrollTo(NaN, (DocArea.verticalScrollPosition + DocArea.verticalLineScrollSize)); }; break; case Keyboard.LEFT: _arg1.stopImmediatePropagation(); if (_arg1.ctrlKey){ _Back(); } else { ScrollTo((DocArea.horizontalScrollPosition - DocArea.horizontalLineScrollSize), NaN); }; break; case Keyboard.RIGHT: _arg1.stopImmediatePropagation(); if (_arg1.ctrlKey){ _Forward(); } else { ScrollTo((DocArea.horizontalScrollPosition + DocArea.horizontalLineScrollSize), NaN); }; break; case Keyboard.BACKSPACE: _Back(); break; case 85: if (_arg1.ctrlKey){ NextPageInt(); }; break; case 89: if (_arg1.ctrlKey){ PreviousPageInt(); }; break; case 107: if (_arg1.ctrlKey){ SetZoomLevel((ZoomValue + 10)); }; break; case 109: if (_arg1.ctrlKey){ SetZoomLevel((ZoomValue - 10)); }; break; }; } else { _arg1.stopImmediatePropagation(); }; if ((((_arg1.keyCode == 80)) && (_arg1.ctrlKey))){ Print(); }; } public function ShowTotalPages():void{ TotalPagesField.text = ("/ " + new String(Pages.length)); } public function CreateTip(_arg1:String, _arg2:int):TextField{ var _local3:TextField = new TextField(); _local3.accessibilityProperties = new AccessibilityProperties(); _local3.accessibilityProperties.silent = true; _local3.y = toppanelheight; _local3.visible = false; _local3.border = true; _local3.borderColor = 0; _local3.background = true; _local3.backgroundColor = 16777185; _local3.selectable = false; _local3.defaultTextFormat = new TextFormat("Tahoma", 12, 0); _local3.autoSize = TextFieldAutoSize.LEFT; _local3.text = _arg1; _local3.x = (_arg2 - (_local3.width / 2)); toolbar.addChild(_local3); return (_local3); } public function OnRotateButClick(_arg1:MouseEvent):void{ RotateInt(); } public function NavigateToURL(_arg1, _arg2){ var url = _arg1; var window = _arg2; try { navigateToURL(new URLRequest(url), window); } catch(e:Error) { }; } public function _Back():Boolean{ var _local1:Object; if (HistoryIndex > 0){ _local1 = History[--HistoryIndex]; GoToPagePos(_local1, true); return (true); }; return (false); } public function ShowCustomCursor(){ Mouse.hide(); cursor.visible = true; root.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoveHandler, false, 0, true); } public function OnNextPageButClick(_arg1:MouseEvent):void{ NextPageInt(); } public function frame1ResizeHandler(_arg1:Event):void{ CenterMsg(waitmsg); } public function AttachBtnImage(_arg1:MovieClip, _arg2:uint, _arg3:Boolean):void{ var _local4:* = ("TBImage" + _arg2); if (_arg1.image){ _arg1.removeChild(_arg1.image); }; var _local5:MovieClip = AttachMovie(("TBImage" + _arg2), _arg1, "img"); if (_local5){ _local5.mouseEnabled = false; _local5.x = Math.round(((_arg1.width - _local5.width) / 2)); _local5.y = Math.round(((_arg1.height - _local5.height) / 2)); _arg1.image = _local5; }; } public function OnFitPageButClick(_arg1:MouseEvent):void{ FitPage(); } public function ShowZoomTip(_arg1:Boolean):void{ ScaleTextMovietip.visible = ((((_arg1) && (toolbar.ScaleTextMovie.visible))) && (!((stage.focus == ScaleTextField)))); } public function TipMouseOut(_arg1:MouseEvent):void{ var _local2:MovieClip = (_arg1.currentTarget as MovieClip); var _local3:TextField = _local2.tip; _local3.visible = false; _local3.x = _local2.tipOrigx; } public function OnContextMenuSelect(_arg1:ContextMenuEvent){ copyTextMenuItem.visible = ((!(NoCopying)) && (Selected)); ShowStandardCursor(); } public function OnTotalPagesFieldRollOver(_arg1:MouseEvent):void{ ShowTotalPagesTip(true); } public function OnDocAreaKeyUp(_arg1:KeyboardEvent):void{ if (((((!(NoCopying)) && (_arg1.ctrlKey))) && ((((_arg1.keyCode == 67)) || ((_arg1.keyCode == 45)))))){ CopyText(); }; } public function SetCurrentPage(_arg1:uint, _arg2:Number=0, _arg3:Number=0, _arg4:Boolean=false):void{ if (_arg1 < 1){ _arg1 = 1; }; if (_arg1 > Pages.length){ _arg1 = Pages.length; }; _arg2 = (_arg2 * DocAreaContent.scaleX); _arg3 = (_arg3 * DocAreaContent.scaleY); var _local5:Number = ((Pages[(_arg1 - 1)].movie.y * DocAreaContent.scaleY) + _arg3); var _local6:Number = ((Pages[(_arg1 - 1)].movie.x * DocAreaContent.scaleX) + _arg2); if (!_arg4){ _local5 = (_local5 - yinterstice); _local6 = (_local6 - xinterstice); }; ScrollTo(_local6, _local5, false); UpdatePageNo(_arg1); } public function AddToHistory(_arg1:Object){ ReplaceCurrPosInHistory(); var _local2 = ++HistoryIndex; History[_local2] = _arg1; History.splice((HistoryIndex + 1), History.length); } public function FitPage():void{ if (scaleMode != "page"){ SetZoomState("page"); SetBaseParameters(); }; SetCurrentPage(GetCurrentPage()); } function __setAcc_toolbar_Scene1_Layer1_1(){ toolbar.accessibilityProperties = new AccessibilityProperties(); toolbar.accessibilityProperties.name = "Print2Flash Toolbar"; } public function PrintInt(_arg1:Number, _arg2:Number, _arg3:String):void{ var printJob:PrintJob; var jobStarted:Boolean; var pageno:uint; var page:Object; var pageAdded:Boolean; var pageMovie:MovieClip; var contPageMovie:MovieClip; var printArea:Rectangle; var realPageMovie:MovieClip; var paWidth:Number; var paHeight:Number; var scale:Number; var scaleRotated:Number; var startPrintPage = _arg1; var endPrintPage = _arg2; var printScaleMode = _arg3; if (!NoPrinting){ printJob = new PrintJob(); try { jobStarted = printJob.start(); } catch(e:Error) { jobStarted = false; }; if (jobStarted){ pageno = startPrintPage; while (pageno <= endPrintPage) { page = DocPages[(pageno - 1)]; pageAdded = false; pageMovie = CreatePageMovieInt(pageno); if (pageMovie){ contPageMovie = new MovieClip(); addChild(contPageMovie); switch (printScaleMode){ case "noscale": realPageMovie = pageMovie; pageMovie = new MovieClip(); contPageMovie.addChild(pageMovie); paWidth = ((printJob.pageWidth / 72) * Resolution); paHeight = ((printJob.pageHeight / 72) * Resolution); DrawRect(pageMovie, 0, 0, (paWidth * 1.1), (paHeight * 1.1), 0xFFFFFF, 0xFFFFFF); pageMovie.addChild(realPageMovie); realPageMovie.x = ((paWidth - ((printJob.paperWidth / 72) * Resolution)) / 2); realPageMovie.y = ((paHeight - ((printJob.paperHeight / 72) * Resolution)) / 2); printArea = new Rectangle(0, 0, paWidth, paHeight); pageMovie.scaleX = (pageMovie.scaleY = (72 / Resolution)); break; default: contPageMovie.addChild(pageMovie); scale = Math.min((printJob.pageWidth / page.realWidth), (printJob.pageHeight / page.realHeight)); scaleRotated = Math.min((printJob.pageWidth / page.realHeight), (printJob.pageHeight / page.realWidth)); if (scaleRotated > scale){ scale = scaleRotated; pageMovie.rotation = 270; pageMovie.y = (page.realWidth * scale); }; pageMovie.scaleX = (pageMovie.scaleY = scale); printArea = new Rectangle(0, 0, (page.realWidth - 1), (page.realHeight - 1)); break; }; scale = Math.min((MovieWidth / contPageMovie.width), (MovieHeight / contPageMovie.height)); contPageMovie.scaleX = (contPageMovie.scaleY = scale); try { printJob.addPage(pageMovie, printArea, new PrintJobOptions(PrintAsBitmap)); pageAdded = true; } catch(e:Error) { }; removeChild(contPageMovie); }; if (!pageAdded){ break; }; pageno = (pageno + 1); }; printJob.send(); printJob = null; }; }; } public function GetFullScreenButID():int{ if (IsFullScreen()){ return (21); }; return (20); } public function _goToLinkTarget(_arg1:String, _arg2:String):Boolean{ if (_arg1.substr(0, 7) == "anchor:"){ return (GoToBookmark(_arg1.substr(7))); }; NavigateToURL(_arg1, _arg2); return (true); } public function getSelectedTextInt():String{ var _local3:TextSnapshot; var _local4:String; var _local1 = ""; var _local2:uint; while (_local2 < Pages.length) { _local3 = Pages[_local2].ts; if (_local3 != null){ _local4 = _local3.getSelectedText(true); if (_local4 != ""){ _local1 = (_local1 + (_local4 + String.fromCharCode(13, 10))); }; }; _local2++; }; return (_local1); } public function GetSetting(_arg1:String, _arg2:Object):String{ return (GetSettingInt(_arg1, _arg2, settings)); } public function GoToPagePos(_arg1:Object, _arg2:Boolean){ var _local3:Number; var _local4:Number; var _local5:Object = Pages[(_arg1.page - 1)]; switch (Rotation){ case 90: _local3 = (_local5.realHeight - _arg1.dy); _local4 = _arg1.dx; break; case 180: _local3 = (_local5.realWidth - _arg1.dx); _local4 = (_local5.realHeight - _arg1.dy); break; case 270: _local3 = _arg1.dy; _local4 = (_local5.realWidth - _arg1.dx); break; default: _local3 = _arg1.dx; _local4 = _arg1.dy; }; SetCurrentPage(_arg1.page, _local3, _local4, _arg2); } public function SelectWord(_arg1:uint, _arg2:uint){ var _local4:*; var _local5:int; var _local3:String = GetPageText(_arg1); if (IsWordSym(_local3.substr(_arg2, 1))){ _local5 = FindNonWord(_local3, _arg2); if (_local5 == -1){ _local5 = _local3.length; }; _local4 = FindLastNonWord(_local3, _arg2); if (_local4 == -1){ _local4 = 0; } else { _local4++; }; } else { _local4 = _arg2; _local5 = (_arg2 + 1); }; Unselect(); var _local6:TextSnapshot = GetTextSnapshot(_arg1); _local6.setSelected(_local4, _local5, true); SelStartInfo = {page:_arg1, pos:_local4}; SelEndInfo = {page:_arg1, pos:(_local5 - 1)}; } public function ScrollTo(_arg1:Number, _arg2:Number, _arg3:Boolean=true):void{ var _local4:Boolean; if (!isNaN(_arg1)){ if (_arg1 > DocArea.maxHorizontalScrollPosition){ _arg1 = DocArea.maxHorizontalScrollPosition; } else { if (_arg1 < 0){ _arg1 = 0; }; }; if (_arg1 != DocArea.horizontalScrollPosition){ DocArea.horizontalScrollPosition = _arg1; _local4 = true; }; }; if (!isNaN(_arg2)){ if (_arg2 > DocArea.maxVerticalScrollPosition){ _arg2 = DocArea.maxVerticalScrollPosition; } else { if (_arg2 < 0){ _arg2 = 0; }; }; if (_arg2 != DocArea.verticalScrollPosition){ DocArea.verticalScrollPosition = _arg2; _local4 = true; }; }; if (_arg3){ UpdatePageNo(); }; } public function SetInitialPage():void{ SetCurrentPage(GetInitParam("INITIAL_PAGE", "1")); } public function SetInitialPos():void{ var _local1:String = GetInitParam("INITIAL_BOOKMARK", ""); if (_local1){ if (!GoToBookmark(_local1, false)){ SetInitialPage(); }; } else { SetInitialPage(); }; } public function SetZoomState(_arg1:String):void{ scaleMode = _arg1; if (scaleMode == "page"){ toolbar.scalePage.but.ShowState(2); toolbar.scalePage.but.normalState = 2; } else { toolbar.scalePage.but.ShowState(1); toolbar.scalePage.but.normalState = 1; }; if (scaleMode == "width"){ toolbar.scaleWidth.but.ShowState(2); toolbar.scaleWidth.but.normalState = 2; } else { toolbar.scaleWidth.but.ShowState(1); toolbar.scaleWidth.but.normalState = 1; }; SyncDropDownButState(); } public function CopyText():void{ var _local1:String = getSelectedTextInt(); if (_local1 != ""){ System.setClipboard(_local1); }; } public function OnStageKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.keyCode != 13){ notfoundtip.visible = false; }; } public function SetInitialView():void{ _SetCurrentZoom(GetInitParam("INITIAL_VIEW", "width")); RotateTo(GetInitParam("INITIAL_ROTATE", "0")); } public function CreateTips():void{ var _local2:Object; var _local3:MovieClip; var _local4:TextField; var _local1:uint; while (_local1 < TBButtons.length) { _local2 = TBButtons[_local1]; if (_local2.tip){ _local3 = _local2.movie; _local4 = CreateTip(locale.loadString(_local2.tip), (_local3.x + (_local3.width / 2))); _local3.tip = _local4; if (!_local2.notiphandler){ _local3.addEventListener(MouseEvent.ROLL_OVER, TipMouseOver, false, 0, true); _local3.addEventListener(MouseEvent.ROLL_OUT, TipMouseOut, false, 0, true); }; if (_local3 == toolbar.searchPatternmc){ searchPatternmctip = _local4; }; if (_local3 == toolbar.ScaleTextMovie){ ScaleTextMovietip = _local4; }; }; _local1++; }; notfoundtip = CreateTip(locale.loadString("IDS_NOTFOUND"), (toolbar.searchPatternmc.x + (toolbar.searchPatternmc.width / 2))); pagenotip = CreateTip(locale.loadString("IDS_GOTOPAGE"), ((toolbar.PageNoMovie.x + toolbar.PageNoMovie.PageNoFieldMC.x) + (toolbar.PageNoMovie.PageNoFieldMC.width / 2))); totalpagestip = CreateTip(locale.loadString("IDS_TOTPAGES"), ((toolbar.PageNoMovie.x + toolbar.PageNoMovie.TotalPagesMC.x) + (toolbar.PageNoMovie.TotalPagesMC.width / 2))); SetupFSButton(); if (Accessibility.active){ Accessibility.updateProperties(); }; } public function OnPageNoFieldKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.charCode == 13){ ProcessPageNo(); }; } public function GetDocHitPos(_arg1:Number, _arg2:Number):Object{ var _local4:MovieClip; var _local5:Point; var _local3:uint; while (_local3 < Pages.length) { if (Pages[_local3].movie.hitTestPoint(_arg1, _arg2)){ _local4 = Pages[_local3].movie; _local5 = new Point(_local4.x, _local4.y); _local5 = _local4.parent.localToGlobal(_local5); return ({page:(_local3 + 1), x:((_arg1 - _local5.x) / DocArea.content.scaleX), y:((_arg2 - _local5.y) / DocArea.content.scaleY)}); }; _local3++; }; return (null); } public function Print(_arg1:Number=1, _arg2:Number=0, _arg3:String=""){ if (!NoPrinting){ if (!_arg2){ _arg2 = Pages.length; }; if (_arg3 == ""){ _arg3 = printScaleMode; }; DropDownToolbar.visible = false; printRangeWnd.show(this, MovieWidth, MovieHeight, _arg1, _arg2, _arg3); }; } public function ShowPageNoFieldTip(_arg1:Boolean):void{ pagenotip.visible = ((((_arg1) && (pagenotip.parent.visible))) && (!((stage.focus == PageNoField)))); } public function GetCurrentPage():uint{ return (PageNo); } public function OnScaleTextFieldRollOver(_arg1:MouseEvent):void{ ShowZoomTip(true); } public function LayoutPages():void{ var _local6:Object; var _local7:MovieClip; var _local8:MovieClip; var _local9:int; var _local10:Number; var _local11:uint; var _local12:uint; var _local13:int; var _local14:int; var _local1:int = xmargin; var _local2:int = ymargin; var _local3:int; ScaleFactor = ((ZoomValue / 100) * zoomCorr); DocAreaContent.scaleX = (DocAreaContent.scaleY = ScaleFactor); var _local4:uint; var _local5:int; while (_local5 < Pages.length) { _local6 = Pages[_local5]; _local7 = _local6.movie; _local8 = _local6.realMovie; if (((_local1 + (_local6.width * ScaleFactor)) + xmargin) > AreaWidth){ if (_local3 > 0){ _local2 = (_local2 + ((_local3 * ScaleFactor) + yinterstice)); }; _local1 = xmargin; _local3 = 0; }; _local6.y = _local2; _local7.x = (_local1 / ScaleFactor); _local7.y = (_local2 / ScaleFactor); _local8.rotation = Rotation; switch (Rotation){ case 0: _local8.x = (_local8.y = 0); break; case 90: _local8.x = _local6.width; _local8.y = 0; break; case 180: _local8.x = _local6.width; _local8.y = _local6.height; break; case 270: _local8.x = 0; _local8.y = _local6.height; break; }; _local1 = (_local1 + ((_local6.width * ScaleFactor) + xinterstice)); if (_local6.height > _local3){ _local3 = _local6.height; }; _local4 = Math.max(_local1, _local4); _local5++; }; _local5 = 0; while (_local5 < Pages.length) { _local9 = _local5; _local10 = Pages[_local5].movie.y; _local11 = uint.MAX_VALUE; _local12 = uint.MIN_VALUE; do { _local6 = Pages[_local5]; _local11 = Math.min(_local11, _local6.movie.x); _local12 = Math.max(_local12, (_local6.movie.x + _local6.width)); _local5++; } while ((((_local5 < Pages.length)) && ((_local10 == Pages[_local5].movie.y)))); _local13 = (((ClientWidth / ScaleFactor) - (_local12 - _local11)) / 2); if (_local13 > 0){ _local14 = _local9; while (_local14 < _local5) { Pages[_local14].movie.x = (Pages[_local14].movie.x + _local13); _local14++; }; }; }; BottomArea.y = (((_local2 + yinterstice) + (_local3 * ScaleFactor)) / ScaleFactor); BottomArea.height = (ymargin / ScaleFactor); BottomArea.x = (_local4 / ScaleFactor); BottomArea.width = (xmargin / ScaleFactor); DocArea.update(); } public function mouseOutHandler(_arg1:MouseEvent):void{ ShowStandardCursor(); } public function LinkMouseOut(_arg1:MouseEvent):void{ ShowCustomCursor(); } public function CorrectZoomVal(_arg1:Number):uint{ if (_arg1 > maxZoom){ _arg1 = maxZoom; }; if (_arg1 < minZoom){ _arg1 = minZoom; }; return (Math.floor(_arg1)); } public function CalcScrollSteps():void{ DocArea.verticalLineScrollSize = (DocArea.height / 20); DocArea.verticalPageScrollSize = (DocArea.height - DocArea.verticalLineScrollSize); DocArea.horizontalLineScrollSize = (DocArea.width / 20); DocArea.horizontalPageScrollSize = (DocArea.width - DocArea.horizontalLineScrollSize); } public function OnStageMouseLeave(_arg1:Event):void{ mouseOutHandler(new MouseEvent(MouseEvent.MOUSE_OUT)); } function __setAcc_HandCursor_Scene1_Layer1_1(){ HandCursor.accessibilityProperties = new AccessibilityProperties(); HandCursor.accessibilityProperties.silent = true; } public function IsWordSym(_arg1:String):Boolean{ var _local2:Number = _arg1.charCodeAt(0); return ((((((((((_arg1 >= "A")) && ((_arg1 <= "Z")))) || ((((_arg1 >= "a")) && ((_arg1 <= "z")))))) || ((((_arg1 >= "0")) && ((_arg1 <= "9")))))) || ((((((((_local2 >= 128)) && (!((((_local2 >= 0x2000)) && ((_local2 <= 8303))))))) && (!((((_local2 >= 160)) && ((_local2 <= 191))))))) && (!((((_local2 >= 0x2E00)) && ((_local2 <= 11903))))))))); } public function SearchForText(_arg1:String):Boolean{ return ((notfoundtip.visible = (SearchAndHighlightText(_arg1) == -1))); } public function SyncDropDownButState():void{ var _local1:*; var _local2:MovieClip; if (DropDownToolbar){ _local1 = 0; while (_local1 < DropDownToolbar.Buttons.length) { _local2 = DropDownToolbar.Buttons[_local1]; _local2.but.normalState = _local2.button.movie.but.normalState; _local2.but.ShowState(_local2.but.normalState); _local1++; }; }; } public function OnPageNoFieldRollOver(_arg1:MouseEvent):void{ ShowPageNoFieldTip(true); } public function OnDocAreaContentRollOver(_arg1:MouseEvent):void{ cursor.x = _arg1.stageX; cursor.y = _arg1.stageY; ShowCustomCursor(); } public function GetInitParam(_arg1:String, _arg2:Object){ var _local3:* = loaderInfo.parameters[_arg1]; if (_local3 == null){ _local3 = _arg2; }; return (_local3); } public function CenterMsg(_arg1:MovieClip){ if (_arg1){ _arg1.x = ((stage.stageWidth - _arg1.width) / 2); _arg1.y = ((stage.stageHeight - _arg1.height) / 2); }; } public function ProcessZoomEntry():void{ SetZoomLevel(new Number(RemoveNonDigits(ScaleTextField.text))); } public function PlaceWaitMsg(_arg1:Sprite, _arg2:String):MovieClip{ var _local3 = "waitmsg"; var _local4:MovieClip = AttachMovie(_local3, _arg1, _local3); _local4.msg.autoSize = TextFieldAutoSize.LEFT; _local4.msg.text = _arg2; return (_local4); } public function OpenInNewWindowInt():void{ DropDownToolbar.visible = false; NavigateToURL(loaderInfo.url, "_blank"); } public function OnScaleTextFieldFocusOut(_arg1:FocusEvent):void{ ProcessZoomEntry(); } public function OnPageNoFieldFocusIn(_arg1:FocusEvent):void{ PageNoInitVal = PageNoField.text; ShowPageNoFieldTip(false); } public function OnFitWidthButClick(_arg1:MouseEvent):void{ FitWidth(); } public function SelectScroll(){ if (DocArea.mouseY > DocArea.height){ ScrollTo(undefined, (DocArea.verticalScrollPosition + interpolate((DocArea.verticalLineScrollSize * MinSelVScrollRatio), (DocArea.verticalLineScrollSize * MaxSelVScrollRatio), DocArea.height, (DocArea.height * 2), DocArea.mouseY))); } else { if (DocArea.mouseY < 0){ ScrollTo(undefined, (DocArea.verticalScrollPosition - interpolate((DocArea.verticalLineScrollSize * MinSelVScrollRatio), (DocArea.verticalLineScrollSize * MaxSelVScrollRatio), 0, -(DocArea.height), DocArea.mouseY))); } else { if (DocArea.mouseX > DocArea.width){ ScrollTo((DocArea.horizontalScrollPosition + interpolate((DocArea.horizontalLineScrollSize * MinSelHScrollRatio), (DocArea.horizontalLineScrollSize * MaxSelHScrollRatio), DocArea.width, (DocArea.width * 2), DocArea.mouseX)), undefined); } else { if (DocArea.mouseX < 0){ ScrollTo((DocArea.horizontalScrollPosition - interpolate((DocArea.horizontalLineScrollSize * MinSelHScrollRatio), (DocArea.horizontalLineScrollSize * MaxSelHScrollRatio), 0, -(DocArea.width), DocArea.mouseX)), undefined); }; }; }; }; } public function AttachBtnImages(){ var _local4:*; var _local1:* = 0; while (_local1 < TBButtons.length) { _local4 = TBButtons[_local1]; if (_local4.id){ AttachBtnImage(_local4.movie, _local4.id, _local4.nocoladj); }; _local1++; }; AttachBtnImage(toolbar.more, 16, false); toolbar.ZoomSlider.SetRange(minZoom, maxZoom); toolbar.ZoomSlider.y = Math.round(((Deftoppanelheight - toolbar.ZoomSlider.height) / 2)); toolbar.ZoomSlider.Init(); var _local2:MovieClip = toolbar.ZoomSlider.getChildByName("img"); if (_local2){ toolbar.ZoomSlider.swapChildren(_local2, toolbar.ZoomSlider.SliderHandle); toolbar.ZoomSlider.SliderHandleBtn.y = Math.round(((-((toolbar.ZoomSlider.SliderHandleBtn.height - _local2.height)) / 2) + GetIntSetting("ZoomHandleOffset", 0))); }; var _local3:MovieClip = toolbar.logo.getChildByName("img"); if (_local3){ _local3.y = Math.round(((29 - _local3.height) / 2)); }; } public function UpdateMaxPageParams(_arg1:Object):void{ if (_arg1.width > MaxPageWidth){ MaxPageWidth = _arg1.width; }; if (_arg1.height > MaxPageHeight){ MaxPageHeight = _arg1.height; }; } public function UpdatePageNo(_arg1:Number=0):void{ if (!_arg1){ _arg1 = GetVisiblePageNo(); }; PageNoField.text = _arg1.toString(); if (PageNo != _arg1){ PageNo = _arg1; }; } function __setTab_HandCursor_Scene1_Layer1_1(){ HandCursor.tabIndex = 0; } public function OnPageNoFieldFocusOut(_arg1:FocusEvent):void{ if (PageNoInitVal != PageNoField.text){ ProcessPageNo(); }; } public function OnTotalPagesFieldRollOut(_arg1:MouseEvent):void{ ShowTotalPagesTip(false); } public function ScanPages(_arg1:uint):void{ var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local2:uint = _arg1; do { _local3 = DocPages[(_local2 - 1)].movie; _local4 = DocPages[(_local2 - 1)].realMovie; _local5 = _local3.x; _local6 = _local3.y; _local7 = _local4.x; _local8 = _local4.y; _local9 = _local4.rotation; _local10 = AttachPageMovie(_local2); _local11 = !((_local10 == null)); if (_local11){ if ((((_local2 < FromPage)) || ((_local2 > ToPage)))){ DocAreaContent.removeChild(_local10); } else { _local10.x = _local5; _local10.y = _local6; _local12 = _local10.getChildByName("realMovie"); _local12.x = _local7; _local12.y = _local8; _local12.rotation = _local9; }; loadedPages = _local2; UpdateWaitMsg(); }; _local2++; } while (((_local11) && ((_local2 <= totalPages)))); } public function AttachBinData(_arg1:String, _arg2:Boolean=false):ByteArray{ var ba:ByteArray; var AssetClass:Class; var id = _arg1; var fromExtDoc = _arg2; try { AssetClass = (getDefinitionByName(id) as Class); ba = new (AssetClass); } catch(e) { }; return (ba); } public function GetIntSetting(_arg1:String, _arg2:Object):int{ return (parseInt(GetSetting(_arg1, _arg2))); } public function OnFullScreen(_arg1:FullScreenEvent):void{ if (((!(_arg1.fullScreen)) && (!(isNaN(beforeFSWidth))))){ setSize(beforeFSWidth, beforeFSHeight); beforeFSWidth = NaN; }; SetupFSButton(); LayoutToolbar(); } public function onload():void{ SetMouseMode("move"); SetInitialView(); if (autonomous){ stage.dispatchEvent(new Event(Event.RESIZE)); } else { setSize(550, 400); }; SetInitialPos(); ShowTotalPages(); } public function GetSettingInt(_arg1:String, _arg2:Object, _arg3:XML, _arg4:XML=null):String{ var _local5:String = _arg3.attribute(_arg1); if (((!(_local5)) && (_arg4))){ _local5 = _arg4.attribute(_arg1); }; if (!_local5){ _local5 = String(_arg2); }; return (_local5); } public function OnLogoClick(_arg1:MouseEvent):void{ NavigateToURL(LogoURL, "_blank"); } public function GetMouseHoverSymbol(_arg1:Number):Object{ var _local3:*; var _local4:TextSnapshot; var _local5:Number; var _local2:uint; while (_local2 < Pages.length) { _local3 = GetMousePos(); if (Pages[_local2].realMovie.hitTestPoint(_local3.x, _local3.y)){ _local4 = GetTextSnapshot(_local2); _local5 = _local4.hitTestTextNearPos(Pages[_local2].realMovie.mouseX, Pages[_local2].realMovie.mouseY, _arg1); if (_local5 != -1){ return ({page:_local2, pos:_local5}); }; }; _local2++; }; return (null); } public function OnSearchFieldKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.charCode == 13){ Search(); }; } public function FindNonWord(_arg1:String, _arg2:uint):int{ var _local3:int = _arg2; while (_local3 < _arg1.length) { if (!IsWordSym(_arg1.charAt(_local3))){ return (_local3); }; _local3++; }; return (-1); } public function setSize(_arg1:uint, _arg2:uint):void{ DocArea.y = toppanelheight; MovieWidth = _arg1; MovieHeight = _arg2; DocArea.width = MovieWidth; DocArea.height = (MovieHeight - toppanelheight); CalcScrollSteps(); SetBaseParameters(); LayoutPages(); LayoutToolbar(); ModalScreen.resizeContainer(_arg1, _arg2); } function __setTab_DocArea_Scene1_Layer1_1(){ DocArea.tabIndex = 17; } public function OnSliderChange(_arg1:Event):void{ ZoomTo(toolbar.ZoomSlider.GetValue()); SetZoomState("none"); } public function OpenHelpPageInt():void{ DropDownToolbar.visible = false; NavigateToURL(HelpPageURL, "_blank"); } public function FillWithBitmap(_arg1:MovieClip, _arg2:BitmapData, _arg3:int, _arg4:int, _arg5:int, _arg6:int, _arg7:Boolean):void{ var matrix:*; var movie = _arg1; var bitmap = _arg2; var x1 = _arg3; var y1 = _arg4; var x2 = _arg5; var y2 = _arg6; var scaleToFit = _arg7; var _local9 = movie.graphics; with (_local9) { if (scaleToFit){ matrix = new Matrix(); matrix.scale(((x2 - x1) / bitmap.width), ((y2 - y1) / bitmap.height)); }; beginBitmapFill(bitmap, matrix, true); moveTo(x1, y1); lineTo(x1, y2); lineTo(x2, y2); lineTo(x2, y1); lineTo(x1, y1); endFill(); }; } public function DropDowbButHandler(_arg1:MouseEvent):void{ _arg1.currentTarget.button.movie.but.dispatchEvent(new MouseEvent(MouseEvent.CLICK)); } public function SetupFSButton():void{ var _local1:* = toolbar.fullscreen; AttachBtnImage(_local1, GetFullScreenButID(), false); var _local2:TextField = _local1.tip; _local2.visible = false; _local2.text = locale.loadString(GetFullScreenTipID()); _local1.tipOrigx = (_local2.x = ((_local1.x + (_local1.width / 2)) - (_local2.width / 2))); } public function OnScaleTextFieldKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.charCode == 13){ ProcessZoomEntry(); }; } public function PreviousPageInt():void{ SetCurrentPage((GetCurrentPage() - 1)); } public function AttachMovie(_arg1:String, _arg2:Sprite=null, _arg3:String=""):MovieClip{ var movie:MovieClip; var AssetClass:Class; var id = _arg1; var parent = _arg2; var name = _arg3; try { AssetClass = (getDefinitionByName(id) as Class); movie = new (AssetClass); if (name.length){ movie.name = name; }; if (parent){ parent.addChild(movie); }; } catch(e:Error) { }; return (movie); } public function EnableLinks():void{ var _local1:uint; while (_local1 < Links.length) { Links[_local1].addEventListener(MouseEvent.CLICK, LinkClick, false, 0, true); Links[_local1].addEventListener(MouseEvent.ROLL_OVER, LinkMouseOver, false, 0, true); Links[_local1].addEventListener(MouseEvent.ROLL_OUT, LinkMouseOut, false, 0, true); _local1++; }; } public function ProcessPageNo(){ var _local1:String = PageNoField.text; SetCurrentPage(new Number(_local1)); PageNoInitVal = PageNoField.text; } public function OnCopyMenuItemSelect(_arg1:ContextMenuEvent){ if (!NoCopying){ CopyText(); }; } public function OnSearchFieldFocusIn(_arg1:FocusEvent):void{ ShowSearchPatTip(false); } public function GoToBookmark(_arg1:String, _arg2:Boolean=true){ var _local3:Object = BMDef[_arg1]; if (((((_local3) && ((_local3.page >= 1)))) && ((_local3.page <= totalPages)))){ if (_arg2){ AddToHistory(_local3); }; GoToPagePos(_local3, false); return (true); }; return (false); } public function CreateLinks(_arg1:uint):void{ var _local3:uint; var _local4:Object; var _local5:MovieClip; var _local6:MovieClip; var _local2:Object = LinkDef[("p" + _arg1)]; if (_local2){ _local3 = 0; while (_local3 < _local2.length) { _local4 = _local2[_local3]; _local5 = DocPages[(_arg1 - 1)].realMovie; _local6 = (_local5.getChildByName(_local4.name) as MovieClip); _local6.LinkURL = _local4.url; _local6.target = _local4.target; _local6.pageno = _arg1; _local6.useHandCursor = true; _local6.buttonMode = true; _local6.addEventListener(MouseEvent.CLICK, LinkClick, false, 0, true); _local6.addEventListener(MouseEvent.ROLL_OVER, LinkMouseOver, false, 0, true); _local6.addEventListener(MouseEvent.ROLL_OUT, LinkMouseOut, false, 0, true); Links.push(_local6); _local3++; }; }; } } }//package print2flash_fla
Section 26
//MCSlider_47 (print2flash_fla.MCSlider_47) package print2flash_fla { import flash.display.*; import flash.accessibility.*; public dynamic class MCSlider_47 extends MovieClip { public var SliderHandleBtn:ImgButton; public function MCSlider_47(){ __setAcc_SliderHandleBtn_MCSlider_Layer1_0(); __setTab_SliderHandleBtn_MCSlider_Layer1_0(); } function __setTab_SliderHandleBtn_MCSlider_Layer1_0(){ SliderHandleBtn.tabIndex = 0; } function __setAcc_SliderHandleBtn_MCSlider_Layer1_0(){ SliderHandleBtn.accessibilityProperties = new AccessibilityProperties(); SliderHandleBtn.accessibilityProperties.silent = true; } } }//package print2flash_fla
Section 27
//Timeline_30 (print2flash_fla.Timeline_30) package print2flash_fla { import flash.display.*; import flash.text.*; import flash.accessibility.*; public dynamic class Timeline_30 extends MovieClip { public var ScaleTextField:TextField; public function Timeline_30(){ __setAcc_ScaleTextField_(); __setTab_ScaleTextField_(); } function __setTab_ScaleTextField_(){ ScaleTextField.tabIndex = 5; } function __setAcc_ScaleTextField_(){ ScaleTextField.accessibilityProperties = new AccessibilityProperties(); ScaleTextField.accessibilityProperties.name = "Zoom"; } } }//package print2flash_fla
Section 28
//Timeline_31 (print2flash_fla.Timeline_31) package print2flash_fla { import flash.display.*; import flash.accessibility.*; public dynamic class Timeline_31 extends MovieClip { public var PageNoFieldMC:MovieClip; public var TotalPagesMC:MovieClip; public function Timeline_31(){ __setAcc_TotalPagesMC_(); __setTab_TotalPagesMC_(); __setTab_PageNoFieldMC_(); } function __setAcc_TotalPagesMC_(){ TotalPagesMC.accessibilityProperties = new AccessibilityProperties(); TotalPagesMC.accessibilityProperties.silent = true; } function __setTab_PageNoFieldMC_(){ PageNoFieldMC.tabIndex = 0; } function __setTab_TotalPagesMC_(){ TotalPagesMC.tabIndex = 0; } } }//package print2flash_fla
Section 29
//Timeline_32 (print2flash_fla.Timeline_32) package print2flash_fla { import flash.display.*; import flash.text.*; import flash.accessibility.*; public dynamic class Timeline_32 extends MovieClip { public var TotalPages:TextField; public function Timeline_32(){ __setAcc_TotalPages_(); __setTab_TotalPages_(); } function __setTab_TotalPages_(){ TotalPages.tabIndex = 0; } function __setAcc_TotalPages_(){ TotalPages.accessibilityProperties = new AccessibilityProperties(); TotalPages.accessibilityProperties.silent = true; } } }//package print2flash_fla
Section 30
//Timeline_33 (print2flash_fla.Timeline_33) package print2flash_fla { import flash.display.*; import flash.text.*; import flash.accessibility.*; public dynamic class Timeline_33 extends MovieClip { public var PageNoField:TextField; public function Timeline_33(){ __setAcc_PageNoField_(); __setTab_PageNoField_(); } function __setTab_PageNoField_(){ PageNoField.tabIndex = 9; } function __setAcc_PageNoField_(){ PageNoField.accessibilityProperties = new AccessibilityProperties(); PageNoField.accessibilityProperties.name = "Go to page"; } } }//package print2flash_fla
Section 31
//Timeline_50 (print2flash_fla.Timeline_50) package print2flash_fla { import flash.display.*; import flash.text.*; import flash.accessibility.*; public dynamic class Timeline_50 extends MovieClip { public var searchPattern:TextField; public function Timeline_50(){ __setAcc_searchPattern_(); __setTab_searchPattern_(); } function __setTab_searchPattern_(){ searchPattern.tabIndex = 11; } function __setAcc_searchPattern_(){ searchPattern.accessibilityProperties = new AccessibilityProperties(); searchPattern.accessibilityProperties.name = "Search"; } } }//package print2flash_fla
Section 32
//button (button) package { import flash.display.*; public dynamic class button extends SimpleButton { } }//package
Section 33
//Button_disabledSkin (Button_disabledSkin) package { import flash.display.*; public dynamic class Button_disabledSkin extends MovieClip { } }//package
Section 34
//Button_downSkin (Button_downSkin) package { import flash.display.*; public dynamic class Button_downSkin extends MovieClip { } }//package
Section 35
//Button_emphasizedSkin (Button_emphasizedSkin) package { import flash.display.*; public dynamic class Button_emphasizedSkin extends MovieClip { } }//package
Section 36
//Button_overSkin (Button_overSkin) package { import flash.display.*; public dynamic class Button_overSkin extends MovieClip { } }//package
Section 37
//Button_selectedDisabledSkin (Button_selectedDisabledSkin) package { import flash.display.*; public dynamic class Button_selectedDisabledSkin extends MovieClip { } }//package
Section 38
//Button_selectedDownSkin (Button_selectedDownSkin) package { import flash.display.*; public dynamic class Button_selectedDownSkin extends MovieClip { } }//package
Section 39
//Button_selectedOverSkin (Button_selectedOverSkin) package { import flash.display.*; public dynamic class Button_selectedOverSkin extends MovieClip { } }//package
Section 40
//Button_selectedUpSkin (Button_selectedUpSkin) package { import flash.display.*; public dynamic class Button_selectedUpSkin extends MovieClip { } }//package
Section 41
//Button_upSkin (Button_upSkin) package { import flash.display.*; public dynamic class Button_upSkin extends MovieClip { } }//package
Section 42
//def_back (def_back) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_back extends MovieClip { public var but:manualbutton; public function def_back(){ __setAcc_but_def_back_Layer2_0(); __setTab_but_def_back_Layer2_0(); } function __setAcc_but_def_back_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Back"; but.accessibilityProperties.forceSimple = true; } function __setTab_but_def_back_Layer2_0(){ but.tabIndex = 1; } } }//package
Section 43
//def_bgr (def_bgr) package { import flash.display.*; public dynamic class def_bgr extends MovieClip { } }//package
Section 44
//def_forward (def_forward) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_forward extends MovieClip { public var but:manualbutton; public function def_forward(){ __setAcc_but_def_forward_Layer2_0(); __setTab_but_def_forward_Layer2_0(); } function __setTab_but_def_forward_Layer2_0(){ but.tabIndex = 2; } function __setAcc_but_def_forward_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Forward"; but.accessibilityProperties.forceSimple = true; } } }//package
Section 45
//def_fullscreen (def_fullscreen) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_fullscreen extends MovieClip { public var but:manualbutton; public function def_fullscreen(){ __setAcc_but_def_fullscreen_Layer2_0(); __setTab_but_def_fullscreen_Layer2_0(); } function __setTab_but_def_fullscreen_Layer2_0(){ but.tabIndex = 1; } function __setAcc_but_def_fullscreen_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Back"; but.accessibilityProperties.forceSimple = true; } } }//package
Section 46
//def_help (def_help) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_help extends MovieClip { public var but:manualbutton; public function def_help(){ __setAcc_but_def_help_Layer2_0(); __setTab_but_def_help_Layer2_0(); } function __setAcc_but_def_help_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Help"; but.accessibilityProperties.forceSimple = true; } function __setTab_but_def_help_Layer2_0(){ but.tabIndex = 16; } } }//package
Section 47
//def_more (def_more) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_more extends MovieClip { public var but:manualbutton; public function def_more(){ __setAcc_but_def_more_Layer3_0(); __setTab_but_def_more_Layer3_0(); } function __setTab_but_def_more_Layer3_0(){ but.tabIndex = 0; } function __setAcc_but_def_more_Layer3_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.silent = true; } } }//package
Section 48
//def_moveMode (def_moveMode) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_moveMode extends MovieClip { public var but:manualbutton; public function def_moveMode(){ __setAcc_but_def_moveMode_Layer2_0(); __setTab_but_def_moveMode_Layer2_0(); } function __setTab_but_def_moveMode_Layer2_0(){ but.tabIndex = 3; } function __setAcc_but_def_moveMode_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Drag"; but.accessibilityProperties.forceSimple = true; } } }//package
Section 49
//def_newwindow (def_newwindow) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_newwindow extends MovieClip { public var but:manualbutton; public function def_newwindow(){ __setAcc_but_def_newwindow_Layer2_0(); __setTab_but_def_newwindow_Layer2_0(); } function __setAcc_but_def_newwindow_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Open in New Window"; but.accessibilityProperties.forceSimple = true; } function __setTab_but_def_newwindow_Layer2_0(){ but.tabIndex = 15; } } }//package
Section 50
//def_nextpage (def_nextpage) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_nextpage extends MovieClip { public var but:manualbutton; public function def_nextpage(){ __setAcc_but_def_nextpage_Layer2_0(); __setTab_but_def_nextpage_Layer2_0(); } function __setTab_but_def_nextpage_Layer2_0(){ but.tabIndex = 10; } function __setAcc_but_def_nextpage_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Next page"; but.accessibilityProperties.forceSimple = true; } } }//package
Section 51
//def_prevpage (def_prevpage) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_prevpage extends MovieClip { public var but:manualbutton; public function def_prevpage(){ __setAcc_but_def_prevpage_Layer2_0(); __setTab_but_def_prevpage_Layer2_0(); } function __setTab_but_def_prevpage_Layer2_0(){ but.tabIndex = 8; } function __setAcc_but_def_prevpage_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Previous page"; but.accessibilityProperties.forceSimple = true; } } }//package
Section 52
//def_print (def_print) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_print extends MovieClip { public var but:manualbutton; public function def_print(){ __setAcc_but_def_print_Layer2_0(); __setTab_but_def_print_Layer2_0(); } function __setTab_but_def_print_Layer2_0(){ but.tabIndex = 14; } function __setAcc_but_def_print_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Print"; but.accessibilityProperties.forceSimple = true; } } }//package
Section 53
//def_rotate (def_rotate) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_rotate extends MovieClip { public var but:manualbutton; public function def_rotate(){ __setAcc_but_def_rotate_Layer2_0(); __setTab_but_def_rotate_Layer2_0(); } function __setTab_but_def_rotate_Layer2_0(){ but.tabIndex = 13; } function __setAcc_but_def_rotate_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Rotate"; but.accessibilityProperties.forceSimple = true; } } }//package
Section 54
//def_scalePage (def_scalePage) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_scalePage extends MovieClip { public var but:manualbutton; public function def_scalePage(){ __setAcc_but_def_scalePage_Layer2_0(); __setTab_but_def_scalePage_Layer2_0(); } function __setAcc_but_def_scalePage_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Fit page"; but.accessibilityProperties.forceSimple = true; } function __setTab_but_def_scalePage_Layer2_0(){ but.tabIndex = 7; } } }//package
Section 55
//def_scaleWidth (def_scaleWidth) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_scaleWidth extends MovieClip { public var but:manualbutton; public function def_scaleWidth(){ __setAcc_but_def_scaleWidth_Layer2_0(); __setTab_but_def_scaleWidth_Layer2_0(); } function __setTab_but_def_scaleWidth_Layer2_0(){ but.tabIndex = 6; } function __setAcc_but_def_scaleWidth_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Fit width"; but.accessibilityProperties.forceSimple = true; } } }//package
Section 56
//def_selMode (def_selMode) package { import flash.display.*; import flash.accessibility.*; public dynamic class def_selMode extends MovieClip { public var but:manualbutton; public function def_selMode(){ __setAcc_but_def_selMode_Layer2_0(); __setTab_but_def_selMode_Layer2_0(); } function __setTab_but_def_selMode_Layer2_0(){ but.tabIndex = 4; } function __setAcc_but_def_selMode_Layer2_0(){ but.accessibilityProperties = new AccessibilityProperties(); but.accessibilityProperties.name = "Select Text"; but.accessibilityProperties.forceSimple = true; } } }//package
Section 57
//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//package
Section 58
//ImgButton (ImgButton) package { import flash.display.*; public class ImgButton extends SimpleButton { private var upImageID; private var downImageID:String; public function SetImages(_arg1, _arg2:String){ var _local3:MovieClip = MovieClip(root); upState = new ImgButtonDisplayState(_arg1, _local3); downState = new ImgButtonDisplayState(_arg2, _local3); overState = new ImgButtonDisplayState(_arg2, _local3); hitTestState = new Sprite(); _local3.DrawRect(hitTestState, 0, 0, Math.max(upState.width, downState.width), Math.max(upState.height, downState.height), 0); } } }//package
Section 59
//ImgButtonDisplayState (ImgButtonDisplayState) package { import flash.display.*; public class ImgButtonDisplayState extends Sprite { public function ImgButtonDisplayState(_arg1:String, _arg2:MovieClip){ _arg2.AttachMovie(_arg1, this); } } }//package
Section 60
//manualbutton (manualbutton) package { import flash.display.*; import flash.events.*; public class manualbutton extends MovieClip { private var canvas:Sprite; public var normalState:uint;// = 1 public function manualbutton(){ useHandCursor = (buttonMode = true); mouseChildren = false; addEventListener(MouseEvent.ROLL_OVER, onRollOver, false, 0, true); addEventListener(MouseEvent.ROLL_OUT, onRollOut, false, 0, true); addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown, false, 0, true); addEventListener(MouseEvent.MOUSE_UP, onMouseUp, false, 0, true); } public function onMouseUp(_arg1:MouseEvent):void{ ShowState(2); } public function onRollOut(_arg1:MouseEvent):void{ var _local2:MovieClip = MovieClip(root); ShowState(normalState); } public function onRollOver(_arg1:MouseEvent):void{ ShowState(2); } public function ShowState(_arg1:uint):void{ var _local2:MovieClip = MovieClip(root); if (canvas){ removeChild(canvas); }; canvas = new Sprite(); addChild(canvas); switch (_arg1){ case 2: _local2.DrawRect(canvas, 0, 0, (width / scaleX), height, _local2.OverButColor, _local2.OverRectColor); break; case 3: _local2.DrawRect(canvas, 0, 0, (width / scaleX), height, _local2.DownButColor, _local2.DownRectColor); break; }; } public function onMouseDown(_arg1:MouseEvent):void{ ShowState(3); } } }//package
Section 61
//ModalScreen (ModalScreen) package { import flash.display.*; public class ModalScreen { private static var container:DisplayObjectContainer; private static var sprite:Sprite; private static var object:DisplayObject; private static function DrawSprite(_arg1, _arg2:uint){ sprite.graphics.beginFill(0); sprite.graphics.drawRect(container.x, container.y, _arg1, _arg2); sprite.graphics.endFill(); } public static function resizeContainer(_arg1, _arg2:uint):void{ if (sprite){ sprite.graphics.clear(); DrawSprite(_arg1, _arg2); center(_arg1, _arg2, object); }; } public static function close(){ container.removeChild(sprite); sprite = null; } private static function center(_arg1:uint, _arg2:uint, _arg3:DisplayObject):void{ _arg3.x = ((_arg1 / 2) - (_arg3.width / 2)); _arg3.y = ((_arg2 / 2) - (_arg3.height / 2)); } public static function show(_arg1:DisplayObjectContainer, _arg2:DisplayObject, _arg3:uint, _arg4:uint){ _arg1 = DisplayObjectContainer(_arg1.root); ModalScreen.container = _arg1; ModalScreen.object = _arg2; sprite = new Sprite(); DrawSprite(_arg3, _arg4); sprite.addChild(_arg2); sprite.alpha = 0.5; _arg2.alpha = 2; _arg1.addChild(sprite); _arg1.setChildIndex(sprite, (_arg1.numChildren - 1)); ModalScreen.center(_arg3, _arg4, _arg2); } } }//package
Section 62
//P2FLocale (P2FLocale) package { import flash.system.*; public class P2FLocale { var Strings:Object; static var DefLanguage = "en"; public static var LocaleArray:Object = {bs:{IDS_DRAG:"Ruka", IDS_SELTEXT:"Selektuj tekst", IDS_ZOOM:"Priblizi", IDS_FITWIDTH:"Po sirini", IDS_FITPAGE:"Po stranici", IDS_PREVPAGE:"Prosla stranica", IDS_GOTOPAGE:"Idi na stranicu", IDS_TOTPAGES:"Ukupno stranica", IDS_NEXTPAGE:"Sljedeca stranica", IDS_SCHHINT:"Kucaj ovdje da trazis", IDS_SEARCH:"Trazi", IDS_NOTFOUND:"Nije pronadjeno", IDS_ROTATE:"Rotiraj", IDS_PRINT:"Printaj", IDS_NEWWND:"Otvori u novom prozoru", IDS_HELP:"Pomoc", IDS_BACK:"Nazad", IDS_FORWARD:"Naprijed", IDS_FULLSCR:"Prikaz preko cijelog ekrana", IDS_FULLSCREXIT:"Prekini prikaz preko cijelog ekrana"}, cs:{IDS_DRAG:"Posouvání", IDS_SELTEXT:"Vybrat text", IDS_ZOOM:"Zvětšení", IDS_FITWIDTH:"Šířka stránky", IDS_FITPAGE:"Celá stránka", IDS_PREVPAGE:"Předchozí stránka", IDS_GOTOPAGE:"Přejít na stránku", IDS_TOTPAGES:"Celkem stránek", IDS_NEXTPAGE:"Další stránka", IDS_SCHHINT:"Vložte hledaný text", IDS_SEARCH:"Hledat", IDS_NOTFOUND:"Nenalezeno", IDS_ROTATE:"Otočit", IDS_PRINT:"Tisk", IDS_NEWWND:"Otevřít v novém okně", IDS_HELP:"Nápověda", IDS_BACK:"Zpět", IDS_FORWARD:"Vpřed", IDS_FULLSCR:"Celá obrazovka", IDS_FULLSCREXIT:"Ukončit režim celé obrazovky", IDS_PDTITLE:"Nastavení tisku", IDS_PDPAGES:"Strany:", IDS_PDFROM:"Od", IDS_PDTO:"Do", IDS_PDSCALING:"Měřítko stránky:", IDS_PDNOSCALE:"Žádné", IDS_PDAUTOR:"Automaticky otočit a přizpůsobit", IDS_OK:"OK", IDS_CANCEL:"Storno"}, da:{IDS_DRAG:"Træk", IDS_SELTEXT:"Vælg tekst", IDS_ZOOM:"Zoom", IDS_FITWIDTH:"Tilpas bredde", IDS_FITPAGE:"Tilpas side", IDS_PREVPAGE:"Forrige side", IDS_GOTOPAGE:"Gå til side", IDS_TOTPAGES:"Antal sider", IDS_NEXTPAGE:"Næste side", IDS_SCHHINT:"Angiv søgeord", IDS_SEARCH:"Søg", IDS_NOTFOUND:"Ikke fundet", IDS_ROTATE:"Rotér", IDS_PRINT:"Udskriv", IDS_NEWWND:"Åbn i nyt vindue", IDS_HELP:"Hjælp", IDS_BACK:"Tilbage", IDS_FORWARD:"Fremad", IDS_FULLSCR:"Fuldskærm", IDS_FULLSCREXIT:"Afslut fuldskærmstilstand"}, de:{IDS_DRAG:"Schwenken", IDS_SELTEXT:"Text auswählen", IDS_ZOOM:"Zoom", IDS_FITWIDTH:"Breite anpassen", IDS_FITPAGE:"An Ansicht anpassen", IDS_PREVPAGE:"Vorherige Seite", IDS_GOTOPAGE:"Springen zu Seite", IDS_TOTPAGES:"Gesamtseiten", IDS_NEXTPAGE:"Nächste Seite", IDS_SCHHINT:"Geben Sie hier ein um Text zu suchen", IDS_SEARCH:"Suche", IDS_NOTFOUND:"Nicht gefunden", IDS_ROTATE:"Drehen", IDS_PRINT:"Drucken", IDS_NEWWND:"In neuem Browser öffnen", IDS_HELP:"Hilfe", IDS_BACK:"Zurück", IDS_FORWARD:"Vor", IDS_FULLSCR:"Vollbild", IDS_FULLSCREXIT:"Vollbildmodus beenden", IDS_PDTITLE:"Druckeinstellungen", IDS_PDPAGES:"Seiten:", IDS_PDFROM:"Von", IDS_PDTO:"Bis", IDS_PDSCALING:"Seitenanpassung:", IDS_PDNOSCALE:"Keine", IDS_PDAUTOR:"Automatisch drehen und einpassen", IDS_OK:"OK", IDS_CANCEL:"Abbrechen"}, en:{IDS_DRAG:"Drag", IDS_SELTEXT:"Select Text", IDS_ZOOM:"Zoom", IDS_FITWIDTH:"Fit Width", IDS_FITPAGE:"Fit Page", IDS_PREVPAGE:"Previous Page", IDS_GOTOPAGE:"Go To Page", IDS_TOTPAGES:"Total Pages", IDS_NEXTPAGE:"Next Page", IDS_SCHHINT:"Type here to search", IDS_SEARCH:"Search", IDS_NOTFOUND:"Not Found", IDS_ROTATE:"Rotate", IDS_PRINT:"Print", IDS_NEWWND:"Open In New Window", IDS_HELP:"Help", IDS_BACK:"Back", IDS_FORWARD:"Forward", IDS_FULLSCR:"Full Screen", IDS_FULLSCREXIT:"Exit Full Screen Mode", IDS_PDTITLE:"Print Options", IDS_PDPAGES:"Pages:", IDS_PDFROM:"From", IDS_PDTO:"To", IDS_PDSCALING:"Scaling:", IDS_PDNOSCALE:"No scale", IDS_PDAUTOR:"Auto-Rotate and Fit", IDS_OK:"OK", IDS_CANCEL:"Cancel"}, es:{IDS_DRAG:"Desplazar", IDS_SELTEXT:"Seleccionar", IDS_ZOOM:"Zoom", IDS_FITWIDTH:"Ajustar al ancho", IDS_FITPAGE:"Ajustar al visor", IDS_PREVPAGE:"Página Anterior", IDS_GOTOPAGE:"Vaya A paginar", IDS_TOTPAGES:"Páginas Totales", IDS_NEXTPAGE:"Página Siguiente", IDS_SCHHINT:"Mecanografíe aquí a búsqueda", IDS_SEARCH:"Buscar", IDS_NOTFOUND:"No encontrado", IDS_ROTATE:"Rote", IDS_PRINT:"Imprimir", IDS_NEWWND:"Abrir en nuevo navegador", IDS_HELP:"Ayuda", IDS_BACK:"Anterior", IDS_FORWARD:"Siguiente", IDS_FULLSCR:"Pantalla completa", IDS_FULLSCREXIT:"Salir del modo pantalla completa", IDS_PDTITLE:"Imprimir", IDS_PDPAGES:"Páginas:", IDS_PDFROM:"De", IDS_PDTO:"A", IDS_PDSCALING:"Escala:", IDS_PDNOSCALE:"Sin escala", IDS_PDAUTOR:"Auto-rotar y Ajustar", IDS_OK:"OK", IDS_CANCEL:"Cancelar"}, fr:{IDS_DRAG:"Panorama", IDS_SELTEXT:"Sélectionner le texte", IDS_ZOOM:"Zoom", IDS_FITWIDTH:"Ajuster la largeur", IDS_FITPAGE:"Ajuster dans la visionneuse", IDS_PREVPAGE:"Page précédente", IDS_GOTOPAGE:" Aller a la page", IDS_TOTPAGES:"Nombre de pages", IDS_NEXTPAGE:"Prochaine page", IDS_SCHHINT:"Entrez votre question ici", IDS_SEARCH:"Rechercher", IDS_NOTFOUND:"Non trouvé", IDS_ROTATE:"Rotation", IDS_PRINT:"Imprimer", IDS_NEWWND:"Ouvrir dans une nouvelle fenêtre", IDS_HELP:"Aide", IDS_BACK:"Page précédente", IDS_FORWARD:"Page suivante", IDS_FULLSCR:"Plein écran", IDS_FULLSCREXIT:"Quitter le mode plein écran"}, hr:{IDS_DRAG:"Ruka", IDS_SELTEXT:"Selektiraj tekst", IDS_ZOOM:"Zumiraj", IDS_FITWIDTH:"Po sirini", IDS_FITPAGE:"Po stranici", IDS_PREVPAGE:"Prethodna stranica", IDS_GOTOPAGE:"Idi na stranicu", IDS_TOTPAGES:"Svega stranica", IDS_NEXTPAGE:"Sljedeca stranica", IDS_SCHHINT:"Upisi ovdje za pretragu", IDS_SEARCH:"Pretraga", IDS_NOTFOUND:"Nema rezultata", IDS_ROTATE:"Zarotiraj", IDS_PRINT:"Stampaj", IDS_NEWWND:"Otvori u novom prozoru", IDS_HELP:"Pomoc", IDS_BACK:"Nazad", IDS_FORWARD:"Naprijed", IDS_FULLSCR:"Potpuni ekran", IDS_FULLSCREXIT:"Izađi iz prikaza potpunog ekrana"}, it:{IDS_DRAG:"Trascina", IDS_SELTEXT:"Seleziona testo", IDS_ZOOM:"Zoom", IDS_FITWIDTH:"Adatta larghezza", IDS_FITPAGE:"Adatta pagina", IDS_PREVPAGE:"Pagina precedente", IDS_GOTOPAGE:"Vai a pagina", IDS_TOTPAGES:"Pagine totali", IDS_NEXTPAGE:"Pagina successiva", IDS_SCHHINT:"Testo da cercare", IDS_SEARCH:"Trova", IDS_NOTFOUND:"Testo non trovato", IDS_ROTATE:"Ruota", IDS_PRINT:"Stampa", IDS_NEWWND:"Apri in una nuova finestra", IDS_HELP:"Aiuto", IDS_BACK:"Indietro", IDS_FORWARD:"Avanti", IDS_FULLSCR:"Schermo intero", IDS_FULLSCREXIT:"Esci da schermo intero"}, ja:{IDS_DRAG:"ドラッグ", IDS_SELTEXT:"テキスト選択", IDS_ZOOM:"ズーム", IDS_FITWIDTH:"幅に合わせる", IDS_FITPAGE:"ページに合わせる", IDS_PREVPAGE:"前頁", IDS_GOTOPAGE:"ページへ", IDS_TOTPAGES:"総ページ数", IDS_NEXTPAGE:"次頁", IDS_SCHHINT:"検索する文字列を入力してください", IDS_SEARCH:"検索", IDS_NOTFOUND:"指定のものは見つかりません", IDS_ROTATE:"回転", IDS_PRINT:"印刷", IDS_NEWWND:"新しいウィンドウで開く", IDS_HELP:"ヘルプ", IDS_BACK:"前へ", IDS_FORWARD:"次へ", IDS_FULLSCR:"全画面表示", IDS_FULLSCREXIT:"全画面表示モードを閉じる", IDS_PDTITLE:"印刷オプション", IDS_PDPAGES:"ページ指定", IDS_PDFROM:"開始", IDS_PDTO:"終了", IDS_PDSCALING:"スケーリング", IDS_PDNOSCALE:"スケール無し", IDS_PDAUTOR:"自動回転とページに合わせる", IDS_OK:"印刷", IDS_CANCEL:"キャンセル"}, nl:{IDS_DRAG:"Slepen", IDS_SELTEXT:"Selecteer tekst", IDS_ZOOM:"Vergroten", IDS_FITWIDTH:"Aanpassen breedte", IDS_FITPAGE:"Aanpassen pagina", IDS_PREVPAGE:"Vorige pagina", IDS_GOTOPAGE:"Ga naar", IDS_TOTPAGES:"Totaal aantal pagina's", IDS_NEXTPAGE:"Volgende pagina", IDS_SCHHINT:"Zoekargument", IDS_SEARCH:"Zoeken", IDS_NOTFOUND:"Niet gevonden", IDS_ROTATE:"Roteren", IDS_PRINT:"Afdrukken", IDS_NEWWND:"Open in nieuw window", IDS_HELP:"Help", IDS_BACK:"Terug", IDS_FORWARD:"Vooruit", IDS_FULLSCR:"Volledig scherm", IDS_FULLSCREXIT:"Volledigschermmodus verlaten", IDS_PDTITLE:"Print Opties", IDS_PDPAGES:"Pagina’s:", IDS_PDFROM:"Van", IDS_PDTO:"Tot", IDS_PDSCALING:"Schalen:", IDS_PDNOSCALE:"Niet schalen", IDS_PDAUTOR:"Passend maken", IDS_OK:"OK", IDS_CANCEL:"Annuleer"}, pl:{IDS_DRAG:"Przeciągnij", IDS_SELTEXT:"Zaznacz tekst", IDS_ZOOM:"Zmień rozmiar", IDS_FITWIDTH:"Dopasuj szerokość", IDS_FITPAGE:"Dopasuj stronę", IDS_PREVPAGE:"Poprzednia strona", IDS_GOTOPAGE:"Przejdź do strony", IDS_TOTPAGES:"Suma stron", IDS_NEXTPAGE:"Następna strona", IDS_SCHHINT:"Wpisz tekst", IDS_SEARCH:"Szukaj", IDS_NOTFOUND:"Nie znalezionio", IDS_ROTATE:"Obróć", IDS_PRINT:"Drukuj", IDS_NEWWND:"Otwórz w nowym oknie", IDS_HELP:"Pomoc", IDS_BACK:"Do tyłu", IDS_FORWARD:"Do przodu", IDS_FULLSCR:"Tryb pełnoekranowy", IDS_FULLSCREXIT:"Opuść tryb pełnoekranowy", IDS_PDTITLE:"Opcje wydruku", IDS_PDPAGES:"Strony:", IDS_PDFROM:"Od", IDS_PDTO:"Do", IDS_PDSCALING:"Skalowanie:", IDS_PDNOSCALE:"Nie skaluj", IDS_PDAUTOR:"Autorotacja i dopasowanie", IDS_OK:"OK", IDS_CANCEL:"Anuluj"}, pt:{IDS_DRAG:"Arrastar", IDS_SELTEXT:"Selecionar Texto", IDS_ZOOM:"Zoom", IDS_FITWIDTH:"Ajustar Largura", IDS_FITPAGE:"Ajustar Página", IDS_PREVPAGE:"Página Anterior", IDS_GOTOPAGE:"Ir para Página", IDS_TOTPAGES:"Total de Páginas", IDS_NEXTPAGE:"Próxima Página", IDS_SCHHINT:"Digite aqui para Procurar", IDS_SEARCH:"Procurar", IDS_NOTFOUND:"Não Encontrado", IDS_ROTATE:"Girar", IDS_PRINT:"Imprimir", IDS_NEWWND:"Abrir em uma Nova Janela", IDS_HELP:"Ajuda", IDS_BACK:"Retroceder", IDS_FORWARD:"Avançar", IDS_FULLSCR:"Ecrã inteiro", IDS_FULLSCREXIT:"Sair de Modo de Ecrã Inteiro", IDS_PDTITLE:"Opções de Impressão", IDS_PDPAGES:"Páginas:", IDS_PDFROM:"De", IDS_PDTO:"Para", IDS_PDSCALING:"Escala:", IDS_PDNOSCALE:"Sem escala", IDS_PDAUTOR:"Rotação Automática e Ajuste", IDS_OK:"OK", IDS_CANCEL:"Cancelar"}, ru:{IDS_DRAG:"Перемещение", IDS_SELTEXT:"Выбор текста", IDS_ZOOM:"Масштаб", IDS_FITWIDTH:"По ширине страницы", IDS_FITPAGE:"Страница целиком", IDS_PREVPAGE:"Предыдущая страница", IDS_GOTOPAGE:"Перейти к странице", IDS_TOTPAGES:"Всего страниц", IDS_NEXTPAGE:"Следующая страница", IDS_SCHHINT:"Введите здесь текст для поиска", IDS_SEARCH:"Поиск", IDS_NOTFOUND:"Не найдено", IDS_ROTATE:"Поворот", IDS_PRINT:"Печать", IDS_NEWWND:"Открыть в новом окне", IDS_HELP:"Помощь", IDS_BACK:"Назад", IDS_FORWARD:"Вперёд", IDS_FULLSCR:"Полный экран", IDS_FULLSCREXIT:"Выйти из полноэкранного режима", IDS_PDTITLE:"Параметры печати", IDS_PDPAGES:"Страницы:", IDS_PDFROM:"С", IDS_PDTO:"По", IDS_PDSCALING:"Масштабирование:", IDS_PDNOSCALE:"Без масштабирования", IDS_PDAUTOR:"Повернуть и подогнать", IDS_OK:"OK", IDS_CANCEL:"Отмена"}, sr:{IDS_DRAG:"Ruka", IDS_SELTEXT:"Selektuj tekst", IDS_ZOOM:"Ublizi", IDS_FITWIDTH:"Po sirini", IDS_FITPAGE:"Po stranici", IDS_PREVPAGE:"Prethodna stranica", IDS_GOTOPAGE:"Idi na stranicu", IDS_TOTPAGES:"Svega stranica", IDS_NEXTPAGE:"Sledeca stranica", IDS_SCHHINT:"Upisi ovde za pretragu", IDS_SEARCH:"Pretraga", IDS_NOTFOUND:"Nema", IDS_ROTATE:"Zarotiraj", IDS_PRINT:"Stampa", IDS_NEWWND:"Otvori u novom prozoru", IDS_HELP:"Pomoc", IDS_BACK:"Nazad", IDS_FORWARD:"Napred", IDS_FULLSCR:"Full Screen", IDS_FULLSCREXIT:"Exit Full Screen Mode"}, sv:{IDS_DRAG:"Dra", IDS_SELTEXT:"Välj text", IDS_ZOOM:"Zooma", IDS_FITWIDTH:"Anpassa bredd", IDS_FITPAGE:"Anpassa sida", IDS_PREVPAGE:"Föregående sida", IDS_GOTOPAGE:"Gå till sidan", IDS_TOTPAGES:"Alla sidor", IDS_NEXTPAGE:"Nästa sida", IDS_SCHHINT:"Skriv in sökord här", IDS_SEARCH:"Sök", IDS_NOTFOUND:"Kan inte hittas", IDS_ROTATE:"Rotera", IDS_PRINT:"Skriv ut", IDS_NEWWND:"Öppna i nytt fönster", IDS_HELP:"Hjälp", IDS_BACK:"Tillbaka", IDS_FORWARD:"Framåt", IDS_FULLSCR:"Helskärm", IDS_FULLSCREXIT:"Avsluta helskärmsläget", IDS_PDTITLE:"Skriv ut", IDS_PDPAGES:"Sidor:", IDS_PDFROM:"Från", IDS_PDTO:"Till", IDS_PDSCALING:"Anpassningsalternativ", IDS_PDNOSCALE:"Ingen anpassning", IDS_PDAUTOR:"Auto-rotering och anpassning", IDS_OK:"OK", IDS_CANCEL:"Avbryt"}, tr:{IDS_DRAG:"Sürükle", IDS_SELTEXT:"Seç", IDS_ZOOM:"Yaklaştır", IDS_FITWIDTH:"Enine Sığdır", IDS_FITPAGE:"Sayfayı Sığdır", IDS_PREVPAGE:"Önceki Sayfa", IDS_GOTOPAGE:"Sayfaya Git", IDS_TOTPAGES:"Toplam Sayfa", IDS_NEXTPAGE:"Sonraki Sayfa", IDS_SCHHINT:"Aramak istediğiniz kelimeyi giriniz", IDS_SEARCH:"Ara", IDS_NOTFOUND:"Bulunamadı", IDS_ROTATE:"Döndür", IDS_PRINT:"Bas", IDS_NEWWND:"Yeni Pencerede Aç", IDS_HELP:"Yardım", IDS_BACK:"Geri", IDS_FORWARD:"İleri", IDS_FULLSCR:"Tam Ekran", IDS_FULLSCREXIT:"Tam Ekrandan çık", IDS_PDTITLE:"Baskı Seçenekleri", IDS_PDPAGES:"Sayfalar:", IDS_PDFROM:"", IDS_PDTO:"-", IDS_PDSCALING:"Boyutlandırma:", IDS_PDNOSCALE:"Yok", IDS_PDAUTOR:"Otomatik çevir ve sığdır", IDS_OK:"Tamam", IDS_CANCEL:"Vazgeç"}}; public function P2FLocale(){ var _local1:* = {IDS_DRAG:"拖曳页面", IDS_SELTEXT:"选择文本", IDS_ZOOM:"缩放", IDS_FITWIDTH:"适合宽度", IDS_FITPAGE:"适合页面", IDS_PREVPAGE:"前一页", IDS_GOTOPAGE:"前往页", IDS_TOTPAGES:"总页数", IDS_NEXTPAGE:"下一页", IDS_SCHHINT:"此处输入查询内容", IDS_SEARCH:"查询", IDS_NOTFOUND:"没有找到", IDS_ROTATE:"旋转", IDS_PRINT:"打印", IDS_NEWWND:"在新窗口打开", IDS_HELP:"帮助", IDS_BACK:"返回", IDS_FORWARD:"向前", IDS_FULLSCR:"全屏", IDS_FULLSCREXIT:"退出全屏模式", IDS_PDTITLE:"打印设置", IDS_PDPAGES:"页面:", IDS_PDFROM:"从", IDS_PDTO:"到", IDS_PDSCALING:"缩放:", IDS_PDNOSCALE:"不缩放", IDS_PDAUTOR:"自动旋转并适合页面缩放", IDS_OK:"确定", IDS_CANCEL:"取消"}; var _local2:* = {IDS_DRAG:"拖曳頁面", IDS_SELTEXT:"選擇文字", IDS_ZOOM:"縮放", IDS_FITWIDTH:"頁面符合視窗寬度", IDS_FITPAGE:"符合完整頁面", IDS_PREVPAGE:"前一頁", IDS_GOTOPAGE:"前往頁", IDS_TOTPAGES:"總頁數", IDS_NEXTPAGE:"下一頁", IDS_SCHHINT:"輸入查詢內容", IDS_SEARCH:"查詢", IDS_NOTFOUND:"沒有找到", IDS_ROTATE:"旋轉", IDS_PRINT:"列印", IDS_NEWWND:"開啟於新視窗", IDS_HELP:"幫助", IDS_BACK:"往後", IDS_FORWARD:"往前", IDS_FULLSCR:"全螢幕", IDS_FULLSCREXIT:"離開全螢幕", IDS_PDTITLE:"列印選項", IDS_PDPAGES:"頁面:", IDS_PDFROM:"從", IDS_PDTO:"到", IDS_PDSCALING:"縮放:", IDS_PDNOSCALE:"不縮放", IDS_PDAUTOR:"自動旋轉符合頁面大小", IDS_OK:"確定", IDS_CANCEL:"取消"}; LocaleArray["zh-CN"] = _local1; LocaleArray["zh-TW"] = _local2; } public function setLanguage(_arg1:String){ if (_arg1 == "auto"){ _arg1 = Capabilities.language; }; Strings = LocaleArray[_arg1]; if (Strings == null){ Strings = LocaleArray[DefLanguage]; }; } public function loadString(_arg1:String):String{ var _local2:String = Strings[_arg1]; if (_local2 == null){ _local2 = LocaleArray[DefLanguage][_arg1]; }; return (_local2); } } }//package
Section 63
//Page1 (Page1) package { import flash.display.*; import flash.text.*; public class Page1 extends MovieClip { public var CR:TextField; } }//package
Section 64
//Page10 (Page10) package { import flash.display.*; import flash.text.*; public class Page10 extends MovieClip { public var CR:TextField; } }//package
Section 65
//Page11 (Page11) package { import flash.display.*; import flash.text.*; public class Page11 extends MovieClip { public var CR:TextField; } }//package
Section 66
//Page12 (Page12) package { import flash.display.*; import flash.text.*; public class Page12 extends MovieClip { public var CR:TextField; } }//package
Section 67
//Page13 (Page13) package { import flash.display.*; import flash.text.*; public class Page13 extends MovieClip { public var CR:TextField; } }//package
Section 68
//Page14 (Page14) package { import flash.display.*; import flash.text.*; public class Page14 extends MovieClip { public var CR:TextField; } }//package
Section 69
//Page15 (Page15) package { import flash.display.*; import flash.text.*; public class Page15 extends MovieClip { public var CR:TextField; } }//package
Section 70
//Page16 (Page16) package { import flash.display.*; import flash.text.*; public class Page16 extends MovieClip { public var CR:TextField; } }//package
Section 71
//Page17 (Page17) package { import flash.display.*; import flash.text.*; public class Page17 extends MovieClip { public var CR:TextField; } }//package
Section 72
//Page18 (Page18) package { import flash.display.*; import flash.text.*; public class Page18 extends MovieClip { public var CR:TextField; } }//package
Section 73
//Page19 (Page19) package { import flash.display.*; import flash.text.*; public class Page19 extends MovieClip { public var CR:TextField; } }//package
Section 74
//Page2 (Page2) package { import flash.display.*; import flash.text.*; public class Page2 extends MovieClip { public var CR:TextField; } }//package
Section 75
//Page20 (Page20) package { import flash.display.*; import flash.text.*; public class Page20 extends MovieClip { public var CR:TextField; } }//package
Section 76
//Page21 (Page21) package { import flash.display.*; import flash.text.*; public class Page21 extends MovieClip { public var CR:TextField; } }//package
Section 77
//Page22 (Page22) package { import flash.display.*; import flash.text.*; public class Page22 extends MovieClip { public var CR:TextField; } }//package
Section 78
//Page23 (Page23) package { import flash.display.*; import flash.text.*; public class Page23 extends MovieClip { public var CR:TextField; } }//package
Section 79
//Page24 (Page24) package { import flash.display.*; import flash.text.*; public class Page24 extends MovieClip { public var CR:TextField; } }//package
Section 80
//Page25 (Page25) package { import flash.display.*; import flash.text.*; public class Page25 extends MovieClip { public var CR:TextField; } }//package
Section 81
//Page26 (Page26) package { import flash.display.*; import flash.text.*; public class Page26 extends MovieClip { public var CR:TextField; } }//package
Section 82
//Page27 (Page27) package { import flash.display.*; import flash.text.*; public class Page27 extends MovieClip { public var CR:TextField; } }//package
Section 83
//Page28 (Page28) package { import flash.display.*; import flash.text.*; public class Page28 extends MovieClip { public var CR:TextField; } }//package
Section 84
//Page29 (Page29) package { import flash.display.*; import flash.text.*; public class Page29 extends MovieClip { public var CR:TextField; } }//package
Section 85
//Page3 (Page3) package { import flash.display.*; import flash.text.*; public class Page3 extends MovieClip { public var CR:TextField; } }//package
Section 86
//Page30 (Page30) package { import flash.display.*; import flash.text.*; public class Page30 extends MovieClip { public var CR:TextField; } }//package
Section 87
//Page31 (Page31) package { import flash.display.*; import flash.text.*; public class Page31 extends MovieClip { public var CR:TextField; } }//package
Section 88
//Page32 (Page32) package { import flash.display.*; import flash.text.*; public class Page32 extends MovieClip { public var CR:TextField; } }//package
Section 89
//Page33 (Page33) package { import flash.display.*; import flash.text.*; public class Page33 extends MovieClip { public var CR:TextField; } }//package
Section 90
//Page34 (Page34) package { import flash.display.*; import flash.text.*; public class Page34 extends MovieClip { public var CR:TextField; } }//package
Section 91
//Page35 (Page35) package { import flash.display.*; import flash.text.*; public class Page35 extends MovieClip { public var CR:TextField; } }//package
Section 92
//Page36 (Page36) package { import flash.display.*; import flash.text.*; public class Page36 extends MovieClip { public var CR:TextField; } }//package
Section 93
//Page37 (Page37) package { import flash.display.*; import flash.text.*; public class Page37 extends MovieClip { public var CR:TextField; } }//package
Section 94
//Page38 (Page38) package { import flash.display.*; import flash.text.*; public class Page38 extends MovieClip { public var CR:TextField; } }//package
Section 95
//Page39 (Page39) package { import flash.display.*; import flash.text.*; public class Page39 extends MovieClip { public var CR:TextField; } }//package
Section 96
//Page4 (Page4) package { import flash.display.*; import flash.text.*; public class Page4 extends MovieClip { public var CR:TextField; } }//package
Section 97
//Page40 (Page40) package { import flash.display.*; import flash.text.*; public class Page40 extends MovieClip { public var CR:TextField; } }//package
Section 98
//Page41 (Page41) package { import flash.display.*; import flash.text.*; public class Page41 extends MovieClip { public var CR:TextField; } }//package
Section 99
//Page42 (Page42) package { import flash.display.*; import flash.text.*; public class Page42 extends MovieClip { public var CR:TextField; } }//package
Section 100
//Page43 (Page43) package { import flash.display.*; import flash.text.*; public class Page43 extends MovieClip { public var CR:TextField; } }//package
Section 101
//Page44 (Page44) package { import flash.display.*; import flash.text.*; public class Page44 extends MovieClip { public var CR:TextField; } }//package
Section 102
//Page45 (Page45) package { import flash.display.*; import flash.text.*; public class Page45 extends MovieClip { public var CR:TextField; } }//package
Section 103
//Page46 (Page46) package { import flash.display.*; import flash.text.*; public class Page46 extends MovieClip { public var CR:TextField; } }//package
Section 104
//Page47 (Page47) package { import flash.display.*; import flash.text.*; public class Page47 extends MovieClip { public var CR:TextField; } }//package
Section 105
//Page48 (Page48) package { import flash.display.*; import flash.text.*; public class Page48 extends MovieClip { public var CR:TextField; } }//package
Section 106
//Page49 (Page49) package { import flash.display.*; import flash.text.*; public class Page49 extends MovieClip { public var CR:TextField; } }//package
Section 107
//Page5 (Page5) package { import flash.display.*; import flash.text.*; public class Page5 extends MovieClip { public var CR:TextField; } }//package
Section 108
//Page50 (Page50) package { import flash.display.*; import flash.text.*; public class Page50 extends MovieClip { public var CR:TextField; } }//package
Section 109
//Page51 (Page51) package { import flash.display.*; import flash.text.*; public class Page51 extends MovieClip { public var CR:TextField; } }//package
Section 110
//Page52 (Page52) package { import flash.display.*; import flash.text.*; public class Page52 extends MovieClip { public var CR:TextField; } }//package
Section 111
//Page53 (Page53) package { import flash.display.*; import flash.text.*; public class Page53 extends MovieClip { public var CR:TextField; } }//package
Section 112
//Page54 (Page54) package { import flash.display.*; import flash.text.*; public class Page54 extends MovieClip { public var CR:TextField; } }//package
Section 113
//Page55 (Page55) package { import flash.display.*; import flash.text.*; public class Page55 extends MovieClip { public var CR:TextField; } }//package
Section 114
//Page56 (Page56) package { import flash.display.*; import flash.text.*; public class Page56 extends MovieClip { public var CR:TextField; } }//package
Section 115
//Page6 (Page6) package { import flash.display.*; import flash.text.*; public class Page6 extends MovieClip { public var CR:TextField; } }//package
Section 116
//Page7 (Page7) package { import flash.display.*; import flash.text.*; public class Page7 extends MovieClip { public var CR:TextField; } }//package
Section 117
//Page8 (Page8) package { import flash.display.*; import flash.text.*; public class Page8 extends MovieClip { public var CR:TextField; } }//package
Section 118
//Page9 (Page9) package { import flash.display.*; import flash.text.*; public class Page9 extends MovieClip { public var CR:TextField; } }//package
Section 119
//PrintRangeWnd (PrintRangeWnd) package { import fl.controls.*; import flash.display.*; import flash.events.*; import fl.managers.*; import flash.text.*; import flash.ui.*; import flash.accessibility.*; public class PrintRangeWnd extends MovieClip { public var cancelBtn; private var active:Boolean; public var scalingtxt:TextField; public var fromtxt:TextField; public var pagesFrom; public var totxt:TextField; public var pagestxt:TextField; public var closeBtn:SimpleButton; private var fm:FocusManager; private var tabArray:Array; public var optNoScale; public var title:TextField; public var locale:P2FLocale; public var optFit:RadioButton; public var pagesTo:TextField; public var OKBtn:Button; public var printScaleMode:String; public function PrintRangeWnd(){ pagesFrom.restrict = (pagesTo.restrict = "0-9"); tabArray = new Array(pagesFrom, pagesTo, optNoScale, optFit, OKBtn, cancelBtn); addEventListener(FocusEvent.KEY_FOCUS_CHANGE, OnFocusChange, false, 0, true); addEventListener(KeyboardEvent.KEY_DOWN, OnKeyDown, false, 0, true); closeBtn.addEventListener(MouseEvent.CLICK, onCloseBtnClick, false, 0, true); cancelBtn.addEventListener(MouseEvent.CLICK, onCloseBtnClick, false, 0, true); OKBtn.addEventListener(MouseEvent.CLICK, onOKBtnClick, false, 0, true); __setTab_title_PrintRangeWnd_Layer1_0(); __setTab_pagesFrom_PrintRangeWnd_Layer1_0(); __setTab_pagesTo_PrintRangeWnd_Layer1_0(); __setTab_OKBtn_PrintRangeWnd_Layer1_0(); __setTab_cancelBtn_PrintRangeWnd_Layer1_0(); __setAcc_pagesFrom_PrintRangeWnd_Layer1_0(); __setAcc_pagesTo_PrintRangeWnd_Layer1_0(); __setAcc_OKBtn_PrintRangeWnd_Layer1_0(); __setAcc_cancelBtn_PrintRangeWnd_Layer1_0(); __setProp_OKBtn_PrintRangeWnd_Layer1_0(); __setProp_cancelBtn_PrintRangeWnd_Layer1_0(); __setProp_optNoScale_PrintRangeWnd_Layer1_0(); __setProp_optFit_PrintRangeWnd_Layer1_0(); } private function onCloseBtnClick(_arg1:MouseEvent){ close(); } function __setProp_cancelBtn_PrintRangeWnd_Layer1_0(){ try { cancelBtn["componentInspectorSetting"] = true; } catch(e:Error) { }; cancelBtn.emphasized = false; cancelBtn.enabled = true; cancelBtn.label = ""; cancelBtn.labelPlacement = "right"; cancelBtn.selected = false; cancelBtn.toggle = false; cancelBtn.visible = true; try { cancelBtn["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setTab_pagesFrom_PrintRangeWnd_Layer1_0(){ pagesFrom.tabIndex = 0; } function __setProp_optNoScale_PrintRangeWnd_Layer1_0(){ try { optNoScale["componentInspectorSetting"] = true; } catch(e:Error) { }; optNoScale.enabled = true; optNoScale.groupName = "Scaling"; optNoScale.label = ""; optNoScale.labelPlacement = "right"; optNoScale.selected = false; optNoScale.value = ""; optNoScale.visible = true; try { optNoScale["componentInspectorSetting"] = false; } catch(e:Error) { }; } function __setAcc_OKBtn_PrintRangeWnd_Layer1_0(){ OKBtn.accessibilityProperties = new AccessibilityProperties(); OKBtn.accessibilityProperties.name = "OK"; OKBtn.accessibilityProperties.forceSimple = true; } function __setTab_title_PrintRangeWnd_Layer1_0(){ title.tabIndex = 0; } function __setTab_pagesTo_PrintRangeWnd_Layer1_0(){ pagesTo.tabIndex = 0; } private function OnKeyDown(_arg1:KeyboardEvent):void{ if (_arg1.keyCode == Keyboard.ESCAPE){ onCloseBtnClick(null); }; } function __setTab_cancelBtn_PrintRangeWnd_Layer1_0(){ cancelBtn.tabIndex = 0; } function __setAcc_pagesFrom_PrintRangeWnd_Layer1_0(){ pagesFrom.accessibilityProperties = new AccessibilityProperties(); pagesFrom.accessibilityProperties.name = "Pages From"; } private function onOKBtnClick(_arg1:MouseEvent){ close(); dispatchEvent(new Event("OKResult")); } private function OnFocusChange(_arg1:FocusEvent):void{ var _local2:int; if (active){ _arg1.preventDefault(); _local2 = tabArray.indexOf(_arg1.target); if (_local2 != -1){ if (_arg1.shiftKey){ _local2--; } else { _local2++; }; if (_local2 < 0){ _local2 = (tabArray.length - 1); } else { if (_local2 >= tabArray.length){ _local2 = 0; }; }; fm.setFocus(tabArray[_local2]); }; }; } function __setAcc_cancelBtn_PrintRangeWnd_Layer1_0(){ cancelBtn.accessibilityProperties = new AccessibilityProperties(); cancelBtn.accessibilityProperties.name = "Cancel"; cancelBtn.accessibilityProperties.forceSimple = true; } function __setAcc_pagesTo_PrintRangeWnd_Layer1_0(){ pagesTo.accessibilityProperties = new AccessibilityProperties(); pagesTo.accessibilityProperties.name = "Pages To"; } function __setProp_OKBtn_PrintRangeWnd_Layer1_0(){ try { OKBtn["componentInspectorSetting"] = true; } catch(e:Error) { }; OKBtn.emphasized = false; OKBtn.enabled = true; OKBtn.label = ""; OKBtn.labelPlacement = "right"; OKBtn.selected = false; OKBtn.toggle = false; OKBtn.visible = true; try { OKBtn["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function close(){ printScaleMode = (optNoScale.selected) ? "noscale" : "fit"; fm.deactivate(); ModalScreen.close(); active = false; } function __setProp_optFit_PrintRangeWnd_Layer1_0(){ try { optFit["componentInspectorSetting"] = true; } catch(e:Error) { }; optFit.enabled = true; optFit.groupName = "Scaling"; optFit.label = ""; optFit.labelPlacement = "right"; optFit.selected = false; optFit.value = ""; optFit.visible = true; try { optFit["componentInspectorSetting"] = false; } catch(e:Error) { }; } public function show(_arg1:DisplayObjectContainer, _arg2:uint, _arg3:uint, _arg4:uint, _arg5:uint, _arg6:String){ title.text = locale.loadString("IDS_PDTITLE"); pagestxt.text = locale.loadString("IDS_PDPAGES"); fromtxt.text = locale.loadString("IDS_PDFROM"); totxt.text = locale.loadString("IDS_PDTO"); scalingtxt.text = locale.loadString("IDS_PDSCALING"); optNoScale.label = locale.loadString("IDS_PDNOSCALE"); optFit.label = locale.loadString("IDS_PDAUTOR"); OKBtn.label = locale.loadString("IDS_OK"); cancelBtn.label = locale.loadString("IDS_CANCEL"); pagesFrom.text = _arg4.toString(); pagesTo.text = _arg5.toString(); optNoScale.selected = (optFit.selected = false); if (_arg6 == "noscale"){ optNoScale.selected = true; } else { optFit.selected = true; }; ModalScreen.show(_arg1, this, _arg2, _arg3); if (!fm){ fm = new FocusManager(this); fm.defaultButton = OKBtn; }; fm.activate(); fm.setFocus(pagesFrom); active = true; } function __setTab_OKBtn_PrintRangeWnd_Layer1_0(){ OKBtn.tabIndex = 0; } } }//package
Section 120
//RadioButton_disabledIcon (RadioButton_disabledIcon) package { import flash.display.*; public dynamic class RadioButton_disabledIcon extends MovieClip { } }//package
Section 121
//RadioButton_downIcon (RadioButton_downIcon) package { import flash.display.*; public dynamic class RadioButton_downIcon extends MovieClip { } }//package
Section 122
//RadioButton_overIcon (RadioButton_overIcon) package { import flash.display.*; public dynamic class RadioButton_overIcon extends MovieClip { } }//package
Section 123
//RadioButton_selectedDisabledIcon (RadioButton_selectedDisabledIcon) package { import flash.display.*; public dynamic class RadioButton_selectedDisabledIcon extends MovieClip { } }//package
Section 124
//RadioButton_selectedDownIcon (RadioButton_selectedDownIcon) package { import flash.display.*; public dynamic class RadioButton_selectedDownIcon extends MovieClip { } }//package
Section 125
//RadioButton_selectedOverIcon (RadioButton_selectedOverIcon) package { import flash.display.*; public dynamic class RadioButton_selectedOverIcon extends MovieClip { } }//package
Section 126
//RadioButton_selectedUpIcon (RadioButton_selectedUpIcon) package { import flash.display.*; public dynamic class RadioButton_selectedUpIcon extends MovieClip { } }//package
Section 127
//RadioButton_upIcon (RadioButton_upIcon) package { import flash.display.*; public dynamic class RadioButton_upIcon extends MovieClip { } }//package
Section 128
//ScrollArea (ScrollArea) package { import flash.display.*; public dynamic class ScrollArea extends MovieClip { public var BottomArea:MovieClip; } }//package
Section 129
//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_disabledSkin extends MovieClip { } }//package
Section 130
//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_downSkin extends MovieClip { } }//package
Section 131
//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_overSkin extends MovieClip { } }//package
Section 132
//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_upSkin extends MovieClip { } }//package
Section 133
//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_disabledSkin extends MovieClip { } }//package
Section 134
//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_downSkin extends MovieClip { } }//package
Section 135
//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_overSkin extends MovieClip { } }//package
Section 136
//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_upSkin extends MovieClip { } }//package
Section 137
//ScrollBar_thumbIcon (ScrollBar_thumbIcon) package { import flash.display.*; public dynamic class ScrollBar_thumbIcon extends MovieClip { } }//package
Section 138
//ScrollPain (ScrollPain) package { import flash.events.*; import fl.containers.*; public class ScrollPain extends ScrollPane { override protected function endDrag(_arg1:MouseEvent):void{ if (stage){ stage.removeEventListener(MouseEvent.MOUSE_MOVE, doDrag); }; } } }//package
Section 139
//ScrollPane_disabledSkin (ScrollPane_disabledSkin) package { import flash.display.*; public dynamic class ScrollPane_disabledSkin extends MovieClip { } }//package
Section 140
//ScrollPane_upSkin (ScrollPane_upSkin) package { import flash.display.*; public dynamic class ScrollPane_upSkin extends MovieClip { } }//package
Section 141
//ScrollThumb_downSkin (ScrollThumb_downSkin) package { import flash.display.*; public dynamic class ScrollThumb_downSkin extends MovieClip { } }//package
Section 142
//ScrollThumb_overSkin (ScrollThumb_overSkin) package { import flash.display.*; public dynamic class ScrollThumb_overSkin extends MovieClip { } }//package
Section 143
//ScrollThumb_upSkin (ScrollThumb_upSkin) package { import flash.display.*; public dynamic class ScrollThumb_upSkin extends MovieClip { } }//package
Section 144
//ScrollTrack_skin (ScrollTrack_skin) package { import flash.display.*; public dynamic class ScrollTrack_skin extends MovieClip { } }//package
Section 145
//Settings (Settings) package { import flash.utils.*; public class Settings extends ByteArray { } }//package
Section 146
//Settings2_ (Settings2_) package { import flash.utils.*; public class Settings2_ extends ByteArray { } }//package
Section 147
//Slider (Slider) package { import flash.display.*; import flash.events.*; import flash.utils.*; import flash.geom.*; import flash.accessibility.*; public dynamic class Slider extends MovieClip { private var Max; public var SliderHandle:MovieClip; private var oldValue:int; public var SliderHandleBtn:ImgButton; private var Width; private var DragUpdateInt; private var Min; private var HandleOffset; public function Slider(){ SliderHandleBtn = SliderHandle.SliderHandleBtn; SliderHandleBtn.tabEnabled = false; addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown, false, 0, true); SliderHandleBtn.addEventListener(MouseEvent.MOUSE_DOWN, onHandlePress, false, 0, true); __setAcc_SliderHandle_(); __setTab_SliderHandle_(); } public function SetValue(_arg1:int):void{ if (_arg1 > Max){ _arg1 = Max; } else { if (_arg1 < Min){ _arg1 = Min; }; }; SliderHandle.x = (((_arg1 - Min) / (Max - Min)) * Width); } function __setAcc_SliderHandle_(){ SliderHandle.accessibilityProperties = new AccessibilityProperties(); SliderHandle.accessibilityProperties.silent = true; } public function onMouseDown(_arg1:MouseEvent):void{ var _local2:int; if (_arg1.target == this){ _local2 = Math.round((Min + (((_arg1.localX - (SliderHandleBtn.width / 2)) / Width) * (Max - Min)))); if (_local2 != GetValue()){ SetValue(_local2); dispatchEvent(new Event("change")); }; }; } public function SetRange(_arg1:int, _arg2:int):void{ this.Min = _arg1; this.Max = _arg2; } function onHandlePress(_arg1:MouseEvent):void{ oldValue = GetValue(); SliderHandle.startDrag(false, new Rectangle(0, HandleOffset, Width, HandleOffset)); DragUpdateInt = setInterval(DragUpdate, 100); stage.addEventListener(MouseEvent.MOUSE_UP, onHandleRelease, false, 0, true); } function onHandleRelease(_arg1:MouseEvent):void{ stage.removeEventListener(MouseEvent.MOUSE_UP, onHandleRelease); clearInterval(DragUpdateInt); SliderHandle.stopDrag(); if (oldValue != GetValue()){ dispatchEvent(new Event("change")); }; } public function GetValue():int{ return (Math.round((Min + ((SliderHandle.x / Width) * (Max - Min))))); } function __setTab_SliderHandle_(){ SliderHandle.tabIndex = 0; } public function Init():void{ SliderHandleBtn.SetImages("TBImage6", "TBImage5"); Width = Math.floor((width - SliderHandleBtn.width)); HandleOffset = SliderHandleBtn.y; } function DragUpdate():void{ if (oldValue != GetValue()){ oldValue = GetValue(); dispatchEvent(new Event("change")); }; } } }//package
Section 148
//TBImage1 (TBImage1) package { import flash.display.*; public class TBImage1 extends MovieClip { } }//package import flash.display.*; class TBImage2 extends MovieClip { public function TBImage2(){ } } class TBImage3 extends MovieClip { public function TBImage3(){ } } class TBImage4 extends MovieClip { public function TBImage4(){ } } class TBImage5 extends MovieClip { public function TBImage5(){ } } class TBImage6 extends MovieClip { public function TBImage6(){ } } class TBImage7 extends MovieClip { public function TBImage7(){ } } class TBImage8 extends MovieClip { public function TBImage8(){ } } class TBImage9 extends MovieClip { public function TBImage9(){ } } class TBImage10 extends MovieClip { public function TBImage10(){ } } class TBImage11 extends MovieClip { public function TBImage11(){ } } class TBImage12 extends MovieClip { public function TBImage12(){ } } class TBImage13 extends MovieClip { public function TBImage13(){ } } class TBImage14 extends MovieClip { public function TBImage14(){ } } class TBImage15 extends MovieClip { public function TBImage15(){ } } class TBImage16 extends MovieClip { public function TBImage16(){ } } class TBImage18 extends MovieClip { public function TBImage18(){ } } class TBImage19 extends MovieClip { public function TBImage19(){ } } class TBImage20 extends MovieClip { public function TBImage20(){ } } class TBImage21 extends MovieClip { public function TBImage21(){ } } class TBImage22 extends MovieClip { public function TBImage22(){ } }
Section 149
//textmsg (textmsg) package { import flash.display.*; import flash.text.*; public dynamic class textmsg extends MovieClip { public var text:TextField; } }//package
Section 150
//waitmsg (waitmsg) package { import flash.display.*; import flash.text.*; public dynamic class waitmsg extends MovieClip { public var msg:TextField; } }//package

Library Items

Symbol 156 BitmapUsed by:157
Symbol 157 GraphicUses:156Used by:158
Symbol 158 MovieClip {TBImage1}Uses:157
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:161
Symbol 161 MovieClip {TBImage2}Uses:160
Symbol 162 BitmapUsed by:163
Symbol 163 GraphicUses:162Used by:164
Symbol 164 MovieClip {TBImage3}Uses:163
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:165Used by:167
Symbol 167 MovieClip {TBImage4}Uses:166
Symbol 168 BitmapUsed by:169
Symbol 169 GraphicUses:168Used by:170
Symbol 170 MovieClip {TBImage5}Uses:169
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:171Used by:173
Symbol 173 MovieClip {TBImage6}Uses:172
Symbol 174 BitmapUsed by:175
Symbol 175 GraphicUses:174Used by:176
Symbol 176 MovieClip {TBImage7}Uses:175
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:177Used by:179
Symbol 179 MovieClip {TBImage8}Uses:178
Symbol 180 BitmapUsed by:181
Symbol 181 GraphicUses:180Used by:182
Symbol 182 MovieClip {TBImage9}Uses:181
Symbol 183 BitmapUsed by:184
Symbol 184 GraphicUses:183Used by:185
Symbol 185 MovieClip {TBImage10}Uses:184
Symbol 186 BitmapUsed by:187
Symbol 187 GraphicUses:186Used by:188
Symbol 188 MovieClip {TBImage11}Uses:187
Symbol 189 BitmapUsed by:190
Symbol 190 GraphicUses:189Used by:191
Symbol 191 MovieClip {TBImage12}Uses:190
Symbol 192 BitmapUsed by:193
Symbol 193 GraphicUses:192Used by:194
Symbol 194 MovieClip {TBImage13}Uses:193
Symbol 195 BitmapUsed by:196
Symbol 196 GraphicUses:195Used by:197
Symbol 197 MovieClip {TBImage14}Uses:196
Symbol 198 BitmapUsed by:199
Symbol 199 GraphicUses:198Used by:200
Symbol 200 MovieClip {TBImage15}Uses:199
Symbol 201 BitmapUsed by:202
Symbol 202 GraphicUses:201Used by:203
Symbol 203 MovieClip {TBImage16}Uses:202
Symbol 204 BitmapUsed by:205
Symbol 205 GraphicUses:204Used by:206
Symbol 206 MovieClip {TBImage18}Uses:205
Symbol 207 BitmapUsed by:208
Symbol 208 GraphicUses:207Used by:209
Symbol 209 MovieClip {TBImage19}Uses:208
Symbol 210 BitmapUsed by:211
Symbol 211 GraphicUses:210Used by:212
Symbol 212 MovieClip {TBImage20}Uses:211
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:213Used by:215
Symbol 215 MovieClip {TBImage21}Uses:214
Symbol 216 BitmapUsed by:217
Symbol 217 GraphicUses:216Used by:218
Symbol 218 MovieClip {TBImage22}Uses:217
Symbol 219 BinaryData {Settings}
Symbol 220 BinaryData {Settings2_}
Symbol 1 FontUsed by:2
Symbol 2 EditableTextUses:1Used by:6
Symbol 3 GraphicUsed by:4
Symbol 4 MovieClipUses:3Used by:5
Symbol 5 MovieClipUses:4Used by:6
Symbol 6 MovieClip {waitmsg}Uses:2 5
Symbol 7 FontUsed by:8 50 51 52 53 54 74 75 143 146 148 152
Symbol 8 EditableTextUses:7Used by:9
Symbol 9 MovieClip {textmsg}Uses:8
Symbol 10 GraphicUsed by:11
Symbol 11 MovieClipUses:10Used by:12
Symbol 12 MovieClip {ScrollArea}Uses:11
Symbol 13 GraphicUsed by:14
Symbol 14 MovieClipUses:13Used by:33 73 77 134
Symbol 15 MovieClip {fl.core.ComponentShim}Used by:33 73 77 133 134
Symbol 16 GraphicUsed by:17
Symbol 17 MovieClip {RadioButton_upIcon}Uses:16Used by:33
Symbol 18 GraphicUsed by:19 28
Symbol 19 MovieClip {RadioButton_overIcon}Uses:18Used by:33
Symbol 20 GraphicUsed by:21 29
Symbol 21 MovieClip {RadioButton_downIcon}Uses:20Used by:33
Symbol 22 GraphicUsed by:23 30
Symbol 23 MovieClip {RadioButton_disabledIcon}Uses:22Used by:33
Symbol 24 GraphicUsed by:27
Symbol 25 GraphicUsed by:26
Symbol 26 MovieClipUses:25Used by:27 28 29 30
Symbol 27 MovieClip {RadioButton_selectedUpIcon}Uses:24 26Used by:33
Symbol 28 MovieClip {RadioButton_selectedOverIcon}Uses:18 26Used by:33
Symbol 29 MovieClip {RadioButton_selectedDownIcon}Uses:20 26Used by:33
Symbol 30 MovieClip {RadioButton_selectedDisabledIcon}Uses:22 26Used by:33
Symbol 31 GraphicUsed by:32
Symbol 32 MovieClip {focusRectSkin}Uses:31Used by:33 73 133
Symbol 33 MovieClip {fl.controls.RadioButton}Uses:14 15 17 19 21 23 27 28 29 30 32Used by:76
Symbol 34 GraphicUsed by:35
Symbol 35 MovieClipUses:34Used by:76
Symbol 36 GraphicUsed by:37
Symbol 37 MovieClipUses:36Used by:42
Symbol 38 GraphicUsed by:39
Symbol 39 MovieClipUses:38Used by:42
Symbol 40 GraphicUsed by:41
Symbol 41 MovieClipUses:40Used by:42
Symbol 42 MovieClipUses:37 39 41Used by:76
Symbol 43 GraphicUsed by:44
Symbol 44 MovieClipUses:43Used by:49
Symbol 45 GraphicUsed by:46
Symbol 46 MovieClipUses:45Used by:49
Symbol 47 GraphicUsed by:48 49
Symbol 48 MovieClipUses:47Used by:49
Symbol 49 ButtonUses:44 46 48 47Used by:76
Symbol 50 EditableTextUses:7Used by:76
Symbol 51 EditableTextUses:7Used by:76
Symbol 52 EditableTextUses:7Used by:76
Symbol 53 EditableTextUses:7Used by:76
Symbol 54 EditableTextUses:7Used by:76
Symbol 55 GraphicUsed by:56
Symbol 56 MovieClip {Button_disabledSkin}Uses:55Used by:73
Symbol 57 GraphicUsed by:58
Symbol 58 MovieClip {Button_downSkin}Uses:57Used by:73
Symbol 59 GraphicUsed by:60
Symbol 60 MovieClip {Button_emphasizedSkin}Uses:59Used by:73
Symbol 61 GraphicUsed by:62
Symbol 62 MovieClip {Button_overSkin}Uses:61Used by:73
Symbol 63 GraphicUsed by:64
Symbol 64 MovieClip {Button_selectedDisabledSkin}Uses:63Used by:73
Symbol 65 GraphicUsed by:66
Symbol 66 MovieClip {Button_selectedDownSkin}Uses:65Used by:73
Symbol 67 GraphicUsed by:68
Symbol 68 MovieClip {Button_selectedOverSkin}Uses:67Used by:73
Symbol 69 GraphicUsed by:70
Symbol 70 MovieClip {Button_selectedUpSkin}Uses:69Used by:73
Symbol 71 GraphicUsed by:72
Symbol 72 MovieClip {Button_upSkin}Uses:71Used by:73
Symbol 73 MovieClip {fl.controls.Button}Uses:14 15 56 58 60 62 64 66 68 70 72 32Used by:76
Symbol 74 EditableTextUses:7Used by:76
Symbol 75 EditableTextUses:7Used by:76
Symbol 76 MovieClip {PrintRangeWnd}Uses:35 42 49 50 51 52 53 54 73 33 74 75
Symbol 77 MovieClip {fl.controls.Label}Uses:14 15
Symbol 78 GraphicUsed by:79
Symbol 79 MovieClip {def_bgr}Uses:78
Symbol 80 GraphicUsed by:81
Symbol 81 Button {button}Uses:80
Symbol 82 GraphicUsed by:83
Symbol 83 MovieClip {manualbutton}Uses:82Used by:84 88 89 90 91 92 93 94 95 96 97 98 99 100 141
Symbol 84 MovieClip {def_fullscreen}Uses:83Used by:155
Symbol 85 Button {ImgButton}Used by:86
Symbol 86 MovieClip {print2flash_fla.MCSlider_47}Uses:85Used by:87
Symbol 87 MovieClip {Slider}Uses:86Used by:155
Symbol 88 MovieClip {def_forward}Uses:83Used by:155
Symbol 89 MovieClip {def_back}Uses:83Used by:155
Symbol 90 MovieClip {def_nextpage}Uses:83Used by:155
Symbol 91 MovieClip {def_more}Uses:83Used by:155
Symbol 92 MovieClip {def_selMode}Uses:83Used by:155
Symbol 93 MovieClip {def_newwindow}Uses:83Used by:155
Symbol 94 MovieClip {def_help}Uses:83Used by:155
Symbol 95 MovieClip {def_rotate}Uses:83Used by:155
Symbol 96 MovieClip {def_prevpage}Uses:83Used by:155
Symbol 97 MovieClip {def_scalePage}Uses:83Used by:155
Symbol 98 MovieClip {def_scaleWidth}Uses:83Used by:155
Symbol 99 MovieClip {def_moveMode}Uses:83Used by:155
Symbol 100 MovieClip {def_print}Uses:83Used by:155
Symbol 101 GraphicUsed by:102
Symbol 102 MovieClipUses:101Used by:105 106
Symbol 103 GraphicUsed by:104
Symbol 104 MovieClipUses:103Used by:105 106
Symbol 105 MovieClip {ScrollPane_disabledSkin}Uses:102 104Used by:134
Symbol 106 MovieClip {ScrollPane_upSkin}Uses:102 104Used by:134
Symbol 107 GraphicUsed by:108
Symbol 108 MovieClip {ScrollTrack_skin}Uses:107Used by:133
Symbol 109 GraphicUsed by:112
Symbol 110 GraphicUsed by:111 114 118 127
Symbol 111 MovieClipUses:110Used by:112 122 124
Symbol 112 MovieClip {ScrollArrowUp_downSkin}Uses:109 111Used by:133
Symbol 113 GraphicUsed by:114
Symbol 114 MovieClip {ScrollArrowDown_downSkin}Uses:113 110Used by:133
Symbol 115 GraphicUsed by:116
Symbol 116 MovieClip {ScrollThumb_downSkin}Uses:115Used by:133
Symbol 117 GraphicUsed by:118
Symbol 118 MovieClip {ScrollArrowDown_overSkin}Uses:117 110Used by:133
Symbol 119 GraphicUsed by:120
Symbol 120 MovieClip {ScrollThumb_overSkin}Uses:119Used by:133
Symbol 121 GraphicUsed by:122
Symbol 122 MovieClip {ScrollArrowUp_overSkin}Uses:121 111Used by:133
Symbol 123 GraphicUsed by:124 127
Symbol 124 MovieClip {ScrollArrowUp_upSkin}Uses:123 111Used by:133
Symbol 125 GraphicUsed by:126
Symbol 126 MovieClip {ScrollThumb_upSkin}Uses:125Used by:133
Symbol 127 MovieClip {ScrollArrowDown_upSkin}Uses:123 110Used by:133
Symbol 128 GraphicUsed by:129 130
Symbol 129 MovieClip {ScrollArrowDown_disabledSkin}Uses:128Used by:133
Symbol 130 MovieClip {ScrollArrowUp_disabledSkin}Uses:128Used by:133
Symbol 131 GraphicUsed by:132
Symbol 132 MovieClip {ScrollBar_thumbIcon}Uses:131Used by:133
Symbol 133 MovieClip {fl.controls.ScrollBar}Uses:108 15 32 112 114 116 118 120 122 124 126 127 129 130 132Used by:134
Symbol 134 MovieClip {ScrollPain}Uses:14 15 105 106 133Used by:Timeline
Symbol 135 MovieClip {fl.containers.ScrollPane}
Symbol 136 GraphicUsed by:137
Symbol 137 MovieClipUses:136Used by:Timeline
Symbol 138 GraphicUsed by:139
Symbol 139 MovieClipUses:138Used by:Timeline
Symbol 140 MovieClipUsed by:155
Symbol 141 MovieClip {print2flash_fla.def_searchbut_27}Uses:83Used by:155
Symbol 142 GraphicUsed by:144
Symbol 143 EditableTextUses:7Used by:144
Symbol 144 MovieClip {print2flash_fla.Timeline_30}Uses:142 143Used by:155
Symbol 145 GraphicUsed by:150
Symbol 146 EditableTextUses:7Used by:147
Symbol 147 MovieClip {print2flash_fla.Timeline_32}Uses:146Used by:150
Symbol 148 EditableTextUses:7Used by:149
Symbol 149 MovieClip {print2flash_fla.Timeline_33}Uses:148Used by:150
Symbol 150 MovieClip {print2flash_fla.Timeline_31}Uses:145 147 149Used by:155
Symbol 151 GraphicUsed by:153
Symbol 152 EditableTextUses:7Used by:153
Symbol 153 MovieClip {print2flash_fla.Timeline_50}Uses:151 152Used by:155
Symbol 154 MovieClipUsed by:155
Symbol 155 MovieClip {print2flash_fla._toolbar_25}Uses:140 141 100 144 150 99 98 97 96 95 94 93 92 91 90 89 88 87 84 153 154Used by:Timeline
Symbol 221 GraphicUsed by:227 237 245 255 265 274 282 291 300 308 316 325 334 343 352 360 369 377 385 393 402 411 420 429 438 446 454 463 472 481 489 498 506 514 523 532 541 549 558 566 575 583 592 600 609 617 626 635 644 653 662 671 680 689 697 707
Symbol 222 FontUsed by:224
Symbol 223 GraphicUsed by:227
Symbol 224 EditableTextUses:222Used by:227
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:227
Symbol 227 MovieClip {Page1}Uses:221 223 224 226
Symbol 228 FontUsed by:230
Symbol 229 GraphicUsed by:237
Symbol 230 EditableTextUses:228Used by:237
Symbol 231 FontUsed by:235 236 244 252 262 264 272 273 281 289 290 298 299 307 315 323 324 332 333 341 342 350 351 359 367 368 376 384 392 400 401 409 410 418 419 427 428 436 437 445 453 461 462 470 471 479 480 488 496 497 505 513 521 522 530 531 539 540 548 556 557 565 573 574 582 590 591 599 607 608 616 624 625 633 634 642 643 651 652 660 661 669 670 678 679 687 688 696 704
Symbol 232 FontUsed by:234
Symbol 233 GraphicUsed by:237
Symbol 234 EditableTextUses:232Used by:237
Symbol 235 TextUses:231Used by:237
Symbol 236 TextUses:231Used by:237
Symbol 237 MovieClip {Page2}Uses:221 229 230 233 234 235 236
Symbol 238 FontUsed by:240
Symbol 239 GraphicUsed by:245
Symbol 240 EditableTextUses:238Used by:245
Symbol 241 FontUsed by:243
Symbol 242 GraphicUsed by:245
Symbol 243 EditableTextUses:241Used by:245
Symbol 244 TextUses:231Used by:245
Symbol 245 MovieClip {Page3}Uses:221 239 240 242 243 244
Symbol 246 FontUsed by:248
Symbol 247 GraphicUsed by:255
Symbol 248 EditableTextUses:246Used by:255
Symbol 249 FontUsed by:251
Symbol 250 GraphicUsed by:255
Symbol 251 EditableTextUses:249Used by:255
Symbol 252 TextUses:231 253Used by:255
Symbol 253 FontUsed by:252 254 262 281 289 298 299 307 315 323 332 341 350 359 367 376 384 392 400 409 418 427 436 445 461 470 488 496 505 513 521 530 548 556 565 582 590 599 616 624 633 642 651 669 678
Symbol 254 TextUses:253Used by:255
Symbol 255 MovieClip {Page4}Uses:221 247 248 250 251 252 254
Symbol 256 FontUsed by:258
Symbol 257 GraphicUsed by:265
Symbol 258 EditableTextUses:256Used by:265
Symbol 259 FontUsed by:261
Symbol 260 GraphicUsed by:265
Symbol 261 EditableTextUses:259Used by:265
Symbol 262 TextUses:253 231 263Used by:265
Symbol 263 FontUsed by:262 273 281 445 530 616 642 669
Symbol 264 TextUses:231Used by:265
Symbol 265 MovieClip {Page5}Uses:221 257 258 260 261 262 264
Symbol 266 FontUsed by:268
Symbol 267 GraphicUsed by:274
Symbol 268 EditableTextUses:266Used by:274
Symbol 269 FontUsed by:271
Symbol 270 GraphicUsed by:274
Symbol 271 EditableTextUses:269Used by:274
Symbol 272 TextUses:231Used by:274
Symbol 273 TextUses:231 263Used by:274
Symbol 274 MovieClip {Page6}Uses:221 267 268 270 271 272 273
Symbol 275 FontUsed by:277
Symbol 276 GraphicUsed by:282
Symbol 277 EditableTextUses:275Used by:282
Symbol 278 FontUsed by:280
Symbol 279 GraphicUsed by:282
Symbol 280 EditableTextUses:278Used by:282
Symbol 281 TextUses:231 253 263Used by:282
Symbol 282 MovieClip {Page7}Uses:221 276 277 279 280 281
Symbol 283 FontUsed by:285
Symbol 284 GraphicUsed by:291
Symbol 285 EditableTextUses:283Used by:291
Symbol 286 FontUsed by:288
Symbol 287 GraphicUsed by:291
Symbol 288 EditableTextUses:286Used by:291
Symbol 289 TextUses:231 253Used by:291
Symbol 290 TextUses:231Used by:291
Symbol 291 MovieClip {Page8}Uses:221 284 285 287 288 289 290
Symbol 292 FontUsed by:294
Symbol 293 GraphicUsed by:300
Symbol 294 EditableTextUses:292Used by:300
Symbol 295 FontUsed by:297
Symbol 296 GraphicUsed by:300
Symbol 297 EditableTextUses:295Used by:300
Symbol 298 TextUses:231 253Used by:300
Symbol 299 TextUses:231 253Used by:300
Symbol 300 MovieClip {Page9}Uses:221 293 294 296 297 298 299
Symbol 301 FontUsed by:303
Symbol 302 GraphicUsed by:308
Symbol 303 EditableTextUses:301Used by:308
Symbol 304 FontUsed by:306
Symbol 305 GraphicUsed by:308
Symbol 306 EditableTextUses:304Used by:308
Symbol 307 TextUses:231 253Used by:308
Symbol 308 MovieClip {Page10}Uses:221 302 303 305 306 307
Symbol 309 FontUsed by:311
Symbol 310 GraphicUsed by:316
Symbol 311 EditableTextUses:309Used by:316
Symbol 312 FontUsed by:314
Symbol 313 GraphicUsed by:316
Symbol 314 EditableTextUses:312Used by:316
Symbol 315 TextUses:253 231Used by:316
Symbol 316 MovieClip {Page11}Uses:221 310 311 313 314 315
Symbol 317 FontUsed by:319
Symbol 318 GraphicUsed by:325
Symbol 319 EditableTextUses:317Used by:325
Symbol 320 FontUsed by:322
Symbol 321 GraphicUsed by:325
Symbol 322 EditableTextUses:320Used by:325
Symbol 323 TextUses:231 253Used by:325
Symbol 324 TextUses:231Used by:325
Symbol 325 MovieClip {Page12}Uses:221 318 319 321 322 323 324
Symbol 326 FontUsed by:328
Symbol 327 GraphicUsed by:334
Symbol 328 EditableTextUses:326Used by:334
Symbol 329 FontUsed by:331
Symbol 330 GraphicUsed by:334
Symbol 331 EditableTextUses:329Used by:334
Symbol 332 TextUses:231 253Used by:334
Symbol 333 TextUses:231Used by:334
Symbol 334 MovieClip {Page13}Uses:221 327 328 330 331 332 333
Symbol 335 FontUsed by:337
Symbol 336 GraphicUsed by:343
Symbol 337 EditableTextUses:335Used by:343
Symbol 338 FontUsed by:340
Symbol 339 GraphicUsed by:343
Symbol 340 EditableTextUses:338Used by:343
Symbol 341 TextUses:231 253Used by:343
Symbol 342 TextUses:231Used by:343
Symbol 343 MovieClip {Page14}Uses:221 336 337 339 340 341 342
Symbol 344 FontUsed by:346
Symbol 345 GraphicUsed by:352
Symbol 346 EditableTextUses:344Used by:352
Symbol 347 FontUsed by:349
Symbol 348 GraphicUsed by:352
Symbol 349 EditableTextUses:347Used by:352
Symbol 350 TextUses:231 253Used by:352
Symbol 351 TextUses:231Used by:352
Symbol 352 MovieClip {Page15}Uses:221 345 346 348 349 350 351
Symbol 353 FontUsed by:355
Symbol 354 GraphicUsed by:360
Symbol 355 EditableTextUses:353Used by:360
Symbol 356 FontUsed by:358
Symbol 357 GraphicUsed by:360
Symbol 358 EditableTextUses:356Used by:360
Symbol 359 TextUses:231 253Used by:360
Symbol 360 MovieClip {Page16}Uses:221 354 355 357 358 359
Symbol 361 FontUsed by:363
Symbol 362 GraphicUsed by:369
Symbol 363 EditableTextUses:361Used by:369
Symbol 364 FontUsed by:366
Symbol 365 GraphicUsed by:369
Symbol 366 EditableTextUses:364Used by:369
Symbol 367 TextUses:231 253Used by:369
Symbol 368 TextUses:231Used by:369
Symbol 369 MovieClip {Page17}Uses:221 362 363 365 366 367 368
Symbol 370 FontUsed by:372
Symbol 371 GraphicUsed by:377
Symbol 372 EditableTextUses:370Used by:377
Symbol 373 FontUsed by:375
Symbol 374 GraphicUsed by:377
Symbol 375 EditableTextUses:373Used by:377
Symbol 376 TextUses:231 253Used by:377
Symbol 377 MovieClip {Page18}Uses:221 371 372 374 375 376
Symbol 378 FontUsed by:380
Symbol 379 GraphicUsed by:385
Symbol 380 EditableTextUses:378Used by:385
Symbol 381 FontUsed by:383
Symbol 382 GraphicUsed by:385
Symbol 383 EditableTextUses:381Used by:385
Symbol 384 TextUses:231 253Used by:385
Symbol 385 MovieClip {Page19}Uses:221 379 380 382 383 384
Symbol 386 FontUsed by:388
Symbol 387 GraphicUsed by:393
Symbol 388 EditableTextUses:386Used by:393
Symbol 389 FontUsed by:391
Symbol 390 GraphicUsed by:393
Symbol 391 EditableTextUses:389Used by:393
Symbol 392 TextUses:231 253Used by:393
Symbol 393 MovieClip {Page20}Uses:221 387 388 390 391 392
Symbol 394 FontUsed by:396
Symbol 395 GraphicUsed by:402
Symbol 396 EditableTextUses:394Used by:402
Symbol 397 FontUsed by:399
Symbol 398 GraphicUsed by:402
Symbol 399 EditableTextUses:397Used by:402
Symbol 400 TextUses:231 253Used by:402
Symbol 401 TextUses:231Used by:402
Symbol 402 MovieClip {Page21}Uses:221 395 396 398 399 400 401
Symbol 403 FontUsed by:405
Symbol 404 GraphicUsed by:411
Symbol 405 EditableTextUses:403Used by:411
Symbol 406 FontUsed by:408
Symbol 407 GraphicUsed by:411
Symbol 408 EditableTextUses:406Used by:411
Symbol 409 TextUses:253 231Used by:411
Symbol 410 TextUses:231Used by:411
Symbol 411 MovieClip {Page22}Uses:221 404 405 407 408 409 410
Symbol 412 FontUsed by:414
Symbol 413 GraphicUsed by:420
Symbol 414 EditableTextUses:412Used by:420
Symbol 415 FontUsed by:417
Symbol 416 GraphicUsed by:420
Symbol 417 EditableTextUses:415Used by:420
Symbol 418 TextUses:231 253Used by:420
Symbol 419 TextUses:231Used by:420
Symbol 420 MovieClip {Page23}Uses:221 413 414 416 417 418 419
Symbol 421 FontUsed by:423
Symbol 422 GraphicUsed by:429
Symbol 423 EditableTextUses:421Used by:429
Symbol 424 FontUsed by:426
Symbol 425 GraphicUsed by:429
Symbol 426 EditableTextUses:424Used by:429
Symbol 427 TextUses:231 253Used by:429
Symbol 428 TextUses:231Used by:429
Symbol 429 MovieClip {Page24}Uses:221 422 423 425 426 427 428
Symbol 430 FontUsed by:432
Symbol 431 GraphicUsed by:438
Symbol 432 EditableTextUses:430Used by:438
Symbol 433 FontUsed by:435
Symbol 434 GraphicUsed by:438
Symbol 435 EditableTextUses:433Used by:438
Symbol 436 TextUses:231 253Used by:438
Symbol 437 TextUses:231Used by:438
Symbol 438 MovieClip {Page25}Uses:221 431 432 434 435 436 437
Symbol 439 FontUsed by:441
Symbol 440 GraphicUsed by:446
Symbol 441 EditableTextUses:439Used by:446
Symbol 442 FontUsed by:444
Symbol 443 GraphicUsed by:446
Symbol 444 EditableTextUses:442Used by:446
Symbol 445 TextUses:231 253 263Used by:446
Symbol 446 MovieClip {Page26}Uses:221 440 441 443 444 445
Symbol 447 FontUsed by:449
Symbol 448 GraphicUsed by:454
Symbol 449 EditableTextUses:447Used by:454
Symbol 450 FontUsed by:452
Symbol 451 GraphicUsed by:454
Symbol 452 EditableTextUses:450Used by:454
Symbol 453 TextUses:231Used by:454
Symbol 454 MovieClip {Page27}Uses:221 448 449 451 452 453
Symbol 455 FontUsed by:457
Symbol 456 GraphicUsed by:463
Symbol 457 EditableTextUses:455Used by:463
Symbol 458 FontUsed by:460
Symbol 459 GraphicUsed by:463
Symbol 460 EditableTextUses:458Used by:463
Symbol 461 TextUses:231 253Used by:463
Symbol 462 TextUses:231Used by:463
Symbol 463 MovieClip {Page28}Uses:221 456 457 459 460 461 462
Symbol 464 FontUsed by:466
Symbol 465 GraphicUsed by:472
Symbol 466 EditableTextUses:464Used by:472
Symbol 467 FontUsed by:469
Symbol 468 GraphicUsed by:472
Symbol 469 EditableTextUses:467Used by:472
Symbol 470 TextUses:231 253Used by:472
Symbol 471 TextUses:231Used by:472
Symbol 472 MovieClip {Page29}Uses:221 465 466 468 469 470 471
Symbol 473 FontUsed by:475
Symbol 474 GraphicUsed by:481
Symbol 475 EditableTextUses:473Used by:481
Symbol 476 FontUsed by:478
Symbol 477 GraphicUsed by:481
Symbol 478 EditableTextUses:476Used by:481
Symbol 479 TextUses:231Used by:481
Symbol 480 TextUses:231Used by:481
Symbol 481 MovieClip {Page30}Uses:221 474 475 477 478 479 480
Symbol 482 FontUsed by:484
Symbol 483 GraphicUsed by:489
Symbol 484 EditableTextUses:482Used by:489
Symbol 485 FontUsed by:487
Symbol 486 GraphicUsed by:489
Symbol 487 EditableTextUses:485Used by:489
Symbol 488 TextUses:231 253Used by:489
Symbol 489 MovieClip {Page31}Uses:221 483 484 486 487 488
Symbol 490 FontUsed by:492
Symbol 491 GraphicUsed by:498
Symbol 492 EditableTextUses:490Used by:498
Symbol 493 FontUsed by:495
Symbol 494 GraphicUsed by:498
Symbol 495 EditableTextUses:493Used by:498
Symbol 496 TextUses:231 253Used by:498
Symbol 497 TextUses:231Used by:498
Symbol 498 MovieClip {Page32}Uses:221 491 492 494 495 496 497
Symbol 499 FontUsed by:501
Symbol 500 GraphicUsed by:506
Symbol 501 EditableTextUses:499Used by:506
Symbol 502 FontUsed by:504
Symbol 503 GraphicUsed by:506
Symbol 504 EditableTextUses:502Used by:506
Symbol 505 TextUses:231 253Used by:506
Symbol 506 MovieClip {Page33}Uses:221 500 501 503 504 505
Symbol 507 FontUsed by:509
Symbol 508 GraphicUsed by:514
Symbol 509 EditableTextUses:507Used by:514
Symbol 510 FontUsed by:512
Symbol 511 GraphicUsed by:514
Symbol 512 EditableTextUses:510Used by:514
Symbol 513 TextUses:231 253Used by:514
Symbol 514 MovieClip {Page34}Uses:221 508 509 511 512 513
Symbol 515 FontUsed by:517
Symbol 516 GraphicUsed by:523
Symbol 517 EditableTextUses:515Used by:523
Symbol 518 FontUsed by:520
Symbol 519 GraphicUsed by:523
Symbol 520 EditableTextUses:518Used by:523
Symbol 521 TextUses:231 253Used by:523
Symbol 522 TextUses:231Used by:523
Symbol 523 MovieClip {Page35}Uses:221 516 517 519 520 521 522
Symbol 524 FontUsed by:526
Symbol 525 GraphicUsed by:532
Symbol 526 EditableTextUses:524Used by:532
Symbol 527 FontUsed by:529
Symbol 528 GraphicUsed by:532
Symbol 529 EditableTextUses:527Used by:532
Symbol 530 TextUses:231 253 263Used by:532
Symbol 531 TextUses:231Used by:532
Symbol 532 MovieClip {Page36}Uses:221 525 526 528 529 530 531
Symbol 533 FontUsed by:535
Symbol 534 GraphicUsed by:541
Symbol 535 EditableTextUses:533Used by:541
Symbol 536 FontUsed by:538
Symbol 537 GraphicUsed by:541
Symbol 538 EditableTextUses:536Used by:541
Symbol 539 TextUses:231Used by:541
Symbol 540 TextUses:231Used by:541
Symbol 541 MovieClip {Page37}Uses:221 534 535 537 538 539 540
Symbol 542 FontUsed by:544
Symbol 543 GraphicUsed by:549
Symbol 544 EditableTextUses:542Used by:549
Symbol 545 FontUsed by:547
Symbol 546 GraphicUsed by:549
Symbol 547 EditableTextUses:545Used by:549
Symbol 548 TextUses:231 253Used by:549
Symbol 549 MovieClip {Page38}Uses:221 543 544 546 547 548
Symbol 550 FontUsed by:552
Symbol 551 GraphicUsed by:558
Symbol 552 EditableTextUses:550Used by:558
Symbol 553 FontUsed by:555
Symbol 554 GraphicUsed by:558
Symbol 555 EditableTextUses:553Used by:558
Symbol 556 TextUses:231 253Used by:558
Symbol 557 TextUses:231Used by:558
Symbol 558 MovieClip {Page39}Uses:221 551 552 554 555 556 557
Symbol 559 FontUsed by:561
Symbol 560 GraphicUsed by:566
Symbol 561 EditableTextUses:559Used by:566
Symbol 562 FontUsed by:564
Symbol 563 GraphicUsed by:566
Symbol 564 EditableTextUses:562Used by:566
Symbol 565 TextUses:231 253Used by:566
Symbol 566 MovieClip {Page40}Uses:221 560 561 563 564 565
Symbol 567 FontUsed by:569
Symbol 568 GraphicUsed by:575
Symbol 569 EditableTextUses:567Used by:575
Symbol 570 FontUsed by:572
Symbol 571 GraphicUsed by:575
Symbol 572 EditableTextUses:570Used by:575
Symbol 573 TextUses:231Used by:575
Symbol 574 TextUses:231Used by:575
Symbol 575 MovieClip {Page41}Uses:221 568 569 571 572 573 574
Symbol 576 FontUsed by:578
Symbol 577 GraphicUsed by:583
Symbol 578 EditableTextUses:576Used by:583
Symbol 579 FontUsed by:581
Symbol 580 GraphicUsed by:583
Symbol 581 EditableTextUses:579Used by:583
Symbol 582 TextUses:231 253Used by:583
Symbol 583 MovieClip {Page42}Uses:221 577 578 580 581 582
Symbol 584 FontUsed by:586
Symbol 585 GraphicUsed by:592
Symbol 586 EditableTextUses:584Used by:592
Symbol 587 FontUsed by:589
Symbol 588 GraphicUsed by:592
Symbol 589 EditableTextUses:587Used by:592
Symbol 590 TextUses:231 253Used by:592
Symbol 591 TextUses:231Used by:592
Symbol 592 MovieClip {Page43}Uses:221 585 586 588 589 590 591
Symbol 593 FontUsed by:595
Symbol 594 GraphicUsed by:600
Symbol 595 EditableTextUses:593Used by:600
Symbol 596 FontUsed by:598
Symbol 597 GraphicUsed by:600
Symbol 598 EditableTextUses:596Used by:600
Symbol 599 TextUses:231 253Used by:600
Symbol 600 MovieClip {Page44}Uses:221 594 595 597 598 599
Symbol 601 FontUsed by:603
Symbol 602 GraphicUsed by:609
Symbol 603 EditableTextUses:601Used by:609
Symbol 604 FontUsed by:606
Symbol 605 GraphicUsed by:609
Symbol 606 EditableTextUses:604Used by:609
Symbol 607 TextUses:231Used by:609
Symbol 608 TextUses:231Used by:609
Symbol 609 MovieClip {Page45}Uses:221 602 603 605 606 607 608
Symbol 610 FontUsed by:612
Symbol 611 GraphicUsed by:617
Symbol 612 EditableTextUses:610Used by:617
Symbol 613 FontUsed by:615
Symbol 614 GraphicUsed by:617
Symbol 615 EditableTextUses:613Used by:617
Symbol 616 TextUses:231 263 253Used by:617
Symbol 617 MovieClip {Page46}Uses:221 611 612 614 615 616
Symbol 618 FontUsed by:620
Symbol 619 GraphicUsed by:626
Symbol 620 EditableTextUses:618Used by:626
Symbol 621 FontUsed by:623
Symbol 622 GraphicUsed by:626
Symbol 623 EditableTextUses:621Used by:626
Symbol 624 TextUses:231 253Used by:626
Symbol 625 TextUses:231Used by:626
Symbol 626 MovieClip {Page47}Uses:221 619 620 622 623 624 625
Symbol 627 FontUsed by:629
Symbol 628 GraphicUsed by:635
Symbol 629 EditableTextUses:627Used by:635
Symbol 630 FontUsed by:632
Symbol 631 GraphicUsed by:635
Symbol 632 EditableTextUses:630Used by:635
Symbol 633 TextUses:231 253Used by:635
Symbol 634 TextUses:231Used by:635
Symbol 635 MovieClip {Page48}Uses:221 628 629 631 632 633 634
Symbol 636 FontUsed by:638
Symbol 637 GraphicUsed by:644
Symbol 638 EditableTextUses:636Used by:644
Symbol 639 FontUsed by:641
Symbol 640 GraphicUsed by:644
Symbol 641 EditableTextUses:639Used by:644
Symbol 642 TextUses:231 253 263Used by:644
Symbol 643 TextUses:231Used by:644
Symbol 644 MovieClip {Page49}Uses:221 637 638 640 641 642 643
Symbol 645 FontUsed by:647
Symbol 646 GraphicUsed by:653
Symbol 647 EditableTextUses:645Used by:653
Symbol 648 FontUsed by:650
Symbol 649 GraphicUsed by:653
Symbol 650 EditableTextUses:648Used by:653
Symbol 651 TextUses:231 253Used by:653
Symbol 652 TextUses:231Used by:653
Symbol 653 MovieClip {Page50}Uses:221 646 647 649 650 651 652
Symbol 654 FontUsed by:656
Symbol 655 GraphicUsed by:662
Symbol 656 EditableTextUses:654Used by:662
Symbol 657 FontUsed by:659
Symbol 658 GraphicUsed by:662
Symbol 659 EditableTextUses:657Used by:662
Symbol 660 TextUses:231Used by:662
Symbol 661 TextUses:231Used by:662
Symbol 662 MovieClip {Page51}Uses:221 655 656 658 659 660 661
Symbol 663 FontUsed by:665
Symbol 664 GraphicUsed by:671
Symbol 665 EditableTextUses:663Used by:671
Symbol 666 FontUsed by:668
Symbol 667 GraphicUsed by:671
Symbol 668 EditableTextUses:666Used by:671
Symbol 669 TextUses:231 263 253Used by:671
Symbol 670 TextUses:231Used by:671
Symbol 671 MovieClip {Page52}Uses:221 664 665 667 668 669 670
Symbol 672 FontUsed by:674
Symbol 673 GraphicUsed by:680
Symbol 674 EditableTextUses:672Used by:680
Symbol 675 FontUsed by:677
Symbol 676 GraphicUsed by:680
Symbol 677 EditableTextUses:675Used by:680
Symbol 678 TextUses:231 253Used by:680
Symbol 679 TextUses:231Used by:680
Symbol 680 MovieClip {Page53}Uses:221 673 674 676 677 678 679
Symbol 681 FontUsed by:683
Symbol 682 GraphicUsed by:689
Symbol 683 EditableTextUses:681Used by:689
Symbol 684 FontUsed by:686
Symbol 685 GraphicUsed by:689
Symbol 686 EditableTextUses:684Used by:689
Symbol 687 TextUses:231Used by:689
Symbol 688 TextUses:231Used by:689
Symbol 689 MovieClip {Page54}Uses:221 682 683 685 686 687 688
Symbol 690 FontUsed by:692
Symbol 691 GraphicUsed by:697
Symbol 692 EditableTextUses:690Used by:697
Symbol 693 FontUsed by:695
Symbol 694 GraphicUsed by:697
Symbol 695 EditableTextUses:693Used by:697
Symbol 696 TextUses:231Used by:697
Symbol 697 MovieClip {Page55}Uses:221 691 692 694 695 696
Symbol 698 FontUsed by:700
Symbol 699 GraphicUsed by:707
Symbol 700 EditableTextUses:698Used by:707
Symbol 701 FontUsed by:703
Symbol 702 GraphicUsed by:707
Symbol 703 EditableTextUses:701Used by:707
Symbol 704 TextUses:231 705 706Used by:707
Symbol 705 FontUsed by:704
Symbol 706 FontUsed by:704
Symbol 707 MovieClip {Page56}Uses:221 699 700 702 703 704

Instance Names

"DocArea"Frame 2Symbol 134 MovieClip {ScrollPain}
"HandCursor"Frame 2Symbol 137 MovieClip
"TextCursor"Frame 2Symbol 139 MovieClip
"toolbar"Frame 2Symbol 155 MovieClip {print2flash_fla._toolbar_25}
"msg"Symbol 6 MovieClip {waitmsg} Frame 1Symbol 2 EditableText
"text"Symbol 9 MovieClip {textmsg} Frame 1Symbol 8 EditableText
"BottomArea"Symbol 12 MovieClip {ScrollArea} Frame 1Symbol 11 MovieClip
"l_mc"Symbol 42 MovieClip Frame 1Symbol 37 MovieClip
"m_mc"Symbol 42 MovieClip Frame 1Symbol 39 MovieClip
"r_mc"Symbol 42 MovieClip Frame 1Symbol 41 MovieClip
"closeBtn"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 49 Button
"title"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 50 EditableText
"pagestxt"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 51 EditableText
"pagesFrom"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 52 EditableText
"totxt"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 53 EditableText
"pagesTo"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 54 EditableText
"OKBtn"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 73 MovieClip {fl.controls.Button}
"cancelBtn"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 73 MovieClip {fl.controls.Button}
"optNoScale"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 33 MovieClip {fl.controls.RadioButton}
"optFit"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 33 MovieClip {fl.controls.RadioButton}
"scalingtxt"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 74 EditableText
"fromtxt"Symbol 76 MovieClip {PrintRangeWnd} Frame 1Symbol 75 EditableText
"but"Symbol 84 MovieClip {def_fullscreen} Frame 1Symbol 83 MovieClip {manualbutton}
"SliderHandleBtn"Symbol 86 MovieClip {print2flash_fla.MCSlider_47} Frame 1Symbol 85 Button {ImgButton}
"SliderHandle"Symbol 87 MovieClip {Slider} Frame 1Symbol 86 MovieClip {print2flash_fla.MCSlider_47}
"but"Symbol 88 MovieClip {def_forward} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 89 MovieClip {def_back} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 90 MovieClip {def_nextpage} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 91 MovieClip {def_more} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 92 MovieClip {def_selMode} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 93 MovieClip {def_newwindow} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 94 MovieClip {def_help} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 95 MovieClip {def_rotate} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 96 MovieClip {def_prevpage} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 97 MovieClip {def_scalePage} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 98 MovieClip {def_scaleWidth} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 99 MovieClip {def_moveMode} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 100 MovieClip {def_print} Frame 1Symbol 83 MovieClip {manualbutton}
"but"Symbol 141 MovieClip {print2flash_fla.def_searchbut_27} Frame 1Symbol 83 MovieClip {manualbutton}
"ScaleTextField"Symbol 144 MovieClip {print2flash_fla.Timeline_30} Frame 1Symbol 143 EditableText
"TotalPages"Symbol 147 MovieClip {print2flash_fla.Timeline_32} Frame 1Symbol 146 EditableText
"PageNoField"Symbol 149 MovieClip {print2flash_fla.Timeline_33} Frame 1Symbol 148 EditableText
"TotalPagesMC"Symbol 150 MovieClip {print2flash_fla.Timeline_31} Frame 1Symbol 147 MovieClip {print2flash_fla.Timeline_32}
"PageNoFieldMC"Symbol 150 MovieClip {print2flash_fla.Timeline_31} Frame 1Symbol 149 MovieClip {print2flash_fla.Timeline_33}
"searchPattern"Symbol 153 MovieClip {print2flash_fla.Timeline_50} Frame 1Symbol 152 EditableText
"toolbarbgr"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 140 MovieClip
"searchbut"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 141 MovieClip {print2flash_fla.def_searchbut_27}
"print"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 100 MovieClip {def_print}
"ScaleTextMovie"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 144 MovieClip {print2flash_fla.Timeline_30}
"PageNoMovie"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 150 MovieClip {print2flash_fla.Timeline_31}
"moveMode"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 99 MovieClip {def_moveMode}
"scaleWidth"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 98 MovieClip {def_scaleWidth}
"scalePage"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 97 MovieClip {def_scalePage}
"prevpage"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 96 MovieClip {def_prevpage}
"rotate"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 95 MovieClip {def_rotate}
"help"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 94 MovieClip {def_help}
"newwindow"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 93 MovieClip {def_newwindow}
"selMode"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 92 MovieClip {def_selMode}
"more"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 91 MovieClip {def_more}
"nextpage"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 90 MovieClip {def_nextpage}
"back"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 89 MovieClip {def_back}
"forward"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 88 MovieClip {def_forward}
"ZoomSlider"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 87 MovieClip {Slider}
"fullscreen"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 84 MovieClip {def_fullscreen}
"searchPatternmc"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 153 MovieClip {print2flash_fla.Timeline_50}
"logo"Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1Symbol 154 MovieClip
"CR"Symbol 227 MovieClip {Page1} Frame 1Symbol 224 EditableText
"CR"Symbol 237 MovieClip {Page2} Frame 1Symbol 230 EditableText
"CR"Symbol 237 MovieClip {Page2} Frame 1Symbol 234 EditableText
"CR"Symbol 245 MovieClip {Page3} Frame 1Symbol 240 EditableText
"CR"Symbol 245 MovieClip {Page3} Frame 1Symbol 243 EditableText
"CR"Symbol 255 MovieClip {Page4} Frame 1Symbol 248 EditableText
"CR"Symbol 255 MovieClip {Page4} Frame 1Symbol 251 EditableText
"CR"Symbol 265 MovieClip {Page5} Frame 1Symbol 258 EditableText
"CR"Symbol 265 MovieClip {Page5} Frame 1Symbol 261 EditableText
"CR"Symbol 274 MovieClip {Page6} Frame 1Symbol 268 EditableText
"CR"Symbol 274 MovieClip {Page6} Frame 1Symbol 271 EditableText
"CR"Symbol 282 MovieClip {Page7} Frame 1Symbol 277 EditableText
"CR"Symbol 282 MovieClip {Page7} Frame 1Symbol 280 EditableText
"CR"Symbol 291 MovieClip {Page8} Frame 1Symbol 285 EditableText
"CR"Symbol 291 MovieClip {Page8} Frame 1Symbol 288 EditableText
"CR"Symbol 300 MovieClip {Page9} Frame 1Symbol 294 EditableText
"CR"Symbol 300 MovieClip {Page9} Frame 1Symbol 297 EditableText
"CR"Symbol 308 MovieClip {Page10} Frame 1Symbol 303 EditableText
"CR"Symbol 308 MovieClip {Page10} Frame 1Symbol 306 EditableText
"CR"Symbol 316 MovieClip {Page11} Frame 1Symbol 311 EditableText
"CR"Symbol 316 MovieClip {Page11} Frame 1Symbol 314 EditableText
"CR"Symbol 325 MovieClip {Page12} Frame 1Symbol 319 EditableText
"CR"Symbol 325 MovieClip {Page12} Frame 1Symbol 322 EditableText
"CR"Symbol 334 MovieClip {Page13} Frame 1Symbol 328 EditableText
"CR"Symbol 334 MovieClip {Page13} Frame 1Symbol 331 EditableText
"CR"Symbol 343 MovieClip {Page14} Frame 1Symbol 337 EditableText
"CR"Symbol 343 MovieClip {Page14} Frame 1Symbol 340 EditableText
"CR"Symbol 352 MovieClip {Page15} Frame 1Symbol 346 EditableText
"CR"Symbol 352 MovieClip {Page15} Frame 1Symbol 349 EditableText
"CR"Symbol 360 MovieClip {Page16} Frame 1Symbol 355 EditableText
"CR"Symbol 360 MovieClip {Page16} Frame 1Symbol 358 EditableText
"CR"Symbol 369 MovieClip {Page17} Frame 1Symbol 363 EditableText
"CR"Symbol 369 MovieClip {Page17} Frame 1Symbol 366 EditableText
"CR"Symbol 377 MovieClip {Page18} Frame 1Symbol 372 EditableText
"CR"Symbol 377 MovieClip {Page18} Frame 1Symbol 375 EditableText
"CR"Symbol 385 MovieClip {Page19} Frame 1Symbol 380 EditableText
"CR"Symbol 385 MovieClip {Page19} Frame 1Symbol 383 EditableText
"CR"Symbol 393 MovieClip {Page20} Frame 1Symbol 388 EditableText
"CR"Symbol 393 MovieClip {Page20} Frame 1Symbol 391 EditableText
"CR"Symbol 402 MovieClip {Page21} Frame 1Symbol 396 EditableText
"CR"Symbol 402 MovieClip {Page21} Frame 1Symbol 399 EditableText
"CR"Symbol 411 MovieClip {Page22} Frame 1Symbol 405 EditableText
"CR"Symbol 411 MovieClip {Page22} Frame 1Symbol 408 EditableText
"CR"Symbol 420 MovieClip {Page23} Frame 1Symbol 414 EditableText
"CR"Symbol 420 MovieClip {Page23} Frame 1Symbol 417 EditableText
"CR"Symbol 429 MovieClip {Page24} Frame 1Symbol 423 EditableText
"CR"Symbol 429 MovieClip {Page24} Frame 1Symbol 426 EditableText
"CR"Symbol 438 MovieClip {Page25} Frame 1Symbol 432 EditableText
"CR"Symbol 438 MovieClip {Page25} Frame 1Symbol 435 EditableText
"CR"Symbol 446 MovieClip {Page26} Frame 1Symbol 441 EditableText
"CR"Symbol 446 MovieClip {Page26} Frame 1Symbol 444 EditableText
"CR"Symbol 454 MovieClip {Page27} Frame 1Symbol 449 EditableText
"CR"Symbol 454 MovieClip {Page27} Frame 1Symbol 452 EditableText
"CR"Symbol 463 MovieClip {Page28} Frame 1Symbol 457 EditableText
"CR"Symbol 463 MovieClip {Page28} Frame 1Symbol 460 EditableText
"CR"Symbol 472 MovieClip {Page29} Frame 1Symbol 466 EditableText
"CR"Symbol 472 MovieClip {Page29} Frame 1Symbol 469 EditableText
"CR"Symbol 481 MovieClip {Page30} Frame 1Symbol 475 EditableText
"CR"Symbol 481 MovieClip {Page30} Frame 1Symbol 478 EditableText
"CR"Symbol 489 MovieClip {Page31} Frame 1Symbol 484 EditableText
"CR"Symbol 489 MovieClip {Page31} Frame 1Symbol 487 EditableText
"CR"Symbol 498 MovieClip {Page32} Frame 1Symbol 492 EditableText
"CR"Symbol 498 MovieClip {Page32} Frame 1Symbol 495 EditableText
"CR"Symbol 506 MovieClip {Page33} Frame 1Symbol 501 EditableText
"CR"Symbol 506 MovieClip {Page33} Frame 1Symbol 504 EditableText
"CR"Symbol 514 MovieClip {Page34} Frame 1Symbol 509 EditableText
"CR"Symbol 514 MovieClip {Page34} Frame 1Symbol 512 EditableText
"CR"Symbol 523 MovieClip {Page35} Frame 1Symbol 517 EditableText
"CR"Symbol 523 MovieClip {Page35} Frame 1Symbol 520 EditableText
"CR"Symbol 532 MovieClip {Page36} Frame 1Symbol 526 EditableText
"CR"Symbol 532 MovieClip {Page36} Frame 1Symbol 529 EditableText
"CR"Symbol 541 MovieClip {Page37} Frame 1Symbol 535 EditableText
"CR"Symbol 541 MovieClip {Page37} Frame 1Symbol 538 EditableText
"CR"Symbol 549 MovieClip {Page38} Frame 1Symbol 544 EditableText
"CR"Symbol 549 MovieClip {Page38} Frame 1Symbol 547 EditableText
"CR"Symbol 558 MovieClip {Page39} Frame 1Symbol 552 EditableText
"CR"Symbol 558 MovieClip {Page39} Frame 1Symbol 555 EditableText
"CR"Symbol 566 MovieClip {Page40} Frame 1Symbol 561 EditableText
"CR"Symbol 566 MovieClip {Page40} Frame 1Symbol 564 EditableText
"CR"Symbol 575 MovieClip {Page41} Frame 1Symbol 569 EditableText
"CR"Symbol 575 MovieClip {Page41} Frame 1Symbol 572 EditableText
"CR"Symbol 583 MovieClip {Page42} Frame 1Symbol 578 EditableText
"CR"Symbol 583 MovieClip {Page42} Frame 1Symbol 581 EditableText
"CR"Symbol 592 MovieClip {Page43} Frame 1Symbol 586 EditableText
"CR"Symbol 592 MovieClip {Page43} Frame 1Symbol 589 EditableText
"CR"Symbol 600 MovieClip {Page44} Frame 1Symbol 595 EditableText
"CR"Symbol 600 MovieClip {Page44} Frame 1Symbol 598 EditableText
"CR"Symbol 609 MovieClip {Page45} Frame 1Symbol 603 EditableText
"CR"Symbol 609 MovieClip {Page45} Frame 1Symbol 606 EditableText
"CR"Symbol 617 MovieClip {Page46} Frame 1Symbol 612 EditableText
"CR"Symbol 617 MovieClip {Page46} Frame 1Symbol 615 EditableText
"CR"Symbol 626 MovieClip {Page47} Frame 1Symbol 620 EditableText
"CR"Symbol 626 MovieClip {Page47} Frame 1Symbol 623 EditableText
"CR"Symbol 635 MovieClip {Page48} Frame 1Symbol 629 EditableText
"CR"Symbol 635 MovieClip {Page48} Frame 1Symbol 632 EditableText
"CR"Symbol 644 MovieClip {Page49} Frame 1Symbol 638 EditableText
"CR"Symbol 644 MovieClip {Page49} Frame 1Symbol 641 EditableText
"CR"Symbol 653 MovieClip {Page50} Frame 1Symbol 647 EditableText
"CR"Symbol 653 MovieClip {Page50} Frame 1Symbol 650 EditableText
"CR"Symbol 662 MovieClip {Page51} Frame 1Symbol 656 EditableText
"CR"Symbol 662 MovieClip {Page51} Frame 1Symbol 659 EditableText
"CR"Symbol 671 MovieClip {Page52} Frame 1Symbol 665 EditableText
"CR"Symbol 671 MovieClip {Page52} Frame 1Symbol 668 EditableText
"CR"Symbol 680 MovieClip {Page53} Frame 1Symbol 674 EditableText
"CR"Symbol 680 MovieClip {Page53} Frame 1Symbol 677 EditableText
"CR"Symbol 689 MovieClip {Page54} Frame 1Symbol 683 EditableText
"CR"Symbol 689 MovieClip {Page54} Frame 1Symbol 686 EditableText
"CR"Symbol 697 MovieClip {Page55} Frame 1Symbol 692 EditableText
"CR"Symbol 697 MovieClip {Page55} Frame 1Symbol 695 EditableText
"CR"Symbol 707 MovieClip {Page56} Frame 1Symbol 700 EditableText
"CR"Symbol 707 MovieClip {Page56} Frame 1Symbol 703 EditableText

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.
ScriptLimits (65)Timeline Frame 1MaxRecursionDepth: 256, ScriptTimeout: 65535 seconds




http://swfchan.com/50/245180/info.shtml
Created: 25/3 -2022 03:02:56 Last modified: 25/3 -2022 03:02:56 Server time: 23/12 -2024 09:02:41