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

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

Animal Farm.swf

This is the info page for
Flash #241726

(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 generated by free edition of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information

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




Animal Farm
by
George Orwell






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

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

Chapter I
Mr. Jones, of the Manor Farm, had locked the hen - houses for the
night, but was too drunk to remember to shut the pop - holes. With the
ring of light from his lantern dancing from side to side, he lurched
acros s the yard, kicked off his boots at the back door, drew himself a
last glass of beer from the barrel in the scullery, and made his way up
to bed, where Mrs. Jones was already snoring.
As soon as the light in the bedroom went out there was a stirring and a
fluttering all through the farm buildings. Word had gone round during
the day that old Major, the prize Middle White boar, had had a strange
dream on the previous night and wished to communicate it to the other
animals. It had been agreed that they should  all meet in the big barn as
soon as Mr. Jones was safely out of the way. Old Major (so he was
always called, though the name under which he had been exhibited was
Willingdon Beauty) was so highly regarded on the farm that everyone
was quite ready to lose a n hour's sleep in order to hear what he had to
say.
At one end of the big barn, on a sort of raised platform, Major was
already ensconced on his bed of straw, under a lantern which hung
from a beam. He was twelve years old and had lately grown rather
stout , but he was still a majestic - looking pig, with a wise and
benevolent appearance in spite of the fact that his tushes had never
been cut. Before long the other animals began to arrive and make
themselves comfortable after their different fashions. First ca me the
three dogs, Bluebell, Jessie, and Pincher, and then the pigs, who settled
down in the straw immediately in front of the platform. The hens
perched themselves on the window - sills, the pigeons fluttered up to the
rafters, the sheep and cows lay down b ehind the pigs and began to
chew the cud. The two cart - horses, Boxer and Clover, came in together,
walking very slowly and setting down their vast hairy hoofs with great
care lest there should be some small animal concealed in the straw.
Clover was a stout  motherly mare approaching middle life, who had

never quite got her figure back after her fourth foal. Boxer was an

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

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

enormous beast, nearly eighteen hands high, and as strong as any two
ordinary horses put together. A white stripe down his nose gave him a
s omewhat stupid appearance, and in fact he was not of first - rate
intelligence, but he was universally respected for his steadiness of
character and tremendous powers of work. After the horses came
Muriel, the white goat, and Benjamin, the donkey. Benjamin w as the
oldest animal on the farm, and the worst tempered. He seldom talked,
and when he did, it was usually to make some cynical remark -- for
instance, he would say that God had given him a tail to keep the flies
off, but that he would sooner have had no ta il and no flies. Alone
among the animals on the farm he never laughed. If asked why, he
would say that he saw nothing to laugh at. Nevertheless, without
openly admitting it, he was devoted to Boxer; the two of them usually
spent their Sundays together in t he small paddock beyond the orchard,
grazing side by side and never speaking.
The two horses had just lain down when a brood of ducklings, which
had lost their mother, filed into the barn, cheeping feebly and
wandering from side to side to find some place  where they would not
be trodden on. Clover made a sort of wall round them with her great
foreleg, and the ducklings nestled down inside it and promptly fell
asleep. At the last moment Mollie, the foolish, pretty white mare who
drew Mr. Jones's trap, came m incing daintily in, chewing at a lump of
sugar. She took a place near the front and began flirting her white
mane, hoping to draw attention to the red ribbons it was plaited with.
Last of all came the cat, who looked round, as usual, for the warmest
place,  and finally squeezed herself in between Boxer and Clover; there
she purred contentedly throughout Major's speech without listening to
a word of what he was saying.
All the animals were now present except Moses, the tame raven, who
slept on a perch behind  the back door. When Major saw that they had
all made themselves comfortable and were waiting attentively, he
cleared his throat and began:

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

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

"Comrades, you have heard already about the strange dream that I had
last night. But I will come to the dream later.  I have something else to
say first. I do not think, comrades, that I shall be with you for many
months longer, and before I die, I feel it my duty to pass on to you such
wisdom as I have acquired. I have had a long life, I have had much time
for thought as  I lay alone in my stall, and I think I may say that I
understand the nature of life on this earth as well as any animal now
living. It is about this that I wish to speak to you.
"Now, comrades, what is the nature of this life of ours? Let us face it:
our  lives are miserable, laborious, and short. We are born, we are given
just so much food as will keep the breath in our bodies, and those of us
who are capable of it are forced to work to the last atom of our
strength; and the very instant that our usefulnes s has come to an end
we are slaughtered with hideous cruelty. No animal in England knows
the meaning of happiness or leisure after he is a year old. No animal in
England is free. The life of an animal is misery and slavery: that is the
plain truth.
"But is  this simply part of the order of nature? Is it because this land of
ours is so poor that it cannot afford a decent life to those who dwell
upon it? No, comrades, a thousand times no! The soil of England is
fertile, its climate is good, it is capable of af fording food in abundance
to an enormously greater number of animals than now inhabit it. This
single farm of ours would support a dozen horses, twenty cows,
hundreds of sheep -- and all of them living in a comfort and a dignity
that are now almost beyond ou r imagining. Why then do we continue
in this miserable condition? Because nearly the whole of the produce of
our labour is stolen from us by human beings. There, comrades, is the
answer to all our problems. It is summed up in a single word -- Man.
Man is the  only real enemy we have. Remove Man from the scene, and
the root cause of hunger and overwork is abolished for ever.
"Man is the only creature that consumes without producing. He does
not give milk, he does not lay eggs, he is too weak to pull the plough,  he

cannot run fast enough to catch rabbits. Yet he is lord of all the

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

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

animals. He sets them to work, he gives back to them the bare
minimum that will prevent them from starving, and the rest he keeps
for himself. Our labour tills the soil, our dung fertil ises it, and yet there
is not one of us that owns more than his bare skin. You cows that I see
before me, how many thousands of gallons of milk have you given
during this last year? And what has happened to that milk which
should have been breeding up stur dy calves? Every drop of it has gone
down the throats of our enemies. And you hens, how many eggs have
you laid in this last year, and how many of those eggs ever hatched into
chickens? The rest have all gone to market to bring in money for Jones
and his m en. And you, Clover, where are those four foals you bore, who
should have been the support and pleasure of your old age? Each was
sold at a year old -- you will never see one of them again. In return for
your four confinements and all your labour in the fiel ds, what have you
ever had except your bare rations and a stall?
"And even the miserable lives we lead are not allowed to reach their
natural span. For myself I do not grumble, for I am one of the lucky
ones. I am twelve years old and have had over four hu ndred children.
Such is the natural life of a pig. But no animal escapes the cruel knife in
the end. You young porkers who are sitting in front of me, every one of
you will scream your lives out at the block within a year. To that horror
we all must come -- cows, pigs, hens, sheep, everyone. Even the horses
and the dogs have no better fate. You, Boxer, the very day that those
great muscles of yours lose their power, Jones will sell you to the
knacker, who will cut your throat and boil you down for the foxhoun ds.
As for the dogs, when they grow old and toothless, Jones ties a brick
round their necks and drowns them in the nearest pond.
"Is it not crystal clear, then, comrades, that all the evils of this life of
ours spring from the tyranny of human beings? Only  get rid of Man,
and the produce of our labour would be our own. Almost overnight we
could become rich and free. What then must we do? Why, work night
and day, body and soul, for the overthrow of the human race! That is
my message to you, comrades: Rebelli on! I do not know when that

Rebellion will come, it might be in a week or in a hundred years, but I

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

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

know, as surely as I see this straw beneath my feet, that sooner or later
justice will be done. Fix your eyes on that, comrades, throughout the
short remain der of your lives! And above all, pass on this message of
mine to those who come after you, so that future generations shall
carry on the struggle until it is victorious.
"And remember, comrades, your resolution must never falter. No
argument must lead you  astray. Never listen when they tell you that
Man and the animals have a common interest, that the prosperity of
the one is the prosperity of the others. It is all lies. Man serves the
interests of no creature except himself. And among us animals let there
be perfect unity, perfect comradeship in the struggle. All men are
enemies. All animals are comrades."
At this moment there was a tremendous uproar. While Major was
speaking four large rats had crept out of their holes and were sitting on
their hindquarte rs, listening to him. The dogs had suddenly caught
sight of them, and it was only by a swift dash for their holes that the
rats saved their lives. Major raised his trotter for silence.
"Comrades," he said, "here is a point that must be settled. The wild
cr eatures, such as rats and rabbits -- are they our friends or our
enemies? Let us put it to the vote. I propose this question to the
meeting: Are rats comrades?"
The vote was taken at once, and it was agreed by an overwhelming
majority that rats were comrades . There were only four dissentients,
the three dogs and the cat, who was afterwards discovered to have
voted on both sides. Major continued:
"I have little more to say. I merely repeat, remember always your duty
of enmity towards Man and all his ways. What ever goes upon two legs
is an enemy. Whatever goes upon four legs, or has wings, is a friend.
And remember also that in fighting against Man, we must not come to
resemble him. Even when you have conquered him, do not adopt his

vices. No animal must ever li ve in a house, or sleep in a bed, or wear

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

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

clothes, or drink alcohol, or smoke tobacco, or touch money, or engage
in trade. All the habits of Man are evil. And, above all, no animal must
ever tyrannise over his own kind. Weak or strong, clever or simple, we
are all brothers. No animal must ever kill any other animal. All animals
are equal.
"And now, comrades, I will tell you about my dream of last night. I
cannot describe that dream to you. It was a dream of the earth as it will
be when Man has vanished. But  it reminded me of something that I
had long forgotten. Many years ago, when I was a little pig, my mother
and the other sows used to sing an old song of which they knew only
the tune and the first three words. I had known that tune in my
infancy, but it h ad long since passed out of my mind. Last night,
however, it came back to me in my dream. And what is more, the words
of the song also came back - words, I am certain, which were sung by the
animals of long ago and have been lost to memory for generations. I
will sing you that song now, comrades. I am old and my voice is hoarse,
but when I have taught you the tune, you can sing it better for
yourselves. It is called 'Beasts of England'."
Old Major cleared his throat and began to sing. As he had said, his
voic e was hoarse, but he sang well enough, and it was a stirring tune,
something between 'Clementine' and 'La Cucaracha'. The words ran:
Beasts of England, beasts of Ireland,
Beasts of every land and clime,
Hearken to my joyful tidings
Of the golden future tim e.

Soon or late the day is coming,
Tyrant Man shall be o'erthrown,
And the fruitful fields of England
Shall be trod by beasts alone.

Rings shall vanish from our noses,
And the harness from our back,

Bit and spur shall rust forever,

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

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

Cruel whips no more sh all crack.

Riches more than mind can picture,
Wheat and barley, oats and hay,
Clover, beans, and mangel - wurzels
Shall be ours upon that day.

Bright will shine the fields of England,
Purer shall its waters be,
Sweeter yet shall blow its breezes
On the day  that sets us free.

For that day we all must labour,
Though we die before it break;
Cows and horses, geese and turkeys,
All must toil for freedom's sake.

Beasts of England, beasts of Ireland,
Beasts of every land and clime,
Hearken well and spread my tid ings
Of the golden future time.

The singing of this song threw the animals into the wildest excitement.
Almost before Major had reached the end, they had begun singing it for
themselves. Even the stupidest of them had already picked up the tune
and a few  of the words, and as for the clever ones, such as the pigs and
dogs, they had the entire song by heart within a few minutes. And then,
after a few preliminary tries, the whole farm burst out into 'Beasts of
England' in tremendous unison. The cows lowed it,  the dogs whined it,
the sheep bleated it, the horses whinnied it, the ducks quacked it. They
were so delighted with the song that they sang it right through five
times in succession, and might have continued singing it all night if
they had not been inter rupted.
Unfortunately, the uproar awoke Mr. Jones, who sprang out of bed,
making sure that there was a fox in the yard. He seized the gun which

always stood in a corner of his bedroom, and let fly a charge of number

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

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

6 shot into the darkness. The pellets bu ried themselves in the wall of
the barn and the meeting broke up hurriedly. Everyone fled to his own
sleeping - place. The birds jumped on to their perches, the animals
settled down in the straw, and the whole farm was asleep in a moment.
Chapter II
Three ni ghts later old Major died peacefully in his sleep. His body was
buried at the foot of the orchard.
This was early in March. During the next three months there was much
secret activity. Major's speech had given to the more intelligent animals
on the farm a  completely new outlook on life. They did not know when
the Rebellion predicted by Major would take place, they had no reason
for thinking that it would be within their own lifetime, but they saw
clearly that it was their duty to prepare for it. The work of  teaching and
organising the others fell naturally upon the pigs, who were generally
recognised as being the cleverest of the animals. Pre - eminent among
the pigs were two young boars named Snowball and Napoleon, whom
Mr. Jones was breeding up for sale. Nap oleon was a large, rather
fierce - looking Berkshire boar, the only Berkshire on the farm, not
much of a talker, but with a reputation for getting his own way.
Snowball was a more vivacious pig than Napoleon, quicker in speech
and more inventive, but was not  considered to have the same depth of
character. All the other male pigs on the farm were porkers. The best
known among them was a small fat pig named Squealer, with very
round cheeks, twinkling eyes, nimble movements, and a shrill voice. He
was a brillian t talker, and when he was arguing some difficult point he
had a way of skipping from side to side and whisking his tail which was
somehow very persuasive. The others said of Squealer that he could
turn black into white.
These three had elaborated old Major 's teachings into a complete
system of thought, to which they gave the name of Animalism. Several
nights a week, after Mr. Jones was asleep, they held secret meetings in

the barn and expounded the principles of Animalism to the others. At

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

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

the beginning the y met with much stupidity and apathy. Some of the
animals talked of the duty of loyalty to Mr. Jones, whom they referred
to as "Master," or made elementary remarks such as "Mr. Jones feeds
us. If he were gone, we should starve to death." Others asked such
questions as "Why should we care what happens after we are dead?" or
"If this Rebellion is to happen anyway, what difference does it make
whether we work for it or not?", and the pigs had great difficulty in
making them see that this was contrary to the sp irit of Animalism. The
stupidest questions of all were asked by Mollie, the white mare. The
very first question she asked Snowball was: "Will there still be sugar
after the Rebellion?"
"No," said Snowball firmly. "We have no means of making sugar on this
f arm. Besides, you do not need sugar. You will have all the oats and hay
you want."
"And shall I still be allowed to wear ribbons in my mane?" asked
Mollie.
"Comrade," said Snowball, "those ribbons that you are so devoted to
are the badge of slavery. Can yo u not understand that liberty is worth
more than ribbons?"
Mollie agreed, but she did not sound very convinced.
The pigs had an even harder struggle to counteract the lies put about
by Moses, the tame raven. Moses, who was Mr. Jones's especial pet,
was a s py and a tale - bearer, but he was also a clever talker. He claimed
to know of the existence of a mysterious country called Sugarcandy
Mountain, to which all animals went when they died. It was situated
somewhere up in the sky, a little distance beyond the c louds, Moses
said. In Sugarcandy Mountain it was Sunday seven days a week, clover
was in season all the year round, and lump sugar and linseed cake grew
on the hedges. The animals hated Moses because he told tales and did
no work, but some of them believed  in Sugarcandy Mountain, and the

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

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

pigs had to argue very hard to persuade them that there was no such
place.
Their most faithful disciples were the two cart - horses, Boxer and
Clover. These two had great difficulty in thinking anything out for
themselves, bu t having once accepted the pigs as their teachers, they
absorbed everything that they were told, and passed it on to the other
animals by simple arguments. They were unfailing in their attendance
at the secret meetings in the barn, and led the singing of ' Beasts of
England', with which the meetings always ended.
Now, as it turned out, the Rebellion was achieved much earlier and
more easily than anyone had expected. In past years Mr. Jones,
although a hard master, had been a capable farmer, but of late he ha d
fallen on evil days. He had become much disheartened after losing
money in a lawsuit, and had taken to drinking more than was good for
him. For whole days at a time he would lounge in his Windsor chair in
the kitchen, reading the newspapers, drinking, an d occasionally
feeding Moses on crusts of bread soaked in beer. His men were idle and
dishonest, the fields were full of weeds, the buildings wanted roofing,
the hedges were neglected, and the animals were underfed.
June came and the hay was almost ready f or cutting. On Midsummer's
Eve, which was a Saturday, Mr. Jones went into Willingdon and got so
drunk at the Red Lion that he did not come back till midday on
Sunday. The men had milked the cows in the early morning and then
had gone out rabbiting, without  bothering to feed the animals. When
Mr. Jones got back he immediately went to sleep on the drawing - room
sofa with the News of the World over his face, so that when evening
came, the animals were still unfed. At last they could stand it no longer.
One of t he cows broke in the door of the store - shed with her horn and
all the animals began to help themselves from the bins. It was just then
that Mr. Jones woke up. The next moment he and his four men were in
the store - shed with whips in their hands, lashing out  in all directions.
This was more than the hungry animals could bear. With one accord,

though nothing of the kind had been planned beforehand, they flung

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

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

themselves upon their tormentors. Jones and his men suddenly found
themselves being butted and kicked  from all sides. The situation was
quite out of their control. They had never seen animals behave like this
before, and this sudden uprising of creatures whom they were used to
thrashing and maltreating just as they chose, frightened them almost
out of thei r wits. After only a moment or two they gave up trying to
defend themselves and took to their heels. A minute later all five of
them were in full flight down the cart - track that led to the main road,
with the animals pursuing them in triumph.
Mrs. Jones lo oked out of the bedroom window, saw what was
happening, hurriedly flung a few possessions into a carpet bag, and
slipped out of the farm by another way. Moses sprang off his perch and
flapped after her, croaking loudly. Meanwhile the animals had chased
Jon es and his men out on to the road and slammed the five - barred gate
behind them. And so, almost before they knew what was happening,
the Rebellion had been successfully carried through: Jones was
expelled, and the Manor Farm was theirs.
For the first few mi nutes the animals could hardly believe in their good
fortune. Their first act was to gallop in a body right round the
boundaries of the farm, as though to make quite sure that no human
being was hiding anywhere upon it; then they raced back to the farm
bui ldings to wipe out the last traces of Jones's hated reign. The
harness - room at the end of the stables was broken open; the bits, the
nose - rings, the dog - chains, the cruel knives with which Mr. Jones had
been used to castrate the pigs and lambs, were all fl ung down the well.
The reins, the halters, the blinkers, the degrading nosebags, were
thrown on to the rubbish fire which was burning in the yard. So were
the whips. All the animals capered with joy when they saw the whips
going up in flames. Snowball also  threw on to the fire the ribbons with
which the horses' manes and tails had usually been decorated on
market days.
"Ribbons," he said, "should be considered as clothes, which are the

mark of a human being. All animals should go naked."

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

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

When Boxer heard th is he fetched the small straw hat which he wore in
summer to keep the flies out of his ears, and flung it on to the fire with
the rest.
In a very little while the animals had destroyed everything that
reminded them of Mr. Jones. Napoleon then led them back  to the
store - shed and served out a double ration of corn to everybody, with
two biscuits for each dog. Then they sang 'Beasts of England' from end
to end seven times running, and after that they settled down for the
night and slept as they had never slept  before.
But they woke at dawn as usual, and suddenly remembering the
glorious thing that had happened, they all raced out into the pasture
together. A little way down the pasture there was a knoll that
commanded a view of most of the farm. The animals rus hed to the top
of it and gazed round them in the clear morning light. Yes, it was
theirs -- everything that they could see was theirs! In the ecstasy of that
thought they gambolled round and round, they hurled themselves into
the air in great leaps of excite ment. They rolled in the dew, they
cropped mouthfuls of the sweet summer grass, they kicked up clods of
the black earth and snuffed its rich scent. Then they made a tour of
inspection of the whole farm and surveyed with speechless admiration
the ploughland , the hayfield, the orchard, the pool, the spinney. It was
as though they had never seen these things before, and even now they
could hardly believe that it was all their own.
Then they filed back to the farm buildings and halted in silence outside
the doo r of the farmhouse. That was theirs too, but they were
frightened to go inside. After a moment, however, Snowball and
Napoleon butted the door open with their shoulders and the animals
entered in single file, walking with the utmost care for fear of
distur bing anything. They tiptoed from room to room, afraid to speak
above a whisper and gazing with a kind of awe at the unbelievable
luxury, at the beds with their feather mattresses, the looking - glasses,
the horsehair sofa, the Brussels carpet, the lithograph  of Queen

Victoria over the drawing - room mantelpiece. They were just coming

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

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

down the stairs when Mollie was discovered to be missing. Going back,
the others found that she had remained behind in the best bedroom.
She had taken a piece of blue ribbon from M rs. Jones's dressing - table,
and was holding it against her shoulder and admiring herself in the
glass in a very foolish manner. The others reproached her sharply, and
they went outside. Some hams hanging in the kitchen were taken out
for burial, and the ba rrel of beer in the scullery was stove in with a kick
from Boxer's hoof, otherwise nothing in the house was touched. A
unanimous resolution was passed on the spot that the farmhouse
should be preserved as a museum. All were agreed that no animal must
ever  live there.
The animals had their breakfast, and then Snowball and Napoleon
called them together again.
"Comrades," said Snowball, "it is half - past six and we have a long day
before us. Today we begin the hay harvest. But there is another matter
that must  be attended to first."
The pigs now revealed that during the past three months they had
taught themselves to read and write from an old spelling book which
had belonged to Mr. Jones's children and which had been thrown on
the rubbish heap. Napoleon sent fo r pots of black and white paint and
led the way down to the five - barred gate that gave on to the main road.
Then Snowball (for it was Snowball who was best at writing) took a
brush between the two knuckles of his trotter, painted out MANOR
FARM from the to p bar of the gate and in its place painted ANIMAL
FARM. This was to be the name of the farm from now onwards. After
this they went back to the farm buildings, where Snowball and
Napoleon sent for a ladder which they caused to be set against the end
wall of  the big barn. They explained that by their studies of the past
three months the pigs had succeeded in reducing the principles of
Animalism to Seven Commandments. These Seven Commandments
would now be inscribed on the wall; they would form an unalterable
l aw by which all the animals on Animal Farm must live for ever after.

With some difficulty (for it is not easy for a pig to balance himself on a

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

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

ladder) Snowball climbed up and set to work, with Squealer a few
rungs below him holding the paint - pot. The Comm andments were
written on the tarred wall in great white letters that could be read thirty
yards away. They ran thus:
THE SEVEN COMMANDMENTS

1. Whatever goes upon two legs is an enemy.
2. Whatever goes upon four legs, or has wings, is a
friend.
3. No anima l shall wear clothes.
4. No animal shall sleep in a bed.
5. No animal shall drink alcohol.
6. No animal shall kill any other animal.
7. All animals are equal.
It was very neatly written, and except that "friend" was written "freind"
and one of the "S's" wa s the wrong way round, the spelling was correct
all the way through. Snowball read it aloud for the benefit of the others.
All the animals nodded in complete agreement, and the cleverer ones
at once began to learn the Commandments by heart.
"Now, comrades, " cried Snowball, throwing down the paint - brush, "to
the hayfield! Let us make it a point of honour to get in the harvest more
quickly than Jones and his men could do."
But at this moment the three cows, who had seemed uneasy for some
time past, set up a l oud lowing. They had not been milked for twenty -
four hours, and their udders were almost bursting. After a little
thought, the pigs sent for buckets and milked the cows fairly
successfully, their trotters being well adapted to this task. Soon there
were fi ve buckets of frothing creamy milk at which many of the animals
looked with considerable interest.
"What is going to happen to all that milk?" said someone.

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

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

"Jones used sometimes to mix some of it in our mash," said one of the
hens.
"Never mind the milk, c omrades!" cried Napoleon, placing himself in
front of the buckets. "That will be attended to. The harvest is more
important. Comrade Snowball will lead the way. I shall follow in a few
minutes. Forward, comrades! The hay is waiting."
So the animals trooped  down to the hayfield to begin the harvest, and
when they came back in the evening it was noticed that the milk had
disappeared.
Chapter III
How they toiled and sweated to get the hay in! But their efforts were
rewarded, for the harvest was an even bigger  success than they had
hoped.
Sometimes the work was hard; the implements had been designed for
human beings and not for animals, and it was a great drawback that no
animal was able to use any tool that involved standing on his hind legs.
But the pigs were  so clever that they could think of a way round every
difficulty. As for the horses, they knew every inch of the field, and in
fact understood the business of mowing and raking far better than
Jones and his men had ever done. The pigs did not actually work,  but
directed and supervised the others. With their superior knowledge it
was natural that they should assume the leadership. Boxer and Clover
would harness themselves to the cutter or the horse - rake (no bits or
reins were needed in these days, of course)  and tramp steadily round
and round the field with a pig walking behind and calling out "Gee up,
comrade!" or "Whoa back, comrade!" as the case might be. And every
animal down to the humblest worked at turning the hay and gathering
it. Even the ducks and he ns toiled to and fro all day in the sun, carrying
tiny wisps of hay in their beaks. In the end they finished the harvest in
two days' less time than it had usually taken Jones and his men.

Moreover, it was the biggest harvest that the farm had ever seen. T here

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

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

was no wastage whatever; the hens and ducks with their sharp eyes had
gathered up the very last stalk. And not an animal on the farm had
stolen so much as a mouthful.
All through that summer the work of the farm went like clockwork. The
animals were h appy as they had never conceived it possible to be.
Every mouthful of food was an acute positive pleasure, now that it was
truly their own food, produced by themselves and for themselves, not
doled out to them by a grudging master. With the worthless paras itical
human beings gone, there was more for everyone to eat. There was
more leisure too, inexperienced though the animals were. They met
with many difficulties -- for instance, later in the year, when they
harvested the corn, they had to tread it out in the  ancient style and
blow away the chaff with their breath, since the farm possessed no
threshing machine -- but the pigs with their cleverness and Boxer with
his tremendous muscles always pulled them through. Boxer was the
admiration of everybody. He had been  a hard worker even in Jones's
time, but now he seemed more like three horses than one; there were
days when the entire work of the farm seemed to rest on his mighty
shoulders. From morning to night he was pushing and pulling, always
at the spot where the  work was hardest. He had made an arrangement
with one of the cockerels to call him in the mornings half an hour
earlier than anyone else, and would put in some volunteer labour at
whatever seemed to be most needed, before the regular day's work
began. His  answer to every problem, every setback, was "I will work
harder!" -- which he had adopted as his personal motto.
But everyone worked according to his capacity The hens and ducks, for
instance, saved five bushels of corn at the harvest by gathering up the
str ay grains. Nobody stole, nobody grumbled over his rations, the
quarrelling and biting and jealousy which had been normal features of
life in the old days had almost disappeared. Nobody shirked -- or almost
nobody. Mollie, it was true, was not good at getting  up in the mornings,
and had a way of leaving work early on the ground that there was a
stone in her hoof. And the behaviour of the cat was somewhat peculiar.

It was soon noticed that when there was work to be done the cat could

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

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

never be found. She would v anish for hours on end, and then reappear
at meal - times, or in the evening after work was over, as though nothing
had happened. But she always made such excellent excuses, and purred
so affectionately, that it was impossible not to believe in her good
inte ntions. Old Benjamin, the donkey, seemed quite unchanged since
the Rebellion. He did his work in the same slow obstinate way as he
had done it in Jones's time, never shirking and never volunteering for
extra work either. About the Rebellion and its results  he would express
no opinion. When asked whether he was not happier now that Jones
was gone, he would say only "Donkeys live a long time. None of you has
ever seen a dead donkey," and the others had to be content with this
cryptic answer.
On Sundays there  was no work. Breakfast was an hour later than usual,
and after breakfast there was a ceremony which was observed every
week without fail. First came the hoisting of the flag. Snowball had
found in the harness - room an old green tablecloth of Mrs. Jones's an d
had painted on it a hoof and a horn in white. This was run up the
flagstaff in the farmhouse garden every Sunday morning. The flag was
green, Snowball explained, to represent the green fields of England,
while the hoof and horn signified the future Repub lic of the Animals
which would arise when the human race had been finally overthrown.
After the hoisting of the flag all the animals trooped into the big barn
for a general assembly which was known as the Meeting. Here the work
of the coming week was plann ed out and resolutions were put forward
and debated. It was always the pigs who put forward the resolutions.
The other animals understood how to vote, but could never think of
any resolutions of their own. Snowball and Napoleon were by far the
most active  in the debates. But it was noticed that these two were never
in agreement: whatever suggestion either of them made, the other
could be counted on to oppose it. Even when it was resolved -- a thing
no one could object to in itself -- to set aside the small padd ock behind
the orchard as a home of rest for animals who were past work, there
was a stormy debate over the correct retiring age for each class of

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

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

animal. The Meeting always ended with the singing of 'Beasts of
England', and the afternoon was given up to r ecreation.
The pigs had set aside the harness - room as a headquarters for
themselves. Here, in the evenings, they studied blacksmithing,
carpentering, and other necessary arts from books which they had
brought out of the farmhouse. Snowball also busied hims elf with
organising the other animals into what he called Animal Committees.
He was indefatigable at this. He formed the Egg Production Committee
for the hens, the Clean Tails League for the cows, the Wild Comrades'
Re - education Committee (the object of th is was to tame the rats and
rabbits), the Whiter Wool Movement for the sheep, and various others,
besides instituting classes in reading and writing. On the whole, these
projects were a failure. The attempt to tame the wild creatures, for
instance, broke d own almost immediately. They continued to behave
very much as before, and when treated with generosity, simply took
advantage of it. The cat joined the Re - education Committee and was
very active in it for some days. She was seen one day sitting on a roof
a nd talking to some sparrows who were just out of her reach. She was
telling them that all animals were now comrades and that any sparrow
who chose could come and perch on her paw; but the sparrows kept
their distance.
The reading and writing classes, howev er, were a great success. By the
autumn almost every animal on the farm was literate in some degree.
As for the pigs, they could already read and write perfectly. The dogs
learned to read fairly well, but were not interested in reading anything
except the  Seven Commandments. Muriel, the goat, could read
somewhat better than the dogs, and sometimes used to read to the
others in the evenings from scraps of newspaper which she found on
the rubbish heap. Benjamin could read as well as any pig, but never
exercis ed his faculty. So far as he knew, he said, there was nothing
worth reading. Clover learnt the whole alphabet, but could not put
words together. Boxer could not get beyond the letter D. He would

trace out A, B, C, D, in the dust with his great hoof, and th en would

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

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

stand staring at the letters with his ears back, sometimes shaking his
forelock, trying with all his might to remember what came next and
never succeeding. On several occasions, indeed, he did learn E, F, G, H,
but by the time he knew them, it was  always discovered that he had
forgotten A, B, C, and D. Finally he decided to be content with the first
four letters, and used to write them out once or twice every day to
refresh his memory. Mollie refused to learn any but the six letters
which spelt her  own name. She would form these very neatly out of
pieces of twig, and would then decorate them with a flower or two and
walk round them admiring them.
None of the other animals on the farm could get further than the letter
A. It was also found that the st upider animals, such as the sheep, hens,
and ducks, were unable to learn the Seven Commandments by heart.
After much thought Snowball declared that the Seven Commandments
could in effect be reduced to a single maxim, namely: "Four legs good,
two legs bad."  This, he said, contained the essential principle of
Animalism. Whoever had thoroughly grasped it would be safe from
human influences. The birds at first objected, since it seemed to them
that they also had two legs, but Snowball proved to them that this w as
not so.
"A bird's wing, comrades," he said, "is an organ of propulsion and not
of manipulation. It should therefore be regarded as a leg. The
distinguishing mark of man is the HAND, the instrument with which
he does all his mischief."
The birds did not  understand Snowball's long words, but they accepted
his explanation, and all the humbler animals set to work to learn the
new maxim by heart. FOUR LEGS GOOD, TWO LEGS BAD, was
inscribed on the end wall of the barn, above the Seven Commandments
and in bigge r letters When they had once got it by heart, the sheep
developed a great liking for this maxim, and often as they lay in the
field they would all start bleating "Four legs good, two legs bad! Four
legs good, two legs bad!" and keep it up for hours on end,  never

growing tired of it.

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

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

Napoleon took no interest in Snowball's committees. He said that the
education of the young was more important than anything that could
be done for those who were already grown up. It happened that Jessie
and Bluebell had both w helped soon after the hay harvest, giving birth
between them to nine sturdy puppies. As soon as they were weaned,
Napoleon took them away from their mothers, saying that he would
make himself responsible for their education. He took them up into a
loft whi ch could only be reached by a ladder from the harness - room,
and there kept them in such seclusion that the rest of the farm soon
forgot their existence.
The mystery of where the milk went to was soon cleared up. It was
mixed every day into the pigs' mash.  The early apples were now
ripening, and the grass of the orchard was littered with windfalls. The
animals had assumed as a matter of course that these would be shared
out equally; one day, however, the order went forth that all the
windfalls were to be col lected and brought to the harness - room for the
use of the pigs. At this some of the other animals murmured, but it was
no use. All the pigs were in full agreement on this point, even Snowball
and Napoleon. Squealer was sent to make the necessary explanatio ns
to the others.
"Comrades!" he cried. "You do not imagine, I hope, that we pigs are
doing this in a spirit of selfishness and privilege? Many of us actually
dislike milk and apples. I dislike them myself. Our sole object in taking
these things is to pres erve our health. Milk and apples (this has been
proved by Science, comrades) contain substances absolutely necessary
to the well - being of a pig. We pigs are brainworkers. The whole
management and organisation of this farm depend on us. Day and
night we are  watching over your welfare. It is for YOUR sake that we
drink that milk and eat those apples. Do you know what would happen
if we pigs failed in our duty? Jones would come back! Yes, Jones would
come back! Surely, comrades," cried Squealer almost pleading ly,
skipping from side to side and whisking his tail, "surely there is no one
among you who wants to see Jones come back?"

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

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

Now if there was one thing that the animals were completely certain of,
it was that they did not want Jones back. When it was put to  them in
this light, they had no more to say. The importance of keeping the pigs
in good health was all too obvious. So it was agreed without further
argument that the milk and the windfall apples (and also the main crop
of apples when they ripened) should  be reserved for the pigs alone.
Chapter IV
By the late summer the news of what had happened on Animal Farm
had spread across half the county. Every day Snowball and Napoleon
sent out flights of pigeons whose instructions were to mingle with the
animals on  neighbouring farms, tell them the story of the Rebellion,
and teach them the tune of 'Beasts of England'.
Most of this time Mr. Jones had spent sitting in the taproom of the Red
Lion at Willingdon, complaining to anyone who would listen of the
monstrous in justice he had suffered in being turned out of his property
by a pack of good - for - nothing animals. The other farmers sympathised
in principle, but they did not at first give him much help. At heart, each
of them was secretly wondering whether he could not  somehow turn
Jones's misfortune to his own advantage. It was lucky that the owners
of the two farms which adjoined Animal Farm were on permanently
bad terms. One of them, which was named Foxwood, was a large,
neglected, old - fashioned farm, much overgrown b y woodland, with all
its pastures worn out and its hedges in a disgraceful condition. Its
owner, Mr. Pilkington, was an easy - going gentleman farmer who spent
most of his time in fishing or hunting according to the season. The
other farm, which was called P inchfield, was smaller and better kept.
Its owner was a Mr. Frederick, a tough, shrewd man, perpetually
involved in lawsuits and with a name for driving hard bargains. These
two disliked each other so much that it was difficult for them to come
to any agre ement, even in defence of their own interests.
Nevertheless, they were both thoroughly frightened by the rebellion on

Animal Farm, and very anxious to prevent their own animals from

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

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

learning too much about it. At first they pretended to laugh to scorn the
idea of animals managing a farm for themselves. The whole thing
would be over in a fortnight, they said. They put it about that the
animals on the Manor Farm (they insisted on calling it the Manor
Farm; they would not tolerate the name "Animal Farm") were
perpetually fighting among themselves and were also rapidly starving
to death. When time passed and the animals had evidently not starved
to death, Frederick and Pilkington changed their tune and began to talk
of the terrible wickedness that now flourished  on Animal Farm. It was
given out that the animals there practised cannibalism, tortured one
another with red - hot horseshoes, and had their females in common.
This was what came of rebelling against the laws of Nature, Frederick
and Pilkington said.
Howeve r, these stories were never fully believed. Rumours of a
wonderful farm, where the human beings had been turned out and the
animals managed their own affairs, continued to circulate in vague and
distorted forms, and throughout that year a wave of rebelliou sness ran
through the countryside. Bulls which had always been tractable
suddenly turned savage, sheep broke down hedges and devoured the
clover, cows kicked the pail over, hunters refused their fences and shot
their riders on to the other side. Above all,  the tune and even the words
of 'Beasts of England' were known everywhere. It had spread with
astonishing speed. The human beings could not contain their rage
when they heard this song, though they pretended to think it merely
ridiculous. They could not un derstand, they said, how even animals
could bring themselves to sing such contemptible rubbish. Any animal
caught singing it was given a flogging on the spot. And yet the song was
irrepressible. The blackbirds whistled it in the hedges, the pigeons
cooed i t in the elms, it got into the din of the smithies and the tune of
the church bells. And when the human beings listened to it, they
secretly trembled, hearing in it a prophecy of their future doom.
Early in October, when the corn was cut and stacked and so me of it was
already threshed, a flight of pigeons came whirling through the air and

alighted in the yard of Animal Farm in the wildest excitement. Jones

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

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

and all his men, with half a dozen others from Foxwood and Pinchfield,
had entered the five - barred gat e and were coming up the cart - track
that led to the farm. They were all carrying sticks, except Jones, who
was marching ahead with a gun in his hands. Obviously they were
going to attempt the recapture of the farm.
This had long been expected, and all prep arations had been made.
Snowball, who had studied an old book of Julius Caesar's campaigns
which he had found in the farmhouse, was in charge of the defensive
operations. He gave his orders quickly, and in a couple of minutes
every animal was at his post.
As the human beings approached the farm buildings, Snowball
launched his first attack. All the pigeons, to the number of thirty - five,
flew to and fro over the men's heads and muted upon them from mid -
air; and while the men were dealing with this, the geese , who had been
hiding behind the hedge, rushed out and pecked viciously at the calves
of their legs. However, this was only a light skirmishing manoeuvre,
intended to create a little disorder, and the men easily drove the geese
off with their sticks. Snowb all now launched his second line of attack.
Muriel, Benjamin, and all the sheep, with Snowball at the head of
them, rushed forward and prodded and butted the men from every
side, while Benjamin turned around and lashed at them with his small
hoofs. But onc e again the men, with their sticks and their hobnailed
boots, were too strong for them; and suddenly, at a squeal from
Snowball, which was the signal for retreat, all the animals turned and
fled through the gateway into the yard.
The men gave a shout of tr iumph. They saw, as they imagined, their
enemies in flight, and they rushed after them in disorder. This was just
what Snowball had intended. As soon as they were well inside the yard,
the three horses, the three cows, and the rest of the pigs, who had bee n
lying in ambush in the cowshed, suddenly emerged in their rear,
cutting them off. Snowball now gave the signal for the charge. He
himself dashed straight for Jones. Jones saw him coming, raised his

gun and fired. The pellets scored bloody streaks along S nowball's back,

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

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

and a sheep dropped dead. Without halting for an instant, Snowball
flung his fifteen stone against Jones's legs. Jones was hurled into a pile
of dung and his gun flew out of his hands. But the most terrifying
spectacle of all was Boxer, rea ring up on his hind legs and striking out
with his great iron - shod hoofs like a stallion. His very first blow took a
stable - lad from Foxwood on the skull and stretched him lifeless in the
mud. At the sight, several men dropped their sticks and tried to run .
Panic overtook them, and the next moment all the animals together
were chasing them round and round the yard. They were gored, kicked,
bitten, trampled on. There was not an animal on the farm that did not
take vengeance on them after his own fashion. Eve n the cat suddenly
leapt off a roof onto a cowman's shoulders and sank her claws in his
neck, at which he yelled horribly. At a moment when the opening was
clear, the men were glad enough to rush out of the yard and make a
bolt for the main road. And so wi thin five minutes of their invasion
they were in ignominious retreat by the same way as they had come,
with a flock of geese hissing after them and pecking at their calves all
the way.
All the men were gone except one. Back in the yard Boxer was pawing
wit h his hoof at the stable - lad who lay face down in the mud, trying to
turn him over. The boy did not stir.
"He is dead," said Boxer sorrowfully. "I had no intention of doing that.
I forgot that I was wearing iron shoes. Who will believe that I did not
do th is on purpose?"
"No sentimentality, comrade!" cried Snowball from whose wounds the
blood was still dripping. "War is war. The only good human being is a
dead one."
"I have no wish to take life, not even human life," repeated Boxer, and
his eyes were full o f tears.
"Where is Mollie?" exclaimed somebody.

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

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

Mollie in fact was missing. For a moment there was great alarm; it was
feared that the men might have harmed her in some way, or even
carried her off with them. In the end, however, she was found hiding in
he r stall with her head buried among the hay in the manger. She had
taken to flight as soon as the gun went off. And when the others came
back from looking for her, it was to find that the stable - lad, who in fact
was only stunned, had already recovered and m ade off.
The animals had now reassembled in the wildest excitement, each
recounting his own exploits in the battle at the top of his voice. An
impromptu celebration of the victory was held immediately. The flag
was run up and 'Beasts of England' was sung a  number of times, then
the sheep who had been killed was given a solemn funeral, a hawthorn
bush being planted on her grave. At the graveside Snowball made a
little speech, emphasising the need for all animals to be ready to die for
Animal Farm if need be.
The animals decided unanimously to create a military decoration,
"Animal Hero, First Class," which was conferred there and then on
Snowball and Boxer. It consisted of a brass medal (they were really
some old horse - brasses which had been found in the harne ss - room), to
be worn on Sundays and holidays. There was also "Animal Hero,
Second Class," which was conferred posthumously on the dead sheep.
There was much discussion as to what the battle should be called. In
the end, it was named the Battle of the Cowsh ed, since that was where
the ambush had been sprung. Mr. Jones's gun had been found lying in
the mud, and it was known that there was a supply of cartridges in the
farmhouse. It was decided to set the gun up at the foot of the Flagstaff,
like a piece of ar tillery, and to fire it twice a year -- once on October the
twelfth, the anniversary of the Battle of the Cowshed, and once on
Midsummer Day, the anniversary of the Rebellion.
Chapter V

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

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

As winter drew on, Mollie became more and more troublesome. She
was late  for work every morning and excused herself by saying that she
had overslept, and she complained of mysterious pains, although her
appetite was excellent. On every kind of pretext she would run away
from work and go to the drinking pool, where she would st and foolishly
gazing at her own reflection in the water. But there were also rumours
of something more serious. One day, as Mollie strolled blithely into the
yard, flirting her long tail and chewing at a stalk of hay, Clover took her
aside.
"Mollie," she s aid, "I have something very serious to say to you. This
morning I saw you looking over the hedge that divides Animal Farm
from Foxwood. One of Mr. Pilkington's men was standing on the other
side of the hedge. And -- I was a long way away, but I am almost cer tain
I saw this -- he was talking to you and you were allowing him to stroke
your nose. What does that mean, Mollie?"
"He didn't! I wasn't! It isn't true!" cried Mollie, beginning to prance
about and paw the ground.
"Mollie! Look me in the face. Do you give  me your word of honour that
that man was not stroking your nose?"
"It isn't true!" repeated Mollie, but she could not look Clover in the
face, and the next moment she took to her heels and galloped away into
the field.
A thought struck Clover. Without sayi ng anything to the others, she
went to Mollie's stall and turned over the straw with her hoof. Hidden
under the straw was a little pile of lump sugar and several bunches of
ribbon of different colours.
Three days later Mollie disappeared. For some weeks no thing was
known of her whereabouts, then the pigeons reported that they had
seen her on the other side of Willingdon. She was between the shafts of
a smart dogcart painted red and black, which was standing outside a

public - house. A fat red - faced man in che ck breeches and gaiters, who

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

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

looked like a publican, was stroking her nose and feeding her with
sugar. Her coat was newly clipped and she wore a scarlet ribbon round
her forelock. She appeared to be enjoying herself, so the pigeons said.
None of the animal s ever mentioned Mollie again.
In January there came bitterly hard weather. The earth was like iron,
and nothing could be done in the fields. Many meetings were held in
the big barn, and the pigs occupied themselves with planning out the
work of the coming  season. It had come to be accepted that the pigs,
who were manifestly cleverer than the other animals, should decide all
questions of farm policy, though their decisions had to be ratified by a
majority vote. This arrangement would have worked well enough  if it
had not been for the disputes between Snowball and Napoleon. These
two disagreed at every point where disagreement was possible. If one
of them suggested sowing a bigger acreage with barley, the other was
certain to demand a bigger acreage of oats,  and if one of them said that
such and such a field was just right for cabbages, the other would
declare that it was useless for anything except roots. Each had his own
following, and there were some violent debates. At the Meetings
Snowball often won over  the majority by his brilliant speeches, but
Napoleon was better at canvassing support for himself in between
times. He was especially successful with the sheep. Of late the sheep
had taken to bleating "Four legs good, two legs bad" both in and out of
seaso n, and they often interrupted the Meeting with this. It was noticed
that they were especially liable to break into "Four legs good, two legs
bad" at crucial moments in Snowball's speeches. Snowball had made a
close study of some back numbers of the 'Farmer  and Stockbreeder'
which he had found in the farmhouse, and was full of plans for
innovations and improvements. He talked learnedly about field drains,
silage, and basic slag, and had worked out a complicated scheme for all
the animals to drop their dung d irectly in the fields, at a different spot
every day, to save the labour of cartage. Napoleon produced no
schemes of his own, but said quietly that Snowball's would come to
nothing, and seemed to be biding his time. But of all their

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

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

controversies, none was  so bitter as the one that took place over the
windmill.
In the long pasture, not far from the farm buildings, there was a small
knoll which was the highest point on the farm. After surveying the
ground, Snowball declared that this was just the place for a  windmill,
which could be made to operate a dynamo and supply the farm with
electrical power. This would light the stalls and warm them in winter,
and would also run a circular saw, a chaff - cutter, a mangel - slicer, and
an electric milking machine. The anim als had never heard of anything
of this kind before (for the farm was an old - fashioned one and had only
the most primitive machinery), and they listened in astonishment
while Snowball conjured up pictures of fantastic machines which would
do their work for  them while they grazed at their ease in the fields or
improved their minds with reading and conversation.
Within a few weeks Snowball's plans for the windmill were fully
worked out. The mechanical details came mostly from three books
which had belonged to  Mr. Jones -- 'One Thousand Useful Things to Do
About the House', 'Every Man His Own Bricklayer', and 'Electricity for
Beginners'. Snowball used as his study a shed which had once been
used for incubators and had a smooth wooden floor, suitable for
drawing o n. He was closeted there for hours at a time. With his books
held open by a stone, and with a piece of chalk gripped between the
knuckles of his trotter, he would move rapidly to and fro, drawing in
line after line and uttering little whimpers of excitemen t. Gradually the
plans grew into a complicated mass of cranks and cog - wheels, covering
more than half the floor, which the other animals found completely
unintelligible but very impressive. All of them came to look at
Snowball's drawings at least once a da y. Even the hens and ducks
came, and were at pains not to tread on the chalk marks. Only
Napoleon held aloof. He had declared himself against the windmill
from the start. One day, however, he arrived unexpectedly to examine
the plans. He walked heavily rou nd the shed, looked closely at every
detail of the plans and snuffed at them once or twice, then stood for a

little while contemplating them out of the corner of his eye; then

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

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

suddenly he lifted his leg, urinated over the plans, and walked out
without utte ring a word.
The whole farm was deeply divided on the subject of the windmill.
Snowball did not deny that to build it would be a difficult business.
Stone would have to be carried and built up into walls, then the sails
would have to be made and after that  there would be need for dynamos
and cables. (How these were to be procured, Snowball did not say.) But
he maintained that it could all be done in a year. And thereafter, he
declared, so much labour would be saved that the animals would only
need to work t hree days a week. Napoleon, on the other hand, argued
that the great need of the moment was to increase food production, and
that if they wasted time on the windmill they would all starve to death.
The animals formed themselves into two factions under the  slogan,
"Vote for Snowball and the three - day week" and "Vote for Napoleon
and the full manger." Benjamin was the only animal who did not side
with either faction. He refused to believe either that food would
become more plentiful or that the windmill would  save work. Windmill
or no windmill, he said, life would go on as it had always gone on -- that
is, badly.
Apart from the disputes over the windmill, there was the question of
the defence of the farm. It was fully realised that though the human
beings had be en defeated in the Battle of the Cowshed they might make
another and more determined attempt to recapture the farm and
reinstate Mr. Jones. They had all the more reason for doing so because
the news of their defeat had spread across the countryside and mad e
the animals on the neighbouring farms more restive than ever. As
usual, Snowball and Napoleon were in disagreement. According to
Napoleon, what the animals must do was to procure firearms and train
themselves in the use of them. According to Snowball, th ey must send
out more and more pigeons and stir up rebellion among the animals on
the other farms. The one argued that if they could not defend
themselves they were bound to be conquered, the other argued that if
rebellions happened everywhere they would h ave no need to defend

themselves. The animals listened first to Napoleon, then to Snowball,

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

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

and could not make up their minds which was right; indeed, they
always found themselves in agreement with the one who was speaking
at the moment.
At last the day ca me when Snowball's plans were completed. At the
Meeting on the following Sunday the question of whether or not to
begin work on the windmill was to be put to the vote. When the
animals had assembled in the big barn, Snowball stood up and, though
occasional ly interrupted by bleating from the sheep, set forth his
reasons for advocating the building of the windmill. Then Napoleon
stood up to reply. He said very quietly that the windmill was nonsense
and that he advised nobody to vote for it, and promptly sat d own again;
he had spoken for barely thirty seconds, and seemed almost indifferent
as to the effect he produced. At this Snowball sprang to his feet, and
shouting down the sheep, who had begun bleating again, broke into a
passionate appeal in favour of the  windmill. Until now the animals had
been about equally divided in their sympathies, but in a moment
Snowball's eloquence had carried them away. In glowing sentences he
painted a picture of Animal Farm as it might be when sordid labour
was lifted from the a nimals' backs. His imagination had now run far
beyond chaff - cutters and turnip - slicers. Electricity, he said, could
operate threshing machines, ploughs, harrows, rollers, and reapers and
binders, besides supplying every stall with its own electric light, h ot
and cold water, and an electric heater. By the time he had finished
speaking, there was no doubt as to which way the vote would go. But
just at this moment Napoleon stood up and, casting a peculiar sidelong
look at Snowball, uttered a high - pitched whimp er of a kind no one had
ever heard him utter before.
At this there was a terrible baying sound outside, and nine enormous
dogs wearing brass - studded collars came bounding into the barn. They
dashed straight for Snowball, who only sprang from his place just  in
time to escape their snapping jaws. In a moment he was out of the door
and they were after him. Too amazed and frightened to speak, all the
animals crowded through the door to watch the chase. Snowball was

racing across the long pasture that led to the  road. He was running as

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

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

only a pig can run, but the dogs were close on his heels. Suddenly he
slipped and it seemed certain that they had him. Then he was up again,
running faster than ever, then the dogs were gaining on him again. One
of them all but clo sed his jaws on Snowball's tail, but Snowball whisked
it free just in time. Then he put on an extra spurt and, with a few inches
to spare, slipped through a hole in the hedge and was seen no more.
Silent and terrified, the animals crept back into the barn.  In a moment
the dogs came bounding back. At first no one had been able to imagine
where these creatures came from, but the problem was soon solved:
they were the puppies whom Napoleon had taken away from their
mothers and reared privately. Though not yet  full - grown, they were
huge dogs, and as fierce - looking as wolves. They kept close to
Napoleon. It was noticed that they wagged their tails to him in the
same way as the other dogs had been used to do to Mr. Jones.
Napoleon, with the dogs following him, now  mounted on to the raised
portion of the floor where Major had previously stood to deliver his
speech. He announced that from now on the Sunday - morning
Meetings would come to an end. They were unnecessary, he said, and
wasted time. In future all questions  relating to the working of the farm
would be settled by a special committee of pigs, presided over by
himself. These would meet in private and afterwards communicate
their decisions to the others. The animals would still assemble on
Sunday mornings to salu te the flag, sing 'Beasts of England', and
receive their orders for the week; but there would be no more debates.
In spite of the shock that Snowball's expulsion had given them, the
animals were dismayed by this announcement. Several of them would
have pro tested if they could have found the right arguments. Even
Boxer was vaguely troubled. He set his ears back, shook his forelock
several times, and tried hard to marshal his thoughts; but in the end he
could not think of anything to say. Some of the pigs the mselves,
however, were more articulate. Four young porkers in the front row
uttered shrill squeals of disapproval, and all four of them sprang to

their feet and began speaking at once. But suddenly the dogs sitting

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

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

round Napoleon let out deep, menacing gro wls, and the pigs fell silent
and sat down again. Then the sheep broke out into a tremendous
bleating of "Four legs good, two legs bad!" which went on for nearly a
quarter of an hour and put an end to any chance of discussion.
Afterwards Squealer was sent  round the farm to explain the new
arrangement to the others.
"Comrades," he said, "I trust that every animal here appreciates the
sacrifice that Comrade Napoleon has made in taking this extra labour
upon himself. Do not imagine, comrades, that leadership i s a pleasure!
On the contrary, it is a deep and heavy responsibility. No one believes
more firmly than Comrade Napoleon that all animals are equal. He
would be only too happy to let you make your decisions for yourselves.
But sometimes you might make the w rong decisions, comrades, and
then where should we be? Suppose you had decided to follow Snowball,
with his moonshine of windmills -- Snowball, who, as we now know, was
no better than a criminal?"
"He fought bravely at the Battle of the Cowshed," said somebo dy.
"Bravery is not enough," said Squealer. "Loyalty and obedience are
more important. And as to the Battle of the Cowshed, I believe the time
will come when we shall find that Snowball's part in it was much
exaggerated. Discipline, comrades, iron discipli ne! That is the
watchword for today. One false step, and our enemies would be upon
us. Surely, comrades, you do not want Jones back?"
Once again this argument was unanswerable. Certainly the animals did
not want Jones back; if the holding of debates on Sun day mornings was
liable to bring him back, then the debates must stop. Boxer, who had
now had time to think things over, voiced the general feeling by saying:
"If Comrade Napoleon says it, it must be right." And from then on he
adopted the maxim, "Napoleon  is always right," in addition to his
private motto of "I will work harder."

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

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

By this time the weather had broken and the spring ploughing had
begun. The shed where Snowball had drawn his plans of the windmill
had been shut up and it was assumed that the pl ans had been rubbed
off the floor. Every Sunday morning at ten o'clock the animals
assembled in the big barn to receive their orders for the week. The skull
of old Major, now clean of flesh, had been disinterred from the orchard
and set up on a stump at th e foot of the flagstaff, beside the gun. After
the hoisting of the flag, the animals were required to file past the skull
in a reverent manner before entering the barn. Nowadays they did not
sit all together as they had done in the past. Napoleon, with Squ ealer
and another pig named Minimus, who had a remarkable gift for
composing songs and poems, sat on the front of the raised platform,
with the nine young dogs forming a semicircle round them, and the
other pigs sitting behind. The rest of the animals sat  facing them in the
main body of the barn. Napoleon read out the orders for the week in a
gruff soldierly style, and after a single singing of 'Beasts of England', all
the animals dispersed.
On the third Sunday after Snowball's expulsion, the animals were
s omewhat surprised to hear Napoleon announce that the windmill was
to be built after all. He did not give any reason for having changed his
mind, but merely warned the animals that this extra task would mean
very hard work, it might even be necessary to red uce their rations. The
plans, however, had all been prepared, down to the last detail. A special
committee of pigs had been at work upon them for the past three
weeks. The building of the windmill, with various other improvements,
was expected to take two  years.
That evening Squealer explained privately to the other animals that
Napoleon had never in reality been opposed to the windmill. On the
contrary, it was he who had advocated it in the beginning, and the plan
which Snowball had drawn on the floor of t he incubator shed had
actually been stolen from among Napoleon's papers. The windmill was,
in fact, Napoleon's own creation. Why, then, asked somebody, had he
spoken so strongly against it? Here Squealer looked very sly. That, he

said, was Comrade Napoleon 's cunning. He had SEEMED to oppose

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

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

the windmill, simply as a manoeuvre to get rid of Snowball, who was a
dangerous character and a bad influence. Now that Snowball was out of
the way, the plan could go forward without his interference. This, said
Squealer , was something called tactics. He repeated a number of times,
"Tactics, comrades, tactics!" skipping round and whisking his tail with
a merry laugh. The animals were not certain what the word meant, but
Squealer spoke so persuasively, and the three dogs w ho happened to be
with him growled so threateningly, that they accepted his explanation
without further questions.
Chapter VI
All that year the animals worked like slaves. But they were happy in
their work; they grudged no effort or sacrifice, well aware t hat
everything that they did was for the benefit of themselves and those of
their kind who would come after them, and not for a pack of idle,
thieving human beings.
Throughout the spring and summer they worked a sixty - hour week,
and in August Napoleon anno unced that there would be work on
Sunday afternoons as well. This work was strictly voluntary, but any
animal who absented himself from it would have his rations reduced by
half. Even so, it was found necessary to leave certain tasks undone. The
harvest wa s a little less successful than in the previous year, and two
fields which should have been sown with roots in the early summer
were not sown because the ploughing had not been completed early
enough. It was possible to foresee that the coming winter would  be a
hard one.
The windmill presented unexpected difficulties. There was a good
quarry of limestone on the farm, and plenty of sand and cement had
been found in one of the outhouses, so that all the materials for
building were at hand. But the problem the  animals could not at first
solve was how to break up the stone into pieces of suitable size. There
seemed no way of doing this except with picks and crowbars, which no

animal could use, because no animal could stand on his hind legs. Only

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

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

after weeks of v ain effort did the right idea occur to somebody - namely,
to utilise the force of gravity. Huge boulders, far too big to be used as
they were, were lying all over the bed of the quarry. The animals lashed
ropes round these, and then all together, cows, horse s, sheep, any
animal that could lay hold of the rope -- even the pigs sometimes joined
in at critical moments -- they dragged them with desperate slowness up
the slope to the top of the quarry, where they were toppled over the
edge, to shatter to pieces below.  Transporting the stone when it was
once broken was comparatively simple. The horses carried it off in cart -
loads, the sheep dragged single blocks, even Muriel and Benjamin
yoked themselves into an old governess - cart and did their share. By
late summer a s ufficient store of stone had accumulated, and then the
building began, under the superintendence of the pigs.
But it was a slow, laborious process. Frequently it took a whole day of
exhausting effort to drag a single boulder to the top of the quarry, and
s ometimes when it was pushed over the edge it failed to break. Nothing
could have been achieved without Boxer, whose strength seemed equal
to that of all the rest of the animals put together. When the boulder
began to slip and the animals cried out in despa ir at finding themselves
dragged down the hill, it was always Boxer who strained himself
against the rope and brought the boulder to a stop. To see him toiling
up the slope inch by inch, his breath coming fast, the tips of his hoofs
clawing at the ground,  and his great sides matted with sweat, filled
everyone with admiration. Clover warned him sometimes to be careful
not to overstrain himself, but Boxer would never listen to her. His two
slogans, "I will work harder" and "Napoleon is always right," seemed t o
him a sufficient answer to all problems. He had made arrangements
with the cockerel to call him three - quarters of an hour earlier in the
mornings instead of half an hour. And in his spare moments, of which
there were not many nowadays, he would go alone  to the quarry, collect
a load of broken stone, and drag it down to the site of the windmill
unassisted.
The animals were not badly off throughout that summer, in spite of the

hardness of their work. If they had no more food than they had had in

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

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

Jones's day , at least they did not have less. The advantage of only
having to feed themselves, and not having to support five extravagant
human beings as well, was so great that it would have taken a lot of
failures to outweigh it. And in many ways the animal method  of doing
things was more efficient and saved labour. Such jobs as weeding, for
instance, could be done with a thoroughness impossible to human
beings. And again, since no animal now stole, it was unnecessary to
fence off pasture from arable land, which sav ed a lot of labour on the
upkeep of hedges and gates. Nevertheless, as the summer wore on,
various unforeseen shortages began to make them selves felt. There
was need of paraffin oil, nails, string, dog biscuits, and iron for the
horses' shoes, none of whi ch could be produced on the farm. Later
there would also be need for seeds and artificial manures, besides
various tools and, finally, the machinery for the windmill. How these
were to be procured, no one was able to imagine.
One Sunday morning, when the a nimals assembled to receive their
orders, Napoleon announced that he had decided upon a new policy.
From now onwards Animal Farm would engage in trade with the
neighbouring farms: not, of course, for any commercial purpose, but
simply in order to obtain ce rtain materials which were urgently
necessary. The needs of the windmill must override everything else, he
said. He was therefore making arrangements to sell a stack of hay and
part of the current year's wheat crop, and later on, if more money were
needed,  it would have to be made up by the sale of eggs, for which there
was always a market in Willingdon. The hens, said Napoleon, should
welcome this sacrifice as their own special contribution towards the
building of the windmill.
Once again the animals were  conscious of a vague uneasiness. Never to
have any dealings with human beings, never to engage in trade, never
to make use of money -- had not these been among the earliest
resolutions passed at that first triumphant Meeting after Jones was
expelled? All the  animals remembered passing such resolutions: or at
least they thought that they remembered it. The four young pigs who

had protested when Napoleon abolished the Meetings raised their

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

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

voices timidly, but they were promptly silenced by a tremendous
growling  from the dogs. Then, as usual, the sheep broke into "Four legs
good, two legs bad!" and the momentary awkwardness was smoothed
over. Finally Napoleon raised his trotter for silence and announced that
he had already made all the arrangements. There would b e no need for
any of the animals to come in contact with human beings, which would
clearly be most undesirable. He intended to take the whole burden
upon his own shoulders. A Mr. Whymper, a solicitor living in
Willingdon, had agreed to act as intermediary  between Animal Farm
and the outside world, and would visit the farm every Monday morning
to receive his instructions. Napoleon ended his speech with his usual
cry of "Long live Animal Farm!" and after the singing of 'Beasts of
England' the animals were dis missed.
Afterwards Squealer made a round of the farm and set the animals'
minds at rest. He assured them that the resolution against engaging in
trade and using money had never been passed, or even suggested. It
was pure imagination, probably traceable in  the beginning to lies
circulated by Snowball. A few animals still felt faintly doubtful, but
Squealer asked them shrewdly, "Are you certain that this is not
something that you have dreamed, comrades? Have you any record of
such a resolution? Is it written  down anywhere?" And since it was
certainly true that nothing of the kind existed in writing, the animals
were satisfied that they had been mistaken.
Every Monday Mr. Whymper visited the farm as had been arranged.
He was a sly - looking little man with side w hiskers, a solicitor in a very
small way of business, but sharp enough to have realised earlier than
anyone else that Animal Farm would need a broker and that the
commissions would be worth having. The animals watched his coming
and going with a kind of dr ead, and avoided him as much as possible.
Nevertheless, the sight of Napoleon, on all fours, delivering orders to
Whymper, who stood on two legs, roused their pride and partly
reconciled them to the new arrangement. Their relations with the
human race were  now not quite the same as they had been before. The

human beings did not hate Animal Farm any less now that it was

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

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

prospering; indeed, they hated it more than ever. Every human being
held it as an article of faith that the farm would go bankrupt sooner or
later, and, above all, that the windmill would be a failure. They would
meet in the public - houses and prove to one another by means of
diagrams that the windmill was bound to fall down, or that if it did
stand up, then that it would never work. And yet, a gainst their will,
they had developed a certain respect for the efficiency with which the
animals were managing their own affairs. One symptom of this was
that they had begun to call Animal Farm by its proper name and ceased
to pretend that it was called t he Manor Farm. They had also dropped
their championship of Jones, who had given up hope of getting his
farm back and gone to live in another part of the county. Except
through Whymper, there was as yet no contact between Animal Farm
and the outside world,  but there were constant rumours that Napoleon
was about to enter into a definite business agreement either with Mr.
Pilkington of Foxwood or with Mr. Frederick of Pinchfield -- but never,
it was noticed, with both simultaneously.
It was about this time that  the pigs suddenly moved into the farmhouse
and took up their residence there. Again the animals seemed to
remember that a resolution against this had been passed in the early
days, and again Squealer was able to convince them that this was not
the case. It  was absolutely necessary, he said, that the pigs, who were
the brains of the farm, should have a quiet place to work in. It was also
more suited to the dignity of the Leader (for of late he had taken to
speaking of Napoleon under the title of "Leader") to  live in a house
than in a mere sty. Nevertheless, some of the animals were disturbed
when they heard that the pigs not only took their meals in the kitchen
and used the drawing - room as a recreation room, but also slept in the
beds. Boxer passed it off as  usual with "Napoleon is always right!", but
Clover, who thought she remembered a definite ruling against beds,
went to the end of the barn and tried to puzzle out the Seven
Commandments which were inscribed there. Finding herself unable to
read more than i ndividual letters, she fetched Muriel.

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

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

"Muriel," she said, "read me the Fourth Commandment. Does it not say
something about never sleeping in a bed?"
With some difficulty Muriel spelt it out.
"It says, 'No animal shall sleep in a bed with sheets,"' she ann ounced
finally.
Curiously enough, Clover had not remembered that the Fourth
Commandment mentioned sheets; but as it was there on the wall, it
must have done so. And Squealer, who happened to be passing at this
moment, attended by two or three dogs, was abl e to put the whole
matter in its proper perspective.
"You have heard then, comrades," he said, "that we pigs now sleep in
the beds of the farmhouse? And why not? You did not suppose, surely,
that there was ever a ruling against beds? A bed merely means a p lace
to sleep in. A pile of straw in a stall is a bed, properly regarded. The
rule was against sheets, which are a human invention. We have
removed the sheets from the farmhouse beds, and sleep between
blankets. And very comfortable beds they are too! But  not more
comfortable than we need, I can tell you, comrades, with all the
brainwork we have to do nowadays. You would not rob us of our
repose, would you, comrades? You would not have us too tired to carry
out our duties? Surely none of you wishes to see J ones back?"
The animals reassured him on this point immediately, and no more
was said about the pigs sleeping in the farmhouse beds. And when,
some days afterwards, it was announced that from now on the pigs
would get up an hour later in the mornings than  the other animals, no
complaint was made about that either.
By the autumn the animals were tired but happy. They had had a hard
year, and after the sale of part of the hay and corn, the stores of food
for the winter were none too plentiful, but the windmil l compensated
for everything. It was almost half built now. After the harvest there was

a stretch of clear dry weather, and the animals toiled harder than ever,

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

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

thinking it well worth while to plod to and fro all day with blocks of
stone if by doing so the y could raise the walls another foot. Boxer
would even come out at nights and work for an hour or two on his own
by the light of the harvest moon. In their spare moments the animals
would walk round and round the half - finished mill, admiring the
strength a nd perpendicularity of its walls and marvelling that they
should ever have been able to build anything so imposing. Only old
Benjamin refused to grow enthusiastic about the windmill, though, as
usual, he would utter nothing beyond the cryptic remark that d onkeys
live a long time.
November came, with raging south - west winds. Building had to stop
because it was now too wet to mix the cement. Finally there came a
night when the gale was so violent that the farm buildings rocked on
their foundations and several  tiles were blown off the roof of the barn.
The hens woke up squawking with terror because they had all dreamed
simultaneously of hearing a gun go off in the distance. In the morning
the animals came out of their stalls to find that the flagstaff had been
blown down and an elm tree at the foot of the orchard had been
plucked up like a radish. They had just noticed this when a cry of
despair broke from every animal's throat. A terrible sight had met their
eyes. The windmill was in ruins.
With one accord they  dashed down to the spot. Napoleon, who seldom
moved out of a walk, raced ahead of them all. Yes, there it lay, the fruit
of all their struggles, levelled to its foundations, the stones they had
broken and carried so laboriously scattered all around. Unabl e at first
to speak, they stood gazing mournfully at the litter of fallen stone.
Napoleon paced to and fro in silence, occasionally snuffing at the
ground. His tail had grown rigid and twitched sharply from side to side,
a sign in him of intense mental act ivity. Suddenly he halted as though
his mind were made up.
"Comrades," he said quietly, "do you know who is responsible for this?
Do you know the enemy who has come in the night and overthrown our

windmill? SNOWBALL!" he suddenly roared in a voice of thund er.

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

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

"Snowball has done this thing! In sheer malignity, thinking to set back
our plans and avenge himself for his ignominious expulsion, this traitor
has crept here under cover of night and destroyed our work of nearly a
year. Comrades, here and now I prono unce the death sentence upon
Snowball. 'Animal Hero, Second Class,' and half a bushel of apples to
any animal who brings him to justice. A full bushel to anyone who
captures him alive!"
The animals were shocked beyond measure to learn that even Snowball
co uld be guilty of such an action. There was a cry of indignation, and
everyone began thinking out ways of catching Snowball if he should
ever come back. Almost immediately the footprints of a pig were
discovered in the grass at a little distance from the kn oll. They could
only be traced for a few yards, but appeared to lead to a hole in the
hedge. Napoleon snuffed deeply at them and pronounced them to be
Snowball's. He gave it as his opinion that Snowball had probably come
from the direction of Foxwood Farm.
"No more delays, comrades!" cried Napoleon when the footprints had
been examined. "There is work to be done. This very morning we begin
rebuilding the windmill, and we will build all through the winter, rain
or shine. We will teach this miserable traitor  that he cannot undo our
work so easily. Remember, comrades, there must be no alteration in
our plans: they shall be carried out to the day. Forward, comrades!
Long live the windmill! Long live Animal Farm!"
Chapter VII
It was a bitter winter. The stormy we ather was followed by sleet and
snow, and then by a hard frost which did not break till well into
February. The animals carried on as best they could with the rebuilding
of the windmill, well knowing that the outside world was watching
them and that the en vious human beings would rejoice and triumph if
the mill were not finished on time.

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

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

Out of spite, the human beings pretended not to believe that it was
Snowball who had destroyed the windmill: they said that it had fallen
down because the walls were too th in. The animals knew that this was
not the case. Still, it had been decided to build the walls three feet thick
this time instead of eighteen inches as before, which meant collecting
much larger quantities of stone. For a long time the quarry was full of
s nowdrifts and nothing could be done. Some progress was made in the
dry frosty weather that followed, but it was cruel work, and the animals
could not feel so hopeful about it as they had felt before. They were
always cold, and usually hungry as well. Only  Boxer and Clover never
lost heart. Squealer made excellent speeches on the joy of service and
the dignity of labour, but the other animals found more inspiration in
Boxer's strength and his never - failing cry of "I will work harder!"
In January food fell sh ort. The corn ration was drastically reduced, and
it was announced that an extra potato ration would be issued to make
up for it. Then it was discovered that the greater part of the potato crop
had been frosted in the clamps, which had not been covered thi ckly
enough. The potatoes had become soft and discoloured, and only a few
were edible. For days at a time the animals had nothing to eat but chaff
and mangels. Starvation seemed to stare them in the face.
It was vitally necessary to conceal this fact from  the outside world.
Emboldened by the collapse of the windmill, the human beings were
inventing fresh lies about Animal Farm. Once again it was being put
about that all the animals were dying of famine and disease, and that
they were continually fighting am ong themselves and had resorted to
cannibalism and infanticide. Napoleon was well aware of the bad
results that might follow if the real facts of the food situation were
known, and he decided to make use of Mr. Whymper to spread a
contrary impression. Hith erto the animals had had little or no contact
with Whymper on his weekly visits: now, however, a few selected
animals, mostly sheep, were instructed to remark casually in his
hearing that rations had been increased. In addition, Napoleon ordered
the almost  empty bins in the store - shed to be filled nearly to the brim

with sand, which was then covered up with what remained of the grain

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

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

and meal. On some suitable pretext Whymper was led through the
store - shed and allowed to catch a glimpse of the bins. He was  deceived,
and continued to report to the outside world that there was no food
shortage on Animal Farm.
Nevertheless, towards the end of January it became obvious that it
would be necessary to procure some more grain from somewhere. In
these days Napoleon r arely appeared in public, but spent all his time in
the farmhouse, which was guarded at each door by fierce - looking dogs.
When he did emerge, it was in a ceremonial manner, with an escort of
six dogs who closely surrounded him and growled if anyone came to o
near. Frequently he did not even appear on Sunday mornings, but
issued his orders through one of the other pigs, usually Squealer.
One Sunday morning Squealer announced that the hens, who had just
come in to lay again, must surrender their eggs. Napoleon  had
accepted, through Whymper, a contract for four hundred eggs a week.
The price of these would pay for enough grain and meal to keep the
farm going till summer came on and conditions were easier.
When the hens heard this, they raised a terrible outcry.  They had been
warned earlier that this sacrifice might be necessary, but had not
believed that it would really happen. They were just getting their
clutches ready for the spring sitting, and they protested that to take the
eggs away now was murder. For the  first time since the expulsion of
Jones, there was something resembling a rebellion. Led by three young
Black Minorca pullets, the hens made a determined effort to thwart
Napoleon's wishes. Their method was to fly up to the rafters and there
lay their egg s, which smashed to pieces on the floor. Napoleon acted
swiftly and ruthlessly. He ordered the hens' rations to be stopped, and
decreed that any animal giving so much as a grain of corn to a hen
should be punished by death. The dogs saw to it that these or ders were
carried out. For five days the hens held out, then they capitulated and
went back to their nesting boxes. Nine hens had died in the meantime.
Their bodies were buried in the orchard, and it was given out that they

had died of coccidiosis. Whymper  heard nothing of this affair, and the

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

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

eggs were duly delivered, a grocer's van driving up to the farm once a
week to take them away.
All this while no more had been seen of Snowball. He was rumoured to
be hiding on one of the neighbouring farms, either Fo xwood or
Pinchfield. Napoleon was by this time on slightly better terms with the
other farmers than before. It happened that there was in the yard a pile
of timber which had been stacked there ten years earlier when a beech
spinney was cleared. It was well  seasoned, and Whymper had advised
Napoleon to sell it; both Mr. Pilkington and Mr. Frederick were
anxious to buy it. Napoleon was hesitating between the two, unable to
make up his mind. It was noticed that whenever he seemed on the
point of coming to an a greement with Frederick, Snowball was
declared to be in hiding at Foxwood, while, when he inclined toward
Pilkington, Snowball was said to be at Pinchfield.
Suddenly, early in the spring, an alarming thing was discovered.
Snowball was secretly frequenting  the farm by night! The animals were
so disturbed that they could hardly sleep in their stalls. Every night, it
was said, he came creeping in under cover of darkness and performed
all kinds of mischief. He stole the corn, he upset the milk - pails, he
broke t he eggs, he trampled the seedbeds, he gnawed the bark off the
fruit trees. Whenever anything went wrong it became usual to attribute
it to Snowball. If a window was broken or a drain was blocked up,
someone was certain to say that Snowball had come in the  night and
done it, and when the key of the store - shed was lost, the whole farm
was convinced that Snowball had thrown it down the well. Curiously
enough, they went on believing this even after the mislaid key was
found under a sack of meal. The cows declar ed unanimously that
Snowball crept into their stalls and milked them in their sleep. The
rats, which had been troublesome that winter, were also said to be in
league with Snowball.
Napoleon decreed that there should be a full investigation into
Snowball's  activities. With his dogs in attendance he set out and made

a careful tour of inspection of the farm buildings, the other animals

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

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

following at a respectful distance. At every few steps Napoleon stopped
and snuffed the ground for traces of Snowball's footst eps, which, he
said, he could detect by the smell. He snuffed in every corner, in the
barn, in the cow - shed, in the henhouses, in the vegetable garden, and
found traces of Snowball almost everywhere. He would put his snout to
the ground, give several deep  sniffs, ad exclaim in a terrible voice,
"Snowball! He has been here! I can smell him distinctly!" and at the
word "Snowball" all the dogs let out blood - curdling growls and showed
their side teeth.
The animals were thoroughly frightened. It seemed to them a s though
Snowball were some kind of invisible influence, pervading the air about
them and menacing them with all kinds of dangers. In the evening
Squealer called them together, and with an alarmed expression on his
face told them that he had some serious n ews to report.
"Comrades!" cried Squealer, making little nervous skips, "a most
terrible thing has been discovered. Snowball has sold himself to
Frederick of Pinchfield Farm, who is even now plotting to attack us and
take our farm away from us! Snowball is  to act as his guide when the
attack begins. But there is worse than that. We had thought that
Snowball's rebellion was caused simply by his vanity and ambition. But
we were wrong, comrades. Do you know what the real reason was?
Snowball was in league with  Jones from the very start! He was Jones's
secret agent all the time. It has all been proved by documents which he
left behind him and which we have only just discovered. To my mind
this explains a great deal, comrades. Did we not see for ourselves how
he  attempted -- fortunately without success -- to get us defeated and
destroyed at the Battle of the Cowshed?"
The animals were stupefied. This was a wickedness far outdoing
Snowball's destruction of the windmill. But it was some minutes before
they could fully t ake it in. They all remembered, or thought they
remembered, how they had seen Snowball charging ahead of them at
the Battle of the Cowshed, how he had rallied and encouraged them at

every turn, and how he had not paused for an instant even when the

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

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

pellets  from Jones's gun had wounded his back. At first it was a little
difficult to see how this fitted in with his being on Jones's side. Even
Boxer, who seldom asked questions, was puzzled. He lay down, tucked
his fore hoofs beneath him, shut his eyes, and wit h a hard effort
managed to formulate his thoughts.
"I do not believe that," he said. "Snowball fought bravely at the Battle
of the Cowshed. I saw him myself. Did we not give him 'Animal Hero,
first Class,' immediately afterwards?"
"That was our mistake, co mrade. For we know now -- it is all written
down in the secret documents that we have found -- that in reality he
was trying to lure us to our doom."
"But he was wounded," said Boxer. "We all saw him running with
blood."
"That was part of the arrangement!" cri ed Squealer. "Jones's shot only
grazed him. I could show you this in his own writing, if you were able to
read it. The plot was for Snowball, at the critical moment, to give the
signal for flight and leave the field to the enemy. And he very nearly
succeed ed -- I will even say, comrades, he WOULD have succeeded if it
had not been for our heroic Leader, Comrade Napoleon. Do you not
remember how, just at the moment when Jones and his men had got
inside the yard, Snowball suddenly turned and fled, and many anima ls
followed him? And do you not remember, too, that it was just at that
moment, when panic was spreading and all seemed lost, that Comrade
Napoleon sprang forward with a cry of 'Death to Humanity!' and sank
his teeth in Jones's leg? Surely you remember THA T, comrades?"
exclaimed Squealer, frisking from side to side.
Now when Squealer described the scene so graphically, it seemed to the
animals that they did remember it. At any rate, they remembered that
at the critical moment of the battle Snowball had turn ed to flee. But
Boxer was still a little uneasy.

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

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

"I do not believe that Snowball was a traitor at the beginning," he said
finally. "What he has done since is different. But I believe that at the
Battle of the Cowshed he was a good comrade."
"Our Leader, Co mrade Napoleon," announced Squealer, speaking very
slowly and firmly, "has stated categorically -- categorically, comrade --
that Snowball was Jones's agent from the very beginning -- yes, and
from long before the Rebellion was ever thought of."
"Ah, that is dif ferent!" said Boxer. "If Comrade Napoleon says it, it
must be right."
"That is the true spirit, comrade!" cried Squealer, but it was noticed he
cast a very ugly look at Boxer with his little twinkling eyes. He turned
to go, then paused and added impressive ly: "I warn every animal on
this farm to keep his eyes very wide open. For we have reason to think
that some of Snowball's secret agents are lurking among us at this
moment!"
Four days later, in the late afternoon, Napoleon ordered all the animals
to assem ble in the yard. When they were all gathered together,
Napoleon emerged from the farmhouse, wearing both his medals (for
he had recently awarded himself "Animal Hero, First Class", and
"Animal Hero, Second Class"), with his nine huge dogs frisking round
hi m and uttering growls that sent shivers down all the animals' spines.
They all cowered silently in their places, seeming to know in advance
that some terrible thing was about to happen.
Napoleon stood sternly surveying his audience; then he uttered a high -
pitched whimper. Immediately the dogs bounded forward, seized four
of the pigs by the ear and dragged them, squealing with pain and
terror, to Napoleon's feet. The pigs' ears were bleeding, the dogs had
tasted blood, and for a few moments they appeared to  go quite mad. To
the amazement of everybody, three of them flung themselves upon
Boxer. Boxer saw them coming and put out his great hoof, caught a dog

in mid - air, and pinned him to the ground. The dog shrieked for mercy

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

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

and the other two fled with their ta ils between their legs. Boxer looked
at Napoleon to know whether he should crush the dog to death or let it
go. Napoleon appeared to change countenance, and sharply ordered
Boxer to let the dog go, whereat Boxer lifted his hoof, and the dog slunk
away, bru ised and howling.
Presently the tumult died down. The four pigs waited, trembling, with
guilt written on every line of their countenances. Napoleon now called
upon them to confess their crimes. They were the same four pigs as had
protested when Napoleon ab olished the Sunday Meetings. Without any
further prompting they confessed that they had been secretly in touch
with Snowball ever since his expulsion, that they had collaborated with
him in destroying the windmill, and that they had entered into an
agreeme nt with him to hand over Animal Farm to Mr. Frederick. They
added that Snowball had privately admitted to them that he had been
Jones's secret agent for years past. When they had finished their
confession, the dogs promptly tore their throats out, and in a  terrible
voice Napoleon demanded whether any other animal had anything to
confess.
The three hens who had been the ringleaders in the attempted
rebellion over the eggs now came forward and stated that Snowball had
appeared to them in a dream and incited t hem to disobey Napoleon's
orders. They, too, were slaughtered. Then a goose came forward and
confessed to having secreted six ears of corn during the last year's
harvest and eaten them in the night. Then a sheep confessed to having
urinated in the drinking  pool -- urged to do this, so she said, by
Snowball -- and two other sheep confessed to having murdered an old
ram, an especially devoted follower of Napoleon, by chasing him round
and round a bonfire when he was suffering from a cough. They were all
slain on  the spot. And so the tale of confessions and executions went
on, until there was a pile of corpses lying before Napoleon's feet and
the air was heavy with the smell of blood, which had been unknown
there since the expulsion of Jones.

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

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

When it was all over,  the remaining animals, except for the pigs and
dogs, crept away in a body. They were shaken and miserable. They did
not know which was more shocking -- the treachery of the animals who
had leagued themselves with Snowball, or the cruel retribution they
had j ust witnessed. In the old days there had often been scenes of
bloodshed equally terrible, but it seemed to all of them that it was far
worse now that it was happening among themselves. Since Jones had
left the farm, until today, no animal had killed anothe r animal. Not
even a rat had been killed. They had made their way on to the little
knoll where the half - finished windmill stood, and with one accord they
all lay down as though huddling together for warmth -- Clover, Muriel,
Benjamin, the cows, the sheep, an d a whole flock of geese and hens --
everyone, indeed, except the cat, who had suddenly disappeared just
before Napoleon ordered the animals to assemble. For some time
nobody spoke. Only Boxer remained on his feet. He fidgeted to and fro,
swishing his long b lack tail against his sides and occasionally uttering a
little whinny of surprise. Finally he said:
"I do not understand it. I would not have believed that such things
could happen on our farm. It must be due to some fault in ourselves.
The solution, as I  see it, is to work harder. From now onwards I shall
get up a full hour earlier in the mornings."
And he moved off at his lumbering trot and made for the quarry.
Having got there, he collected two successive loads of stone and
dragged them down to the windm ill before retiring for the night.
The animals huddled about Clover, not speaking. The knoll where they
were lying gave them a wide prospect across the countryside. Most of
Animal Farm was within their view -- the long pasture stretching down
to the main roa d, the hayfield, the spinney, the drinking pool, the
ploughed fields where the young wheat was thick and green, and the
red roofs of the farm buildings with the smoke curling from the
chimneys. It was a clear spring evening. The grass and the bursting
hedg es were gilded by the level rays of the sun. Never had the farm --

and with a kind of surprise they remembered that it was their own

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

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

farm, every inch of it their own property -- appeared to the animals so
desirable a place. As Clover looked down the hillside h er eyes filled
with tears. If she could have spoken her thoughts, it would have been to
say that this was not what they had aimed at when they had set
themselves years ago to work for the overthrow of the human race.
These scenes of terror and slaughter we re not what they had looked
forward to on that night when old Major first stirred them to rebellion.
If she herself had had any picture of the future, it had been of a society
of animals set free from hunger and the whip, all equal, each working
according  to his capacity, the strong protecting the weak, as she had
protected the lost brood of ducklings with her foreleg on the night of
Major's speech. Instead -- she did not know why -- they had come to a
time when no one dared speak his mind, when fierce, growlin g dogs
roamed everywhere, and when you had to watch your comrades torn to
pieces after confessing to shocking crimes. There was no thought of
rebellion or disobedience in her mind. She knew that, even as things
were, they were far better off than they had  been in the days of Jones,
and that before all else it was needful to prevent the return of the
human beings. Whatever happened she would remain faithful, work
hard, carry out the orders that were given to her, and accept the
leadership of Napoleon. But st ill, it was not for this that she and all the
other animals had hoped and toiled. It was not for this that they had
built the windmill and faced the bullets of Jones's gun. Such were her
thoughts, though she lacked the words to express them.
At last, feeli ng this to be in some way a substitute for the words she was
unable to find, she began to sing 'Beasts of England'. The other animals
sitting round her took it up, and they sang it three times over -- very
tunefully, but slowly and mournfully, in a way they  had never sung it
before.
They had just finished singing it for the third time when Squealer,
attended by two dogs, approached them with the air of having
something important to say. He announced that, by a special decree of
Comrade Napoleon, 'Beasts of En gland' had been abolished. From now

onwards it was forbidden to sing it.

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

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

The animals were taken aback.
"Why?" cried Muriel.
"It's no longer needed, comrade," said Squealer stiffly. "'Beasts of
England' was the song of the Rebellion. But the Rebellion is no w
completed. The execution of the traitors this afternoon was the final
act. The enemy both external and internal has been defeated. In 'Beasts
of England' we expressed our longing for a better society in days to
come. But that society has now been establi shed. Clearly this song has
no longer any purpose."
Frightened though they were, some of the animals might possibly have
protested, but at this moment the sheep set up their usual bleating of
"Four legs good, two legs bad," which went on for several minute s and
put an end to the discussion.
So 'Beasts of England' was heard no more. In its place Minimus, the
poet, had composed another song which began:
Animal Farm, Animal Farm,
Never through me shalt thou come to harm!
and this was sung every Sunday morning  after the hoisting of the flag.
But somehow neither the words nor the tune ever seemed to the
animals to come up to 'Beasts of England'.
Chapter VIII
A few days later, when the terror caused by the executions had died
down, some of the animals remembered -- or thought they remembered -
- that the Sixth Commandment decreed "No animal shall kill any other
animal." And though no one cared to mention it in the hearing of the
pigs or the dogs, it was felt that the killings which had taken place did
not square with th is. Clover asked Benjamin to read her the Sixth
Commandment, and when Benjamin, as usual, said that he refused to

meddle in such matters, she fetched Muriel. Muriel read the

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

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

Commandment for her. It ran: "No animal shall kill any other animal
WITHOUT CAUSE. " Somehow or other, the last two words had slipped
out of the animals' memory. But they saw now that the Commandment
had not been violated; for clearly there was good reason for killing the
traitors who had leagued themselves with Snowball.
Throughout the  year the animals worked even harder than they had
worked in the previous year. To rebuild the windmill, with walls twice
as thick as before, and to finish it by the appointed date, together with
the regular work of the farm, was a tremendous labour. There  were
times when it seemed to the animals that they worked longer hours and
fed no better than they had done in Jones's day. On Sunday mornings
Squealer, holding down a long strip of paper with his trotter, would
read out to them lists of figures proving th at the production of every
class of foodstuff had increased by two hundred per cent, three
hundred per cent, or five hundred per cent, as the case might be. The
animals saw no reason to disbelieve him, especially as they could no
longer remember very clear ly what conditions had been like before the
Rebellion. All the same, there were days when they felt that they would
sooner have had less figures and more food.
All orders were now issued through Squealer or one of the other pigs.
Napoleon himself was not s een in public as often as once in a fortnight.
When he did appear, he was attended not only by his retinue of dogs
but by a black cockerel who marched in front of him and acted as a
kind of trumpeter, letting out a loud "cock - a - doodle - doo" before
Napoleon  spoke. Even in the farmhouse, it was said, Napoleon
inhabited separate apartments from the others. He took his meals
alone, with two dogs to wait upon him, and always ate from the Crown
Derby dinner service which had been in the glass cupboard in the
drawi ng - room. It was also announced that the gun would be fired every
year on Napoleon's birthday, as well as on the other two anniversaries.
Napoleon was now never spoken of simply as "Napoleon." He was
always referred to in formal style as "our Leader, Comrad e Napoleon,"

and this pigs liked to invent for him such titles as Father of All

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

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

Animals, Terror of Mankind, Protector of the Sheep - fold, Ducklings'
Friend, and the like. In his speeches, Squealer would talk with the tears
rolling down his cheeks of Napoleo n's wisdom the goodness of his
heart, and the deep love he bore to all animals everywhere, even and
especially the unhappy animals who still lived in ignorance and slavery
on other farms. It had become usual to give Napoleon the credit for
every successful  achievement and every stroke of good fortune. You
would often hear one hen remark to another, "Under the guidance of
our Leader, Comrade Napoleon, I have laid five eggs in six days"; or
two cows, enjoying a drink at the pool, would exclaim, "Thanks to the
leadership of Comrade Napoleon, how excellent this water tastes!" The
general feeling on the farm was well expressed in a poem entitled
Comrade Napoleon, which was composed by Minimus and which ran
as follows:
Friend of fatherless!
Fountain of happiness!
Lord of the swill - bucket! Oh, how my soul is on
Fire when I gaze at thy
Calm and commanding eye,
Like the sun in the sky,
Comrade Napoleon!

Thou are the giver of
All that thy creatures love,
Full belly twice a day, clean straw to roll upon;
Every beast gr eat or small
Sleeps at peace in his stall,
Thou watchest over all,
Comrade Napoleon!

Had I a sucking - pig,
Ere he had grown as big
Even as a pint bottle or as a rolling - pin,
He should have learned to be
Faithful and true to thee,
Yes, his first squeak shou ld be

"Comrade Napoleon!"

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

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

Napoleon approved of this poem and caused it to be inscribed on the
wall of the big barn, at the opposite end from the Seven
Commandments. It was surmounted by a portrait of Napoleon, in
profile, executed by Squealer in white pain t.
Meanwhile, through the agency of Whymper, Napoleon was engaged in
complicated negotiations with Frederick and Pilkington. The pile of
timber was still unsold. Of the two, Frederick was the more anxious to
get hold of it, but he would not offer a reasona ble price. At the same
time there were renewed rumours that Frederick and his men were
plotting to attack Animal Farm and to destroy the windmill, the
building of which had aroused furious jealousy in him. Snowball was
known to be still skulking on Pinchfi eld Farm. In the middle of the
summer the animals were alarmed to hear that three hens had come
forward and confessed that, inspired by Snowball, they had entered
into a plot to murder Napoleon. They were executed immediately, and
fresh precautions for Nap oleon's safety were taken. Four dogs guarded
his bed at night, one at each corner, and a young pig named Pinkeye
was given the task of tasting all his food before he ate it, lest it should
be poisoned.
At about the same time it was given out that Napoleon  had arranged to
sell the pile of timber to Mr. Pilkington; he was also going to enter into
a regular agreement for the exchange of certain products between
Animal Farm and Foxwood. The relations between Napoleon and
Pilkington, though they were only conduc ted through Whymper, were
now almost friendly. The animals distrusted Pilkington, as a human
being, but greatly preferred him to Frederick, whom they both feared
and hated. As the summer wore on, and the windmill neared
completion, the rumours of an impend ing treacherous attack grew
stronger and stronger. Frederick, it was said, intended to bring against
them twenty men all armed with guns, and he had already bribed the
magistrates and police, so that if he could once get hold of the title -
deeds of Animal F arm they would ask no questions. Moreover, terrible
stories were leaking out from Pinchfield about the cruelties that

Frederick practised upon his animals. He had flogged an old horse to

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

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

death, he starved his cows, he had killed a dog by throwing it into t he
furnace, he amused himself in the evenings by making cocks fight with
splinters of razor - blade tied to their spurs. The animals' blood boiled
with rage when they heard of these things beingdone to their comrades,
and sometimes they clamoured to be allow ed to go out in a body and
attack Pinchfield Farm, drive out the humans, and set the animals free.
But Squealer counselled them to avoid rash actions and trust in
Comrade Napoleon's strategy.
Nevertheless, feeling against Frederick continued to run high. O ne
Sunday morning Napoleon appeared in the barn and explained that he
had never at any time contemplated selling the pile of timber to
Frederick; he considered it beneath his dignity, he said, to have
dealings with scoundrels of that description. The pigeo ns who were still
sent out to spread tidings of the Rebellion were forbidden to set foot
anywhere on Foxwood, and were also ordered to drop their former
slogan of "Death to Humanity" in favour of "Death to Frederick." In the
late summer yet another of Snow ball's machinations was laid bare. The
wheat crop was full of weeds, and it was discovered that on one of his
nocturnal visits Snowball had mixed weed seeds with the seed corn. A
gander who had been privy to the plot had confessed his guilt to
Squealer and  immediately committed suicide by swallowing deadly
nightshade berries. The animals now also learned that Snowball had
never -- as many of them had believed hitherto -- received the order of
"Animal Hero, First Class." This was merely a legend which had been
s pread some time after the Battle of the Cowshed by Snowball himself.
So far from being decorated, he had been censured for showing
cowardice in the battle. Once again some of the animals heard this with
a certain bewilderment, but Squealer was soon able to  convince them
that their memories had been at fault.
In the autumn, by a tremendous, exhausting effort -- for the harvest had
to be gathered at almost the same time -- the windmill was finished. The
machinery had still to be installed, and Whymper was negotia ting the
purchase of it, but the structure was completed. In the teeth of every

difficulty, in spite of inexperience, of primitive implements, of bad luck

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

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

and of Snowball's treachery, the work had been finished punctually to
the very day! Tired out but pro ud, the animals walked round and round
their masterpiece, which appeared even more beautiful in their eyes
than when it had been built the first time. Moreover, the walls were
twice as thick as before. Nothing short of explosives would lay them
low this ti me! And when they thought of how they had laboured, what
discouragements they had overcome, and the enormous difference that
would be made in their lives when the sails were turning and the
dynamos running -- when they thought of all this, their tiredness
fo rsook them and they gambolled round and round the windmill,
uttering cries of triumph. Napoleon himself, attended by his dogs and
his cockerel, came down to inspect the completed work; he personally
congratulated the animals on their achievement, and annou nced that
the mill would be named Napoleon Mill.
Two days later the animals were called together for a special meeting in
the barn. They were struck dumb with surprise when Napoleon
announced that he had sold the pile of timber to Frederick. Tomorrow
Frede rick's wagons would arrive and begin carting it away. Throughout
the whole period of his seeming friendship with Pilkington, Napoleon
had really been in secret agreement with Frederick.
All relations with Foxwood had been broken off; insulting messages
had  been sent to Pilkington. The pigeons had been told to avoid
Pinchfield Farm and to alter their slogan from "Death to Frederick" to
"Death to Pilkington." At the same time Napoleon assured the animals
that the stories of an impending attack on Animal Farm  were
completely untrue, and that the tales about Frederick's cruelty to his
own animals had been greatly exaggerated. All these rumours had
probably originated with Snowball and his agents. It now appeared that
Snowball was not, after all, hiding on Pinchf ield Farm, and in fact had
never been there in his life: he was living -- in considerable luxury, so it
was said -- at Foxwood, and had in reality been a pensioner of
Pilkington for years past.

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

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

The pigs were in ecstasies over Napoleon's cunning. By seeming to  be
friendly with Pilkington he had forced Frederick to raise his price by
twelve pounds. But the superior quality of Napoleon's mind, said
Squealer, was shown in the fact that he trusted nobody, not even
Frederick. Frederick had wanted to pay for the timbe r with something
called a cheque, which, it seemed, was a piece of paper with a promise
to pay written upon it. But Napoleon was too clever for him. He had
demanded payment in real five - pound notes, which were to be handed
over before the timber was remove d. Already Frederick had paid up;
and the sum he had paid was just enough to buy the machinery for the
windmill.
Meanwhile the timber was being carted away at high speed. When it
was all gone, another special meeting was held in the barn for the
animals to  inspect Frederick's bank - notes. Smiling beatifically, and
wearing both his decorations, Napoleon reposed on a bed of straw on
the platform, with the money at his side, neatly piled on a china dish
from the farmhouse kitchen. The animals filed slowly past,  and each
gazed his fill. And Boxer put out his nose to sniff at the bank - notes, and
the flimsy white things stirred and rustled in his breath.
Three days later there was a terrible hullabaloo. Whymper, his face
deadly pale, came racing up the path on his  bicycle, flung it down in the
yard and rushed straight into the farmhouse. The next moment a
choking roar of rage sounded from Napoleon's apartments. The news
of what had happened sped round the farm like wildfire. The
banknotes were forgeries! Frederick h ad got the timber for nothing!
Napoleon called the animals together immediately and in a terrible
voice pronounced the death sentence upon Frederick. When captured,
he said, Frederick should be boiled alive. At the same time he warned
them that after this  treacherous deed the worst was to be expected.
Frederick and his men might make their long - expected attack at any
moment. Sentinels were placed at all the approaches to the farm. In
addition, four pigeons were sent to Foxwood with a conciliatory

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

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

message, w hich it was hoped might re - establish good relations with
Pilkington.
The very next morning the attack came. The animals were at breakfast
when the look - outs came racing in with the news that Frederick and his
followers had already come through the five - bar red gate. Boldly
enough the animals sallied forth to meet them, but this time they did
not have the easy victory that they had had in the Battle of the
Cowshed. There were fifteen men, with half a dozen guns between
them, and they opened fire as soon as th ey got within fifty yards. The
animals could not face the terrible explosions and the stinging pellets,
and in spite of the efforts of Napoleon and Boxer to rally them, they
were soon driven back. A number of them were already wounded. They
took refuge in  the farm buildings and peeped cautiously out from
chinks and knot - holes. The whole of the big pasture, including the
windmill, was in the hands of the enemy. For the moment even
Napoleon seemed at a loss. He paced up and down without a word, his
tail rigid  and twitching. Wistful glances were sent in the direction of
Foxwood. If Pilkington and his men would help them, the day might
yet be won. But at this moment the four pigeons, who had been sent
out on the day before, returned, one of them bearing a scrap  of paper
from Pilkington. On it was pencilled the words: "Serves you right."
Meanwhile Frederick and his men had halted about the windmill. The
animals watched them, and a murmur of dismay went round. Two of
the men had produced a crowbar and a sledge hamm er. They were
going to knock the windmill down.
"Impossible!" cried Napoleon. "We have built the walls far too thick for
that. They could not knock it down in a week. Courage, comrades!"
But Benjamin was watching the movements of the men intently. The
two  with the hammer and the crowbar were drilling a hole near the
base of the windmill. Slowly, and with an air almost of amusement,
Benjamin nodded his long muzzle.

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

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

"I thought so," he said. "Do you not see what they are doing? In
another moment they are going  to pack blasting powder into that hole."
Terrified, the animals waited. It was impossible now to venture out of
the shelter of the buildings. After a few minutes the men were seen to
be running in all directions. Then there was a deafening roar. The
pigeo ns swirled into the air, and all the animals, except Napoleon,
flung themselves flat on their bellies and hid their faces. When they got
up again, a huge cloud of black smoke was hanging where the windmill
had been. Slowly the breeze drifted it away. The w indmill had ceased to
exist!
At this sight the animals' courage returned to them. The fear and
despair they had felt a moment earlier were drowned in their rage
against this vile, contemptible act. A mighty cry for vengeance went up,
and without waiting fo r further orders they charged forth in a body and
made straight for the enemy. This time they did not heed the cruel
pellets that swept over them like hail. It was a savage, bitter battle. The
men fired again and again, and, when the animals got to close q uarters,
lashed out with their sticks and their heavy boots. A cow, three sheep,
and two geese were killed, and nearly everyone was wounded. Even
Napoleon, who was directing operations from the rear, had the tip of
his tail chipped by a pellet. But the men  did not go unscathed either.
Three of them had their heads broken by blows from Boxer's hoofs;
another was gored in the belly by a cow's horn; another had his
trousers nearly torn off by Jessie and Bluebell. And when the nine dogs
of Napoleon's own bodygu ard, whom he had instructed to make a
detour under cover of the hedge, suddenly appeared on the men's
flank, baying ferociously, panic overtook them. They saw that they were
in danger of being surrounded. Frederick shouted to his men to get out
while the g oing was good, and the next moment the cowardly enemy
was running for dear life. The animals chased them right down to the
bottom of the field, and got in some last kicks at them as they forced
their way through the thorn hedge.

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

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

They had won, but they were  weary and bleeding. Slowly they began to
limp back towards the farm. The sight of their dead comrades stretched
upon the grass moved some of them to tears. And for a little while they
halted in sorrowful silence at the place where the windmill had once
st ood. Yes, it was gone; almost the last trace of their labour was gone!
Even the foundations were partially destroyed. And in rebuilding it
they could not this time, as before, make use of the fallen stones. This
time the stones had vanished too. The force  of the explosion had flung
them to distances of hundreds of yards. It was as though the windmill
had never been.
As they approached the farm Squealer, who had unaccountably been
absent during the fighting, came skipping towards them, whisking his
tail and  beaming with satisfaction. And the animals heard, from the
direction of the farm buildings, the solemn booming of a gun.
"What is that gun firing for?" said Boxer.
"To celebrate our victory!" cried Squealer.
"What victory?" said Boxer. His knees were bleed ing, he had lost a shoe
and split his hoof, and a dozen pellets had lodged themselves in his
hind leg.
"What victory, comrade? Have we not driven the enemy off our soil --
the sacred soil of Animal Farm?"
"But they have destroyed the windmill. And we had wor ked on it for
two years!"
"What matter? We will build another windmill. We will build six
windmills if we feel like it. You do not appreciate, comrade, the mighty
thing that we have done. The enemy was in occupation of this very
ground that we stand upon.  And now -- thanks to the leadership of
Comrade Napoleon -- we have won every inch of it back again!"

"Then we have won back what we had before," said Boxer.

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

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

"That is our victory," said Squealer.
They limped into the yard. The pellets under the skin of Boxer's  leg
smarted painfully. He saw ahead of him the heavy labour of rebuilding
the windmill from the foundations, and already in imagination he
braced himself for the task. But for the first time it occurred to him that
he was eleven years old and that perhaps  his great muscles were not
quite what they had once been.
But when the animals saw the green flag flying, and heard the gun
firing again -- seven times it was fired in all -- and heard the speech that
Napoleon made, congratulating them on their conduct, it did  seem to
them after all that they had won a great victory. The animals slain in
the battle were given a solemn funeral. Boxer and Clover pulled the
wagon which served as a hearse, and Napoleon himself walked at the
head of the procession. Two whole days we re given over to
celebrations. There were songs, speeches, and more firing of the gun,
and a special gift of an apple was bestowed on every animal, with two
ounces of corn for each bird and three biscuits for each dog. It was
announced that the battle woul d be called the Battle of the Windmill,
and that Napoleon had created a new decoration, the Order of the
Green Banner, which he had conferred upon himself. In the general
rejoicings the unfortunate affair of the banknotes was forgotten.
It was a few days l ater than this that the pigs came upon a case of
whisky in the cellars of the farmhouse. It had been overlooked at the
time when the house was first occupied. That night there came from
the farmhouse the sound of loud singing, in which, to everyone's
surpr ise, the strains of 'Beasts of England' were mixed up. At about half
past nine Napoleon, wearing an old bowler hat of Mr. Jones's, was
distinctly seen to emerge from the back door, gallop rapidly round the
yard, and disappear indoors again. But in the morn ing a deep silence
hung over the farmhouse. Not a pig appeared to be stirring. It was
nearly nine o'clock when Squealer made his appearance, walking slowly
and dejectedly, his eyes dull, his tail hanging limply behind him, and

with every appearance of bein g seriously ill. He called the animals

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

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

together and told them that he had a terrible piece of news to impart.
Comrade Napoleon was dying!
A cry of lamentation went up. Straw was laid down outside the doors of
the farmhouse, and the animals walked on tiptoe . With tears in their
eyes they asked one another what they should do if their Leader were
taken away from them. A rumour went round that Snowball had after
all contrived to introduce poison into Napoleon's food. At eleven
o'clock Squealer came out to make  another announcement. As his last
act upon earth, Comrade Napoleon had pronounced a solemn decree:
the drinking of alcohol was to be punished by death.
By the evening, however, Napoleon appeared to be somewhat better,
and the following morning Squealer wa s able to tell them that he was
well on the way to recovery. By the evening of that day Napoleon was
back at work, and on the next day it was learned that he had instructed
Whymper to purchase in Willingdon some booklets on brewing and
distilling. A week l ater Napoleon gave orders that the small paddock
beyond the orchard, which it had previously been intended to set aside
as a grazing - ground for animals who were past work, was to be
ploughed up. It was given out that the pasture was exhausted and
needed re - seeding; but it soon became known that Napoleon intended
to sow it with barley.
About this time there occurred a strange incident which hardly anyone
was able to understand. One night at about twelve o'clock there was a
loud crash in the yard, and the ani mals rushed out of their stalls. It was
a moonlit night. At the foot of the end wall of the big barn, where the
Seven Commandments were written, there lay a ladder broken in two
pieces. Squealer, temporarily stunned, was sprawling beside it, and
near at ha nd there lay a lantern, a paint - brush, and an overturned pot
of white paint. The dogs immediately made a ring round Squealer, and
escorted him back to the farmhouse as soon as he was able to walk.
None of the animals could form any idea as to what this mea nt, except
old Benjamin, who nodded his muzzle with a knowing air, and seemed

to understand, but would say nothing.

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

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

But a few days later Muriel, reading over the Seven Commandments to
herself, noticed that there was yet another of them which the animals
ha d remembered wrong. They had thought the Fifth Commandment
was "No animal shall drink alcohol," but there were two words that
they had forgotten. Actually the Commandment read: "No animal shall
drink alcohol TO EXCESS."
Chapter IX
Boxer's split hoof was a  long time in healing. They had started the
rebuilding of the windmill the day after the victory celebrations were
ended. Boxer refused to take even a day off work, and made it a point of
honour not to let it be seen that he was in pain. In the evenings he
would admit privately to Clover that the hoof troubled him a great deal.
Clover treated the hoof with poultices of herbs which she prepared by
chewing them, and both she and Benjamin urged Boxer to work less
hard. "A horse's lungs do not last for ever," sh e said to him. But Boxer
would not listen. He had, he said, only one real ambition left -- to see the
windmill well under way before he reached the age for retirement.
At the beginning, when the laws of Animal Farm were first formulated,
the retiring age had  been fixed for horses and pigs at twelve, for cows at
fourteen, for dogs at nine, for sheep at seven, and for hens and geese at
five. Liberal old - age pensions had been agreed upon. As yet no animal
had actually retired on pension, but of late the subject  had been
discussed more and more. Now that the small field beyond the orchard
had been set aside for barley, it was rumoured that a corner of the large
pasture was to be fenced off and turned into a grazing - ground for
superannuated animals. For a horse, it  was said, the pension would be
five pounds of corn a day and, in winter, fifteen pounds of hay, with a
carrot or possibly an apple on public holidays. Boxer's twelfth birthday
was due in the late summer of the following year.
Meanwhile life was hard. The  winter was as cold as the last one had
been, and food was even shorter. Once again all rations were reduced,

except those of the pigs and the dogs. A too rigid equality in rations,

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

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

Squealer explained, would have been contrary to the principles of
Animalism . In any case he had no difficulty in proving to the other
animals that they were NOT in reality short of food, whatever the
appearances might be. For the time being, certainly, it had been found
necessary to make a readjustment of rations (Squealer always  spoke of
it as a "readjustment," never as a "reduction"), but in comparison with
the days of Jones, the improvement was enormous. Reading out the
figures in a shrill, rapid voice, he proved to them in detail that they had
more oats, more hay, more turnips  than they had had in Jones's day,
that they worked shorter hours, that their drinking water was of better
quality, that they lived longer, that a larger proportion of their young
ones survived infancy, and that they had more straw in their stalls and
suff ered less from fleas. The animals believed every word of it. Truth to
tell, Jones and all he stood for had almost faded out of their memories.
They knew that life nowadays was harsh and bare, that they were often
hungry and often cold, and that they were u sually working when they
were not asleep. But doubtless it had been worse in the old days. They
were glad to believe so. Besides, in those days they had been slaves and
now they were free, and that made all the difference, as Squealer did
not fail to point  out.
There were many more mouths to feed now. In the autumn the four
sows had all littered about simultaneously, producing thirty - one young
pigs between them. The young pigs were piebald, and as Napoleon was
the only boar on the farm, it was possible to g uess at their parentage. It
was announced that later, when bricks and timber had been purchased,
a schoolroom would be built in the farmhouse garden. For the time
being, the young pigs were given their instruction by Napoleon himself
in the farmhouse kitch en. They took their exercise in the garden, and
were discouraged from playing with the other young animals. About
this time, too, it was laid down as a rule that when a pig and any other
animal met on the path, the other animal must stand aside: and also
t hat all pigs, of whatever degree, were to have the privilege of wearing
green ribbons on their tails on Sundays.

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

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

The farm had had a fairly successful year, but was still short of money.
There were the bricks, sand, and lime for the schoolroom to be
purchas ed, and it would also be necessary to begin saving up again for
the machinery for the windmill. Then there were lamp oil and candles
for the house, sugar for Napoleon's own table (he forbade this to the
other pigs, on the ground that it made them fat), and  all the usual
replacements such as tools, nails, string, coal, wire, scrap - iron, and dog
biscuits. A stump of hay and part of the potato crop were sold off, and
the contract for eggs was increased to six hundred a week, so that that
year the hens barely h atched enough chicks to keep their numbers at
the same level. Rations, reduced in December, were reduced again in
February, and lanterns in the stalls were forbidden to save oil. But the
pigs seemed comfortable enough, and in fact were putting on weight if
anything. One afternoon in late February a warm, rich, appetising
scent, such as the animals had never smelt before, wafted itself across
the yard from the little brew - house, which had been disused in Jones's
time, and which stood beyond the kitchen. Some one said it was the
smell of cooking barley. The animals sniffed the air hungrily and
wondered whether a warm mash was being prepared for their supper.
But no warm mash appeared, and on the following Sunday it was
announced that from now onwards all barley  would be reserved for the
pigs. The field beyond the orchard had already been sown with barley.
And the news soon leaked out that every pig was now receiving a ration
of a pint of beer daily, with half a gallon for Napoleon himself, which
was always serve d to him in the Crown Derby soup tureen.
But if there were hardships to be borne, they were partly offset by the
fact that life nowadays had a greater dignity than it had had before.
There were more songs, more speeches, more processions. Napoleon
had comm anded that once a week there should be held something
called a Spontaneous Demonstration, the object of which was to
celebrate the struggles and triumphs of Animal Farm. At the appointed
time the animals would leave their work and march round the precincts
of the farm in military formation, with the pigs leading, then the
horses, then the cows, then the sheep, and then the poultry. The dogs

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

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

