STORY LOOP FURRY PORN GAMES C SERVICES [?] [R] RND POPULAR | Archived flashes: 229595 |
/disc/ · /res/ — /show/ · /fap/ · /gg/ · /swf/ | P0001 · P2595 · P5190 |
This is the info page for Flash #245559 |
<p align="center"></p> |
<p align="left"><font face="Tahoma" size="12" color="#000000" letterSpacing="0.000000" kerning="1"> </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"> </font></p> |
500% |
/ 9999 |
9999 |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
The Communist Manifesto by Karl Marx and Friedrich Engels [From the English edition of 1888, edited by Friedrich Engels ] |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
Contents I. BOURGEOIS AND PROLETARIANS II. PROLETARIANS AND COMMUNISTS III. SOCIALIST AND COMMUNIST LITERATURE E XISTING OPPOSITION PARTIES A spectre is haunting Europe — the spectre of Communism. All the Powers of old Europe have entered into a holy alliance to exorcise this spectre: Pope and Czar, Metternich and Guizot, French Radicals and German police - spies. Wh ere is the party in opposition that has not been decried as Communistic by its opponents in power? Where is the Opposition that has not hurled back the branding reproach of Communism, against the more advanced opposition parties, as well as against its rea ctionary adversaries? Two things result from this fact. I. Communism is already acknowledged by all European Powers to be itself a Power. II. It is high time that Communists should openly, in the face of the whole world, publish their views, their aims, th eir tendencies, and meet this nursery tale of the Spectre of Communism with a Manifesto of the party itself. To this end, Communists of various nationalities have assembled in London, and sketched the following Manifesto, to be published in the English, French, German, Italian, Flemish and Danish languages. I. BOURGEOIS AND PROLETARIANS The history of all hithert o existing societies is the history of class struggles. Freeman and slave, patrician and plebeian, lord and serf, guild - master and journeyman, in a word, oppressor and oppressed, stood in constant opposition to one another, carried on an uninterrupted, now hidden, now open fight, a fight that each time ended, either in a revolutionary re - constitution of society at large, or in the common ruin of the contending classes. In the earlier epochs of history, we find almost everywhere a complicated arrangement of society into various orders, a manifold gradation of social rank. In ancient Rome we have patricians, knights, plebeians, slaves; in the Middle Ages, feudal lords, vassals, guild - masters, journeymen, apprentices, serfs; in almost all of these classes, agai n, subordinate gradations. |
IV. POSITION OF THE COMMUNISTS IN RELATION TO THE VARIOUS |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
The modern bourgeois society that has sprouted from the ruins of feudal society has not done away with class antagonisms. It has but established new classes, new conditions of oppression, new forms of struggle in place of the old ones. Our epoch, the epoch of the bourgeoisie, possesses, however, this distinctive feature: it has simplified the class antagonisms. Society as a whole is more and more splitting up into two great hostile camps, into two great classes, directly facing ea ch other: Bourgeoisie and Proletariat. From the serfs of the Middle Ages sprang the chartered burghers of the earliest towns. From these burgesses the first elements of the bourgeoisie were developed. The discovery of America, the rounding of the Cape, ope ned up fresh ground for the rising bourgeoisie. The East - Indian and Chinese markets, the colonisation of America, trade with the colonies, the increase in the means of exchange and in commodities generally, gave to commerce, to navigation, to industry, an impulse never before known, and thereby, to the revolutionary element in the tottering feudal society, a rapid development. The feudal system of industry, under which industrial production was monopolised by closed guilds, now no longer sufficed for the gr owing wants of the new markets. The manufacturing system took its place. The guild - masters were pushed on one side by the manufacturing middle class; division of labour between the different corporate guilds vanished in the face of division of labour in ea ch single workshop. Meantime the markets kept ever growing, the demand ever rising. Even manufacture no longer sufficed. Thereupon, steam and machinery revolutionised industrial production. The place of manufacture was taken by the giant, Modern Industry, the place of the industrial middle class, by industrial millionaires, the leaders of whole industrial armies, the modern bourgeois. Modern industry has established the world - market, for which the discovery of America paved the way. This market has given an immense development to commerce, to navigation, to communication by land. This development has, in its time, reacted on the extension of industry; and in proportion as industry, commerce, navigation, railways extended, in the same proportion the bourgeois ie developed, increased its capital, and pushed into the background every class handed down from the Middle Ages. We see, therefore, how the modern bourgeoisie is itself the product of a long course of development, of a series of revolutions in the modes o f production and of exchange. Each step in the development of the bourgeoisie was accompanied by a |
corresponding political advance of that class. An oppressed class under the |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
sway of the feudal nobility, an armed and self - governing association in the media eval commune; here independent urban republic (as in Italy and Germany), there taxable “third estate” of the monarchy (as in France), afterwards, in the period of manufacture proper, serving either the semi - feudal or the absolute monarchy as a counterpoise against the nobility, and, in fact, corner - stone of the great monarchies in general, the bourgeoisie has at last, since the establishment of Modern Industry and of the world - market, conquered for itself, in the modern representative State, exclusive polit ical sway. The executive of the modern State is but a committee for managing the common affairs of the whole bourgeoisie. The bourgeoisie, historically, has played a most revolutionary part. The bourgeoisie, wherever it has got the upper hand, has put an e nd to all feudal, patriarchal, idyllic relations. It has pitilessly torn asunder the motley feudal ties that bound man to his “natural superiors,” and has left remaining no other nexus between man and man than naked self - interest, than callous “cash paymen t.” It has drowned the most heavenly ecstasies of religious fervour, of chivalrous enthusiasm, of philistine sentimentalism, in the icy water of egotistical calculation. It has resolved personal worth into exchange value, and in place of the numberless and indefeasible chartered freedoms, has set up that single, unconscionable freedom — Free Trade. In one word, for exploitation, veiled by religious and political illusions, naked, shameless, direct, brutal exploitation. The bourgeoisie has stripped of its halo every occupation hitherto honoured and looked up to with reverent awe. It has converted the physician, the lawyer, the priest, the poet, the man of science, into its paid wage labourers. The bourgeoisie has torn away from the family its sentimental veil, and has reduced the family relation to a mere money relation. The bourgeoisie has disclosed how it came to pass that the brutal display of vigour in the Middle Ages, which Reactionists so much admire, found its fitting complement in the most slothful indol ence. It has been the first to show what man’s activity can bring about. It has accomplished wonders far surpassing Egyptian pyramids, Roman aqueducts, and Gothic cathedrals; it has conducted expeditions that put in the shade all former Exoduses of nations and crusades. The bourgeoisie cannot exist without constantly revolutionising the instruments of production, and thereby the relations of production, and with them the whole relations of society. Conservation of the old modes of production in unaltered fo rm, was, on the contrary, the first condition of existence for all earlier industrial classes. Constant revolutionising of production, uninterrupted disturbance of all social conditions, everlasting |
uncertainty and agitation distinguish the bourgeois epoch from all earlier ones. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
All fixed, fast - frozen relations, with their train of ancient and venerable prejudices and opinions, are swept away, all new - formed ones become antiquated before they can ossify. All that is solid melts into air, all that is holy is profaned, and man is at last compelled to face with sober senses, his real conditions of life, and his relations with his kind. The need of a constantly expanding market for its products chases the bourgeoisie over the whole surface of the globe. It must nestle everywhere, settle everywhere, establish connexions everywhere. The bourgeoisie has through its exploitation of the world - market given a cosmopolitan character to production and consumption in every country. To the great chagrin of Reactionists, it has drawn from under the feet of industry the national ground on which it stood. All old - established national industries have been destroyed or are daily being destroyed. They are dislodged by new industries, whose introduction becomes a life and death que stion for all civilised nations, by industries that no longer work up indigenous raw material, but raw material drawn from the remotest zones; industries whose products are consumed, not only at home, but in every quarter of the globe. In place of the old wants, satisfied by the productions of the country, we find new wants, requiring for their satisfaction the products of distant lands and climes. In place of the old local and national seclusion and self - sufficiency, we have intercourse in every direction, universal inter - dependence of nations. And as in material, so also in intellectual production. The intellectual creations of individual nations become common property. National one - sidedness and narrow - mindedness become more and more impossible, and from the numerous national and local literatures, there arises a world literature. The bourgeoisie, by the rapid improvement of all instruments of production, by the immensely facilitated means of communication, draws all, even the most barbarian, nations into civilisation. The cheap prices of its commodities are the heavy artillery with which it batters down all Chinese walls, with which it forces the barbarians’ intensely obstinate hatred of foreigners to capitulate. It compels all nations, on pain of extincti on, to adopt the bourgeois mode of production; it compels them to introduce what it calls civilisation into their midst, i.e ., to become bourgeois themselves. In one word, it creates a world after its own image. The bourgeoisie has subjected the country to the rule of the towns. It has created enormous cities, has greatly increased the urban population as compared with the rural, and has thus rescued a considerable part of the population from the idiocy of rural l ife. Just as it has made the country dependent on the towns, so it has made barbarian and semi - barbarian countries |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
dependent on the civilised ones, nations of peasants on nations of bourgeois, the East on the West. The bourgeoisie keeps more and more doing away with the scattered state of the population, of the means of production, and of property. It has agglomerated production, and has concentrated property in a few hands. The necessary consequence of this was political centralisation. Independent, or but loosely connected provinces, with separate interests, laws, governments and systems of taxation, became lumped together into one nation, with one government, one code of laws, one national class - interest, one frontier and one customs - tariff. The bourgeois ie, during its rule of scarce one hundred years, has created more massive and more colossal productive forces than have all preceding generations together. Subjection of Nature’s forces to man, machinery, application of chemistry to industry and agricultur e, steam - navigation, railways, electric telegraphs, clearing of whole continents for cultivation, canalisation of rivers, whole populations conjured out of the ground — what earlier century had even a presentiment that such productive forces slumbered in the lap of social labour? We see then: the means of production and of exchange, on whose foundation the bourgeoisie built itself up, were generated in feudal society. At a certain stage in the development of these means of production and of exchange, the cond itions under which feudal society produced and exchanged, the feudal organisation of agriculture and manufacturing industry, in one word, the feudal relations of property became no longer compatible with the already developed productive forces; they became so many fetters. They had to be burst asunder; they were burst asunder. Into their place stepped free competition, accompanied by a social and political constitution adapted to it, and by the economical and political sway of the bourgeois class. A similar movement is going on before our own eyes. Modern bourgeois society with its relations of production, of exchange and of property, a society that has conjured up such gigantic means of production and of exchange, is like the sorcerer, who is no lo nger able to control the powers of the nether world whom he has called up by his spells. For many a decade past the history of industry and commerce is but the history of the revolt of modern productive forces against modern conditions of production, again st the property relations that are the conditions for the existence of the bourgeoisie and of its rule. It is enough to mention the commercial crises that by their periodical return put on its trial, each time more threateningly, the existence of the entir e bourgeois society. In these crises a great part not only of the existing products, but also of |
the previously created productive forces, are periodically destroyed. In these |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
crises there breaks out an epidemic that, in all earlier epochs, would have seem ed an absurdity — the epidemic of over - production. Society suddenly finds itself put back into a state of momentary barbarism; it appears as if a famine, a universal war of devastation had cut off the supply of every means of subsistence; industry and commer ce seem to be destroyed; and why? Because there is too much civilisation, too much means of subsistence, too much industry, too much commerce. The productive forces at the disposal of society no longer tend to further the development of the conditions of b ourgeois property; on the contrary, they have become too powerful for these conditions, by which they are fettered, and so soon as they overcome these fetters, they bring disorder into the whole of bourgeois society, endanger the existence of bourgeois pro perty. The conditions of bourgeois society are too narrow to comprise the wealth created by them. And how does the bourgeoisie get over these crises? On the one hand inforced destruction of a mass of productive forces; on the other, by the conquest of new markets, and by the more thorough exploitation of the old ones. That is to say, by paving the way for more extensive and more destructive crises, and by diminishing the means whereby crises are prevented. The weapons with which the bourgeoisie felled feuda lism to the ground are now turned against the bourgeoisie itself. But not only has the bourgeoisie forged the weapons that bring death to itself; it has also called into existence the men who are to wield those weapons — the modern working class — the proletar ians. In proportion as the bourgeoisie, i.e ., capital, is developed, in the same proportion is the proletariat, the modern working class, developed — a class of labourers, who live only so long as they find work, and who find work only so long as their labou r increases capital. These labourers, who must sell themselves piece - meal, are a commodity, like every other article of commerce, and are consequently exposed to all the vicissitudes of competition, to all the fluctuations of the market. Owing to the exten sive use of machinery and to division of labour, the work of the proletarians has lost all individual character, and consequently, all charm for the workman. He becomes an appendage of the machine, and it is only the most simple, most monotonous, and most easily acquired knack, that is required of him. Hence, the cost of production of a workman is restricted, almost entirely, to the means of subsistence that he requires for his maintenance, and for the propagation of his race. But the price of a commodity, and therefore also of labour, is equal to its cost of production. In proportion therefore, as the repulsiveness of the work increases, the wage decreases. Nay |
more, in proportion as the use of machinery and division of labour increases, in |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
the same proport ion the burden of toil also increases, whether by prolongation of the working hours, by increase of the work exacted in a given time or by increased speed of the machinery, etc. Modern industry has converted the little workshop of the patriarchal master in to the great factory of the industrial capitalist. Masses of labourers, crowded into the factory, are organised like soldiers. As privates of the industrial army they are placed under the command of a perfect hierarchy of officers and sergeants. Not only a re they slaves of the bourgeois class, and of the bourgeois State; they are daily and hourly enslaved by the machine, by the over - looker, and, above all, by the individual bourgeois manufacturer himself. The more openly this despotism proclaims gain to be its end and aim, the more petty, the more hateful and the more embittering it is. The less the skill and exertion of strength implied in manual labour, in other words, the more modern industry becomes developed, the more is the labour of men superseded by that of women. Differences of age and sex have no longer any distinctive social validity for the working class. All are instruments of labour, more or less expensive to use, according to their age and sex. No sooner is the exploitation of the labourer by t he manufacturer, so far at an end, that he receives his wages in cash, than he is set upon by the other portions of the bourgeoisie, the landlord, the shopkeeper, the pawnbroker, etc. The lower strata of the middle class — the small tradespeople, shopkeepers , retired tradesmen generally, the handicraftsmen and peasants — all these sink gradually into the proletariat, partly because their diminutive capital does not suffice for the scale on which Modern Industry is carried on, and is swamped in the competition w ith the large capitalists, partly because their specialized skill is rendered worthless by the new methods of production. Thus the proletariat is recruited from all classes of the population. The proletariat goes through various stages of development. With its birth begins its struggle with the bourgeoisie. At first the contest is carried on by individual labourers, then by the workpeople of a factory, then by the operatives of one trade, in one locality, against the individual bourgeois who directly exploi ts them. They direct their attacks not against the bourgeois conditions of production, but against the instruments of production themselves; they destroy imported wares that compete with their labour, they smash to pieces machinery, they set factories abla ze, they seek to restore by force the vanished status of the workman of the Middle Ages. At this stage the labourers still form an incoherent mass scattered over the whole country, and broken up by their mutual competition. If anywhere they unite to form m ore compact bodies, this is not yet the consequence of their own |
active union, but of the union of the bourgeoisie, which class, in order to attain |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
its own political ends, is compelled to set the whole proletariat in motion, and is moreover yet, for a time , able to do so. At this stage, therefore, the proletarians do not fight their enemies, but the enemies of their enemies, the remnants of absolute monarchy, the landowners, the non - industrial bourgeois, the petty bourgeoisie. Thus the whole historical move ment is concentrated in the hands of the bourgeoisie; every victory so obtained is a victory for the bourgeoisie. But with the development of industry the proletariat not only increases in number; it becomes concentrated in greater masses, its strength gro ws, and it feels that strength more. The various interests and conditions of life within the ranks of the proletariat are more and more equalised, in proportion as machinery obliterates all distinctions of labour, and nearly everywhere reduces wages to the same low level. The growing competition among the bourgeois, and the resulting commercial crises, make the wages of the workers ever more fluctuating. The unceasing improvement of machinery, ever more rapidly developing, makes their livelihood more and mo re precarious; the collisions between individual workmen and individual bourgeois take more and more the character of collisions between two classes. Thereupon the workers begin to form combinations (Trades Unions) against the bourgeois; they club together in order to keep up the rate of wages; they found permanent associations in order to make provision beforehand for these occasional revolts. Here and there the contest breaks out into riots. Now and then the workers are victorious, but only for a time. Th e real fruit of their battles lies, not in the immediate result, but in the ever - expanding union of the workers. This union is helped on by the improved means of communication that are created by modern industry and that place the workers of different loca lities in contact with one another. It was just this contact that was needed to centralise the numerous local struggles, all of the same character, into one national struggle between classes. But every class struggle is a political struggle. And that union , to attain which the burghers of the Middle Ages, with their miserable highways, required centuries, the modern proletarians, thanks to railways, achieve in a few years. This organisation of the proletarians into a class, and consequently into a political party, is continually being upset again by the competition between the workers themselves. But it ever rises up again, stronger, firmer, mightier. It compels legislative recognition of particular interests of the workers, by taking advantage of the divisi ons among the bourgeoisie itself. Thus the ten - hours’ bill in England was carried. Altogether collisions between the classes of the old society further, in many ways, the course of development of the proletariat. The bourgeoisie finds itself |
involved in a constant battle. At first with the aristocracy; later on, with those |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
portions of the bourgeoisie itself, whose interests have become antagonistic to the progress of industry; at all times, with the bourgeoisie of foreign countries. In all these battles it sees itself compelled to appeal to the proletariat, to ask for its help, and thus, to drag it into the political arena. The bourgeoisie itself, therefore, supplies the proletariat with its own instruments of political and general education, in other words, it furnishes the proletariat with weapons for fighting the bourgeoisie. Further, as we have already seen, entire sections of the ruling classes are, by the advance of industry, precipitated into the proletariat, or are at least threatened in their conditi ons of existence. These also supply the proletariat with fresh elements of enlightenment and progress. Finally, in times when the class struggle nears the decisive hour, the process of dissolution going on within the ruling class, in fact within the whole range of society, assumes such a violent, glaring character, that a small section of the ruling class cuts itself adrift, and joins the revolutionary class, the class that holds the future in its hands. Just as, therefore, at an earlier period, a section o f the nobility went over to the bourgeoisie, so now a portion of the bourgeoisie goes over to the proletariat, and in particular, a portion of the bourgeois ideologists, who have raised themselves to the level of comprehending theoretically the historical movement as a whole. Of all the classes that stand face to face with the bourgeoisie today, the proletariat alone is a really revolutionary class. The other classes decay and finally disappear in the face of Modern Industry; the proletariat is its special and essential product. The lower middle class, the small manufacturer, the shopkeeper, the artisan, the peasant, all these fight against the bourgeoisie, to save from extinction their existence as fractions of the middle class. They are therefore not revol utionary, but conservative. Nay more, they are reactionary, for they try to roll back the wheel of history. If by chance they are revolutionary, they are so only in view of their impending transfer into the proletariat, they thus defend not their present, but their future interests, they desert their own standpoint to place themselves at that of the proletariat. The “dangerous class,” the social scum, that passively rotting mass thrown off by the lowest layers of old society, may, here and there, be swept i nto the movement by a proletarian revolution; its conditions of life, however, prepare it far more for the part of a bribed tool of reactionary intrigue. In the conditions of the proletariat, those of old society at large are already virtually swamped. The proletarian is without property; his relation to his wife and children has no longer anything in common with the bourgeois family - relations; modern industrial labour, modern subjection to capital, the same in |
England as in France, in America as in Germany , has stripped him of every |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
trace of national character. Law, morality, religion, are to him so many bourgeois prejudices, behind which lurk in ambush just as many bourgeois interests. All the preceding classes that got the upper hand, sought to fortify th eir already acquired status by subjecting society at large to their conditions of appropriation. The proletarians cannot become masters of the productive forces of society, except by abolishing their own previous mode of appropriation, and thereby also eve ry other previous mode of appropriation. They have nothing of their own to secure and to fortify; their mission is to destroy all previous securities for, and insurances of, individual property. All previous historical movements were movements of minoritie s, or in the interests of minorities. The proletarian movement is the self - conscious, independent movement of the immense majority, in the interests of the immense majority. The proletariat, the lowest stratum of our present society, cannot stir, cannot ra ise itself up, without the whole superincumbent strata of official society being sprung into the air. Though not in substance, yet in form, the struggle of the proletariat with the bourgeoisie is at first a national struggle. The proletariat of each countr y must, of course, first of all settle matters with its own bourgeoisie. In depicting the most general phases of the development of the proletariat, we traced the more or less veiled civil war, raging within existing society, up to the point where that war breaks out into open revolution, and where the violent overthrow of the bourgeoisie lays the foundation for the sway of the proletariat. Hitherto, every form of society has been based, as we have already seen, on the antagonism of oppressing and oppressed classes. But in order to oppress a class, certain conditions must be assured to it under which it can, at least, continue its slavish existence. The serf, in the period of serfdom, raised himself to membership in the commune, just as the petty bourgeois, under the yoke of feudal absolutism, managed to develop into a bourgeois. The modern laborer, on the contrary, instead of rising with the progress of industry, sinks deeper and deeper below the conditions of existence of his own class. He becomes a pauper, and pauperism develops more rapidly than population and wealth. And here it becomes evident, that the bourgeoisie is unfit any longer to be the ruling class in society, and to impose its conditions of existence upon society as an over - riding law. It is un fit to rule because it is incompetent to assure an existence to its slave within his slavery, because it cannot help letting him sink into such a state, that it has to feed him, instead of being fed by him. Society can no longer live under this bourgeoisie , in other words, its existence is no longer compatible with society. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
The essential condition for the existence, and for the sway of the bourgeois class, is the formation and augmentation of capital; the condition for capital is wage - labour. Wage - labour re sts exclusively on competition between the laborers. The advance of industry, whose involuntary promoter is the bourgeoisie, replaces the isolation of the labourers, due to competition, by their revolutionary combination, due to association. The developmen t of Modern Industry, therefore, cuts from under its feet the very foundation on which the bourgeoisie produces and appropriates products. What the bourgeoisie, therefore, produces, above all, is its own grave - diggers. Its fall and the victory of the prole tariat are equally inevitable. II. PROLETARIANS AND COMMUNISTS In what relation do the Communists stand to the proletarians as a whole? The Communists do not form a separate party opposed to other working - class parties. They have no interests separate and apart from those of the proletariat as a whole. They do not set up any sectarian principles of their own, by which to shape and mould the proletarian movement. The Communists are distinguished from the other working - clas s parties by this only: (1) In the national struggles of the proletarians of the different countries, they point out and bring to the front the common interests of the entire proletariat, independently of all nationality. (2) In the various stages of devel opment which the struggle of the working class against the bourgeoisie has to pass through, they always and everywhere represent the interests of the movement as a whole. The Communists, therefore, are on the one hand, practically, the most advanced and re solute section of the working - class parties of every country, that section which pushes forward all others; on the other hand, theoretically, they have over the great mass of the proletariat the advantage of clearly understanding the line of march, the con ditions, and the ultimate general results of the proletarian movement. The immediate aim of the Communist is the same as that of all the other proletarian parties: formation of the proletariat into a class, overthrow of the bourgeois supremacy, conquest of political power by the proletariat. The theoretical conclusions of the Communists are in no way based on ideas or principles that have been invented, or discovered, by this or that would - be |
universal reformer. They merely express, in general terms, actual relations |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
springing from an existing class struggle, from a historical movement going on under our very eyes. The abolition of existing property relations is not at all a distinctive feature of Communism. All property relations in the past have continuall y been subject to historical change consequent upon the change in historical conditions. The French Revolution, for example, abolished feudal property in favour of bourgeois property. The distinguishing feature of Communism is not the abolition of property generally, but the abolition of bourgeois property. But modern bourgeois private property is the final and most complete expression of the system of producing and appropriating products, that is based on class antagonisms, on the exploitation of the many by the few. In this sense, the theory of the Communists may be summed up in the single sentence: Abolition of private property. We Communists have been reproached with the desire of abolishing the right of personally acquiring property as the fruit of a ma n’s own labour, which property is alleged to be the groundwork of all personal freedom, activity and independence. Hard - won, self - acquired, self - earned property! Do you mean the property of the petty artisan and of the small peasant, a form of property tha t preceded the bourgeois form? There is no need to abolish that; the development of industry has to a great extent already destroyed it, and is still destroying it daily. Or do you mean modern bourgeois private property? But does wage - labour create any pro perty for the labourer? Not a bit. It creates capital, i.e., that kind of property which exploits wage - labour, and which cannot increase except upon condition of begetting a new supply of wage - labour for fresh exploitation. Property, in its present form, i s based on the antagonism of capital and wage - labour. Let us examine both sides of this antagonism. To be a capitalist, is to have not only a purely personal, but a social status in production. Capital is a collective product, and only by the united action of many members, nay, in the last resort, only by the united action of all members of society, can it be set in motion. Capital is, therefore, not a personal, it is a social power. When, therefore, capital is converted into common property, into the prope rty of all members of society, personal property is not thereby transformed into social property. It is only the social character of the property that is changed. It loses its class - character. |
Let us now take wage - labour. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
The average price of wage - labour i s the minimum wage, i.e ., that quantum of the means of subsistence, which is absolutely requisite in bare existence as a labourer. What, therefore, the wage - labourer appropriates by means of his labour, merely suffices to prolong and reproduce a bare exist ence. We by no means intend to abolish this personal appropriation of the products of labour, an appropriation that is made for the maintenance and reproduction of human life, and that leaves no surplus wherewith to command the labour of others. All that w e want to do away with, is the miserable character of this appropriation, under which the labourer lives merely to increase capital, and is allowed to live only in so far as the interest of the ruling class requires it. In bourgeois society, living labour is but a means to increase accumulated labour. In Communist society, accumulated labour is but a means to widen, to enrich, to promote the existence of the labourer. In bourgeois society, therefore, the past dominates the present; in Communist society, the present dominates the past. In bourgeois society capital is independent and has individuality, while the living person is dependent and has no individuality. And the abolition of this state of things is called by the bourgeois, abolition of individuality and freedom! And rightly so. The abolition of bourgeois individuality, bourgeois independence, and bourgeois freedom is undoubtedly aimed at. By freedom is meant, under the present bourgeois conditions of production, free trade, free selling and buying. Bu t if selling and buying disappears, free selling and buying disappears also. This talk about free selling and buying, and all the other “brave words” of our bourgeoisie about freedom in general, have a meaning, if any, only in contrast with restricted sell ing and buying, with the fettered traders of the Middle Ages, but have no meaning when opposed to the Communistic abolition of buying and selling, of the bourgeois conditions of production, and of the bourgeoisie itself. You are horrified at our intending to do away with private property. But in your existing society, private property is already done away with for nine - tenths of the population; its existence for the few is solely due to its non - existence in the hands of th ose nine - tenths. You reproach us, therefore, with intending to do away with a form of property, the necessary condition for whose existence is the non - existence of any property for the immense majority of society. In one word, you reproach us with intendin g to do away with your property. Precisely so; that is just what we intend. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
From the moment when labour can no longer be converted into capital, money, or rent, into a social power capable of being monopolised, i.e ., from the moment when individual propert y can no longer be transformed into bourgeois property, into capital, from that moment, you say individuality vanishes. You must, therefore, confess that by “individual” you mean no other person than the bourgeois, than the middle - class owner of property. This person must, indeed, be swept out of the way, and made impossible. Communism deprives no man of the power to appropriate the products of society; all that it does is to deprive him of the power to subjugate the labour of others by means of such approp riation. It has been objected that upon the abolition of private property all work will cease, and universal laziness will overtake us. According to this, bourgeois society ought long ago to have gone to the dogs through sheer idleness; for those of its me mbers who work, acquire nothing, and those who acquire anything, do not work. The whole of this objection is but another expression of the tautology: that there can no longer be any wage - labour when there is no longer any capital. All objections urged agai nst the Communistic mode of producing and appropriating material products, have, in the same way, been urged against the Communistic modes of producing and appropriating intellectual products. Just as, to the bourgeois, the disappearance of class property is the disappearance of production itself, so the disappearance of class culture is to him identical with the disappearance of all culture. That culture, the loss of which he laments, is, for the enormous majority, a mere training to act as a machine. But don’t wrangle with us so long as you apply, to our intended abolition of bourgeois property, the standard of your bourgeois notions of freedom, culture, law, etc. Your very ideas are but the outgrowth of the conditions of your bourgeois production and bour geois property, just as your jurisprudence is but the will of your class made into a law for all, a will, whose essential character and direction are determined by the economical conditions of existence of your class. The selfish misconception that induces you to transform into eternal laws of nature and of reason, the social forms springing from your present mode of production and form of property — historical relations that rise and disappear in the progress of production — this misconception you share with e very ruling class that has preceded you. What you see clearly in the case of ancient property, what you admit in the case of feudal property, you are of course forbidden to admit in the case of your own bourgeois form of property. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
Abolition of the family! Even the most radical flare up at this infamous proposal of the Communists. On what foundation is the present family, the bourgeois family, based? On capital, on private gain. In its completely developed form this family exists only among the bourgeoisie. But this state of things finds its complement in the practical absence of the family among the proletarians, and in public prostitution. The bourgeois family will vanish as a matter of course when its complement vanishes, and both will vanish with the vani shing of capital. Do you charge us with wanting to stop the exploitation of children by their parents? To this crime we plead guilty. But, you will say, we destroy the most hallowed of relations, when we replace home education by social. And your education ! Is not that also social, and determined by the social conditions under which you educate, by the intervention, direct or indirect, of society, by means of schools, etc.? The Communists have not invented the intervention of society in education; they do b ut seek to alter the character of that intervention, and to rescue education from the influence of the ruling class. The bourgeois clap - trap about the family and education, about the hallowed co - relation of parent and child, becomes all the more disgusting , the more, by the action of Modern Industry, all family ties among the proletarians are torn asunder, and their children transformed into simple articles of commerce and instruments of labour. But you Communists would introduce community of women, screams the whole bourgeoisie in chorus. The bourgeois sees in his wife a mere instrument of production. He hears that the instruments of production are to be exploited in common, and, naturally, can come to no other conclusion than that the lot of being common t o all will likewise fall to the women. He has not even a suspicion that the real point is to do away with the status of women as mere instruments of production. For the rest, nothing is more ridiculous than the virtuous indignation of our bourgeois at the community of women which, they pretend, is to be openly and officially established by the Communists. The Communists have no need to introduce community of women; it has existed almost from time immemorial. Our bourgeois, not content with having the wives and daughters of their proletarians at their disposal, not to speak of common prostitutes, take the greatest pleasure in seducing each other’s wives. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
Bourgeois marriage is in reality a system of wives in common and thus, at the most, what the Communists mi ght possibly be reproached with, is that they desire to introduce, in substitution for a hypocritically concealed, an openly legalised community of women. For the rest, it is self - evident that the abolition of the present system of production must bring wi th it the abolition of the community of women springing from that system, i.e ., of prostitution both public and private. The Communists are further reproached with desiring to abolish countries and nationality. The working men have no country. We cannot ta ke from them what they have not got. Since the proletariat must first of all acquire political supremacy, must rise to be the leading class of the nation, must constitute itself the nation, it is, so far, itself national, though not in the bourgeois sense of the word. National differences and antagonisms between peoples are daily more and more vanishing, owing to the development of the bourgeoisie, to freedom of commerce, to the world - market, to uniformity in the mode of production and in the conditions of life corresponding thereto. The supremacy of the proletariat will cause them to vanish still faster. United action, of the leading civilised countries at least, is one of the first conditions for the emancipation of the proletariat. In proportion as the exploitation of one individual by another is put an end to, the exploitation of one nation by another will also be put an end to. In proportion as the antagonism between classes within the nation vanishes, the hostility of one nation t o another will come to an end. The charges against Communism made from a religious, a philosophical, and, generally, from an ideological standpoint, are not deserving of serious examination. Does it require deep intuition to comprehend that man’s ideas, vi ews and conceptions, in one word, man’s consciousness, changes with every change in the conditions of his material existence, in his social relations and in his social life? What else does the history of ideas prove, than that intellectual production chang es its character in proportion as material production is changed? The ruling ideas of each age have ever been the ideas of its ruling class. When people speak of ideas that revolutionise society, they do but express the fact, that within the old society, t he elements of a new one have been created, and that the dissolution of the old ideas keeps even pace with the dissolution of the old conditions of existence. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
When the ancient world was in its last throes, the ancient religions were overcome by Christianit y. When Christian ideas succumbed in the 18th century to rationalist ideas, feudal society fought its death battle with the then revolutionary bourgeoisie. The ideas of religious liberty and freedom of conscience merely gave expression to the sway of free competition within the domain of knowledge. “Undoubtedly,” it will be said, “religious, moral, philosophical and juridical ideas have been modified in the course of historical development. But religion, morality philosophy, political science, and law, cons tantly survived this change.” “There are, besides, eternal truths, such as Freedom, Justice, etc. that are common to all states of society. But Communism abolishes eternal truths, it abolishes all religion, and all morality, instead of constituting them on a new basis; it therefore acts in contradiction to all past historical experience.” What does this accusation reduce itself to? The history of all past society has consisted in the development of class antagonisms, antagonisms that assumed different forms at different epochs. But whatever form they may have taken, one fact is common to all past ages, viz., the exploitation of one part of society by the other. No wonder, then, that the social consciousness of past ages, despite all the multiplicity and vari ety it displays, moves within certain common forms, or general ideas, which cannot completely vanish except with the total disappearance of class antagonisms. The Communist revolution is the most radical rupture with traditional property relations; no wond er that its development involves the most radical rupture with traditional ideas. But let us have done with the bourgeois objections to Communism. We have seen above, that the first step in the revolution by the working class, is to raise the proletariat t o the position of ruling as to win the battle of democracy. The proletariat will use its political supremacy to wrest, by degrees, all capital from the bourgeoisie, to centralise all instruments of production in the hands of the State, i.e ., of the proleta riat organised as the ruling class; and to increase the total of productive forces as rapidly as possible. Of course, in the beginning, this cannot be effected except by means of despotic inroads on the rights of property, and on the conditions of bourgeoi s production; by means of measures, therefore, which appear economically insufficient and untenable, but which, in the course of the movement, outstrip themselves, necessitate further inroads upon the old social order, and are |
unavoidable as a means of ent irely revolutionising the mode of production. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
These measures will of course be different in different countries. Nevertheless in the most advanced countries, the following will be pretty generally applicable. 1. Abolition of property in land and applicatio n of all rents of land to public purposes. 2. A heavy progressive or graduated income tax. 3. Abolition of all right of inheritance. 4. Confiscation of the property of all emigrants and rebels. 5. Centralisation of credit in the hands of the State, by mean s of a national bank with State capital and an exclusive monopoly. 6. Centralisation of the means of communication and transport in the hands of the State. 7. Extension of factories and instruments of production owned by the State; the bringing into cultiv ation of waste - lands, and the improvement of the soil generally in accordance with a common plan. 8. Equal liability of all to labour. Establishment of industrial armies, especially for agriculture. 9. Combination of agriculture with manufacturing industri es; gradual abolition of the distinction between town and country, by a more equable distribution of the population over the country. 10. Free education for all children in public schools. Abolition of children’s factory labour in its present form. Combination of education with industrial production, &c., &c. When, in the course of development, class distinctions have disappeared , and all production has been concentrated in the hands of a vast association of the whole nation, the public power will lose its political character. Political power, properly so called, is merely the organised power of one class for oppressing another. I f the proletariat during its contest with the bourgeoisie is compelled, by the force of circumstances, to organise itself as a class, if, by means of a revolution, it makes itself the ruling class, and, as such, sweeps away by force the old conditions of p roduction, then it will, along with these conditions, have swept away the conditions for the existence of class antagonisms and of classes generally, and will thereby have abolished its own supremacy as a class. In place of the old bourgeois society, with its classes and class antagonisms, we shall have an association, in which the free development of each is the condition for the free development of all. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
III. SOCIALIST AND COMMUNIST LITERATURE 1. REACTIONARY SOCIALISM A. Feudal Socialism Owing to their his torical position, it became the vocation of the aristocracies of France and England to write pamphlets against modern bourgeois society. In the French revolution of July 1830, and in the English reform agitation, these aristocracies again succumbed to the hateful upstart. Thenceforth, a serious political contest was altogether out of the question. A literary battle alone remained possible. But even in the domain of literature the old cries of the restoration period had become impossible. In order to arouse sympathy, the aristocracy were obliged to lose sight, apparently, of their own interests, and to formulate their indictment against the bourgeoisie in the interest of the exploited working class alone. Thus the aristocracy took their revenge by singing lam poons on their new master, and whispering in his ears sinister prophecies of coming catastrophe. In this way arose Feudal Socialism: half lamentation, half lampoon; half echo of the past, half menace of the future; at times, by its bitter, witty and incisi ve criticism, striking the bourgeoisie to the very heart’s core; but always ludicrous in its effect, through total incapacity to comprehend the march of modern history. The aristocracy, in order to rally the people to them, waved the proletarian alms - bag i n front for a banner. But the people, so often as it joined them, saw on their hindquarters the old feudal coats of arms, and deserted with loud and irreverent laughter. One section of the French Legitimists and “Young England” exhibited this spectacle. In pointing out that their mode of exploitation was different to that of the bourgeoisie, the feudalists forget that they exploited under circumstances and conditions that were quite different, and that are now antiquated. In showing that, under their rule, the modern proletariat never existed, they forget that the modern bourgeoisie is the necessary offspring of their own form of society. For the rest, so little do they conceal the reactionary character of their criticism that their chief accusation against the bourgeoisie amounts to this, that under the bourgeois regime a class is being developed, which is destined to cut up root and branch the old order of society. What they upbraid the bourgeoisie with is not so much that it creates a |
proletariat, as that it creates a revolutionary proletariat. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
In political practice, therefore, they join in all coercive measures against the working class; and in ordinary life, despite their high falutin phrases, they stoop to pick up the golden apples dropped from the tree of industry, and to barter truth, love, and honour for traffic in wool, beetroot - sugar, and potato spirits. As the parson has ever gone hand in hand with the landlord, so has Clerical Socialism with Feudal Socialism. Nothing is easier than to give Christia n asceticism a Socialist tinge. Has not Christianity declaimed against private property, against marriage, against the State? Has it not preached in the place of these, charity and poverty, celibacy and mortification of the flesh, monastic life and Mother Church? Christian Socialism is but the holy water with which the priest consecrates the heart - burnings of the aristocrat. B. Petty - Bourgeois Socialism The feudal aristocracy was not the only class that was ruined by the bourgeoisie, not the only class whos e conditions of existence pined and perished in the atmosphere of modern bourgeois society. The mediaeval burgesses and the small peasant proprietors were the precursors of the modern bourgeoisie. In those countries which are but little developed, industri ally and commercially, these two classes still vegetate side by side with the rising bourgeoisie. In countries where modern civilisation has become fully developed, a new class of petty bourgeois has been formed, fluctuating between proletariat and bourgeo isie and ever renewing itself as a supplementary part of bourgeois society. The individual members of this class, however, are being constantly hurled down into the proletariat by the action of competition, and, as modern industry develops, they even see t he moment approaching when they will completely disappear as an independent section of modern society, to be replaced, in manufactures, agriculture and commerce, by overlookers, bailiffs and shopmen. In countries like France, where the peasants constitute far more than half of the population, it was natural that writers who sided with the proletariat against the bourgeoisie, should use, in their criticism of the bourgeois regime , the standard of the peasant and petty bourgeois, and from the standpoint of th ese intermediate classes should take up the cudgels for the working class. Thus arose petty - bourgeois Socialism. Sismondi was the head of this school, not only in France but also in England. This school of Socialism dissected with great acuteness the contr adictions in the conditions of modern production. It laid bare the hypocritical apologies of |
economists. It proved, incontrovertibly, the disastrous effects of machinery and |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
division of labour; the concentration of capital and land in a few hands; overprod uction and crises; it pointed out the inevitable ruin of the petty bourgeois and peasant, the misery of the proletariat, the anarchy in production, the crying inequalities in the distribution of wealth, the industrial war of extermination between nations, the dissolution of old moral bonds, of the old family relations, of the old nationalities. In its positive aims, however, this form of Socialism aspires either to restoring the old means of production and of exchange, and with them the old property relatio ns, and the old society, or to cramping the modern means of production and of exchange, within the framework of the old property relations that have been, and were bound to be, exploded by those means. In either case, it is both reactionary and Utopian. Its last words are: corporate guilds for manufacture, patriarchal relations in agriculture. Ultimately, when stubborn historical facts had dispersed all intoxicating effects of self - deception, this form of Socialism ended in a miserable fit of the blues. C . German, or “True,” Socialism The Socialist and Communist literature of France, a literature that originated under the pressure of a bourgeoisie in power, and that was the expression of the struggle against this power, was introduced into Germany at a tim e when the bourgeoisie, in that country, had just begun its contest with feudal absolutism. German philosophers, would - be philosophers, and beaux esprits , eagerly seized on this literature, only forgetting, that when these writings immigrated from France i nto Germany, French social conditions had not immigrated along with them. In contact with German social conditions, this French literature lost all its immediate practical significance, and assumed a purely literary aspect. Thus, to the German philosophers of the eighteenth century, the demands of the first French Revolution were nothing more than the demands of “Practical Reason” in general, and the utterance of the will of the revolutionary French bourgeoisie signified in their eyes the law of pure Will, of Will as it was bound to be, of true human Will generally. The world of the German literati consisted solely in bringing the new French ideas into harmony with their ancient philosophical conscience, or rather, in annexing the French ideas without desert ing their own philosophic point of view. This annexation took place in the same way in which a foreign language is |
appropriated, namely, by translation. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
It is well known how the monks wrote silly lives of Catholic Saints over the manuscripts on which the c lassical works of ancient heathendom had been written. The German literati reversed this process with the profane French literature. They wrote their philosophical nonsense beneath the French original. For instance, beneath the French criticism of the econ omic functions of money, they wrote “Alienation of Humanity,” and beneath the French criticism of the bourgeois State they wrote “dethronement of the Category of the General,” and so forth. The introduction of these philosophical phrases at the back of the French historical criticisms they dubbed “Philosophy of Action,” “True Socialism,” “German Science of Socialism,” “Philosophical Foundation of Socialism,” and so on. The French Socialist and Communist literature was thus completely emasculated. And, since it ceased in the hands of the German to express the struggle of one class with the other, he felt conscious of having overcome “French one - sidedness” and of representing, not true requirements, but the requirements of truth; not the interests of the prole tariat, but the interests of Human Nature, of Man in general, who belongs to no class, has no reality, who exists only in the misty realm of philosophical fantasy. This German Socialism, which took its schoolboy task so seriously and solemnly, and extolled its poor stock - in - trade in such mountebank fashion, meanwhile gradually lost its pedantic innocence. The fight of the German, and especially, of the Prussian bourgeoisie, against feudal aristocracy and absolute monarchy, in other words, the liberal moveme nt, became more earnest. By this, the long wished - for opportunity was offered to “True” Socialism of confronting the political movement with the Socialist demands, of hurling the traditional anathemas against liberalism, against representative government, against bourgeois competition, bourgeois freedom of the press, bourgeois legislation, bourgeois liberty and equality, and of preaching to the masses that they had nothing to gain, and everything to lose, by this bourgeois movement. German Socialism forgot, in the nick of time, that the French criticism, whose silly echo it was, presupposed the existence of modern bourgeois society, with its corresponding economic conditions of existence, and the political constitution adapted thereto, the very things whose attainment was the object of the pending struggle in Germany. To the absolute governments, with their following of parsons, professors, country squires and officials, it served as a welcome scarecrow against the threatening bourgeoisie. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
It was a sweet fini sh after the bitter pills of floggings and bullets with which these same governments, just at that time, dosed the German working - class risings. While this “True” Socialism thus served the governments as a weapon for fighting the German bourgeoisie, it, at the same time, directly represented a reactionary interest, the interest of the German Philistines. In Germany the petty bourgeois class, a relique of the sixteenth century, and since then constantly cropping up again under various forms, is the real soci al basis of the existing state of things. To preserve this class is to preserve the existing state of things in Germany. The industrial and political supremacy of the bourgeoisie threatens it with certain destruction; on the one hand, from the concentratio n of capital; on the other, from the rise of a revolutionary proletariat. “True” Socialism appeared to kill these two birds with one stone. It spread like an epidemic. The robe of speculative cobwebs, embroidered with flowers of rhetoric, steeped in the de w of sickly sentiment, this transcendental robe in which the German Socialists wrapped their sorry “eternal truths,” all skin and bone, served to wonderfully increase the sale of their goods amongst such a public. And on its part, German Socialism recognis ed, more and more, its own calling as the bombastic representative of the petty - bourgeois Philistine. It proclaimed the German nation to be the model nation, and the German petty Philistine to be the typical man. To every villainous meanness of this model man it gave a hidden, higher, Socialistic interpretation, the exact contrary of its real character. It went to the extreme length of directly opposing the “brutally destructive” tendency of Communism, and of proclaiming its supreme and impartial contempt o f all class struggles. With very few exceptions, all the so - called Socialist and Communist publications that now (1847) circulate in Germany belong to the domain of this foul and enervating literature. 2. CONSERVATIVE, OR BOURGEOIS, SOCIALISM A part of the bourgeoisie is desirous of redressing social grievances, in order to secure the continued existence of bourgeois society. To this section belong economists, philanthropists, humanitarians, improvers of the condition of the working class, organisers of cha rity, members of societies for the prevention of cruelty to animals, temperance fanatics, hole - and - corner reformers of every imaginable kind. This form of Socialism has, moreover, been worked out into complete systems. We may cite Proudhon’s Philosophie de la Misère as an example of this |
form. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
The Socialistic bourgeois want all the advantages of modern social conditions without the struggles and dangers necessarily resulting therefrom. They desire the existing state of society minus its revolutionary and di sintegrating elements. They wish for a bourgeoisie without a proletariat. The bourgeoisie naturally conceives the world in which it is supreme to be the best; and bourgeois Socialism develops this comfortable conception into various more or less complete s ystems. In requiring the proletariat to carry out such a system, and thereby to march straightway into the social New Jerusalem, it but requires in reality, that the proletariat should remain within the bounds of existing society, but should cast away all its hateful ideas concerning the bourgeoisie. A second and more practical, but less systematic, form of this Socialism sought to depreciate every revolutionary movement in the eyes of the working class, by showing that no mere political reform, but only a change in the material conditions of existence, in economic relations, could be of any advantage to them. By changes in the material conditions of existence, this form of Socialism, however, by no means understands abolition of the bourgeois relations of p roduction, an abolition that can be effected only by a revolution, but administrative reforms, based on the continued existence of these relations; reforms, therefore, that in no respect affect the relations between capital and labour, but, at the best, le ssen the cost, and simplify the administrative work, of bourgeois government. Bourgeois Socialism attains adequate expression, when, and only when, it becomes a mere figure of speech. Free trade: for the benefit of the working class. Protective duties: for the benefit of the working class. Prison Reform: for the benefit of the working class. This is the last word and the only seriously meant word of bourgeois Socialism. It is summed up in the phrase: the bourgeois is a bourgeois — for the benefit of the working class. 3. CRITICAL - UTOPIAN SOCIALISM AND COMMUNISM We do not here refer to that literature which, in every great modern revolution, has always given voice to the demands of the prol etariat, such as the writings of Babeuf and others. The first direct attempts of the proletariat to attain its own ends, made in times of universal excitement, when feudal society was being overthrown, these attempts necessarily failed, owing to the then u ndeveloped state of the proletariat, as well as to the absence of the economic conditions for its |
emancipation, conditions that had yet to be produced, and could be produced by |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
the impending bourgeois epoch alone. The revolutionary literature that accompan ied these first movements of the proletariat had necessarily a reactionary character. It inculcated universal asceticism and social levelling in its crudest form. The Socialist and Communist systems properly so called, those of Saint - Simon, Fourier, Owen a nd others, spring into existence in the early undeveloped period, described above, of the struggle between proletariat and bourgeoisie (see Section 1. Bourgeois and Proletarians). The founders of these systems see, indeed, the class antagonisms, as well as the action of the decomposing elements, in the prevailing form of society. But the proletariat, as yet in its infancy, offers to them the spectacle of a class without any historical initiative or any independent political movement. Since the development o f class antagonism keeps even pace with the development of industry, the economic situation, as they find it, does not as yet offer to them the material conditions for the emancipation of the proletariat. They therefore search after a new social science, a fter new social laws, that are to create these conditions. Historical action is to yield to their personal inventive action, historically created conditions of emancipation to fantastic ones, and the gradual, spontaneous class - organisation of the proletari at to the organisation of society specially contrived by these inventors. Future history resolves itself, in their eyes, into the propaganda and the practical carrying out of their social plans. In the formation of their plans they are conscious of caring chiefly for the interests of the working class, as being the most suffering class. Only from the point of view of being the most suffering class does the proletariat exist for them. The undeveloped state of the class struggle, as well as their own surround ings, causes Socialists of this kind to consider themselves far superior to all class antagonisms. They want to improve the condition of every member of society, even that of the most favoured. Hence, they habitually appeal to society at large, without dis tinction of class; nay, by preference, to the ruling class. For how can people, when once they understand their system, fail to see in it the best possible plan of the best possible state of society? Hence, they reject all political, and especially all rev olutionary, action; they wish to attain their ends by peaceful means, and endeavour, by small experiments, necessarily doomed to failure, and by the force of example, to pave the way for the new social Gospel. Such fantastic pictures of future society, pai nted at a time when the proletariat is still in a very undeveloped state and has but a fantastic conception |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
of its own position correspond with the first instinctive yearnings of that class for a general reconstruction of society. But these Socialist and C ommunist publications contain also a critical element. They attack every principle of existing society. Hence they are full of the most valuable materials for the enlightenment of the working class. The practical measures proposed in them — such as the aboli tion of the distinction between town and country, of the family, of the carrying on of industries for the account of private individuals, and of the wage system, the proclamation of social harmony, the conversion of the functions of the State into a mere s uperintendence of production, all these proposals, point solely to the disappearance of class antagonisms which were, at that time, only just cropping up, and which, in these publications, are recognised in their earliest, indistinct and undefined forms on ly. These proposals, therefore, are of a purely Utopian character. The significance of Critical - Utopian Socialism and Communism bears an inverse relation to historical development. In proportion as the modern class struggle develops and takes definite shap e, this fantastic standing apart from the contest, these fantastic attacks on it, lose all practical value and all theoretical justification. Therefore, although the originators of these systems were, in many respects, revolutionary, their disciples have, in every case, formed mere reactionary sects. They hold fast by the original views of their masters, in opposition to the progressive historical development of the proletariat. They, therefore, endeavour, and that consistently, to deaden the class struggle and to reconcile the class antagonisms. They still dream of experimental realisation of their social Utopias, of founding isolated “phalansteres,” of establishing “Home Colonies,” of setting up a “Little Icaria” — duodecimo editions of the New Jerusalem — and to realise all these castles in the air, they are compelled to appeal to the feelings and purses of the bourgeois. By degrees they sink into the category of the reactionary conservative Socialists depicted above, differing from these only by more systemat ic pedantry, and by their fanatical and superstitious belief in the miraculous effects of their social science. They, therefore, violently oppose all political action on the part of the working class; such action, according to them, can only result from bl ind unbelief in the new Gospel. The Owenites in England, and the Fourierists in France, respectively, oppose the Chartists and the “Réformistes.” IV. POSITION OF THE COMMUNISTS IN RELATION TO THE VARIOUS EXISTING |
OPPOSITION PARTIES |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
Section II has made clea r the relations of the Communists to the existing working - class parties, such as the Chartists in England and the Agrarian Reformers in America. The Communists fight for the attainment of the immediate aims, for the enforcement of the momentary interests o f the working class; but in the movement of the present, they also represent and take care of the future of that movement. In France the Communists ally themselves with the Social - Democrats, against the conservative and radical bourgeoisie, reserving, howe ver, the right to take up a critical position in regard to phrases and illusions traditionally handed down from the great Revolution. In Switzerland they support the Radicals, without losing sight of the fact that this party consists of antagonistic elemen ts, partly of Democratic Socialists, in the French sense, partly of radical bourgeois. In Poland they support the party that insists on an agrarian revolution as the prime condition for national emancipation, that party which fomented the insurrection of C racow in 1846. In Germany they fight with the bourgeoisie whenever it acts in a revolutionary way, against the absolute monarchy, the feudal squirearchy, and the petty bourgeoisie. But they never cease, for a single instant, to instil into the working clas s the clearest possible recognition of the hostile antagonism between bourgeoisie and proletariat, in order that the German workers may straightaway use, as so many weapons against the bourgeoisie, the social and political conditions that the bourgeoisie m ust necessarily introduce along with its supremacy, and in order that, after the fall of the reactionary classes in Germany, the fight against the bourgeoisie itself may immediately begin. The Communists turn their attention chiefly to Germany, because that country is on the eve of a bourgeois revolution that is bound to be carried out under more advanced conditions of European civilisation, and with a much more developed proletariat, than t hat of England was in the seventeenth, and of France in the eighteenth century, and because the bourgeois revolution in Germany will be but the prelude to an immediately following proletarian revolution. In short, the Communists everywhere support every re volutionary movement against the existing social and political order of things. In all these movements they bring to the front, as the leading question in each, the property question, no matter what its degree of development at the time. |
Finally, they labo ur everywhere for the union and agreement of the democratic parties of all countries. |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
This document is produced by free version of Print2Flash. Visit <a target='_blank' href='http://www.print2flash.com'>www.print2flash.com</a> for more information |
The Communists disdain to conceal their views and aims. They openly declare that their ends can be attained only by the forcible overthrow of all existing social conditio ns. Let the ruling classes tremble at a Communistic revolution. The proletarians have nothing to lose but their chains. They have a world to win. WORKING MEN OF ALL COUNTRIES, UNITE! |
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.containersSection 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.containersSection 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.controlsSection 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.controlsSection 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.controlsSection 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.controlsSection 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.controlsSection 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.controlsSection 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.controlsSection 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.controlsSection 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.controlsSection 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.controlsSection 13//ComponentShim (fl.core.ComponentShim) package fl.core { import flash.display.*; public dynamic class ComponentShim extends MovieClip { } }//package fl.coreSection 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.coreSection 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.coreSection 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.eventsSection 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.eventsSection 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.managersSection 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.managersSection 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.managersSection 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.managersSection 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.managersSection 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_flaSection 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_flaSection 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_flaSection 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_flaSection 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_flaSection 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_flaSection 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_flaSection 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_flaSection 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_flaSection 32//button (button) package { import flash.display.*; public dynamic class button extends SimpleButton { } }//packageSection 33//Button_disabledSkin (Button_disabledSkin) package { import flash.display.*; public dynamic class Button_disabledSkin extends MovieClip { } }//packageSection 34//Button_downSkin (Button_downSkin) package { import flash.display.*; public dynamic class Button_downSkin extends MovieClip { } }//packageSection 35//Button_emphasizedSkin (Button_emphasizedSkin) package { import flash.display.*; public dynamic class Button_emphasizedSkin extends MovieClip { } }//packageSection 36//Button_overSkin (Button_overSkin) package { import flash.display.*; public dynamic class Button_overSkin extends MovieClip { } }//packageSection 37//Button_selectedDisabledSkin (Button_selectedDisabledSkin) package { import flash.display.*; public dynamic class Button_selectedDisabledSkin extends MovieClip { } }//packageSection 38//Button_selectedDownSkin (Button_selectedDownSkin) package { import flash.display.*; public dynamic class Button_selectedDownSkin extends MovieClip { } }//packageSection 39//Button_selectedOverSkin (Button_selectedOverSkin) package { import flash.display.*; public dynamic class Button_selectedOverSkin extends MovieClip { } }//packageSection 40//Button_selectedUpSkin (Button_selectedUpSkin) package { import flash.display.*; public dynamic class Button_selectedUpSkin extends MovieClip { } }//packageSection 41//Button_upSkin (Button_upSkin) package { import flash.display.*; public dynamic class Button_upSkin extends MovieClip { } }//packageSection 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; } } }//packageSection 43//def_bgr (def_bgr) package { import flash.display.*; public dynamic class def_bgr extends MovieClip { } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 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; } } }//packageSection 57//focusRectSkin (focusRectSkin) package { import flash.display.*; public dynamic class focusRectSkin extends MovieClip { } }//packageSection 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); } } }//packageSection 59//ImgButtonDisplayState (ImgButtonDisplayState) package { import flash.display.*; public class ImgButtonDisplayState extends Sprite { public function ImgButtonDisplayState(_arg1:String, _arg2:MovieClip){ _arg2.AttachMovie(_arg1, this); } } }//packageSection 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); } } }//packageSection 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); } } }//packageSection 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); } } }//packageSection 63//Page1 (Page1) package { import flash.display.*; import flash.text.*; public class Page1 extends MovieClip { public var CR:TextField; } }//packageSection 64//Page10 (Page10) package { import flash.display.*; import flash.text.*; public class Page10 extends MovieClip { public var CR:TextField; } }//packageSection 65//Page11 (Page11) package { import flash.display.*; import flash.text.*; public class Page11 extends MovieClip { public var CR:TextField; } }//packageSection 66//Page12 (Page12) package { import flash.display.*; import flash.text.*; public class Page12 extends MovieClip { public var CR:TextField; } }//packageSection 67//Page13 (Page13) package { import flash.display.*; import flash.text.*; public class Page13 extends MovieClip { public var CR:TextField; } }//packageSection 68//Page14 (Page14) package { import flash.display.*; import flash.text.*; public class Page14 extends MovieClip { public var CR:TextField; } }//packageSection 69//Page15 (Page15) package { import flash.display.*; import flash.text.*; public class Page15 extends MovieClip { public var CR:TextField; } }//packageSection 70//Page16 (Page16) package { import flash.display.*; import flash.text.*; public class Page16 extends MovieClip { public var CR:TextField; } }//packageSection 71//Page17 (Page17) package { import flash.display.*; import flash.text.*; public class Page17 extends MovieClip { public var CR:TextField; } }//packageSection 72//Page18 (Page18) package { import flash.display.*; import flash.text.*; public class Page18 extends MovieClip { public var CR:TextField; } }//packageSection 73//Page19 (Page19) package { import flash.display.*; import flash.text.*; public class Page19 extends MovieClip { public var CR:TextField; } }//packageSection 74//Page2 (Page2) package { import flash.display.*; import flash.text.*; public class Page2 extends MovieClip { public var CR:TextField; } }//packageSection 75//Page20 (Page20) package { import flash.display.*; import flash.text.*; public class Page20 extends MovieClip { public var CR:TextField; } }//packageSection 76//Page21 (Page21) package { import flash.display.*; import flash.text.*; public class Page21 extends MovieClip { public var CR:TextField; } }//packageSection 77//Page22 (Page22) package { import flash.display.*; import flash.text.*; public class Page22 extends MovieClip { public var CR:TextField; } }//packageSection 78//Page23 (Page23) package { import flash.display.*; import flash.text.*; public class Page23 extends MovieClip { public var CR:TextField; } }//packageSection 79//Page24 (Page24) package { import flash.display.*; import flash.text.*; public class Page24 extends MovieClip { public var CR:TextField; } }//packageSection 80//Page25 (Page25) package { import flash.display.*; import flash.text.*; public class Page25 extends MovieClip { public var CR:TextField; } }//packageSection 81//Page26 (Page26) package { import flash.display.*; import flash.text.*; public class Page26 extends MovieClip { public var CR:TextField; } }//packageSection 82//Page27 (Page27) package { import flash.display.*; import flash.text.*; public class Page27 extends MovieClip { public var CR:TextField; } }//packageSection 83//Page28 (Page28) package { import flash.display.*; import flash.text.*; public class Page28 extends MovieClip { public var CR:TextField; } }//packageSection 84//Page29 (Page29) package { import flash.display.*; import flash.text.*; public class Page29 extends MovieClip { public var CR:TextField; } }//packageSection 85//Page3 (Page3) package { import flash.display.*; import flash.text.*; public class Page3 extends MovieClip { public var CR:TextField; } }//packageSection 86//Page4 (Page4) package { import flash.display.*; import flash.text.*; public class Page4 extends MovieClip { public var CR:TextField; } }//packageSection 87//Page5 (Page5) package { import flash.display.*; import flash.text.*; public class Page5 extends MovieClip { public var CR:TextField; } }//packageSection 88//Page6 (Page6) package { import flash.display.*; import flash.text.*; public class Page6 extends MovieClip { public var CR:TextField; } }//packageSection 89//Page7 (Page7) package { import flash.display.*; import flash.text.*; public class Page7 extends MovieClip { public var CR:TextField; } }//packageSection 90//Page8 (Page8) package { import flash.display.*; import flash.text.*; public class Page8 extends MovieClip { public var CR:TextField; } }//packageSection 91//Page9 (Page9) package { import flash.display.*; import flash.text.*; public class Page9 extends MovieClip { public var CR:TextField; } }//packageSection 92//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; } } }//packageSection 93//RadioButton_disabledIcon (RadioButton_disabledIcon) package { import flash.display.*; public dynamic class RadioButton_disabledIcon extends MovieClip { } }//packageSection 94//RadioButton_downIcon (RadioButton_downIcon) package { import flash.display.*; public dynamic class RadioButton_downIcon extends MovieClip { } }//packageSection 95//RadioButton_overIcon (RadioButton_overIcon) package { import flash.display.*; public dynamic class RadioButton_overIcon extends MovieClip { } }//packageSection 96//RadioButton_selectedDisabledIcon (RadioButton_selectedDisabledIcon) package { import flash.display.*; public dynamic class RadioButton_selectedDisabledIcon extends MovieClip { } }//packageSection 97//RadioButton_selectedDownIcon (RadioButton_selectedDownIcon) package { import flash.display.*; public dynamic class RadioButton_selectedDownIcon extends MovieClip { } }//packageSection 98//RadioButton_selectedOverIcon (RadioButton_selectedOverIcon) package { import flash.display.*; public dynamic class RadioButton_selectedOverIcon extends MovieClip { } }//packageSection 99//RadioButton_selectedUpIcon (RadioButton_selectedUpIcon) package { import flash.display.*; public dynamic class RadioButton_selectedUpIcon extends MovieClip { } }//packageSection 100//RadioButton_upIcon (RadioButton_upIcon) package { import flash.display.*; public dynamic class RadioButton_upIcon extends MovieClip { } }//packageSection 101//ScrollArea (ScrollArea) package { import flash.display.*; public dynamic class ScrollArea extends MovieClip { public var BottomArea:MovieClip; } }//packageSection 102//ScrollArrowDown_disabledSkin (ScrollArrowDown_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_disabledSkin extends MovieClip { } }//packageSection 103//ScrollArrowDown_downSkin (ScrollArrowDown_downSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_downSkin extends MovieClip { } }//packageSection 104//ScrollArrowDown_overSkin (ScrollArrowDown_overSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_overSkin extends MovieClip { } }//packageSection 105//ScrollArrowDown_upSkin (ScrollArrowDown_upSkin) package { import flash.display.*; public dynamic class ScrollArrowDown_upSkin extends MovieClip { } }//packageSection 106//ScrollArrowUp_disabledSkin (ScrollArrowUp_disabledSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_disabledSkin extends MovieClip { } }//packageSection 107//ScrollArrowUp_downSkin (ScrollArrowUp_downSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_downSkin extends MovieClip { } }//packageSection 108//ScrollArrowUp_overSkin (ScrollArrowUp_overSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_overSkin extends MovieClip { } }//packageSection 109//ScrollArrowUp_upSkin (ScrollArrowUp_upSkin) package { import flash.display.*; public dynamic class ScrollArrowUp_upSkin extends MovieClip { } }//packageSection 110//ScrollBar_thumbIcon (ScrollBar_thumbIcon) package { import flash.display.*; public dynamic class ScrollBar_thumbIcon extends MovieClip { } }//packageSection 111//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); }; } } }//packageSection 112//ScrollPane_disabledSkin (ScrollPane_disabledSkin) package { import flash.display.*; public dynamic class ScrollPane_disabledSkin extends MovieClip { } }//packageSection 113//ScrollPane_upSkin (ScrollPane_upSkin) package { import flash.display.*; public dynamic class ScrollPane_upSkin extends MovieClip { } }//packageSection 114//ScrollThumb_downSkin (ScrollThumb_downSkin) package { import flash.display.*; public dynamic class ScrollThumb_downSkin extends MovieClip { } }//packageSection 115//ScrollThumb_overSkin (ScrollThumb_overSkin) package { import flash.display.*; public dynamic class ScrollThumb_overSkin extends MovieClip { } }//packageSection 116//ScrollThumb_upSkin (ScrollThumb_upSkin) package { import flash.display.*; public dynamic class ScrollThumb_upSkin extends MovieClip { } }//packageSection 117//ScrollTrack_skin (ScrollTrack_skin) package { import flash.display.*; public dynamic class ScrollTrack_skin extends MovieClip { } }//packageSection 118//Settings (Settings) package { import flash.utils.*; public class Settings extends ByteArray { } }//packageSection 119//Settings2_ (Settings2_) package { import flash.utils.*; public class Settings2_ extends ByteArray { } }//packageSection 120//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")); }; } } }//packageSection 121//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 122//textmsg (textmsg) package { import flash.display.*; import flash.text.*; public dynamic class textmsg extends MovieClip { public var text:TextField; } }//packageSection 123//waitmsg (waitmsg) package { import flash.display.*; import flash.text.*; public dynamic class waitmsg extends MovieClip { public var msg:TextField; } }//package
Library Items
Symbol 156 Bitmap | Used by:157 | |
Symbol 157 Graphic | Uses:156 | Used by:158 |
Symbol 158 MovieClip {TBImage1} | Uses:157 | |
Symbol 159 Bitmap | Used by:160 | |
Symbol 160 Graphic | Uses:159 | Used by:161 |
Symbol 161 MovieClip {TBImage2} | Uses:160 | |
Symbol 162 Bitmap | Used by:163 | |
Symbol 163 Graphic | Uses:162 | Used by:164 |
Symbol 164 MovieClip {TBImage3} | Uses:163 | |
Symbol 165 Bitmap | Used by:166 | |
Symbol 166 Graphic | Uses:165 | Used by:167 |
Symbol 167 MovieClip {TBImage4} | Uses:166 | |
Symbol 168 Bitmap | Used by:169 | |
Symbol 169 Graphic | Uses:168 | Used by:170 |
Symbol 170 MovieClip {TBImage5} | Uses:169 | |
Symbol 171 Bitmap | Used by:172 | |
Symbol 172 Graphic | Uses:171 | Used by:173 |
Symbol 173 MovieClip {TBImage6} | Uses:172 | |
Symbol 174 Bitmap | Used by:175 | |
Symbol 175 Graphic | Uses:174 | Used by:176 |
Symbol 176 MovieClip {TBImage7} | Uses:175 | |
Symbol 177 Bitmap | Used by:178 | |
Symbol 178 Graphic | Uses:177 | Used by:179 |
Symbol 179 MovieClip {TBImage8} | Uses:178 | |
Symbol 180 Bitmap | Used by:181 | |
Symbol 181 Graphic | Uses:180 | Used by:182 |
Symbol 182 MovieClip {TBImage9} | Uses:181 | |
Symbol 183 Bitmap | Used by:184 | |
Symbol 184 Graphic | Uses:183 | Used by:185 |
Symbol 185 MovieClip {TBImage10} | Uses:184 | |
Symbol 186 Bitmap | Used by:187 | |
Symbol 187 Graphic | Uses:186 | Used by:188 |
Symbol 188 MovieClip {TBImage11} | Uses:187 | |
Symbol 189 Bitmap | Used by:190 | |
Symbol 190 Graphic | Uses:189 | Used by:191 |
Symbol 191 MovieClip {TBImage12} | Uses:190 | |
Symbol 192 Bitmap | Used by:193 | |
Symbol 193 Graphic | Uses:192 | Used by:194 |
Symbol 194 MovieClip {TBImage13} | Uses:193 | |
Symbol 195 Bitmap | Used by:196 | |
Symbol 196 Graphic | Uses:195 | Used by:197 |
Symbol 197 MovieClip {TBImage14} | Uses:196 | |
Symbol 198 Bitmap | Used by:199 | |
Symbol 199 Graphic | Uses:198 | Used by:200 |
Symbol 200 MovieClip {TBImage15} | Uses:199 | |
Symbol 201 Bitmap | Used by:202 | |
Symbol 202 Graphic | Uses:201 | Used by:203 |
Symbol 203 MovieClip {TBImage16} | Uses:202 | |
Symbol 204 Bitmap | Used by:205 | |
Symbol 205 Graphic | Uses:204 | Used by:206 |
Symbol 206 MovieClip {TBImage18} | Uses:205 | |
Symbol 207 Bitmap | Used by:208 | |
Symbol 208 Graphic | Uses:207 | Used by:209 |
Symbol 209 MovieClip {TBImage19} | Uses:208 | |
Symbol 210 Bitmap | Used by:211 | |
Symbol 211 Graphic | Uses:210 | Used by:212 |
Symbol 212 MovieClip {TBImage20} | Uses:211 | |
Symbol 213 Bitmap | Used by:214 | |
Symbol 214 Graphic | Uses:213 | Used by:215 |
Symbol 215 MovieClip {TBImage21} | Uses:214 | |
Symbol 216 Bitmap | Used by:217 | |
Symbol 217 Graphic | Uses:216 | Used by:218 |
Symbol 218 MovieClip {TBImage22} | Uses:217 | |
Symbol 219 BinaryData {Settings} | ||
Symbol 220 BinaryData {Settings2_} | ||
Symbol 1 Font | Used by:2 | |
Symbol 2 EditableText | Uses:1 | Used by:6 |
Symbol 3 Graphic | Used by:4 | |
Symbol 4 MovieClip | Uses:3 | Used by:5 |
Symbol 5 MovieClip | Uses:4 | Used by:6 |
Symbol 6 MovieClip {waitmsg} | Uses:2 5 | |
Symbol 7 Font | Used by:8 50 51 52 53 54 74 75 143 146 148 152 | |
Symbol 8 EditableText | Uses:7 | Used by:9 |
Symbol 9 MovieClip {textmsg} | Uses:8 | |
Symbol 10 Graphic | Used by:11 | |
Symbol 11 MovieClip | Uses:10 | Used by:12 |
Symbol 12 MovieClip {ScrollArea} | Uses:11 | |
Symbol 13 Graphic | Used by:14 | |
Symbol 14 MovieClip | Uses:13 | Used by:33 73 77 134 |
Symbol 15 MovieClip {fl.core.ComponentShim} | Used by:33 73 77 133 134 | |
Symbol 16 Graphic | Used by:17 | |
Symbol 17 MovieClip {RadioButton_upIcon} | Uses:16 | Used by:33 |
Symbol 18 Graphic | Used by:19 28 | |
Symbol 19 MovieClip {RadioButton_overIcon} | Uses:18 | Used by:33 |
Symbol 20 Graphic | Used by:21 29 | |
Symbol 21 MovieClip {RadioButton_downIcon} | Uses:20 | Used by:33 |
Symbol 22 Graphic | Used by:23 30 | |
Symbol 23 MovieClip {RadioButton_disabledIcon} | Uses:22 | Used by:33 |
Symbol 24 Graphic | Used by:27 | |
Symbol 25 Graphic | Used by:26 | |
Symbol 26 MovieClip | Uses:25 | Used by:27 28 29 30 |
Symbol 27 MovieClip {RadioButton_selectedUpIcon} | Uses:24 26 | Used by:33 |
Symbol 28 MovieClip {RadioButton_selectedOverIcon} | Uses:18 26 | Used by:33 |
Symbol 29 MovieClip {RadioButton_selectedDownIcon} | Uses:20 26 | Used by:33 |
Symbol 30 MovieClip {RadioButton_selectedDisabledIcon} | Uses:22 26 | Used by:33 |
Symbol 31 Graphic | Used by:32 | |
Symbol 32 MovieClip {focusRectSkin} | Uses:31 | Used by:33 73 133 |
Symbol 33 MovieClip {fl.controls.RadioButton} | Uses:14 15 17 19 21 23 27 28 29 30 32 | Used by:76 |
Symbol 34 Graphic | Used by:35 | |
Symbol 35 MovieClip | Uses:34 | Used by:76 |
Symbol 36 Graphic | Used by:37 | |
Symbol 37 MovieClip | Uses:36 | Used by:42 |
Symbol 38 Graphic | Used by:39 | |
Symbol 39 MovieClip | Uses:38 | Used by:42 |
Symbol 40 Graphic | Used by:41 | |
Symbol 41 MovieClip | Uses:40 | Used by:42 |
Symbol 42 MovieClip | Uses:37 39 41 | Used by:76 |
Symbol 43 Graphic | Used by:44 | |
Symbol 44 MovieClip | Uses:43 | Used by:49 |
Symbol 45 Graphic | Used by:46 | |
Symbol 46 MovieClip | Uses:45 | Used by:49 |
Symbol 47 Graphic | Used by:48 49 | |
Symbol 48 MovieClip | Uses:47 | Used by:49 |
Symbol 49 Button | Uses:44 46 48 47 | Used by:76 |
Symbol 50 EditableText | Uses:7 | Used by:76 |
Symbol 51 EditableText | Uses:7 | Used by:76 |
Symbol 52 EditableText | Uses:7 | Used by:76 |
Symbol 53 EditableText | Uses:7 | Used by:76 |
Symbol 54 EditableText | Uses:7 | Used by:76 |
Symbol 55 Graphic | Used by:56 | |
Symbol 56 MovieClip {Button_disabledSkin} | Uses:55 | Used by:73 |
Symbol 57 Graphic | Used by:58 | |
Symbol 58 MovieClip {Button_downSkin} | Uses:57 | Used by:73 |
Symbol 59 Graphic | Used by:60 | |
Symbol 60 MovieClip {Button_emphasizedSkin} | Uses:59 | Used by:73 |
Symbol 61 Graphic | Used by:62 | |
Symbol 62 MovieClip {Button_overSkin} | Uses:61 | Used by:73 |
Symbol 63 Graphic | Used by:64 | |
Symbol 64 MovieClip {Button_selectedDisabledSkin} | Uses:63 | Used by:73 |
Symbol 65 Graphic | Used by:66 | |
Symbol 66 MovieClip {Button_selectedDownSkin} | Uses:65 | Used by:73 |
Symbol 67 Graphic | Used by:68 | |
Symbol 68 MovieClip {Button_selectedOverSkin} | Uses:67 | Used by:73 |
Symbol 69 Graphic | Used by:70 | |
Symbol 70 MovieClip {Button_selectedUpSkin} | Uses:69 | Used by:73 |
Symbol 71 Graphic | Used by:72 | |
Symbol 72 MovieClip {Button_upSkin} | Uses:71 | Used by:73 |
Symbol 73 MovieClip {fl.controls.Button} | Uses:14 15 56 58 60 62 64 66 68 70 72 32 | Used by:76 |
Symbol 74 EditableText | Uses:7 | Used by:76 |
Symbol 75 EditableText | Uses:7 | Used 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 Graphic | Used by:79 | |
Symbol 79 MovieClip {def_bgr} | Uses:78 | |
Symbol 80 Graphic | Used by:81 | |
Symbol 81 Button {button} | Uses:80 | |
Symbol 82 Graphic | Used by:83 | |
Symbol 83 MovieClip {manualbutton} | Uses:82 | Used by:84 88 89 90 91 92 93 94 95 96 97 98 99 100 141 |
Symbol 84 MovieClip {def_fullscreen} | Uses:83 | Used by:155 |
Symbol 85 Button {ImgButton} | Used by:86 | |
Symbol 86 MovieClip {print2flash_fla.MCSlider_47} | Uses:85 | Used by:87 |
Symbol 87 MovieClip {Slider} | Uses:86 | Used by:155 |
Symbol 88 MovieClip {def_forward} | Uses:83 | Used by:155 |
Symbol 89 MovieClip {def_back} | Uses:83 | Used by:155 |
Symbol 90 MovieClip {def_nextpage} | Uses:83 | Used by:155 |
Symbol 91 MovieClip {def_more} | Uses:83 | Used by:155 |
Symbol 92 MovieClip {def_selMode} | Uses:83 | Used by:155 |
Symbol 93 MovieClip {def_newwindow} | Uses:83 | Used by:155 |
Symbol 94 MovieClip {def_help} | Uses:83 | Used by:155 |
Symbol 95 MovieClip {def_rotate} | Uses:83 | Used by:155 |
Symbol 96 MovieClip {def_prevpage} | Uses:83 | Used by:155 |
Symbol 97 MovieClip {def_scalePage} | Uses:83 | Used by:155 |
Symbol 98 MovieClip {def_scaleWidth} | Uses:83 | Used by:155 |
Symbol 99 MovieClip {def_moveMode} | Uses:83 | Used by:155 |
Symbol 100 MovieClip {def_print} | Uses:83 | Used by:155 |
Symbol 101 Graphic | Used by:102 | |
Symbol 102 MovieClip | Uses:101 | Used by:105 106 |
Symbol 103 Graphic | Used by:104 | |
Symbol 104 MovieClip | Uses:103 | Used by:105 106 |
Symbol 105 MovieClip {ScrollPane_disabledSkin} | Uses:102 104 | Used by:134 |
Symbol 106 MovieClip {ScrollPane_upSkin} | Uses:102 104 | Used by:134 |
Symbol 107 Graphic | Used by:108 | |
Symbol 108 MovieClip {ScrollTrack_skin} | Uses:107 | Used by:133 |
Symbol 109 Graphic | Used by:112 | |
Symbol 110 Graphic | Used by:111 114 118 127 | |
Symbol 111 MovieClip | Uses:110 | Used by:112 122 124 |
Symbol 112 MovieClip {ScrollArrowUp_downSkin} | Uses:109 111 | Used by:133 |
Symbol 113 Graphic | Used by:114 | |
Symbol 114 MovieClip {ScrollArrowDown_downSkin} | Uses:113 110 | Used by:133 |
Symbol 115 Graphic | Used by:116 | |
Symbol 116 MovieClip {ScrollThumb_downSkin} | Uses:115 | Used by:133 |
Symbol 117 Graphic | Used by:118 | |
Symbol 118 MovieClip {ScrollArrowDown_overSkin} | Uses:117 110 | Used by:133 |
Symbol 119 Graphic | Used by:120 | |
Symbol 120 MovieClip {ScrollThumb_overSkin} | Uses:119 | Used by:133 |
Symbol 121 Graphic | Used by:122 | |
Symbol 122 MovieClip {ScrollArrowUp_overSkin} | Uses:121 111 | Used by:133 |
Symbol 123 Graphic | Used by:124 127 | |
Symbol 124 MovieClip {ScrollArrowUp_upSkin} | Uses:123 111 | Used by:133 |
Symbol 125 Graphic | Used by:126 | |
Symbol 126 MovieClip {ScrollThumb_upSkin} | Uses:125 | Used by:133 |
Symbol 127 MovieClip {ScrollArrowDown_upSkin} | Uses:123 110 | Used by:133 |
Symbol 128 Graphic | Used by:129 130 | |
Symbol 129 MovieClip {ScrollArrowDown_disabledSkin} | Uses:128 | Used by:133 |
Symbol 130 MovieClip {ScrollArrowUp_disabledSkin} | Uses:128 | Used by:133 |
Symbol 131 Graphic | Used by:132 | |
Symbol 132 MovieClip {ScrollBar_thumbIcon} | Uses:131 | Used by:133 |
Symbol 133 MovieClip {fl.controls.ScrollBar} | Uses:108 15 32 112 114 116 118 120 122 124 126 127 129 130 132 | Used by:134 |
Symbol 134 MovieClip {ScrollPain} | Uses:14 15 105 106 133 | Used by:Timeline |
Symbol 135 MovieClip {fl.containers.ScrollPane} | ||
Symbol 136 Graphic | Used by:137 | |
Symbol 137 MovieClip | Uses:136 | Used by:Timeline |
Symbol 138 Graphic | Used by:139 | |
Symbol 139 MovieClip | Uses:138 | Used by:Timeline |
Symbol 140 MovieClip | Used by:155 | |
Symbol 141 MovieClip {print2flash_fla.def_searchbut_27} | Uses:83 | Used by:155 |
Symbol 142 Graphic | Used by:144 | |
Symbol 143 EditableText | Uses:7 | Used by:144 |
Symbol 144 MovieClip {print2flash_fla.Timeline_30} | Uses:142 143 | Used by:155 |
Symbol 145 Graphic | Used by:150 | |
Symbol 146 EditableText | Uses:7 | Used by:147 |
Symbol 147 MovieClip {print2flash_fla.Timeline_32} | Uses:146 | Used by:150 |
Symbol 148 EditableText | Uses:7 | Used by:149 |
Symbol 149 MovieClip {print2flash_fla.Timeline_33} | Uses:148 | Used by:150 |
Symbol 150 MovieClip {print2flash_fla.Timeline_31} | Uses:145 147 149 | Used by:155 |
Symbol 151 Graphic | Used by:153 | |
Symbol 152 EditableText | Uses:7 | Used by:153 |
Symbol 153 MovieClip {print2flash_fla.Timeline_50} | Uses:151 152 | Used by:155 |
Symbol 154 MovieClip | Used 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 154 | Used by:Timeline |
Symbol 221 Graphic | Used by:234 246 255 264 273 282 291 300 309 318 326 335 344 352 360 368 376 385 393 403 412 421 429 438 447 455 464 473 481 | |
Symbol 222 Font | Used by:224 | |
Symbol 223 Graphic | Used by:234 | |
Symbol 224 EditableText | Uses:222 | Used by:234 |
Symbol 225 Bitmap | Used by:226 | |
Symbol 226 Graphic | Uses:225 | Used by:234 |
Symbol 227 Font | Used by:231 | |
Symbol 228 Font | Used by:230 | |
Symbol 229 Graphic | Used by:234 | |
Symbol 230 EditableText | Uses:228 | Used by:234 |
Symbol 231 Text | Uses:227 232 233 | Used by:234 |
Symbol 232 Font | Used by:231 | |
Symbol 233 Font | Used by:231 243 245 253 254 262 263 271 280 281 289 290 298 299 307 308 316 317 325 333 334 342 343 351 359 367 375 383 384 392 400 402 410 411 419 420 428 436 437 445 446 454 462 471 472 480 | |
Symbol 234 MovieClip {Page1} | Uses:221 223 224 226 229 230 231 | |
Symbol 235 Font | Used by:237 | |
Symbol 236 Graphic | Used by:246 | |
Symbol 237 EditableText | Uses:235 | Used by:246 |
Symbol 238 Graphic | Used by:246 | |
Symbol 239 Font | Used by:243 333 400 462 463 | |
Symbol 240 Font | Used by:242 | |
Symbol 241 Graphic | Used by:246 | |
Symbol 242 EditableText | Uses:240 | Used by:246 |
Symbol 243 Text | Uses:239 233 | Used by:246 |
Symbol 244 Graphic | Used by:246 | |
Symbol 245 Text | Uses:233 | Used by:246 |
Symbol 246 MovieClip {Page2} | Uses:221 236 237 238 241 242 243 244 245 | |
Symbol 247 Font | Used by:249 | |
Symbol 248 Graphic | Used by:255 | |
Symbol 249 EditableText | Uses:247 | Used by:255 |
Symbol 250 Font | Used by:252 | |
Symbol 251 Graphic | Used by:255 | |
Symbol 252 EditableText | Uses:250 | Used by:255 |
Symbol 253 Text | Uses:233 | Used by:255 |
Symbol 254 Text | Uses:233 | Used by:255 |
Symbol 255 MovieClip {Page3} | Uses:221 248 249 251 252 253 254 | |
Symbol 256 Font | Used by:258 | |
Symbol 257 Graphic | Used by:264 | |
Symbol 258 EditableText | Uses:256 | Used by:264 |
Symbol 259 Font | Used by:261 | |
Symbol 260 Graphic | Used by:264 | |
Symbol 261 EditableText | Uses:259 | Used by:264 |
Symbol 262 Text | Uses:233 | Used by:264 |
Symbol 263 Text | Uses:233 | Used by:264 |
Symbol 264 MovieClip {Page4} | Uses:221 257 258 260 261 262 263 | |
Symbol 265 Font | Used by:267 | |
Symbol 266 Graphic | Used by:273 | |
Symbol 267 EditableText | Uses:265 | Used by:273 |
Symbol 268 Font | Used by:270 | |
Symbol 269 Graphic | Used by:273 | |
Symbol 270 EditableText | Uses:268 | Used by:273 |
Symbol 271 Text | Uses:233 272 | Used by:273 |
Symbol 272 Font | Used by:271 289 342 351 359 375 383 400 402 410 419 428 436 | |
Symbol 273 MovieClip {Page5} | Uses:221 266 267 269 270 271 | |
Symbol 274 Font | Used by:276 | |
Symbol 275 Graphic | Used by:282 | |
Symbol 276 EditableText | Uses:274 | Used by:282 |
Symbol 277 Font | Used by:279 | |
Symbol 278 Graphic | Used by:282 | |
Symbol 279 EditableText | Uses:277 | Used by:282 |
Symbol 280 Text | Uses:233 | Used by:282 |
Symbol 281 Text | Uses:233 | Used by:282 |
Symbol 282 MovieClip {Page6} | Uses:221 275 276 278 279 280 281 | |
Symbol 283 Font | Used by:285 | |
Symbol 284 Graphic | Used by:291 | |
Symbol 285 EditableText | Uses:283 | Used by:291 |
Symbol 286 Font | Used by:288 | |
Symbol 287 Graphic | Used by:291 | |
Symbol 288 EditableText | Uses:286 | Used by:291 |
Symbol 289 Text | Uses:233 272 | Used by:291 |
Symbol 290 Text | Uses:233 | Used by:291 |
Symbol 291 MovieClip {Page7} | Uses:221 284 285 287 288 289 290 | |
Symbol 292 Font | Used by:294 | |
Symbol 293 Graphic | Used by:300 | |
Symbol 294 EditableText | Uses:292 | Used by:300 |
Symbol 295 Font | Used by:297 | |
Symbol 296 Graphic | Used by:300 | |
Symbol 297 EditableText | Uses:295 | Used by:300 |
Symbol 298 Text | Uses:233 | Used by:300 |
Symbol 299 Text | Uses:233 | Used by:300 |
Symbol 300 MovieClip {Page8} | Uses:221 293 294 296 297 298 299 | |
Symbol 301 Font | Used by:303 | |
Symbol 302 Graphic | Used by:309 | |
Symbol 303 EditableText | Uses:301 | Used by:309 |
Symbol 304 Font | Used by:306 | |
Symbol 305 Graphic | Used by:309 | |
Symbol 306 EditableText | Uses:304 | Used by:309 |
Symbol 307 Text | Uses:233 | Used by:309 |
Symbol 308 Text | Uses:233 | Used by:309 |
Symbol 309 MovieClip {Page9} | Uses:221 302 303 305 306 307 308 | |
Symbol 310 Font | Used by:312 | |
Symbol 311 Graphic | Used by:318 | |
Symbol 312 EditableText | Uses:310 | Used by:318 |
Symbol 313 Font | Used by:315 | |
Symbol 314 Graphic | Used by:318 | |
Symbol 315 EditableText | Uses:313 | Used by:318 |
Symbol 316 Text | Uses:233 | Used by:318 |
Symbol 317 Text | Uses:233 | Used by:318 |
Symbol 318 MovieClip {Page10} | Uses:221 311 312 314 315 316 317 | |
Symbol 319 Font | Used by:321 | |
Symbol 320 Graphic | Used by:326 | |
Symbol 321 EditableText | Uses:319 | Used by:326 |
Symbol 322 Font | Used by:324 | |
Symbol 323 Graphic | Used by:326 | |
Symbol 324 EditableText | Uses:322 | Used by:326 |
Symbol 325 Text | Uses:233 | Used by:326 |
Symbol 326 MovieClip {Page11} | Uses:221 320 321 323 324 325 | |
Symbol 327 Font | Used by:329 | |
Symbol 328 Graphic | Used by:335 | |
Symbol 329 EditableText | Uses:327 | Used by:335 |
Symbol 330 Font | Used by:332 | |
Symbol 331 Graphic | Used by:335 | |
Symbol 332 EditableText | Uses:330 | Used by:335 |
Symbol 333 Text | Uses:233 239 | Used by:335 |
Symbol 334 Text | Uses:233 | Used by:335 |
Symbol 335 MovieClip {Page12} | Uses:221 328 329 331 332 333 334 | |
Symbol 336 Font | Used by:338 | |
Symbol 337 Graphic | Used by:344 | |
Symbol 338 EditableText | Uses:336 | Used by:344 |
Symbol 339 Font | Used by:341 | |
Symbol 340 Graphic | Used by:344 | |
Symbol 341 EditableText | Uses:339 | Used by:344 |
Symbol 342 Text | Uses:233 272 | Used by:344 |
Symbol 343 Text | Uses:233 | Used by:344 |
Symbol 344 MovieClip {Page13} | Uses:221 337 338 340 341 342 343 | |
Symbol 345 Font | Used by:347 | |
Symbol 346 Graphic | Used by:352 | |
Symbol 347 EditableText | Uses:345 | Used by:352 |
Symbol 348 Font | Used by:350 | |
Symbol 349 Graphic | Used by:352 | |
Symbol 350 EditableText | Uses:348 | Used by:352 |
Symbol 351 Text | Uses:233 272 | Used by:352 |
Symbol 352 MovieClip {Page14} | Uses:221 346 347 349 350 351 | |
Symbol 353 Font | Used by:355 | |
Symbol 354 Graphic | Used by:360 | |
Symbol 355 EditableText | Uses:353 | Used by:360 |
Symbol 356 Font | Used by:358 | |
Symbol 357 Graphic | Used by:360 | |
Symbol 358 EditableText | Uses:356 | Used by:360 |
Symbol 359 Text | Uses:233 272 | Used by:360 |
Symbol 360 MovieClip {Page15} | Uses:221 354 355 357 358 359 | |
Symbol 361 Font | Used by:363 | |
Symbol 362 Graphic | Used by:368 | |
Symbol 363 EditableText | Uses:361 | Used by:368 |
Symbol 364 Font | Used by:366 | |
Symbol 365 Graphic | Used by:368 | |
Symbol 366 EditableText | Uses:364 | Used by:368 |
Symbol 367 Text | Uses:233 | Used by:368 |
Symbol 368 MovieClip {Page16} | Uses:221 362 363 365 366 367 | |
Symbol 369 Font | Used by:371 | |
Symbol 370 Graphic | Used by:376 | |
Symbol 371 EditableText | Uses:369 | Used by:376 |
Symbol 372 Font | Used by:374 | |
Symbol 373 Graphic | Used by:376 | |
Symbol 374 EditableText | Uses:372 | Used by:376 |
Symbol 375 Text | Uses:233 272 | Used by:376 |
Symbol 376 MovieClip {Page17} | Uses:221 370 371 373 374 375 | |
Symbol 377 Font | Used by:379 | |
Symbol 378 Graphic | Used by:385 | |
Symbol 379 EditableText | Uses:377 | Used by:385 |
Symbol 380 Font | Used by:382 | |
Symbol 381 Graphic | Used by:385 | |
Symbol 382 EditableText | Uses:380 | Used by:385 |
Symbol 383 Text | Uses:233 272 | Used by:385 |
Symbol 384 Text | Uses:233 | Used by:385 |
Symbol 385 MovieClip {Page18} | Uses:221 378 379 381 382 383 384 | |
Symbol 386 Font | Used by:388 | |
Symbol 387 Graphic | Used by:393 | |
Symbol 388 EditableText | Uses:386 | Used by:393 |
Symbol 389 Font | Used by:391 | |
Symbol 390 Graphic | Used by:393 | |
Symbol 391 EditableText | Uses:389 | Used by:393 |
Symbol 392 Text | Uses:233 | Used by:393 |
Symbol 393 MovieClip {Page19} | Uses:221 387 388 390 391 392 | |
Symbol 394 Font | Used by:396 | |
Symbol 395 Graphic | Used by:403 | |
Symbol 396 EditableText | Uses:394 | Used by:403 |
Symbol 397 Font | Used by:399 | |
Symbol 398 Graphic | Used by:403 | |
Symbol 399 EditableText | Uses:397 | Used by:403 |
Symbol 400 Text | Uses:239 401 272 233 | Used by:403 |
Symbol 401 Font | Used by:400 436 445 | |
Symbol 402 Text | Uses:233 272 | Used by:403 |
Symbol 403 MovieClip {Page20} | Uses:221 395 396 398 399 400 402 | |
Symbol 404 Font | Used by:406 | |
Symbol 405 Graphic | Used by:412 | |
Symbol 406 EditableText | Uses:404 | Used by:412 |
Symbol 407 Font | Used by:409 | |
Symbol 408 Graphic | Used by:412 | |
Symbol 409 EditableText | Uses:407 | Used by:412 |
Symbol 410 Text | Uses:233 272 | Used by:412 |
Symbol 411 Text | Uses:233 | Used by:412 |
Symbol 412 MovieClip {Page21} | Uses:221 405 406 408 409 410 411 | |
Symbol 413 Font | Used by:415 | |
Symbol 414 Graphic | Used by:421 | |
Symbol 415 EditableText | Uses:413 | Used by:421 |
Symbol 416 Font | Used by:418 | |
Symbol 417 Graphic | Used by:421 | |
Symbol 418 EditableText | Uses:416 | Used by:421 |
Symbol 419 Text | Uses:233 272 | Used by:421 |
Symbol 420 Text | Uses:233 | Used by:421 |
Symbol 421 MovieClip {Page22} | Uses:221 414 415 417 418 419 420 | |
Symbol 422 Font | Used by:424 | |
Symbol 423 Graphic | Used by:429 | |
Symbol 424 EditableText | Uses:422 | Used by:429 |
Symbol 425 Font | Used by:427 | |
Symbol 426 Graphic | Used by:429 | |
Symbol 427 EditableText | Uses:425 | Used by:429 |
Symbol 428 Text | Uses:233 272 | Used by:429 |
Symbol 429 MovieClip {Page23} | Uses:221 423 424 426 427 428 | |
Symbol 430 Font | Used by:432 | |
Symbol 431 Graphic | Used by:438 | |
Symbol 432 EditableText | Uses:430 | Used by:438 |
Symbol 433 Font | Used by:435 | |
Symbol 434 Graphic | Used by:438 | |
Symbol 435 EditableText | Uses:433 | Used by:438 |
Symbol 436 Text | Uses:233 272 401 | Used by:438 |
Symbol 437 Text | Uses:233 | Used by:438 |
Symbol 438 MovieClip {Page24} | Uses:221 431 432 434 435 436 437 | |
Symbol 439 Font | Used by:441 | |
Symbol 440 Graphic | Used by:447 | |
Symbol 441 EditableText | Uses:439 | Used by:447 |
Symbol 442 Font | Used by:444 | |
Symbol 443 Graphic | Used by:447 | |
Symbol 444 EditableText | Uses:442 | Used by:447 |
Symbol 445 Text | Uses:233 401 | Used by:447 |
Symbol 446 Text | Uses:233 | Used by:447 |
Symbol 447 MovieClip {Page25} | Uses:221 440 441 443 444 445 446 | |
Symbol 448 Font | Used by:450 | |
Symbol 449 Graphic | Used by:455 | |
Symbol 450 EditableText | Uses:448 | Used by:455 |
Symbol 451 Font | Used by:453 | |
Symbol 452 Graphic | Used by:455 | |
Symbol 453 EditableText | Uses:451 | Used by:455 |
Symbol 454 Text | Uses:233 | Used by:455 |
Symbol 455 MovieClip {Page26} | Uses:221 449 450 452 453 454 | |
Symbol 456 Font | Used by:458 | |
Symbol 457 Graphic | Used by:464 | |
Symbol 458 EditableText | Uses:456 | Used by:464 |
Symbol 459 Font | Used by:461 | |
Symbol 460 Graphic | Used by:464 | |
Symbol 461 EditableText | Uses:459 | Used by:464 |
Symbol 462 Text | Uses:233 239 | Used by:464 |
Symbol 463 Text | Uses:239 | Used by:464 |
Symbol 464 MovieClip {Page27} | Uses:221 457 458 460 461 462 463 | |
Symbol 465 Font | Used by:467 | |
Symbol 466 Graphic | Used by:473 | |
Symbol 467 EditableText | Uses:465 | Used by:473 |
Symbol 468 Font | Used by:470 | |
Symbol 469 Graphic | Used by:473 | |
Symbol 470 EditableText | Uses:468 | Used by:473 |
Symbol 471 Text | Uses:233 | Used by:473 |
Symbol 472 Text | Uses:233 | Used by:473 |
Symbol 473 MovieClip {Page28} | Uses:221 466 467 469 470 471 472 | |
Symbol 474 Font | Used by:476 | |
Symbol 475 Graphic | Used by:481 | |
Symbol 476 EditableText | Uses:474 | Used by:481 |
Symbol 477 Font | Used by:479 | |
Symbol 478 Graphic | Used by:481 | |
Symbol 479 EditableText | Uses:477 | Used by:481 |
Symbol 480 Text | Uses:233 | Used by:481 |
Symbol 481 MovieClip {Page29} | Uses:221 475 476 478 479 480 |
Instance Names
"DocArea" | Frame 2 | Symbol 134 MovieClip {ScrollPain} |
"HandCursor" | Frame 2 | Symbol 137 MovieClip |
"TextCursor" | Frame 2 | Symbol 139 MovieClip |
"toolbar" | Frame 2 | Symbol 155 MovieClip {print2flash_fla._toolbar_25} |
"msg" | Symbol 6 MovieClip {waitmsg} Frame 1 | Symbol 2 EditableText |
"text" | Symbol 9 MovieClip {textmsg} Frame 1 | Symbol 8 EditableText |
"BottomArea" | Symbol 12 MovieClip {ScrollArea} Frame 1 | Symbol 11 MovieClip |
"l_mc" | Symbol 42 MovieClip Frame 1 | Symbol 37 MovieClip |
"m_mc" | Symbol 42 MovieClip Frame 1 | Symbol 39 MovieClip |
"r_mc" | Symbol 42 MovieClip Frame 1 | Symbol 41 MovieClip |
"closeBtn" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 49 Button |
"title" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 50 EditableText |
"pagestxt" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 51 EditableText |
"pagesFrom" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 52 EditableText |
"totxt" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 53 EditableText |
"pagesTo" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 54 EditableText |
"OKBtn" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 73 MovieClip {fl.controls.Button} |
"cancelBtn" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 73 MovieClip {fl.controls.Button} |
"optNoScale" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 33 MovieClip {fl.controls.RadioButton} |
"optFit" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 33 MovieClip {fl.controls.RadioButton} |
"scalingtxt" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 74 EditableText |
"fromtxt" | Symbol 76 MovieClip {PrintRangeWnd} Frame 1 | Symbol 75 EditableText |
"but" | Symbol 84 MovieClip {def_fullscreen} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"SliderHandleBtn" | Symbol 86 MovieClip {print2flash_fla.MCSlider_47} Frame 1 | Symbol 85 Button {ImgButton} |
"SliderHandle" | Symbol 87 MovieClip {Slider} Frame 1 | Symbol 86 MovieClip {print2flash_fla.MCSlider_47} |
"but" | Symbol 88 MovieClip {def_forward} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 89 MovieClip {def_back} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 90 MovieClip {def_nextpage} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 91 MovieClip {def_more} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 92 MovieClip {def_selMode} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 93 MovieClip {def_newwindow} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 94 MovieClip {def_help} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 95 MovieClip {def_rotate} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 96 MovieClip {def_prevpage} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 97 MovieClip {def_scalePage} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 98 MovieClip {def_scaleWidth} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 99 MovieClip {def_moveMode} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 100 MovieClip {def_print} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"but" | Symbol 141 MovieClip {print2flash_fla.def_searchbut_27} Frame 1 | Symbol 83 MovieClip {manualbutton} |
"ScaleTextField" | Symbol 144 MovieClip {print2flash_fla.Timeline_30} Frame 1 | Symbol 143 EditableText |
"TotalPages" | Symbol 147 MovieClip {print2flash_fla.Timeline_32} Frame 1 | Symbol 146 EditableText |
"PageNoField" | Symbol 149 MovieClip {print2flash_fla.Timeline_33} Frame 1 | Symbol 148 EditableText |
"TotalPagesMC" | Symbol 150 MovieClip {print2flash_fla.Timeline_31} Frame 1 | Symbol 147 MovieClip {print2flash_fla.Timeline_32} |
"PageNoFieldMC" | Symbol 150 MovieClip {print2flash_fla.Timeline_31} Frame 1 | Symbol 149 MovieClip {print2flash_fla.Timeline_33} |
"searchPattern" | Symbol 153 MovieClip {print2flash_fla.Timeline_50} Frame 1 | Symbol 152 EditableText |
"toolbarbgr" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 140 MovieClip |
"searchbut" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 141 MovieClip {print2flash_fla.def_searchbut_27} |
"print" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 100 MovieClip {def_print} |
"ScaleTextMovie" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 144 MovieClip {print2flash_fla.Timeline_30} |
"PageNoMovie" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 150 MovieClip {print2flash_fla.Timeline_31} |
"moveMode" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 99 MovieClip {def_moveMode} |
"scaleWidth" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 98 MovieClip {def_scaleWidth} |
"scalePage" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 97 MovieClip {def_scalePage} |
"prevpage" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 96 MovieClip {def_prevpage} |
"rotate" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 95 MovieClip {def_rotate} |
"help" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 94 MovieClip {def_help} |
"newwindow" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 93 MovieClip {def_newwindow} |
"selMode" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 92 MovieClip {def_selMode} |
"more" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 91 MovieClip {def_more} |
"nextpage" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 90 MovieClip {def_nextpage} |
"back" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 89 MovieClip {def_back} |
"forward" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 88 MovieClip {def_forward} |
"ZoomSlider" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 87 MovieClip {Slider} |
"fullscreen" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 84 MovieClip {def_fullscreen} |
"searchPatternmc" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 153 MovieClip {print2flash_fla.Timeline_50} |
"logo" | Symbol 155 MovieClip {print2flash_fla._toolbar_25} Frame 1 | Symbol 154 MovieClip |
"CR" | Symbol 234 MovieClip {Page1} Frame 1 | Symbol 224 EditableText |
"CR" | Symbol 234 MovieClip {Page1} Frame 1 | Symbol 230 EditableText |
"CR" | Symbol 246 MovieClip {Page2} Frame 1 | Symbol 237 EditableText |
"CR" | Symbol 246 MovieClip {Page2} Frame 1 | Symbol 242 EditableText |
"CR" | Symbol 255 MovieClip {Page3} Frame 1 | Symbol 249 EditableText |
"CR" | Symbol 255 MovieClip {Page3} Frame 1 | Symbol 252 EditableText |
"CR" | Symbol 264 MovieClip {Page4} Frame 1 | Symbol 258 EditableText |
"CR" | Symbol 264 MovieClip {Page4} Frame 1 | Symbol 261 EditableText |
"CR" | Symbol 273 MovieClip {Page5} Frame 1 | Symbol 267 EditableText |
"CR" | Symbol 273 MovieClip {Page5} Frame 1 | Symbol 270 EditableText |
"CR" | Symbol 282 MovieClip {Page6} Frame 1 | Symbol 276 EditableText |
"CR" | Symbol 282 MovieClip {Page6} Frame 1 | Symbol 279 EditableText |
"CR" | Symbol 291 MovieClip {Page7} Frame 1 | Symbol 285 EditableText |
"CR" | Symbol 291 MovieClip {Page7} Frame 1 | Symbol 288 EditableText |
"CR" | Symbol 300 MovieClip {Page8} Frame 1 | Symbol 294 EditableText |
"CR" | Symbol 300 MovieClip {Page8} Frame 1 | Symbol 297 EditableText |
"CR" | Symbol 309 MovieClip {Page9} Frame 1 | Symbol 303 EditableText |
"CR" | Symbol 309 MovieClip {Page9} Frame 1 | Symbol 306 EditableText |
"CR" | Symbol 318 MovieClip {Page10} Frame 1 | Symbol 312 EditableText |
"CR" | Symbol 318 MovieClip {Page10} Frame 1 | Symbol 315 EditableText |
"CR" | Symbol 326 MovieClip {Page11} Frame 1 | Symbol 321 EditableText |
"CR" | Symbol 326 MovieClip {Page11} Frame 1 | Symbol 324 EditableText |
"CR" | Symbol 335 MovieClip {Page12} Frame 1 | Symbol 329 EditableText |
"CR" | Symbol 335 MovieClip {Page12} Frame 1 | Symbol 332 EditableText |
"CR" | Symbol 344 MovieClip {Page13} Frame 1 | Symbol 338 EditableText |
"CR" | Symbol 344 MovieClip {Page13} Frame 1 | Symbol 341 EditableText |
"CR" | Symbol 352 MovieClip {Page14} Frame 1 | Symbol 347 EditableText |
"CR" | Symbol 352 MovieClip {Page14} Frame 1 | Symbol 350 EditableText |
"CR" | Symbol 360 MovieClip {Page15} Frame 1 | Symbol 355 EditableText |
"CR" | Symbol 360 MovieClip {Page15} Frame 1 | Symbol 358 EditableText |
"CR" | Symbol 368 MovieClip {Page16} Frame 1 | Symbol 363 EditableText |
"CR" | Symbol 368 MovieClip {Page16} Frame 1 | Symbol 366 EditableText |
"CR" | Symbol 376 MovieClip {Page17} Frame 1 | Symbol 371 EditableText |
"CR" | Symbol 376 MovieClip {Page17} Frame 1 | Symbol 374 EditableText |
"CR" | Symbol 385 MovieClip {Page18} Frame 1 | Symbol 379 EditableText |
"CR" | Symbol 385 MovieClip {Page18} Frame 1 | Symbol 382 EditableText |
"CR" | Symbol 393 MovieClip {Page19} Frame 1 | Symbol 388 EditableText |
"CR" | Symbol 393 MovieClip {Page19} Frame 1 | Symbol 391 EditableText |
"CR" | Symbol 403 MovieClip {Page20} Frame 1 | Symbol 396 EditableText |
"CR" | Symbol 403 MovieClip {Page20} Frame 1 | Symbol 399 EditableText |
"CR" | Symbol 412 MovieClip {Page21} Frame 1 | Symbol 406 EditableText |
"CR" | Symbol 412 MovieClip {Page21} Frame 1 | Symbol 409 EditableText |
"CR" | Symbol 421 MovieClip {Page22} Frame 1 | Symbol 415 EditableText |
"CR" | Symbol 421 MovieClip {Page22} Frame 1 | Symbol 418 EditableText |
"CR" | Symbol 429 MovieClip {Page23} Frame 1 | Symbol 424 EditableText |
"CR" | Symbol 429 MovieClip {Page23} Frame 1 | Symbol 427 EditableText |
"CR" | Symbol 438 MovieClip {Page24} Frame 1 | Symbol 432 EditableText |
"CR" | Symbol 438 MovieClip {Page24} Frame 1 | Symbol 435 EditableText |
"CR" | Symbol 447 MovieClip {Page25} Frame 1 | Symbol 441 EditableText |
"CR" | Symbol 447 MovieClip {Page25} Frame 1 | Symbol 444 EditableText |
"CR" | Symbol 455 MovieClip {Page26} Frame 1 | Symbol 450 EditableText |
"CR" | Symbol 455 MovieClip {Page26} Frame 1 | Symbol 453 EditableText |
"CR" | Symbol 464 MovieClip {Page27} Frame 1 | Symbol 458 EditableText |
"CR" | Symbol 464 MovieClip {Page27} Frame 1 | Symbol 461 EditableText |
"CR" | Symbol 473 MovieClip {Page28} Frame 1 | Symbol 467 EditableText |
"CR" | Symbol 473 MovieClip {Page28} Frame 1 | Symbol 470 EditableText |
"CR" | Symbol 481 MovieClip {Page29} Frame 1 | Symbol 476 EditableText |
"CR" | Symbol 481 MovieClip {Page29} Frame 1 | Symbol 479 EditableText |
Special Tags
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
FileAttributes (69) | Timeline Frame 1 | Access local files only, Metadata not present, AS3. |
ScriptLimits (65) | Timeline Frame 1 | MaxRecursionDepth: 256, ScriptTimeout: 65535 seconds |
|