Actionscript 3 - Session 2 Getting Started Flash IDEOUM SAOKOSAL
Actionscript 3 - Session 2 Getting Started Flash IDE
Taught by Oum Saokosal, Head of Information Technology, National Polytechnic Institute of Cambodia
Sandboxing is a virtual operating environment for ensuring viruses and other malicious software are completely isolated from the rest of your computer.
Actionscript 3 - Session 5 The Display Api And The Display ListOUM SAOKOSAL
Actionscript 3 - Session 5 The Display Api And The Display List
Taught by Oum Saokosal, Head of Information Technology, National Polytechnic Institute of Cambodia
Actionscript 3 - Session 2 Getting Started Flash IDEOUM SAOKOSAL
Actionscript 3 - Session 2 Getting Started Flash IDE
Taught by Oum Saokosal, Head of Information Technology, National Polytechnic Institute of Cambodia
Sandboxing is a virtual operating environment for ensuring viruses and other malicious software are completely isolated from the rest of your computer.
Actionscript 3 - Session 5 The Display Api And The Display ListOUM SAOKOSAL
Actionscript 3 - Session 5 The Display Api And The Display List
Taught by Oum Saokosal, Head of Information Technology, National Polytechnic Institute of Cambodia
The following GUI is displayed once the application startsThe sug.pdfarihantsherwani
The following GUI is displayed once the application starts:
The suggested size of the GUI is 640x480.
There are 10 targets displayed with random x/y values within the following ranges:
Valid x values are between 40 and (width-40)
Valid y values are between 50 and 150.
No movement on the GUI is allowed until the user presses the “Down Arrow” key. Once the user
presses the “Down Arrow” key,allthe targets will slowly move to the bottom (x value must
remain the same).
(I suggest slowing the targets down as they move towards the bottom to make the game more
interesting. Instead of adding one to the y coordinate for each target every 0.025 seconds, add
one-third instead).
A timer is also implemented and shown at the top of the GUI (Shown currently as Time: 0.000).
As soon as the user presses the “Down Arrow” key, the timer will start and maintain the total
time that the user has been playing the game in seconds. The precision of the timer should be to 3
decimal places (thousandths of a second)
Once the user presses the “Down Arrow” key, the user will also be able to move the cannon in
the horizontal direction between the left (0) margin and the right (width -1) margin only using
the following three options:
Pressing the “Right Arrow” key moves the cannon 5 pixels to the right
Pressing the “Left Arrow” key moves the cannon 5 pixels to the left
The user can drag the cannon by using the mouse to any horizontal position between 0 and width
-1. (Must be implemented as a mouseDragged)
Once the user has positioned the cannon in the desired horizontal location, he can fire a
cannonball from the cannon by pressing the “Up Arrow” key.
Firing the cannon consists of displaying a cannonball on the screen at the end of the cannon
barrel and gradually moving the cannonball upward (vertical direction only) towards the desired
target. The cannonball image is given as cannonball.png and is shown below:
An example of initially displaying the cannonball upon pressing the “Up Arrow” key at the end
of the cannon barrel is shown below:
The cannonball should move upward gradually (between 1 to 5 pixels every .025 seconds) from
the cannon barrel as shown below:
The cannonball continues to move upward until it either :
Hits a target
Reaches the upward boundary
An example of the cannonball missing a target and travelling to the top boundary is shown
below:
The following should be performed if the cannonball hits a target:
Remove the target from the screen
Remove the cannonball from the screen (only one target can be hit by a single cannonball)
Assume that only one cannonball can be on the screen at a time. (You should prevent the cannon
from firing while a cannonball is still visible on the display)
Each time a cannonball is fired, the shot information is incremented by 1 and displayed at the top
of the display.
Each time a target is hit, the score information is incremented by 1 and displayed at the top of the
display.
A mosaic illustrating the playing of the game is shown .
Patrick H. Lauke - Getting Touchy; an introduction to touch and pointer eventsDevConFu
Beyond smartphones and tablets, touchscreens are finding their way into laptops and even desktop computers. With hardware support for touch becoming increasingly ubiquitous, it's time to explore what new possibilities are available to developers. This session will cover the basics of handling touch events - from making sure simple single-tap interactions are as responsive as possible, all the way to full multitouch, gesture-enabled, cross-browser interface elements.
The following GUI is displayed once the application startsThe sug.pdfarihantsherwani
The following GUI is displayed once the application starts:
The suggested size of the GUI is 640x480.
There are 10 targets displayed with random x/y values within the following ranges:
Valid x values are between 40 and (width-40)
Valid y values are between 50 and 150.
No movement on the GUI is allowed until the user presses the “Down Arrow” key. Once the user
presses the “Down Arrow” key,allthe targets will slowly move to the bottom (x value must
remain the same).
(I suggest slowing the targets down as they move towards the bottom to make the game more
interesting. Instead of adding one to the y coordinate for each target every 0.025 seconds, add
one-third instead).
A timer is also implemented and shown at the top of the GUI (Shown currently as Time: 0.000).
As soon as the user presses the “Down Arrow” key, the timer will start and maintain the total
time that the user has been playing the game in seconds. The precision of the timer should be to 3
decimal places (thousandths of a second)
Once the user presses the “Down Arrow” key, the user will also be able to move the cannon in
the horizontal direction between the left (0) margin and the right (width -1) margin only using
the following three options:
Pressing the “Right Arrow” key moves the cannon 5 pixels to the right
Pressing the “Left Arrow” key moves the cannon 5 pixels to the left
The user can drag the cannon by using the mouse to any horizontal position between 0 and width
-1. (Must be implemented as a mouseDragged)
Once the user has positioned the cannon in the desired horizontal location, he can fire a
cannonball from the cannon by pressing the “Up Arrow” key.
Firing the cannon consists of displaying a cannonball on the screen at the end of the cannon
barrel and gradually moving the cannonball upward (vertical direction only) towards the desired
target. The cannonball image is given as cannonball.png and is shown below:
An example of initially displaying the cannonball upon pressing the “Up Arrow” key at the end
of the cannon barrel is shown below:
The cannonball should move upward gradually (between 1 to 5 pixels every .025 seconds) from
the cannon barrel as shown below:
The cannonball continues to move upward until it either :
Hits a target
Reaches the upward boundary
An example of the cannonball missing a target and travelling to the top boundary is shown
below:
The following should be performed if the cannonball hits a target:
Remove the target from the screen
Remove the cannonball from the screen (only one target can be hit by a single cannonball)
Assume that only one cannonball can be on the screen at a time. (You should prevent the cannon
from firing while a cannonball is still visible on the display)
Each time a cannonball is fired, the shot information is incremented by 1 and displayed at the top
of the display.
Each time a target is hit, the score information is incremented by 1 and displayed at the top of the
display.
A mosaic illustrating the playing of the game is shown .
Patrick H. Lauke - Getting Touchy; an introduction to touch and pointer eventsDevConFu
Beyond smartphones and tablets, touchscreens are finding their way into laptops and even desktop computers. With hardware support for touch becoming increasingly ubiquitous, it's time to explore what new possibilities are available to developers. This session will cover the basics of handling touch events - from making sure simple single-tap interactions are as responsive as possible, all the way to full multitouch, gesture-enabled, cross-browser interface elements.
Class Diagram | OOP and Design Patterns by Oum SaokosalOUM SAOKOSAL
Class Diagram is one of the most important diagram for design OOP application. It shows how a class relates to another class. Hello, my name is Oum Saokosal and this is my powerpoint slide for my course of OOP and Design Patterns.
Find me at https://youtube.com/oumsaokosal
and http://kosalgeek.com
or follow me at https://twitter.com/okosal
Java OOP Programming language (Part 6) - Abstract Class & InterfaceOUM SAOKOSAL
Java OOP Programming language (Part 6) - Abstract Class & Interface
Oum Saokosal
Where to me find me more:
YouTube: https://www.youtube.com/user/oumsaokosal
FB Page: https://facebook.com/kosalgeek
PPT: https://www.slideshare.net/oumsaokosal
Twitter: https://twitter.com/okosal
Web: http://kosalgeek.com
Java OOP Programming language (Part 3) - Class and ObjectOUM SAOKOSAL
Java OOP Programming language (Part 3) - Class and Object
Oum Saokosal
Where to me find me more:
YouTube: https://www.youtube.com/user/oumsaokosal
FB Page: https://facebook.com/kosalgeek
PPT: https://www.slideshare.net/oumsaokosal
Twitter: https://twitter.com/okosal
Web: http://kosalgeek.com
Java OOP Programming language (Part 1) - Introduction to JavaOUM SAOKOSAL
Java OOP Programming language (Part 1) - Introduction to Java
In this slide, you will the basic of Java. Where Java came from and how it evolves? And start your first Java app.
Oum Saokosal
Where to me find me more:
YouTube: https://www.youtube.com/user/oumsaokosal
FB Page: https://facebook.com/kosalgeek
PPT: https://www.slideshare.net/oumsaokosal
Twitter: https://twitter.com/okosal
Web: http://kosalgeek.com
Javascript & DOM - Part 1- Javascript Tutorial for Beginners with ExamplesOUM SAOKOSAL
In this the part 1 of the series Javascript Tutorial for Beginners with Examples, you will learn the fundamental of Javascript & DOM. By the end of this tutorial, you will be able to grab the most important concepts of all Javascript and DOM. I start off with what is DOM, how to get element from DOM. And I move to Javascript language (if, else, switch, case, for, while, do while) and then the array. Then I will explain the functions with 3 types: normal function, anonymous function, and self-invoke function. Lastly, I teach the combination of JS and DOM.
Please find me at:
https://youtube.com/user/oumsaokosal
https://slideshare.net/oumsaokosal
https://facebook.com/kosalgeek
https://twitter.com/okosal
https://github.com/kosalgeek
https://kosalgeek.com
Oum Saokosal
In March 1964, Kitty Genovese was attacked in a Queens parking lot at 3 am. Almost 40 people watched from their windows while she was beaten and stabbed to death over a half hour period. No one even called the police until after the attacker fled.
Why didn’t anyone try to help her?
Latane & Darley's experiments.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...Levi Shapiro
Letter from the Congress of the United States regarding Anti-Semitism sent June 3rd to MIT President Sally Kornbluth, MIT Corp Chair, Mark Gorenberg
Dear Dr. Kornbluth and Mr. Gorenberg,
The US House of Representatives is deeply concerned by ongoing and pervasive acts of antisemitic
harassment and intimidation at the Massachusetts Institute of Technology (MIT). Failing to act decisively to ensure a safe learning environment for all students would be a grave dereliction of your responsibilities as President of MIT and Chair of the MIT Corporation.
This Congress will not stand idly by and allow an environment hostile to Jewish students to persist. The House believes that your institution is in violation of Title VI of the Civil Rights Act, and the inability or
unwillingness to rectify this violation through action requires accountability.
Postsecondary education is a unique opportunity for students to learn and have their ideas and beliefs challenged. However, universities receiving hundreds of millions of federal funds annually have denied
students that opportunity and have been hijacked to become venues for the promotion of terrorism, antisemitic harassment and intimidation, unlawful encampments, and in some cases, assaults and riots.
The House of Representatives will not countenance the use of federal funds to indoctrinate students into hateful, antisemitic, anti-American supporters of terrorism. Investigations into campus antisemitism by the Committee on Education and the Workforce and the Committee on Ways and Means have been expanded into a Congress-wide probe across all relevant jurisdictions to address this national crisis. The undersigned Committees will conduct oversight into the use of federal funds at MIT and its learning environment under authorities granted to each Committee.
• The Committee on Education and the Workforce has been investigating your institution since December 7, 2023. The Committee has broad jurisdiction over postsecondary education, including its compliance with Title VI of the Civil Rights Act, campus safety concerns over disruptions to the learning environment, and the awarding of federal student aid under the Higher Education Act.
• The Committee on Oversight and Accountability is investigating the sources of funding and other support flowing to groups espousing pro-Hamas propaganda and engaged in antisemitic harassment and intimidation of students. The Committee on Oversight and Accountability is the principal oversight committee of the US House of Representatives and has broad authority to investigate “any matter” at “any time” under House Rule X.
• The Committee on Ways and Means has been investigating several universities since November 15, 2023, when the Committee held a hearing entitled From Ivory Towers to Dark Corners: Investigating the Nexus Between Antisemitism, Tax-Exempt Universities, and Terror Financing. The Committee followed the hearing with letters to those institutions on January 10, 202
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
The Roman Empire A Historical Colossus.pdfkaushalkr1407
The Roman Empire, a vast and enduring power, stands as one of history's most remarkable civilizations, leaving an indelible imprint on the world. It emerged from the Roman Republic, transitioning into an imperial powerhouse under the leadership of Augustus Caesar in 27 BCE. This transformation marked the beginning of an era defined by unprecedented territorial expansion, architectural marvels, and profound cultural influence.
The empire's roots lie in the city of Rome, founded, according to legend, by Romulus in 753 BCE. Over centuries, Rome evolved from a small settlement to a formidable republic, characterized by a complex political system with elected officials and checks on power. However, internal strife, class conflicts, and military ambitions paved the way for the end of the Republic. Julius Caesar’s dictatorship and subsequent assassination in 44 BCE created a power vacuum, leading to a civil war. Octavian, later Augustus, emerged victorious, heralding the Roman Empire’s birth.
Under Augustus, the empire experienced the Pax Romana, a 200-year period of relative peace and stability. Augustus reformed the military, established efficient administrative systems, and initiated grand construction projects. The empire's borders expanded, encompassing territories from Britain to Egypt and from Spain to the Euphrates. Roman legions, renowned for their discipline and engineering prowess, secured and maintained these vast territories, building roads, fortifications, and cities that facilitated control and integration.
The Roman Empire’s society was hierarchical, with a rigid class system. At the top were the patricians, wealthy elites who held significant political power. Below them were the plebeians, free citizens with limited political influence, and the vast numbers of slaves who formed the backbone of the economy. The family unit was central, governed by the paterfamilias, the male head who held absolute authority.
Culturally, the Romans were eclectic, absorbing and adapting elements from the civilizations they encountered, particularly the Greeks. Roman art, literature, and philosophy reflected this synthesis, creating a rich cultural tapestry. Latin, the Roman language, became the lingua franca of the Western world, influencing numerous modern languages.
Roman architecture and engineering achievements were monumental. They perfected the arch, vault, and dome, constructing enduring structures like the Colosseum, Pantheon, and aqueducts. These engineering marvels not only showcased Roman ingenuity but also served practical purposes, from public entertainment to water supply.
Overview on Edible Vaccine: Pros & Cons with Mechanism
Actionscript 3 - Session 6 Interactivity
1. Computer Animation with Flash CS3 & ActionScript 3.0 National Polytechnic Institute of Cambodia Bachelor of IT, Year III, Semester 1 2007-2008 by Oum Saokosal, Head of IT Department