flanked the procession and at the head of all marched Napoleon's black
cockerel. Boxer and Clover always carried betwe en them a green
banner marked with the hoof and the horn and the caption, "Long live
Comrade Napoleon!" Afterwards there were recitations of poems
composed in Napoleon's honour, and a speech by Squealer giving
particulars of the latest increases in the pro duction of foodstuffs, and
on occasion a shot was fired from the gun. The sheep were the greatest
devotees of the Spontaneous Demonstration, and if anyone complained
(as a few animals sometimes did, when no pigs or dogs were near) that
they wasted time and  meant a lot of standing about in the cold, the
sheep were sure to silence him with a tremendous bleating of "Four
legs good, two legs bad!" But by and large the animals enjoyed these
celebrations. They found it comforting to be reminded that, after all,
t hey were truly their own masters and that the work they did was for
their own benefit. So that, what with the songs, the processions,
Squealer's lists of figures, the thunder of the gun, the crowing of the
cockerel, and the fluttering of the flag, they wer e able to forget that
their bellies were empty, at least part of the time.
In April, Animal Farm was proclaimed a Republic, and it became
necessary to elect a President. There was only one candidate,
Napoleon, who was elected unanimously. On the same day i t was given
out that fresh documents had been discovered which revealed further
details about Snowball's complicity with Jones. It now appeared that
Snowball had not, as the animals had previously imagined, merely
attempted to lose the Battle of the Cowshe d by means of a stratagem,
but had been openly fighting on Jones's side. In fact, it was he who had
actually been the leader of the human forces, and had charged into
battle with the words "Long live Humanity!" on his lips. The wounds on
Snowball's back, w hich a few of the animals still remembered to have
seen, had been inflicted by Napoleon's teeth.
In the middle of the summer Moses the raven suddenly reappeared on
the farm, after an absence of several years. He was quite unchanged,
still did no work, and  talked in the same strain as ever about

Sugarcandy Mountain. He would perch on a stump, flap his black

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

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

wings, and talk by the hour to anyone who would listen. "Up there,
comrades," he would say solemnly, pointing to the sky with his large
beak -- "up there,  just on the other side of that dark cloud that you can
see -- there it lies, Sugarcandy Mountain, that happy country where we
poor animals shall rest for ever from our labours!" He even claimed to
have been there on one of his higher flights, and to have see n the
everlasting fields of clover and the linseed cake and lump sugar
growing on the hedges. Many of the animals believed him. Their lives
now, they reasoned, were hungry and laborious; was it not right and
just that a better world should exist somewhere  else? A thing that was
difficult to determine was the attitude of the pigs towards Moses. They
all declared contemptuously that his stories about Sugarcandy
Mountain were lies, and yet they allowed him to remain on the farm,
not working, with an allowance  of a gill of beer a day.
After his hoof had healed up, Boxer worked harder than ever. Indeed,
all the animals worked like slaves that year. Apart from the regular
work of the farm, and the rebuilding of the windmill, there was the
schoolhouse for the young  pigs, which was started in March.
Sometimes the long hours on insufficient food were hard to bear, but
Boxer never faltered. In nothing that he said or did was there any sign
that his strength was not what it had been. It was only his appearance
that was  a little altered; his hide was less shiny than it had used to be,
and his great haunches seemed to have shrunken. The others said,
"Boxer will pick up when the spring grass comes on"; but the spring
came and Boxer grew no fatter. Sometimes on the slope lea ding to the
top of the quarry, when he braced his muscles against the weight of
some vast boulder, it seemed that nothing kept him on his feet except
the will to continue. At such times his lips were seen to form the words,
"I will work harder"; he had no  voice left. Once again Clover and
Benjamin warned him to take care of his health, but Boxer paid no
attention. His twelfth birthday was approaching. He did not care what
happened so long as a good store of stone was accumulated before he
went on pension.

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

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

L ate one evening in the summer, a sudden rumour ran round the farm
that something had happened to Boxer. He had gone out alone to drag
a load of stone down to the windmill. And sure enough, the rumour
was true. A few minutes later two pigeons came racing in  with the
news; "Boxer has fallen! He is lying on his side and can't get up!"
About half the animals on the farm rushed out to the knoll where the
windmill stood. There lay Boxer, between the shafts of the cart, his
neck stretched out, unable even to raise  his head. His eyes were glazed,
his sides matted with sweat. A thin stream of blood had trickled out of
his mouth. Clover dropped to her knees at his side.
"Boxer!" she cried, "how are you?"
"It is my lung," said Boxer in a weak voice. "It does not matter . I think
you will be able to finish the windmill without me. There is a pretty
good store of stone accumulated. I had only another month to go in any
case. To tell you the truth, I had been looking forward to my
retirement. And perhaps, as Benjamin is gro wing old too, they will let
him retire at the same time and be a companion to me."
"We must get help at once," said Clover. "Run, somebody, and tell
Squealer what has happened."
All the other animals immediately raced back to the farmhouse to give
Squealer  the news. Only Clover remained, and Benjamin who lay down
at Boxer's side, and, without speaking, kept the flies off him with his
long tail. After about a quarter of an hour Squealer appeared, full of
sympathy and concern. He said that Comrade Napoleon ha d learned
with the very deepest distress of this misfortune to one of the most
loyal workers on the farm, and was already making arrangements to
send Boxer to be treated in the hospital at Willingdon. The animals felt
a little uneasy at this. Except for Mo llie and Snowball, no other animal
had ever left the farm, and they did not like to think of their sick
comrade in the hands of human beings. However, Squealer easily

convinced them that the veterinary surgeon in Willingdon could treat

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

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

Boxer's case more sa tisfactorily than could be done on the farm. And
about half an hour later, when Boxer had somewhat recovered, he was
with difficulty got on to his feet, and managed to limp back to his stall,
where Clover and Benjamin had prepared a good bed of straw for h im.
For the next two days Boxer remained in his stall. The pigs had sent out
a large bottle of pink medicine which they had found in the medicine
chest in the bathroom, and Clover administered it to Boxer twice a day
after meals. In the evenings she lay in  his stall and talked to him, while
Benjamin kept the flies off him. Boxer professed not to be sorry for
what had happened. If he made a good recovery, he might expect to live
another three years, and he looked forward to the peaceful days that he
would sp end in the corner of the big pasture. It would be the first time
that he had had leisure to study and improve his mind. He intended, he
said, to devote the rest of his life to learning the remaining twenty - two
letters of the alphabet.
However, Benjamin and  Clover could only be with Boxer after working
hours, and it was in the middle of the day when the van came to take
him away. The animals were all at work weeding turnips under the
supervision of a pig, when they were astonished to see Benjamin come
gallop ing from the direction of the farm buildings, braying at the top of
his voice. It was the first time that they had ever seen Benjamin
excited -- indeed, it was the first time that anyone had ever seen him
gallop. "Quick, quick!" he shouted. "Come at once! Th ey're taking
Boxer away!" Without waiting for orders from the pig, the animals
broke off work and raced back to the farm buildings. Sure enough,
there in the yard was a large closed van, drawn by two horses, with
lettering on its side and a sly - looking man  in a low - crowned bowler hat
sitting on the driver's seat. And Boxer's stall was empty.
The animals crowded round the van. "Good - bye, Boxer!" they
chorused, "good - bye!"

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

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

"Fools! Fools!" shouted Benjamin, prancing round them and stamping
the earth with his s mall hoofs. "Fools! Do you not see what is written
on the side of that van?"
That gave the animals pause, and there was a hush. Muriel began to
spell out the words. But Benjamin pushed her aside and in the midst of
a deadly silence he read:
"'Alfred Simmon ds, Horse Slaughterer and Glue Boiler, Willingdon.
Dealer in Hides and Bone - Meal. Kennels Supplied.' Do you not
understand what that means? They are taking Boxer to the knacker's!"
A cry of horror burst from all the animals. At this moment the man on
the b ox whipped up his horses and the van moved out of the yard at a
smart trot. All the animals followed, crying out at the tops of their
voices. Clover forced her way to the front. The van began to gather
speed. Clover tried to stir her stout limbs to a gallo p, and achieved a
canter. "Boxer!" she cried. "Boxer! Boxer! Boxer!" And just at this
moment, as though he had heard the uproar outside, Boxer's face, with
the white stripe down his nose, appeared at the small window at the
back of the van.
"Boxer!" cried  Clover in a terrible voice. "Boxer! Get out! Get out
quickly! They're taking you to your death!"
All the animals took up the cry of "Get out, Boxer, get out!" But the van
was already gathering speed and drawing away from them. It was
uncertain whether Boxe r had understood what Clover had said. But a
moment later his face disappeared from the window and there was the
sound of a tremendous drumming of hoofs inside the van. He was
trying to kick his way out. The time had been when a few kicks from
Boxer's hoof s would have smashed the van to matchwood. But alas! his
strength had left him; and in a few moments the sound of drumming
hoofs grew fainter and died away. In desperation the animals began
appealing to the two horses which drew the van to stop. "Comrades,

comrades!" they shouted. "Don't take your own brother to his death!"

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

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

But the stupid brutes, too ignorant to realise what was happening,
merely set back their ears and quickened their pace. Boxer's face did
not reappear at the window. Too late, someone tho ught of racing ahead
and shutting the five - barred gate; but in another moment the van was
through it and rapidly disappearing down the road. Boxer was never
seen again.
Three days later it was announced that he had died in the hospital at
Willingdon, in sp ite of receiving every attention a horse could have.
Squealer came to announce the news to the others. He had, he said,
been present during Boxer's last hours.
"It was the most affecting sight I have ever seen!" said Squealer, lifting
his trotter and wipin g away a tear. "I was at his bedside at the very last.
And at the end, almost too weak to speak, he whispered in my ear that
his sole sorrow was to have passed on before the windmill was finished.
'Forward, comrades!' he whispered. 'Forward in the name of  the
Rebellion. Long live Animal Farm! Long live Comrade Napoleon!
Napoleon is always right.' Those were his very last words, comrades."
Here Squealer's demeanour suddenly changed. He fell silent for a
moment, and his little eyes darted suspicious glances f rom side to side
before he proceeded.
It had come to his knowledge, he said, that a foolish and wicked
rumour had been circulated at the time of Boxer's removal. Some of the
animals had noticed that the van which took Boxer away was marked
"Horse Slaughter er," and had actually jumped to the conclusion that
Boxer was being sent to the knacker's. It was almost unbelievable, said
Squealer, that any animal could be so stupid. Surely, he cried
indignantly, whisking his tail and skipping from side to side, surely
they knew their beloved Leader, Comrade Napoleon, better than that?
But the explanation was really very simple. The van had previously
been the property of the knacker, and had been bought by the
veterinary surgeon, who had not yet painted the old name ou t. That

was how the mistake had arisen.

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

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

The animals were enormously relieved to hear this. And when Squealer
went on to give further graphic details of Boxer's death - bed, the
admirable care he had received, and the expensive medicines for which
Napoleon ha d paid without a thought as to the cost, their last doubts
disappeared and the sorrow that they felt for their comrade's death was
tempered by the thought that at least he had died happy.
Napoleon himself appeared at the meeting on the following Sunday
mor ning and pronounced a short oration in Boxer's honour. It had not
been possible, he said, to bring back their lamented comrade's remains
for interment on the farm, but he had ordered a large wreath to be
made from the laurels in the farmhouse garden and se nt down to be
placed on Boxer's grave. And in a few days' time the pigs intended to
hold a memorial banquet in Boxer's honour. Napoleon ended his
speech with a reminder of Boxer's two favourite maxims, "I will work
harder" and "Comrade Napoleon is always r ight" -- maxims, he said,
which every animal would do well to adopt as his own.
On the day appointed for the banquet, a grocer's van drove up from
Willingdon and delivered a large wooden crate at the farmhouse. That
night there was the sound of uproarious si nging, which was followed by
what sounded like a violent quarrel and ended at about eleven o'clock
with a tremendous crash of glass. No one stirred in the farmhouse
before noon on the following day, and the word went round that from
somewhere or other the  pigs had acquired the money to buy
themselves another case of whisky.
Chapter X
Years passed. The seasons came and went, the short animal lives fled
by. A time came when there was no one who remembered the old days
before the Rebellion, except Clover, Benj amin, Moses the raven, and a
number of the pigs.
Muriel was dead; Bluebell, Jessie, and Pincher were dead. Jones too

was dead -- he had died in an inebriates' home in another part of the

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

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

country. Snowball was forgotten. Boxer was forgotten, except by the
few  who had known him. Clover was an old stout mare now, stiff in the
joints and with a tendency to rheumy eyes. She was two years past the
retiring age, but in fact no animal had ever actually retired. The talk of
setting aside a corner of the pasture for su perannuated animals had
long since been dropped. Napoleon was now a mature boar of twenty -
four stone. Squealer was so fat that he could with difficulty see out of
his eyes. Only old Benjamin was much the same as ever, except for
being a little greyer about  the muzzle, and, since Boxer's death, more
morose and taciturn than ever.
There were many more creatures on the farm now, though the increase
was not so great as had been expected in earlier years. Many animals
had been born to whom the Rebellion was only  a dim tradition, passed
on by word of mouth, and others had been bought who had never
heard mention of such a thing before their arrival. The farm possessed
three horses now besides Clover. They were fine upstanding beasts,
willing workers and good comrad es, but very stupid. None of them
proved able to learn the alphabet beyond the letter B. They accepted
everything that they were told about the Rebellion and the principles of
Animalism, especially from Clover, for whom they had an almost filial
respect; b ut it was doubtful whether they understood very much of it.
The farm was more prosperous now, and better organised: it had even
been enlarged by two fields which had been bought from Mr.
Pilkington. The windmill had been successfully completed at last, and
the farm possessed a threshing machine and a hay elevator of its own,
and various new buildings had been added to it. Whymper had bought
himself a dogcart. The windmill, however, had not after all been used
for generating electrical power. It was used for  milling corn, and
brought in a handsome money profit. The animals were hard at work
building yet another windmill; when that one was finished, so it was
said, the dynamos would be installed. But the luxuries of which
Snowball had once taught the animals t o dream, the stalls with electric
light and hot and cold water, and the three - day week, were no longer

talked about. Napoleon had denounced such ideas as contrary to the

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

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

spirit of Animalism. The truest happiness, he said, lay in working hard
and living fru gally.
Somehow it seemed as though the farm had grown richer without
making the animals themselves any richer - except, of course, for the
pigs and the dogs. Perhaps this was partly because there were so many
pigs and so many dogs. It was not that these crea tures did not work,
after their fashion. There was, as Squealer was never tired of
explaining, endless work in the supervision and organisation of the
farm. Much of this work was of a kind that the other animals were too
ignorant to understand. For example , Squealer told them that the pigs
had to expend enormous labours every day upon mysterious things
called "files," "reports," "minutes," and "memoranda". These were large
sheets of paper which had to be closely covered with writing, and as
soon as they wer e so covered, they were burnt in the furnace. This was
of the highest importance for the welfare of the farm, Squealer said.
But still, neither pigs nor dogs produced any food by their own labour;
and there were very many of them, and their appetites were  always
good.
As for the others, their life, so far as they knew, was as it had always
been. They were generally hungry, they slept on straw, they drank from
the pool, they laboured in the fields; in winter they were troubled by
the cold, and in summer by t he flies. Sometimes the older ones among
them racked their dim memories and tried to determine whether in the
early days of the Rebellion, when Jones's expulsion was still recent,
things had been better or worse than now. They could not remember.
There was  nothing with which they could compare their present lives:
they had nothing to go upon except Squealer's lists of figures, which
invariably demonstrated that everything was getting better and better.
The animals found the problem insoluble; in any case, t hey had little
time for speculating on such things now. Only old Benjamin professed
to remember every detail of his long life and to know that things never
had been, nor ever could be much better or much worse -- hunger,
hardship, and disappointment being, s o he said, the unalterable law of

life.

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

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

And yet the animals never gave up hope. More, they never lost, even for
an instant, their sense of honour and privilege in being members of
Animal Farm. They were still the only farm in the whole county -- in all
Engla nd! -- owned and operated by animals. Not one of them, not even
the youngest, not even the newcomers who had been brought from
farms ten or twenty miles away, ever ceased to marvel at that. And
when they heard the gun booming and saw the green flag flutterin g at
the masthead, their hearts swelled with imperishable pride, and the
talk turned always towards the old heroic days, the expulsion of Jones,
the writing of the Seven Commandments, the great battles in which the
human invaders had been defeated. None of  the old dreams had been
abandoned. The Republic of the Animals which Major had foretold,
when the green fields of England should be untrodden by human feet,
was still believed in. Some day it was coming: it might not be soon, it
might not be with in the l ifetime of any animal now living, but still it
was coming. Even the tune of 'Beasts of England' was perhaps hummed
secretly here and there: at any rate, it was a fact that every animal on
the farm knew it, though no one would have dared to sing it aloud. I t
might be that their lives were hard and that not all of their hopes had
been fulfilled; but they were conscious that they were not as other
animals. If they went hungry, it was not from feeding tyrannical human
beings; if they worked hard, at least they  worked for themselves. No
creature among them went upon two legs. No creature called any other
creature "Master." All animals were equal.
One day in early summer Squealer ordered the sheep to follow him,
and led them out to a piece of waste ground at the o ther end of the
farm, which had become overgrown with birch saplings. The sheep
spent the whole day there browsing at the leaves under Squealer's
supervision. In the evening he returned to the farmhouse himself, but,
as it was warm weather, told the sheep  to stay where they were. It
ended by their remaining there for a whole week, during which time
the other animals saw nothing of them. Squealer was with them for the
greater part of every day. He was, he said, teaching them to sing a new
song, for which pri vacy was needed.

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

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

It was just after the sheep had returned, on a pleasant evening when
the animals had finished work and were making their way back to the
farm buildings, that the terrified neighing of a horse sounded from the
yard. Startled, the animals st opped in their tracks. It was Clover's voice.
She neighed again, and all the animals broke into a gallop and rushed
into the yard. Then they saw what Clover had seen.
It was a pig walking on his hind legs.
Yes, it was Squealer. A little awkwardly, as thoug h not quite used to
supporting his considerable bulk in that position, but with perfect
balance, he was strolling across the yard. And a moment later, out from
the door of the farmhouse came a long file of pigs, all walking on their
hind legs. Some did it  better than others, one or two were even a trifle
unsteady and looked as though they would have liked the support of a
stick, but every one of them made his way right round the yard
successfully. And finally there was a tremendous baying of dogs and a
shri ll crowing from the black cockerel, and out came Napoleon himself,
majestically upright, casting haughty glances from side to side, and
with his dogs gambolling round him.
He carried a whip in his trotter.
There was a deadly silence. Amazed, terrified, hud dling together, the
animals watched the long line of pigs march slowly round the yard. It
was as though the world had turned upside - down. Then there came a
moment when the first shock had worn off and when, in spite of
everything - in spite of their terror o f the dogs, and of the habit,
developed through long years, of never complaining, never criticising,
no matter what happened -- they might have uttered some word of
protest. But just at that moment, as though at a signal, all the sheep
burst out into a treme ndous bleating of --
"Four legs good, two legs BETTER! Four legs good, two legs BETTER!
Four legs good, two legs BETTER!"

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

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

It went on for five minutes without stopping. And by the time the sheep
had quieted down, the chance to utter any protest had passed, f or the
pigs had marched back into the farmhouse.
Benjamin felt a nose nuzzling at his shoulder. He looked round. It was
Clover. Her old eyes looked dimmer than ever. Without saying
anything, she tugged gently at his mane and led him round to the end
of the  big barn, where the Seven Commandments were written. For a
minute or two they stood gazing at the tatted wall with its white
lettering.
"My sight is failing," she said finally. "Even when I was young I could
not have read what was written there. But it ap pears to me that that
wall looks different. Are the Seven Commandments the same as they
used to be, Benjamin?"
For once Benjamin consented to break his rule, and he read out to her
what was written on the wall. There was nothing there now except a
single C ommandment. It ran:
ALL ANIMALS ARE EQUAL
BUT SOME ANIMALS ARE MORE EQUAL THAN OTHERS
After that it did not seem strange when next day the pigs who were
supervising the work of the farm all carried whips in their trotters. It
did not seem strange to learn  that the pigs had bought themselves a
wireless set, were arranging to install a telephone, and had taken out
subscriptions to 'John Bull', 'Tit - Bits', and the 'Daily Mirror'. It did not
seem strange when Napoleon was seen strolling in the farmhouse
garden  with a pipe in his mouth -- no, not even when the pigs took Mr.
Jones's clothes out of the wardrobes and put them on, Napoleon
himself appearing in a black coat, ratcatcher breeches, and leather
leggings, while his favourite sow appeared in the watered silk  dress
which Mrs. Jones had been used to wearing on Sundays.
A week later, in the afternoon, a number of dog - carts drove up to the

farm. A deputation of neighbouring farmers had been invited to make a

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

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

tour of inspection. They were shown all over the farm, a nd expressed
great admiration for everything they saw, especially the windmill. The
animals were weeding the turnip field. They worked diligently hardly
raising their faces from the ground, and not knowing whether to be
more frightened of the pigs or of th e human visitors.
That evening loud laughter and bursts of singing came from the
farmhouse. And suddenly, at the sound of the mingled voices, the
animals were stricken with curiosity. What could be happening in
there, now that for the first time animals an d human beings were
meeting on terms of equality? With one accord they began to creep as
quietly as possible into the farmhouse garden.
At the gate they paused, half frightened to go on but Clover led the way
in. They tiptoed up to the house, and such anim als as were tall enough
peered in at the dining - room window. There, round the long table, sat
half a dozen farmers and half a dozen of the more eminent pigs,
Napoleon himself occupying the seat of honour at the head of the table.
The pigs appeared complete ly at ease in their chairs. The company had
been enjoying a game of cards but had broken off for the moment,
evidently in order to drink a toast. A large jug was circulating, and the
mugs were being refilled with beer. No one noticed the wondering faces
of  the animals that gazed in at the window.
Mr. Pilkington, of Foxwood, had stood up, his mug in his hand. In a
moment, he said, he would ask the present company to drink a toast.
But before doing so, there were a few words that he felt it incumbent
upon him  to say.
It was a source of great satisfaction to him, he said -- and, he was sure,
to all others present -- to feel that a long period of mistrust and
misunderstanding had now come to an end. There had been a time --
not that he, or any of the present company,  had shared such
sentiments -- but there had been a time when the respected proprietors
of Animal Farm had been regarded, he would not say with hostility, but

perhaps with a certain measure of misgiving, by their human

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

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

neighbours. Unfortunate incidents had oc curred, mistaken ideas had
been current. It had been felt that the existence of a farm owned and
operated by pigs was somehow abnormal and was liable to have an
unsettling effect in the neighbourhood. Too many farmers had
assumed, without due enquiry, that  on such a farm a spirit of licence
and indiscipline would prevail. They had been nervous about the
effects upon their own animals, or even upon their human employees.
But all such doubts were now dispelled. Today he and his friends had
visited Animal Farm  and inspected every inch of it with their own eyes,
and what did they find? Not only the most up - to - date methods, but a
discipline and an orderliness which should be an example to all
farmers everywhere. He believed that he was right in saying that the
lo wer animals on Animal Farm did more work and received less food
than any animals in the county. Indeed, he and his fellow - visitors today
had observed many features which they intended to introduce on their
own farms immediately.
He would end his remarks, h e said, by emphasising once again the
friendly feelings that subsisted, and ought to subsist, between Animal
Farm and its neighbours. Between pigs and human beings there was
not, and there need not be, any clash of interests whatever. Their
struggles and t heir difficulties were one. Was not the labour problem
the same everywhere? Here it became apparent that Mr. Pilkington was
about to spring some carefully prepared witticism on the company, but
for a moment he was too overcome by amusement to be able to ut ter it.
After much choking, during which his various chins turned purple, he
managed to get it out: "If you have your lower animals to contend
with," he said, "we have our lower classes!" This BON MOT set the
table in a roar; and Mr. Pilkington once again  congratulated the pigs on
the low rations, the long working hours, and the general absence of
pampering which he had observed on Animal Farm.
And now, he said finally, he would ask the company to rise to their feet
and make certain that their glasses were  full. "Gentlemen," concluded
Mr. Pilkington, "gentlemen, I give you a toast: To the prosperity of

Animal Farm!"

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

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

There was enthusiastic cheering and stamping of feet. Napoleon was so
gratified that he left his place and came round the table to clink his
mug  against Mr. Pilkington's before emptying it. When the cheering
had died down, Napoleon, who had remained on his feet, intimated
that he too had a few words to say.
Like all of Napoleon's speeches, it was short and to the point. He too,
he said, was happy  that the period of misunderstanding was at an end.
For a long time there had been rumours -- circulated, he had reason to
think, by some malignant enemy -- that there was something subversive
and even revolutionary in the outlook of himself and his colleagues.
They had been credited with attempting to stir up rebellion among the
animals on neighbouring farms. Nothing could be further from the
truth! Their sole wish, now and in the past, was to live at peace and in
normal business relations with their neighbours . This farm which he
had the honour to control, he added, was a co - operative enterprise. The
title - deeds, which were in his own possession, were owned by the pigs
jointly.
He did not believe, he said, that any of the old suspicions still lingered,
but cert ain changes had been made recently in the routine of the farm
which should have the effect of promoting confidence still further.
Hitherto the animals on the farm had had a rather foolish custom of
addressing one another as "Comrade." This was to be suppre ssed.
There had also been a very strange custom, whose origin was unknown,
of marching every Sunday morning past a boar's skull which was nailed
to a post in the garden. This, too, would be suppressed, and the skull
had already been buried. His visitors mi ght have observed, too, the
green flag which flew from the masthead. If so, they would perhaps
have noted that the white hoof and horn with which it had previously
been marked had now been removed. It would be a plain green flag
from now onwards.
He had on ly one criticism, he said, to make of Mr. Pilkington's
excellent and neighbourly speech. Mr. Pilkington had referred

throughout to "Animal Farm." He could not of course know -- for he,

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

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

Napoleon, was only now for the first time announcing it -- that the name
"A nimal Farm" had been abolished. Henceforward the farm was to be
known as "The Manor Farm" -- which, he believed, was its correct and
original name.
"Gentlemen," concluded Napoleon, "I will give you the same toast as
before, but in a different form. Fill your  glasses to the brim. Gentlemen,
here is my toast: To the prosperity of The Manor Farm!"
There was the same hearty cheering as before, and the mugs were
emptied to the dregs. But as the animals outside gazed at the scene, it
seemed to them that some strang e thing was happening. What was it
that had altered in the faces of the pigs? Clover's old dim eyes flitted
from one face to another. Some of them had five chins, some had four,
some had three. But what was it that seemed to be melting and
changing? Then,  the applause having come to an end, the company
took up their cards and continued the game that had been interrupted,
and the animals crept silently away.
But they had not gone twenty yards when they stopped short. An
uproar of voices was coming from the f armhouse. They rushed back
and looked through the window again. Yes, a violent quarrel was in
progress. There were shoutings, bangings on the table, sharp
suspicious glances, furious denials. The source of the trouble appeared
to be that Napoleon and Mr. P ilkington had each played an ace of
spades simultaneously.
Twelve voices were shouting in anger, and they were all alike. No
question, now, what had happened to the faces of the pigs. The
creatures outside looked from pig to man, and from man to pig, and
f rom pig to man again; but already it was impossible to say which was
which.
November 1943 - February 1944
THE END

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

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

Title:      Animal Farm
Author:     George Orwell (pseudonym of Eric Blair) (1903 - 1950)
* A Project Gutenberg of Australia eBook *
eBook No.:  0 100011h.html
Language:   English
Date first posted: August 2001
Date most recently updated: March 2008

Project Gutenberg of Australia eBooks are created from printed editions
which are in the public domain in Australia, unless a copyright notice
is includ ed. We do NOT keep any eBooks in compliance with a particular
paper edition.

Copyright laws are changing all over the world. Be sure to check the
copyright laws for your country before downloading or redistributing this
file.

This eBook is made available  at no cost and with almost no restrictions
whatsoever. You may copy it, give it away or re - use it under the terms
of the Project Gutenberg of Australia License which may be viewed online at
http://gutenberg.net.au/licence.html


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
//Page57 (Page57) package { import flash.display.*; import flash.text.*; public class Page57 extends MovieClip { public var CR:TextField; } }//package
Section 116
//Page58 (Page58) package { import flash.display.*; import flash.text.*; public class Page58 extends MovieClip { public var CR:TextField; } }//package
Section 117
//Page59 (Page59) package { import flash.display.*; import flash.text.*; public class Page59 extends MovieClip { public var CR:TextField; } }//package
Section 118
//Page6 (Page6) package { import flash.display.*; import flash.text.*; public class Page6 extends MovieClip { public var CR:TextField; } }//package
Section 119
//Page60 (Page60) package { import flash.display.*; import flash.text.*; public class Page60 extends MovieClip { public var CR:TextField; } }//package
Section 120
//Page61 (Page61) package { import flash.display.*; import flash.text.*; public class Page61 extends MovieClip { public var CR:TextField; } }//package
Section 121
//Page62 (Page62) package { import flash.display.*; import flash.text.*; public class Page62 extends MovieClip { public var CR:TextField; } }//package
Section 122
//Page63 (Page63) package { import flash.display.*; import flash.text.*; public class Page63 extends MovieClip { public var CR:TextField; } }//package
Section 123
//Page64 (Page64) package { import flash.display.*; import flash.text.*; public class Page64 extends MovieClip { public var CR:TextField; } }//package
Section 124
//Page65 (Page65) package { import flash.display.*; import flash.text.*; public class Page65 extends MovieClip { public var CR:TextField; } }//package
Section 125
//Page66 (Page66) package { import flash.display.*; import flash.text.*; public class Page66 extends MovieClip { public var CR:TextField; } }//package
Section 126
//Page67 (Page67) package { import flash.display.*; import flash.text.*; public class Page67 extends MovieClip { public var CR:TextField; } }//package
Section 127
//Page68 (Page68) package { import flash.display.*; import flash.text.*; public class Page68 extends MovieClip { public var CR:TextField; } }//package
Section 128
//Page69 (Page69) package { import flash.display.*; import flash.text.*; public class Page69 extends MovieClip { public var CR:TextField; } }//package
Section 129
//Page7 (Page7) package { import flash.display.*; import flash.text.*; public class Page7 extends MovieClip { public var CR:TextField; } }//package
Section 130
//Page70 (Page70) package { import flash.display.*; import flash.text.*; public class Page70 extends MovieClip { public var CR:TextField; } }//package
Section 131
//Page71 (Page71) package { import flash.display.*; import flash.text.*; public class Page71 extends MovieClip { public var CR:TextField; } }//package
Section 132
//Page72 (Page72) package { import flash.display.*; import flash.text.*; public class Page72 extends MovieClip { public var CR:TextField; } }//package
Section 133
//Page73 (Page73) package { import flash.display.*; import flash.text.*; public class Page73 extends MovieClip { public var CR:TextField; } }//package
Section 134
//Page74 (Page74) package { import flash.display.*; import flash.text.*; public class Page74 extends MovieClip { public var CR:TextField; } }//package
Section 135
//Page75 (Page75) package { import flash.display.*; import flash.text.*; public class Page75 extends MovieClip { public var CR:TextField; } }//package
Section 136
//Page76 (Page76) package { import flash.display.*; import flash.text.*; public class Page76 extends MovieClip { public var CR:TextField; } }//package
Section 137
//Page77 (Page77) package { import flash.display.*; import flash.text.*; public class Page77 extends MovieClip { public var CR:TextField; } }//package
Section 138
//Page78 (Page78) package { import flash.display.*; import flash.text.*; public class Page78 extends MovieClip { public var CR:TextField; } }//package
Section 139
//Page79 (Page79) package { import flash.display.*; import flash.text.*; public class Page79 extends MovieClip { public var CR:TextField; } }//package
Section 140
//Page8 (Page8) package { import flash.display.*; import flash.text.*; public class Page8 extends MovieClip { public var CR:TextField; } }//package
Section 141
//Page80 (Page80) package { import flash.display.*; import flash.text.*; public class Page80 extends MovieClip { public var CR:TextField; } }//package
Section 142
//Page81 (Page81) package { import flash.display.*; import flash.text.*; public class Page81 extends MovieClip { public var CR:TextField; } }//package
Section 143
//Page82 (Page82) package { import flash.display.*; import flash.text.*; public class Page82 extends MovieClip { public var CR:TextField; } }//package
Section 144
//Page83 (Page83) package { import flash.display.*; import flash.text.*; public class Page83 extends MovieClip { public var CR:TextField; } }//package
Section 145
//Page9 (Page9) package { import flash.display.*; import flash.text.*; public class Page9 extends MovieClip { public var CR:TextField; } }//package
Section 146
//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 147
//RadioButton_disabledIcon (RadioButton_disabledIcon) package { import flash.display.*; public dynamic class RadioButton_disabledIcon extends MovieClip { } }//package
Section 148
//RadioButton_downIcon (RadioButton_downIcon) package { import flash.display.*; public dynamic class RadioButton_downIcon extends MovieClip { } }//package
Section 149
//RadioButton_overIcon (RadioButton_overIcon) package { import flash.display.*; public dynamic class RadioButton_overIcon extends MovieClip { } }//package
Section 150
//RadioButton_selectedDisabledIcon (RadioButton_selectedDisabledIcon) package { import flash.display.*; public dynamic class RadioButton_selectedDisabledIcon extends MovieClip { } }//package
Section 151
//RadioButton_selectedDownIcon (RadioButton_selectedDownIcon) package { import flash.display.*; public dynamic class RadioButton_selectedDownIcon extends MovieClip { } }//package
Section 152
//RadioButton_selectedOverIcon (RadioButton_selectedOverIcon) package { import flash.display.*; public dynamic class RadioButton_selectedOverIcon extends MovieClip { } }//package
Section 153
//RadioButton_selectedUpIcon (RadioButton_selectedUpIcon) package { import flash.display.*; public dynamic class RadioButton_selectedUpIcon extends MovieClip { } }//package
Section 154
//RadioButton_upIcon (RadioButton_upIcon) package { import flash.display.*; public dynamic class RadioButton_upIcon extends MovieClip { } }//package
Section 155
//ScrollArea (ScrollArea) package { import flash.display.*; public dynamic class ScrollArea extends MovieClip { public var BottomArea:MovieClip; } }//package
Section 156
//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_disabledSkin extends MovieClip { } }//package
Section 157
//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_downSkin extends MovieClip { } }//package
Section 158
//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_overSkin extends MovieClip { } }//package
Section 159
//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_upSkin extends MovieClip { } }//package
Section 160
//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_disabledSkin extends MovieClip { } }//package
Section 161
//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_downSkin extends MovieClip { } }//package
Section 162
//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_overSkin extends MovieClip { } }//package
Section 163
//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_upSkin extends MovieClip { } }//package
Section 164
//ScrollBar_thumbIcon (ScrollBar_thumbIcon) package { import flash.display.*; public dynamic class ScrollBar_thumbIcon extends MovieClip { } }//package
Section 165
//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 166
//ScrollPane_disabledSkin (ScrollPane_disabledSkin) package { import flash.display.*; public dynamic class ScrollPane_disabledSkin extends MovieClip { } }//package
Section 167
//ScrollPane_upSkin (ScrollPane_upSkin) package { import flash.display.*; public dynamic class ScrollPane_upSkin extends MovieClip { } }//package
Section 168
//ScrollThumb_downSkin (ScrollThumb_downSkin) package { import flash.display.*; public dynamic class ScrollThumb_downSkin extends MovieClip { } }//package
Section 169
//ScrollThumb_overSkin (ScrollThumb_overSkin) package { import flash.display.*; public dynamic class ScrollThumb_overSkin extends MovieClip { } }//package
Section 170
//ScrollThumb_upSkin (ScrollThumb_upSkin) package { import flash.display.*; public dynamic class ScrollThumb_upSkin extends MovieClip { } }//package
Section 171
//ScrollTrack_skin (ScrollTrack_skin) package { import flash.display.*; public dynamic class ScrollTrack_skin extends MovieClip { } }//package
Section 172
//Settings (Settings) package { import flash.utils.*; public class Settings extends ByteArray { } }//package
Section 173
//Settings2_ (Settings2_) package { import flash.utils.*; public class Settings2_ extends ByteArray { } }//package
Section 174
//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 175
//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 176
//textmsg (textmsg) package { import flash.display.*; import flash.text.*; public dynamic class textmsg extends MovieClip { public var text:TextField; } }//package
Section 177
//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:231 242 250 259 268 277 287 296 305 313 322 331 340 349 357 366 375 383 392 401 409 418 427 436 444 452 461 469 478 487 496 505 513 522 531 540 549 558 566 575 584 592 601 610 619 628 636 645 653 662 671 680 689 698 707 716 724 732 740 748 757 766 775 784 792 800 809 817 826 834 843 852 861 870 879 887 895 904 913 922 931 939 948
Symbol 222 FontUsed by:224
Symbol 223 GraphicUsed by:231
Symbol 224 EditableTextUses:222Used by:231
Symbol 225 FontUsed by:229
Symbol 226 FontUsed by:228
Symbol 227 GraphicUsed by:231
Symbol 228 EditableTextUses:226Used by:231
Symbol 229 TextUses:225 230Used by:231
Symbol 230 FontUsed by:229 947
Symbol 231 MovieClip {Page1}Uses:221 223 224 227 228 229
Symbol 232 FontUsed by:234
Symbol 233 GraphicUsed by:242
Symbol 234 EditableTextUses:232Used by:242
Symbol 235 FontUsed by:239 303 364 416 451 529 591 678 782 859 938 947
Symbol 236 FontUsed by:238
Symbol 237 GraphicUsed by:242
Symbol 238 EditableTextUses:236Used by:242
Symbol 239 TextUses:235 240Used by:242
Symbol 240 FontUsed by:239 241 249 257 258 266 267 275 276 284 294 295 303 304 312 320 321 329 330 338 339 347 348 356 364 365 373 374 382 390 391 399 400 408 416 417 425 426 434 435 443 451 459 460 468 476 477 485 486 494 495 503 504 512 520 521 529 530 538 539 547 548 556 557 565 573 574 582 583 591 599 600 608 609 617 618 626 627 635 643 644 652 660 661 669 670 678 679 687 688 696 705 706 714 715 723 731 739 747 755 756 764 765 773 774 782 783 791 799 807 808 816 824 825 833 841 842 850 851 859 860 868 869 877 878 886 894 902 903 911 912 920 921 929 930 938
Symbol 241 TextUses:240Used by:242
Symbol 242 MovieClip {Page2}Uses:221 233 234 237 238 239 241
Symbol 243 FontUsed by:245
Symbol 244 GraphicUsed by:250
Symbol 245 EditableTextUses:243Used by:250
Symbol 246 FontUsed by:248
Symbol 247 GraphicUsed by:250
Symbol 248 EditableTextUses:246Used by:250
Symbol 249 TextUses:240Used by:250
Symbol 250 MovieClip {Page3}Uses:221 244 245 247 248 249
Symbol 251 FontUsed by:253
Symbol 252 GraphicUsed by:259
Symbol 253 EditableTextUses:251Used by:259
Symbol 254 FontUsed by:256
Symbol 255 GraphicUsed by:259
Symbol 256 EditableTextUses:254Used by:259
Symbol 257 TextUses:240Used by:259
Symbol 258 TextUses:240Used by:259
Symbol 259 MovieClip {Page4}Uses:221 252 253 255 256 257 258
Symbol 260 FontUsed by:262
Symbol 261 GraphicUsed by:268
Symbol 262 EditableTextUses:260Used by:268
Symbol 263 FontUsed by:265
Symbol 264 GraphicUsed by:268
Symbol 265 EditableTextUses:263Used by:268
Symbol 266 TextUses:240Used by:268
Symbol 267 TextUses:240Used by:268
Symbol 268 MovieClip {Page5}Uses:221 261 262 264 265 266 267
Symbol 269 FontUsed by:271
Symbol 270 GraphicUsed by:277
Symbol 271 EditableTextUses:269Used by:277
Symbol 272 FontUsed by:274
Symbol 273 GraphicUsed by:277
Symbol 274 EditableTextUses:272Used by:277
Symbol 275 TextUses:240Used by:277
Symbol 276 TextUses:240Used by:277
Symbol 277 MovieClip {Page6}Uses:221 270 271 273 274 275 276
Symbol 278 FontUsed by:280
Symbol 279 GraphicUsed by:287
Symbol 280 EditableTextUses:278Used by:287
Symbol 281 FontUsed by:283
Symbol 282 GraphicUsed by:287
Symbol 283 EditableTextUses:281Used by:287
Symbol 284 TextUses:240 285Used by:287
Symbol 285 FontUsed by:284 286 294 356 696 697
Symbol 286 TextUses:285Used by:287
Symbol 287 MovieClip {Page7}Uses:221 279 280 282 283 284 286
Symbol 288 FontUsed by:290
Symbol 289 GraphicUsed by:296
Symbol 290 EditableTextUses:288Used by:296
Symbol 291 FontUsed by:293
Symbol 292 GraphicUsed by:296
Symbol 293 EditableTextUses:291Used by:296
Symbol 294 TextUses:285 240Used by:296
Symbol 295 TextUses:240Used by:296
Symbol 296 MovieClip {Page8}Uses:221 289 290 292 293 294 295
Symbol 297 FontUsed by:299
Symbol 298 GraphicUsed by:305
Symbol 299 EditableTextUses:297Used by:305
Symbol 300 FontUsed by:302
Symbol 301 GraphicUsed by:305
Symbol 302 EditableTextUses:300Used by:305
Symbol 303 TextUses:240 235Used by:305
Symbol 304 TextUses:240Used by:305
Symbol 305 MovieClip {Page9}Uses:221 298 299 301 302 303 304
Symbol 306 FontUsed by:308
Symbol 307 GraphicUsed by:313
Symbol 308 EditableTextUses:306Used by:313
Symbol 309 FontUsed by:311
Symbol 310 GraphicUsed by:313
Symbol 311 EditableTextUses:309Used by:313
Symbol 312 TextUses:240Used by:313
Symbol 313 MovieClip {Page10}Uses:221 307 308 310 311 312
Symbol 314 FontUsed by:316
Symbol 315 GraphicUsed by:322
Symbol 316 EditableTextUses:314Used by:322
Symbol 317 FontUsed by:319
Symbol 318 GraphicUsed by:322
Symbol 319 EditableTextUses:317Used by:322
Symbol 320 TextUses:240Used by:322
Symbol 321 TextUses:240Used by:322
Symbol 322 MovieClip {Page11}Uses:221 315 316 318 319 320 321
Symbol 323 FontUsed by:325
Symbol 324 GraphicUsed by:331
Symbol 325 EditableTextUses:323Used by:331
Symbol 326 FontUsed by:328
Symbol 327 GraphicUsed by:331
Symbol 328 EditableTextUses:326Used by:331
Symbol 329 TextUses:240Used by:331
Symbol 330 TextUses:240Used by:331
Symbol 331 MovieClip {Page12}Uses:221 324 325 327 328 329 330
Symbol 332 FontUsed by:334
Symbol 333 GraphicUsed by:340
Symbol 334 EditableTextUses:332Used by:340
Symbol 335 FontUsed by:337
Symbol 336 GraphicUsed by:340
Symbol 337 EditableTextUses:335Used by:340
Symbol 338 TextUses:240Used by:340
Symbol 339 TextUses:240Used by:340
Symbol 340 MovieClip {Page13}Uses:221 333 334 336 337 338 339
Symbol 341 FontUsed by:343
Symbol 342 GraphicUsed by:349
Symbol 343 EditableTextUses:341Used by:349
Symbol 344 FontUsed by:346
Symbol 345 GraphicUsed by:349
Symbol 346 EditableTextUses:344Used by:349
Symbol 347 TextUses:240Used by:349
Symbol 348 TextUses:240Used by:349
Symbol 349 MovieClip {Page14}Uses:221 342 343 345 346 347 348
Symbol 350 FontUsed by:352
Symbol 351 GraphicUsed by:357
Symbol 352 EditableTextUses:350Used by:357
Symbol 353 FontUsed by:355
Symbol 354 GraphicUsed by:357
Symbol 355 EditableTextUses:353Used by:357
Symbol 356 TextUses:240 285Used by:357
Symbol 357 MovieClip {Page15}Uses:221 351 352 354 355 356
Symbol 358 FontUsed by:360
Symbol 359 GraphicUsed by:366
Symbol 360 EditableTextUses:358Used by:366
Symbol 361 FontUsed by:363
Symbol 362 GraphicUsed by:366
Symbol 363 EditableTextUses:361Used by:366
Symbol 364 TextUses:240 235Used by:366
Symbol 365 TextUses:240Used by:366
Symbol 366 MovieClip {Page16}Uses:221 359 360 362 363 364 365
Symbol 367 FontUsed by:369
Symbol 368 GraphicUsed by:375
Symbol 369 EditableTextUses:367Used by:375
Symbol 370 FontUsed by:372
Symbol 371 GraphicUsed by:375
Symbol 372 EditableTextUses:370Used by:375
Symbol 373 TextUses:240Used by:375
Symbol 374 TextUses:240Used by:375
Symbol 375 MovieClip {Page17}Uses:221 368 369 371 372 373 374
Symbol 376 FontUsed by:378
Symbol 377 GraphicUsed by:383
Symbol 378 EditableTextUses:376Used by:383
Symbol 379 FontUsed by:381
Symbol 380 GraphicUsed by:383
Symbol 381 EditableTextUses:379Used by:383
Symbol 382 TextUses:240Used by:383
Symbol 383 MovieClip {Page18}Uses:221 377 378 380 381 382
Symbol 384 FontUsed by:386
Symbol 385 GraphicUsed by:392
Symbol 386 EditableTextUses:384Used by:392
Symbol 387 FontUsed by:389
Symbol 388 GraphicUsed by:392
Symbol 389 EditableTextUses:387Used by:392
Symbol 390 TextUses:240Used by:392
Symbol 391 TextUses:240Used by:392
Symbol 392 MovieClip {Page19}Uses:221 385 386 388 389 390 391
Symbol 393 FontUsed by:395
Symbol 394 GraphicUsed by:401
Symbol 395 EditableTextUses:393Used by:401
Symbol 396 FontUsed by:398
Symbol 397 GraphicUsed by:401
Symbol 398 EditableTextUses:396Used by:401
Symbol 399 TextUses:240Used by:401
Symbol 400 TextUses:240Used by:401
Symbol 401 MovieClip {Page20}Uses:221 394 395 397 398 399 400
Symbol 402 FontUsed by:404
Symbol 403 GraphicUsed by:409
Symbol 404 EditableTextUses:402Used by:409
Symbol 405 FontUsed by:407
Symbol 406 GraphicUsed by:409
Symbol 407 EditableTextUses:405Used by:409
Symbol 408 TextUses:240Used by:409
Symbol 409 MovieClip {Page21}Uses:221 403 404 406 407 408
Symbol 410 FontUsed by:412
Symbol 411 GraphicUsed by:418
Symbol 412 EditableTextUses:410Used by:418
Symbol 413 FontUsed by:415
Symbol 414 GraphicUsed by:418
Symbol 415 EditableTextUses:413Used by:418
Symbol 416 TextUses:240 235Used by:418
Symbol 417 TextUses:240Used by:418
Symbol 418 MovieClip {Page22}Uses:221 411 412 414 415 416 417
Symbol 419 FontUsed by:421
Symbol 420 GraphicUsed by:427
Symbol 421 EditableTextUses:419Used by:427
Symbol 422 FontUsed by:424
Symbol 423 GraphicUsed by:427
Symbol 424 EditableTextUses:422Used by:427
Symbol 425 TextUses:240Used by:427
Symbol 426 TextUses:240Used by:427
Symbol 427 MovieClip {Page23}Uses:221 420 421 423 424 425 426
Symbol 428 FontUsed by:430
Symbol 429 GraphicUsed by:436
Symbol 430 EditableTextUses:428Used by:436
Symbol 431 FontUsed by:433
Symbol 432 GraphicUsed by:436
Symbol 433 EditableTextUses:431Used by:436
Symbol 434 TextUses:240Used by:436
Symbol 435 TextUses:240Used by:436
Symbol 436 MovieClip {Page24}Uses:221 429 430 432 433 434 435
Symbol 437 FontUsed by:439
Symbol 438 GraphicUsed by:444
Symbol 439 EditableTextUses:437Used by:444
Symbol 440 FontUsed by:442
Symbol 441 GraphicUsed by:444
Symbol 442 EditableTextUses:440Used by:444
Symbol 443 TextUses:240Used by:444
Symbol 444 MovieClip {Page25}Uses:221 438 439 441 442 443
Symbol 445 FontUsed by:447
Symbol 446 GraphicUsed by:452
Symbol 447 EditableTextUses:445Used by:452
Symbol 448 FontUsed by:450
Symbol 449 GraphicUsed by:452
Symbol 450 EditableTextUses:448Used by:452
Symbol 451 TextUses:240 235Used by:452
Symbol 452 MovieClip {Page26}Uses:221 446 447 449 450 451
Symbol 453 FontUsed by:455
Symbol 454 GraphicUsed by:461
Symbol 455 EditableTextUses:453Used by:461
Symbol 456 FontUsed by:458
Symbol 457 GraphicUsed by:461
Symbol 458 EditableTextUses:456Used by:461
Symbol 459 TextUses:240Used by:461
Symbol 460 TextUses:240Used by:461
Symbol 461 MovieClip {Page27}Uses:221 454 455 457 458 459 460
Symbol 462 FontUsed by:464
Symbol 463 GraphicUsed by:469
Symbol 464 EditableTextUses:462Used by:469
Symbol 465 FontUsed by:467
Symbol 466 GraphicUsed by:469
Symbol 467 EditableTextUses:465Used by:469
Symbol 468 TextUses:240Used by:469
Symbol 469 MovieClip {Page28}Uses:221 463 464 466 467 468
Symbol 470 FontUsed by:472
Symbol 471 GraphicUsed by:478
Symbol 472 EditableTextUses:470Used by:478
Symbol 473 FontUsed by:475
Symbol 474 GraphicUsed by:478
Symbol 475 EditableTextUses:473Used by:478
Symbol 476 TextUses:240Used by:478
Symbol 477 TextUses:240Used by:478
Symbol 478 MovieClip {Page29}Uses:221 471 472 474 475 476 477
Symbol 479 FontUsed by:481
Symbol 480 GraphicUsed by:487
Symbol 481 EditableTextUses:479Used by:487
Symbol 482 FontUsed by:484
Symbol 483 GraphicUsed by:487
Symbol 484 EditableTextUses:482Used by:487
Symbol 485 TextUses:240Used by:487
Symbol 486 TextUses:240Used by:487
Symbol 487 MovieClip {Page30}Uses:221 480 481 483 484 485 486
Symbol 488 FontUsed by:490
Symbol 489 GraphicUsed by:496
Symbol 490 EditableTextUses:488Used by:496
Symbol 491 FontUsed by:493
Symbol 492 GraphicUsed by:496
Symbol 493 EditableTextUses:491Used by:496
Symbol 494 TextUses:240Used by:496
Symbol 495 TextUses:240Used by:496
Symbol 496 MovieClip {Page31}Uses:221 489 490 492 493 494 495
Symbol 497 FontUsed by:499
Symbol 498 GraphicUsed by:505
Symbol 499 EditableTextUses:497Used by:505
Symbol 500 FontUsed by:502
Symbol 501 GraphicUsed by:505
Symbol 502 EditableTextUses:500Used by:505
Symbol 503 TextUses:240Used by:505
Symbol 504 TextUses:240Used by:505
Symbol 505 MovieClip {Page32}Uses:221 498 499 501 502 503 504
Symbol 506 FontUsed by:508
Symbol 507 GraphicUsed by:513
Symbol 508 EditableTextUses:506Used by:513
Symbol 509 FontUsed by:511
Symbol 510 GraphicUsed by:513
Symbol 511 EditableTextUses:509Used by:513
Symbol 512 TextUses:240Used by:513
Symbol 513 MovieClip {Page33}Uses:221 507 508 510 511 512
Symbol 514 FontUsed by:516
Symbol 515 GraphicUsed by:522
Symbol 516 EditableTextUses:514Used by:522
Symbol 517 FontUsed by:519
Symbol 518 GraphicUsed by:522
Symbol 519 EditableTextUses:517Used by:522
Symbol 520 TextUses:240Used by:522
Symbol 521 TextUses:240Used by:522
Symbol 522 MovieClip {Page34}Uses:221 515 516 518 519 520 521
Symbol 523 FontUsed by:525
Symbol 524 GraphicUsed by:531
Symbol 525 EditableTextUses:523Used by:531
Symbol 526 FontUsed by:528
Symbol 527 GraphicUsed by:531
Symbol 528 EditableTextUses:526Used by:531
Symbol 529 TextUses:240 235Used by:531
Symbol 530 TextUses:240Used by:531
Symbol 531 MovieClip {Page35}Uses:221 524 525 527 528 529 530
Symbol 532 FontUsed by:534
Symbol 533 GraphicUsed by:540
Symbol 534 EditableTextUses:532Used by:540
Symbol 535 FontUsed by:537
Symbol 536 GraphicUsed by:540
Symbol 537 EditableTextUses:535Used by:540
Symbol 538 TextUses:240Used by:540
Symbol 539 TextUses:240Used by:540
Symbol 540 MovieClip {Page36}Uses:221 533 534 536 537 538 539
Symbol 541 FontUsed by:543
Symbol 542 GraphicUsed by:549
Symbol 543 EditableTextUses:541Used by:549
Symbol 544 FontUsed by:546
Symbol 545 GraphicUsed by:549
Symbol 546 EditableTextUses:544Used by:549
Symbol 547 TextUses:240Used by:549
Symbol 548 TextUses:240Used by:549
Symbol 549 MovieClip {Page37}Uses:221 542 543 545 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:240Used by:558
Symbol 557 TextUses:240Used by:558
Symbol 558 MovieClip {Page38}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:240Used by:566
Symbol 566 MovieClip {Page39}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:240Used by:575
Symbol 574 TextUses:240Used by:575
Symbol 575 MovieClip {Page40}Uses:221 568 569 571 572 573 574
Symbol 576 FontUsed by:578
Symbol 577 GraphicUsed by:584
Symbol 578 EditableTextUses:576Used by:584
Symbol 579 FontUsed by:581
Symbol 580 GraphicUsed by:584
Symbol 581 EditableTextUses:579Used by:584
Symbol 582 TextUses:240Used by:584
Symbol 583 TextUses:240Used by:584
Symbol 584 MovieClip {Page41}Uses:221 577 578 580 581 582 583
Symbol 585 FontUsed by:587
Symbol 586 GraphicUsed by:592
Symbol 587 EditableTextUses:585Used by:592
Symbol 588 FontUsed by:590
Symbol 589 GraphicUsed by:592
Symbol 590 EditableTextUses:588Used by:592
Symbol 591 TextUses:240 235Used by:592
Symbol 592 MovieClip {Page42}Uses:221 586 587 589 590 591
Symbol 593 FontUsed by:595
Symbol 594 GraphicUsed by:601
Symbol 595 EditableTextUses:593Used by:601
Symbol 596 FontUsed by:598
Symbol 597 GraphicUsed by:601
Symbol 598 EditableTextUses:596Used by:601
Symbol 599 TextUses:240Used by:601
Symbol 600 TextUses:240Used by:601
Symbol 601 MovieClip {Page43}Uses:221 594 595 597 598 599 600
Symbol 602 FontUsed by:604
Symbol 603 GraphicUsed by:610
Symbol 604 EditableTextUses:602Used by:610
Symbol 605 FontUsed by:607
Symbol 606 GraphicUsed by:610
Symbol 607 EditableTextUses:605Used by:610
Symbol 608 TextUses:240Used by:610
Symbol 609 TextUses:240Used by:610
Symbol 610 MovieClip {Page44}Uses:221 603 604 606 607 608 609
Symbol 611 FontUsed by:613
Symbol 612 GraphicUsed by:619
Symbol 613 EditableTextUses:611Used by:619
Symbol 614 FontUsed by:616
Symbol 615 GraphicUsed by:619
Symbol 616 EditableTextUses:614Used by:619
Symbol 617 TextUses:240Used by:619
Symbol 618 TextUses:240Used by:619
Symbol 619 MovieClip {Page45}Uses:221 612 613 615 616 617 618
Symbol 620 FontUsed by:622
Symbol 621 GraphicUsed by:628
Symbol 622 EditableTextUses:620Used by:628
Symbol 623 FontUsed by:625
Symbol 624 GraphicUsed by:628
Symbol 625 EditableTextUses:623Used by:628
Symbol 626 TextUses:240Used by:628
Symbol 627 TextUses:240Used by:628
Symbol 628 MovieClip {Page46}Uses:221 621 622 624 625 626 627
Symbol 629 FontUsed by:631
Symbol 630 GraphicUsed by:636
Symbol 631 EditableTextUses:629Used by:636
Symbol 632 FontUsed by:634
Symbol 633 GraphicUsed by:636
Symbol 634 EditableTextUses:632Used by:636
Symbol 635 TextUses:240Used by:636
Symbol 636 MovieClip {Page47}Uses:221 630 631 633 634 635
Symbol 637 FontUsed by:639
Symbol 638 GraphicUsed by:645
Symbol 639 EditableTextUses:637Used by:645
Symbol 640 FontUsed by:642
Symbol 641 GraphicUsed by:645
Symbol 642 EditableTextUses:640Used by:645
Symbol 643 TextUses:240Used by:645
Symbol 644 TextUses:240Used by:645
Symbol 645 MovieClip {Page48}Uses:221 638 639 641 642 643 644
Symbol 646 FontUsed by:648
Symbol 647 GraphicUsed by:653
Symbol 648 EditableTextUses:646Used by:653
Symbol 649 FontUsed by:651
Symbol 650 GraphicUsed by:653
Symbol 651 EditableTextUses:649Used by:653
Symbol 652 TextUses:240Used by:653
Symbol 653 MovieClip {Page49}Uses:221 647 648 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:240Used by:662
Symbol 661 TextUses:240Used by:662
Symbol 662 MovieClip {Page50}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:240Used by:671
Symbol 670 TextUses:240Used by:671
Symbol 671 MovieClip {Page51}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:240 235Used by:680
Symbol 679 TextUses:240Used by:680
Symbol 680 MovieClip {Page52}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:240Used by:689
Symbol 688 TextUses:240Used by:689
Symbol 689 MovieClip {Page53}Uses:221 682 683 685 686 687 688
Symbol 690 FontUsed by:692
Symbol 691 GraphicUsed by:698
Symbol 692 EditableTextUses:690Used by:698
Symbol 693 FontUsed by:695
Symbol 694 GraphicUsed by:698
Symbol 695 EditableTextUses:693Used by:698
Symbol 696 TextUses:240 285Used by:698
Symbol 697 TextUses:285Used by:698
Symbol 698 MovieClip {Page54}Uses:221 691 692 694 695 696 697
Symbol 699 FontUsed by:701
Symbol 700 GraphicUsed by:707
Symbol 701 EditableTextUses:699Used by:707
Symbol 702 FontUsed by:704
Symbol 703 GraphicUsed by:707
Symbol 704 EditableTextUses:702Used by:707
Symbol 705 TextUses:240Used by:707
Symbol 706 TextUses:240Used by:707
Symbol 707 MovieClip {Page55}Uses:221 700 701 703 704 705 706
Symbol 708 FontUsed by:710
Symbol 709 GraphicUsed by:716
Symbol 710 EditableTextUses:708Used by:716
Symbol 711 FontUsed by:713
Symbol 712 GraphicUsed by:716
Symbol 713 EditableTextUses:711Used by:716
Symbol 714 TextUses:240Used by:716
Symbol 715 TextUses:240Used by:716
Symbol 716 MovieClip {Page56}Uses:221 709 710 712 713 714 715
Symbol 717 FontUsed by:719
Symbol 718 GraphicUsed by:724
Symbol 719 EditableTextUses:717Used by:724
Symbol 720 FontUsed by:722
Symbol 721 GraphicUsed by:724
Symbol 722 EditableTextUses:720Used by:724
Symbol 723 TextUses:240Used by:724
Symbol 724 MovieClip {Page57}Uses:221 718 719 721 722 723
Symbol 725 FontUsed by:727
Symbol 726 GraphicUsed by:732
Symbol 727 EditableTextUses:725Used by:732
Symbol 728 FontUsed by:730
Symbol 729 GraphicUsed by:732
Symbol 730 EditableTextUses:728Used by:732
Symbol 731 TextUses:240Used by:732
Symbol 732 MovieClip {Page58}Uses:221 726 727 729 730 731
Symbol 733 FontUsed by:735
Symbol 734 GraphicUsed by:740
Symbol 735 EditableTextUses:733Used by:740
Symbol 736 FontUsed by:738
Symbol 737 GraphicUsed by:740
Symbol 738 EditableTextUses:736Used by:740
Symbol 739 TextUses:240Used by:740
Symbol 740 MovieClip {Page59}Uses:221 734 735 737 738 739
Symbol 741 FontUsed by:743
Symbol 742 GraphicUsed by:748
Symbol 743 EditableTextUses:741Used by:748
Symbol 744 FontUsed by:746
Symbol 745 GraphicUsed by:748
Symbol 746 EditableTextUses:744Used by:748
Symbol 747 TextUses:240Used by:748
Symbol 748 MovieClip {Page60}Uses:221 742 743 745 746 747
Symbol 749 FontUsed by:751
Symbol 750 GraphicUsed by:757
Symbol 751 EditableTextUses:749Used by:757
Symbol 752 FontUsed by:754
Symbol 753 GraphicUsed by:757
Symbol 754 EditableTextUses:752Used by:757
Symbol 755 TextUses:240Used by:757
Symbol 756 TextUses:240Used by:757
Symbol 757 MovieClip {Page61}Uses:221 750 751 753 754 755 756
Symbol 758 FontUsed by:760
Symbol 759 GraphicUsed by:766
Symbol 760 EditableTextUses:758Used by:766
Symbol 761 FontUsed by:763
Symbol 762 GraphicUsed by:766
Symbol 763 EditableTextUses:761Used by:766
Symbol 764 TextUses:240Used by:766
Symbol 765 TextUses:240Used by:766
Symbol 766 MovieClip {Page62}Uses:221 759 760 762 763 764 765
Symbol 767 FontUsed by:769
Symbol 768 GraphicUsed by:775
Symbol 769 EditableTextUses:767Used by:775
Symbol 770 FontUsed by:772
Symbol 771 GraphicUsed by:775
Symbol 772 EditableTextUses:770Used by:775
Symbol 773 TextUses:240Used by:775
Symbol 774 TextUses:240Used by:775
Symbol 775 MovieClip {Page63}Uses:221 768 769 771 772 773 774
Symbol 776 FontUsed by:778
Symbol 777 GraphicUsed by:784
Symbol 778 EditableTextUses:776Used by:784
Symbol 779 FontUsed by:781
Symbol 780 GraphicUsed by:784
Symbol 781 EditableTextUses:779Used by:784
Symbol 782 TextUses:240 235Used by:784
Symbol 783 TextUses:240Used by:784
Symbol 784 MovieClip {Page64}Uses:221 777 778 780 781 782 783
Symbol 785 FontUsed by:787
Symbol 786 GraphicUsed by:792
Symbol 787 EditableTextUses:785Used by:792
Symbol 788 FontUsed by:790
Symbol 789 GraphicUsed by:792
Symbol 790 EditableTextUses:788Used by:792
Symbol 791 TextUses:240Used by:792
Symbol 792 MovieClip {Page65}Uses:221 786 787 789 790 791
Symbol 793 FontUsed by:795
Symbol 794 GraphicUsed by:800
Symbol 795 EditableTextUses:793Used by:800
Symbol 796 FontUsed by:798
Symbol 797 GraphicUsed by:800
Symbol 798 EditableTextUses:796Used by:800
Symbol 799 TextUses:240Used by:800
Symbol 800 MovieClip {Page66}Uses:221 794 795 797 798 799
Symbol 801 FontUsed by:803
Symbol 802 GraphicUsed by:809
Symbol 803 EditableTextUses:801Used by:809
Symbol 804 FontUsed by:806
Symbol 805 GraphicUsed by:809
Symbol 806 EditableTextUses:804Used by:809
Symbol 807 TextUses:240Used by:809
Symbol 808 TextUses:240Used by:809
Symbol 809 MovieClip {Page67}Uses:221 802 803 805 806 807 808
Symbol 810 FontUsed by:812
Symbol 811 GraphicUsed by:817
Symbol 812 EditableTextUses:810Used by:817
Symbol 813 FontUsed by:815
Symbol 814 GraphicUsed by:817
Symbol 815 EditableTextUses:813Used by:817
Symbol 816 TextUses:240Used by:817
Symbol 817 MovieClip {Page68}Uses:221 811 812 814 815 816
Symbol 818 FontUsed by:820
Symbol 819 GraphicUsed by:826
Symbol 820 EditableTextUses:818Used by:826
Symbol 821 FontUsed by:823
Symbol 822 GraphicUsed by:826
Symbol 823 EditableTextUses:821Used by:826
Symbol 824 TextUses:240Used by:826
Symbol 825 TextUses:240Used by:826
Symbol 826 MovieClip {Page69}Uses:221 819 820 822 823 824 825
Symbol 827 FontUsed by:829
Symbol 828 GraphicUsed by:834
Symbol 829 EditableTextUses:827Used by:834
Symbol 830 FontUsed by:832
Symbol 831 GraphicUsed by:834
Symbol 832 EditableTextUses:830Used by:834
Symbol 833 TextUses:240Used by:834
Symbol 834 MovieClip {Page70}Uses:221 828 829 831 832 833
Symbol 835 FontUsed by:837
Symbol 836 GraphicUsed by:843
Symbol 837 EditableTextUses:835Used by:843
Symbol 838 FontUsed by:840
Symbol 839 GraphicUsed by:843
Symbol 840 EditableTextUses:838Used by:843
Symbol 841 TextUses:240Used by:843
Symbol 842 TextUses:240Used by:843
Symbol 843 MovieClip {Page71}Uses:221 836 837 839 840 841 842
Symbol 844 FontUsed by:846
Symbol 845 GraphicUsed by:852
Symbol 846 EditableTextUses:844Used by:852
Symbol 847 FontUsed by:849
Symbol 848 GraphicUsed by:852
Symbol 849 EditableTextUses:847Used by:852
Symbol 850 TextUses:240Used by:852
Symbol 851 TextUses:240Used by:852
Symbol 852 MovieClip {Page72}Uses:221 845 846 848 849 850 851
Symbol 853 FontUsed by:855
Symbol 854 GraphicUsed by:861
Symbol 855 EditableTextUses:853Used by:861
Symbol 856 FontUsed by:858
Symbol 857 GraphicUsed by:861
Symbol 858 EditableTextUses:856Used by:861
Symbol 859 TextUses:240 235Used by:861
Symbol 860 TextUses:240Used by:861
Symbol 861 MovieClip {Page73}Uses:221 854 855 857 858 859 860
Symbol 862 FontUsed by:864
Symbol 863 GraphicUsed by:870
Symbol 864 EditableTextUses:862Used by:870
Symbol 865 FontUsed by:867
Symbol 866 GraphicUsed by:870
Symbol 867 EditableTextUses:865Used by:870
Symbol 868 TextUses:240Used by:870
Symbol 869 TextUses:240Used by:870
Symbol 870 MovieClip {Page74}Uses:221 863 864 866 867 868 869
Symbol 871 FontUsed by:873
Symbol 872 GraphicUsed by:879
Symbol 873 EditableTextUses:871Used by:879
Symbol 874 FontUsed by:876
Symbol 875 GraphicUsed by:879
Symbol 876 EditableTextUses:874Used by:879
Symbol 877 TextUses:240Used by:879
Symbol 878 TextUses:240Used by:879
Symbol 879 MovieClip {Page75}Uses:221 872 873 875 876 877 878
Symbol 880 FontUsed by:882
Symbol 881 GraphicUsed by:887
Symbol 882 EditableTextUses:880Used by:887
Symbol 883 FontUsed by:885
Symbol 884 GraphicUsed by:887
Symbol 885 EditableTextUses:883Used by:887
Symbol 886 TextUses:240Used by:887
Symbol 887 MovieClip {Page76}Uses:221 881 882 884 885 886
Symbol 888 FontUsed by:890
Symbol 889 GraphicUsed by:895
Symbol 890 EditableTextUses:888Used by:895
Symbol 891 FontUsed by:893
Symbol 892 GraphicUsed by:895
Symbol 893 EditableTextUses:891Used by:895
Symbol 894 TextUses:240Used by:895
Symbol 895 MovieClip {Page77}Uses:221 889 890 892 893 894
Symbol 896 FontUsed by:898
Symbol 897 GraphicUsed by:904
Symbol 898 EditableTextUses:896Used by:904
Symbol 899 FontUsed by:901
Symbol 900 GraphicUsed by:904
Symbol 901 EditableTextUses:899Used by:904
Symbol 902 TextUses:240Used by:904
Symbol 903 TextUses:240Used by:904
Symbol 904 MovieClip {Page78}Uses:221 897 898 900 901 902 903
Symbol 905 FontUsed by:907
Symbol 906 GraphicUsed by:913
Symbol 907 EditableTextUses:905Used by:913
Symbol 908 FontUsed by:910
Symbol 909 GraphicUsed by:913
Symbol 910 EditableTextUses:908Used by:913
Symbol 911 TextUses:240Used by:913
Symbol 912 TextUses:240Used by:913
Symbol 913 MovieClip {Page79}Uses:221 906 907 909 910 911 912
Symbol 914 FontUsed by:916
Symbol 915 GraphicUsed by:922
Symbol 916 EditableTextUses:914Used by:922
Symbol 917 FontUsed by:919
Symbol 918 GraphicUsed by:922
Symbol 919 EditableTextUses:917Used by:922
Symbol 920 TextUses:240Used by:922
Symbol 921 TextUses:240Used by:922
Symbol 922 MovieClip {Page80}Uses:221 915 916 918 919 920 921
Symbol 923 FontUsed by:925
Symbol 924 GraphicUsed by:931
Symbol 925 EditableTextUses:923Used by:931
Symbol 926 FontUsed by:928
Symbol 927 GraphicUsed by:931
Symbol 928 EditableTextUses:926Used by:931
Symbol 929 TextUses:240Used by:931
Symbol 930 TextUses:240Used by:931
Symbol 931 MovieClip {Page81}Uses:221 924 925 927 928 929 930
Symbol 932 FontUsed by:934
Symbol 933 GraphicUsed by:939
Symbol 934 EditableTextUses:932Used by:939
Symbol 935 FontUsed by:937
Symbol 936 GraphicUsed by:939
Symbol 937 EditableTextUses:935Used by:939
Symbol 938 TextUses:240 235Used by:939
Symbol 939 MovieClip {Page82}Uses:221 933 934 936 937 938
Symbol 940 FontUsed by:942
Symbol 941 GraphicUsed by:948
Symbol 942 EditableTextUses:940Used by:948
Symbol 943 FontUsed by:947
Symbol 944 FontUsed by:946
Symbol 945 GraphicUsed by:948
Symbol 946 EditableTextUses:944Used by:948
Symbol 947 TextUses:943 235 230Used by:948
Symbol 948 MovieClip {Page83}Uses:221 941 942 945 946 947

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 231 MovieClip {Page1} Frame 1Symbol 224 EditableText
"CR"Symbol 231 MovieClip {Page1} Frame 1Symbol 228 EditableText
"CR"Symbol 242 MovieClip {Page2} Frame 1Symbol 234 EditableText
"CR"Symbol 242 MovieClip {Page2} Frame 1Symbol 238 EditableText
"CR"Symbol 250 MovieClip {Page3} Frame 1Symbol 245 EditableText
"CR"Symbol 250 MovieClip {Page3} Frame 1Symbol 248 EditableText
"CR"Symbol 259 MovieClip {Page4} Frame 1Symbol 253 EditableText
"CR"Symbol 259 MovieClip {Page4} Frame 1Symbol 256 EditableText
"CR"Symbol 268 MovieClip {Page5} Frame 1Symbol 262 EditableText
"CR"Symbol 268 MovieClip {Page5} Frame 1Symbol 265 EditableText
"CR"Symbol 277 MovieClip {Page6} Frame 1Symbol 271 EditableText
"CR"Symbol 277 MovieClip {Page6} Frame 1Symbol 274 EditableText
"CR"Symbol 287 MovieClip {Page7} Frame 1Symbol 280 EditableText
"CR"Symbol 287 MovieClip {Page7} Frame 1Symbol 283 EditableText
"CR"Symbol 296 MovieClip {Page8} Frame 1Symbol 290 EditableText
"CR"Symbol 296 MovieClip {Page8} Frame 1Symbol 293 EditableText
"CR"Symbol 305 MovieClip {Page9} Frame 1Symbol 299 EditableText
"CR"Symbol 305 MovieClip {Page9} Frame 1Symbol 302 EditableText
"CR"Symbol 313 MovieClip {Page10} Frame 1Symbol 308 EditableText
"CR"Symbol 313 MovieClip {Page10} Frame 1Symbol 311 EditableText
"CR"Symbol 322 MovieClip {Page11} Frame 1Symbol 316 EditableText
"CR"Symbol 322 MovieClip {Page11} Frame 1Symbol 319 EditableText
"CR"Symbol 331 MovieClip {Page12} Frame 1Symbol 325 EditableText
"CR"Symbol 331 MovieClip {Page12} Frame 1Symbol 328 EditableText
"CR"Symbol 340 MovieClip {Page13} Frame 1Symbol 334 EditableText
"CR"Symbol 340 MovieClip {Page13} Frame 1Symbol 337 EditableText
"CR"Symbol 349 MovieClip {Page14} Frame 1Symbol 343 EditableText
"CR"Symbol 349 MovieClip {Page14} Frame 1Symbol 346 EditableText
"CR"Symbol 357 MovieClip {Page15} Frame 1Symbol 352 EditableText
"CR"Symbol 357 MovieClip {Page15} Frame 1Symbol 355 EditableText
"CR"Symbol 366 MovieClip {Page16} Frame 1Symbol 360 EditableText
"CR"Symbol 366 MovieClip {Page16} Frame 1Symbol 363 EditableText
"CR"Symbol 375 MovieClip {Page17} Frame 1Symbol 369 EditableText
"CR"Symbol 375 MovieClip {Page17} Frame 1Symbol 372 EditableText
"CR"Symbol 383 MovieClip {Page18} Frame 1Symbol 378 EditableText
"CR"Symbol 383 MovieClip {Page18} Frame 1Symbol 381 EditableText
"CR"Symbol 392 MovieClip {Page19} Frame 1Symbol 386 EditableText
"CR"Symbol 392 MovieClip {Page19} Frame 1Symbol 389 EditableText
"CR"Symbol 401 MovieClip {Page20} Frame 1Symbol 395 EditableText
"CR"Symbol 401 MovieClip {Page20} Frame 1Symbol 398 EditableText
"CR"Symbol 409 MovieClip {Page21} Frame 1Symbol 404 EditableText
"CR"Symbol 409 MovieClip {Page21} Frame 1Symbol 407 EditableText
"CR"Symbol 418 MovieClip {Page22} Frame 1Symbol 412 EditableText
"CR"Symbol 418 MovieClip {Page22} Frame 1Symbol 415 EditableText
"CR"Symbol 427 MovieClip {Page23} Frame 1Symbol 421 EditableText
"CR"Symbol 427 MovieClip {Page23} Frame 1Symbol 424 EditableText
"CR"Symbol 436 MovieClip {Page24} Frame 1Symbol 430 EditableText
"CR"Symbol 436 MovieClip {Page24} Frame 1Symbol 433 EditableText
"CR"Symbol 444 MovieClip {Page25} Frame 1Symbol 439 EditableText
"CR"Symbol 444 MovieClip {Page25} Frame 1Symbol 442 EditableText
"CR"Symbol 452 MovieClip {Page26} Frame 1Symbol 447 EditableText
"CR"Symbol 452 MovieClip {Page26} Frame 1Symbol 450 EditableText
"CR"Symbol 461 MovieClip {Page27} Frame 1Symbol 455 EditableText
"CR"Symbol 461 MovieClip {Page27} Frame 1Symbol 458 EditableText
"CR"Symbol 469 MovieClip {Page28} Frame 1Symbol 464 EditableText
"CR"Symbol 469 MovieClip {Page28} Frame 1Symbol 467 EditableText
"CR"Symbol 478 MovieClip {Page29} Frame 1Symbol 472 EditableText
"CR"Symbol 478 MovieClip {Page29} Frame 1Symbol 475 EditableText
"CR"Symbol 487 MovieClip {Page30} Frame 1Symbol 481 EditableText
"CR"Symbol 487 MovieClip {Page30} Frame 1Symbol 484 EditableText
"CR"Symbol 496 MovieClip {Page31} Frame 1Symbol 490 EditableText
"CR"Symbol 496 MovieClip {Page31} Frame 1Symbol 493 EditableText
"CR"Symbol 505 MovieClip {Page32} Frame 1Symbol 499 EditableText
"CR"Symbol 505 MovieClip {Page32} Frame 1Symbol 502 EditableText
"CR"Symbol 513 MovieClip {Page33} Frame 1Symbol 508 EditableText
"CR"Symbol 513 MovieClip {Page33} Frame 1Symbol 511 EditableText
"CR"Symbol 522 MovieClip {Page34} Frame 1Symbol 516 EditableText
"CR"Symbol 522 MovieClip {Page34} Frame 1Symbol 519 EditableText
"CR"Symbol 531 MovieClip {Page35} Frame 1Symbol 525 EditableText
"CR"Symbol 531 MovieClip {Page35} Frame 1Symbol 528 EditableText
"CR"Symbol 540 MovieClip {Page36} Frame 1Symbol 534 EditableText
"CR"Symbol 540 MovieClip {Page36} Frame 1Symbol 537 EditableText
"CR"Symbol 549 MovieClip {Page37} Frame 1Symbol 543 EditableText
"CR"Symbol 549 MovieClip {Page37} Frame 1Symbol 546 EditableText
"CR"Symbol 558 MovieClip {Page38} Frame 1Symbol 552 EditableText
"CR"Symbol 558 MovieClip {Page38} Frame 1Symbol 555 EditableText
"CR"Symbol 566 MovieClip {Page39} Frame 1Symbol 561 EditableText
"CR"Symbol 566 MovieClip {Page39} Frame 1Symbol 564 EditableText
"CR"Symbol 575 MovieClip {Page40} Frame 1Symbol 569 EditableText
"CR"Symbol 575 MovieClip {Page40} Frame 1Symbol 572 EditableText
"CR"Symbol 584 MovieClip {Page41} Frame 1Symbol 578 EditableText
"CR"Symbol 584 MovieClip {Page41} Frame 1Symbol 581 EditableText
"CR"Symbol 592 MovieClip {Page42} Frame 1Symbol 587 EditableText
"CR"Symbol 592 MovieClip {Page42} Frame 1Symbol 590 EditableText
"CR"Symbol 601 MovieClip {Page43} Frame 1Symbol 595 EditableText
"CR"Symbol 601 MovieClip {Page43} Frame 1Symbol 598 EditableText
"CR"Symbol 610 MovieClip {Page44} Frame 1Symbol 604 EditableText
"CR"Symbol 610 MovieClip {Page44} Frame 1Symbol 607 EditableText
"CR"Symbol 619 MovieClip {Page45} Frame 1Symbol 613 EditableText
"CR"Symbol 619 MovieClip {Page45} Frame 1Symbol 616 EditableText
"CR"Symbol 628 MovieClip {Page46} Frame 1Symbol 622 EditableText
"CR"Symbol 628 MovieClip {Page46} Frame 1Symbol 625 EditableText
"CR"Symbol 636 MovieClip {Page47} Frame 1Symbol 631 EditableText
"CR"Symbol 636 MovieClip {Page47} Frame 1Symbol 634 EditableText
"CR"Symbol 645 MovieClip {Page48} Frame 1Symbol 639 EditableText
"CR"Symbol 645 MovieClip {Page48} Frame 1Symbol 642 EditableText
"CR"Symbol 653 MovieClip {Page49} Frame 1Symbol 648 EditableText
"CR"Symbol 653 MovieClip {Page49} Frame 1Symbol 651 EditableText
"CR"Symbol 662 MovieClip {Page50} Frame 1Symbol 656 EditableText
"CR"Symbol 662 MovieClip {Page50} Frame 1Symbol 659 EditableText
"CR"Symbol 671 MovieClip {Page51} Frame 1Symbol 665 EditableText
"CR"Symbol 671 MovieClip {Page51} Frame 1Symbol 668 EditableText
"CR"Symbol 680 MovieClip {Page52} Frame 1Symbol 674 EditableText
"CR"Symbol 680 MovieClip {Page52} Frame 1Symbol 677 EditableText
"CR"Symbol 689 MovieClip {Page53} Frame 1Symbol 683 EditableText
"CR"Symbol 689 MovieClip {Page53} Frame 1Symbol 686 EditableText
"CR"Symbol 698 MovieClip {Page54} Frame 1Symbol 692 EditableText
"CR"Symbol 698 MovieClip {Page54} Frame 1Symbol 695 EditableText
"CR"Symbol 707 MovieClip {Page55} Frame 1Symbol 701 EditableText
"CR"Symbol 707 MovieClip {Page55} Frame 1Symbol 704 EditableText
"CR"Symbol 716 MovieClip {Page56} Frame 1Symbol 710 EditableText
"CR"Symbol 716 MovieClip {Page56} Frame 1Symbol 713 EditableText
"CR"Symbol 724 MovieClip {Page57} Frame 1Symbol 719 EditableText
"CR"Symbol 724 MovieClip {Page57} Frame 1Symbol 722 EditableText
"CR"Symbol 732 MovieClip {Page58} Frame 1Symbol 727 EditableText
"CR"Symbol 732 MovieClip {Page58} Frame 1Symbol 730 EditableText
"CR"Symbol 740 MovieClip {Page59} Frame 1Symbol 735 EditableText
"CR"Symbol 740 MovieClip {Page59} Frame 1Symbol 738 EditableText
"CR"Symbol 748 MovieClip {Page60} Frame 1Symbol 743 EditableText
"CR"Symbol 748 MovieClip {Page60} Frame 1Symbol 746 EditableText
"CR"Symbol 757 MovieClip {Page61} Frame 1Symbol 751 EditableText
"CR"Symbol 757 MovieClip {Page61} Frame 1Symbol 754 EditableText
"CR"Symbol 766 MovieClip {Page62} Frame 1Symbol 760 EditableText
"CR"Symbol 766 MovieClip {Page62} Frame 1Symbol 763 EditableText
"CR"Symbol 775 MovieClip {Page63} Frame 1Symbol 769 EditableText
"CR"Symbol 775 MovieClip {Page63} Frame 1Symbol 772 EditableText
"CR"Symbol 784 MovieClip {Page64} Frame 1Symbol 778 EditableText
"CR"Symbol 784 MovieClip {Page64} Frame 1Symbol 781 EditableText
"CR"Symbol 792 MovieClip {Page65} Frame 1Symbol 787 EditableText
"CR"Symbol 792 MovieClip {Page65} Frame 1Symbol 790 EditableText
"CR"Symbol 800 MovieClip {Page66} Frame 1Symbol 795 EditableText
"CR"Symbol 800 MovieClip {Page66} Frame 1Symbol 798 EditableText
"CR"Symbol 809 MovieClip {Page67} Frame 1Symbol 803 EditableText
"CR"Symbol 809 MovieClip {Page67} Frame 1Symbol 806 EditableText
"CR"Symbol 817 MovieClip {Page68} Frame 1Symbol 812 EditableText
"CR"Symbol 817 MovieClip {Page68} Frame 1Symbol 815 EditableText
"CR"Symbol 826 MovieClip {Page69} Frame 1Symbol 820 EditableText
"CR"Symbol 826 MovieClip {Page69} Frame 1Symbol 823 EditableText
"CR"Symbol 834 MovieClip {Page70} Frame 1Symbol 829 EditableText
"CR"Symbol 834 MovieClip {Page70} Frame 1Symbol 832 EditableText
"CR"Symbol 843 MovieClip {Page71} Frame 1Symbol 837 EditableText
"CR"Symbol 843 MovieClip {Page71} Frame 1Symbol 840 EditableText
"CR"Symbol 852 MovieClip {Page72} Frame 1Symbol 846 EditableText
"CR"Symbol 852 MovieClip {Page72} Frame 1Symbol 849 EditableText
"CR"Symbol 861 MovieClip {Page73} Frame 1Symbol 855 EditableText
"CR"Symbol 861 MovieClip {Page73} Frame 1Symbol 858 EditableText
"CR"Symbol 870 MovieClip {Page74} Frame 1Symbol 864 EditableText
"CR"Symbol 870 MovieClip {Page74} Frame 1Symbol 867 EditableText
"CR"Symbol 879 MovieClip {Page75} Frame 1Symbol 873 EditableText
"CR"Symbol 879 MovieClip {Page75} Frame 1Symbol 876 EditableText
"CR"Symbol 887 MovieClip {Page76} Frame 1Symbol 882 EditableText
"CR"Symbol 887 MovieClip {Page76} Frame 1Symbol 885 EditableText
"CR"Symbol 895 MovieClip {Page77} Frame 1Symbol 890 EditableText
"CR"Symbol 895 MovieClip {Page77} Frame 1Symbol 893 EditableText
"CR"Symbol 904 MovieClip {Page78} Frame 1Symbol 898 EditableText
"CR"Symbol 904 MovieClip {Page78} Frame 1Symbol 901 EditableText
"CR"Symbol 913 MovieClip {Page79} Frame 1Symbol 907 EditableText
"CR"Symbol 913 MovieClip {Page79} Frame 1Symbol 910 EditableText
"CR"Symbol 922 MovieClip {Page80} Frame 1Symbol 916 EditableText
"CR"Symbol 922 MovieClip {Page80} Frame 1Symbol 919 EditableText
"CR"Symbol 931 MovieClip {Page81} Frame 1Symbol 925 EditableText
"CR"Symbol 931 MovieClip {Page81} Frame 1Symbol 928 EditableText
"CR"Symbol 939 MovieClip {Page82} Frame 1Symbol 934 EditableText
"CR"Symbol 939 MovieClip {Page82} Frame 1Symbol 937 EditableText
"CR"Symbol 948 MovieClip {Page83} Frame 1Symbol 942 EditableText
"CR"Symbol 948 MovieClip {Page83} Frame 1Symbol 946 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/49/241726/info.shtml
Created: 29/8 -2021 08:17:55 Last modified: 29/8 -2021 08:17:55 Server time: 29/04 -2024 05:10:10