SlideShare une entreprise Scribd logo
1  sur  13
ActionScript 3 (AS3)
Workshop für Einsteiger
AS3 Workshop Gregor Sklorz
Me
• Gregor Sklorz
o Dipl. Ing. der Medieninformatik
o Geb: 26.01.1981
o Stepstones:
 Siemens: IT-System Azubi
 Fachabitur: Informatik
 FH Studium: Informatik (50%)
 FH Studium: Medieninformatik
 Gameforge: Entwickler
AS3 Workshop Gregor Sklorz
Content
• Day 1
o Flash / AS3
 History
 Basics
 Workflow
o Own little Game
 Bottom up
 Step by step
AS3 Workshop Gregor Sklorz
Content
• Day 2
o Extended prepared Game Elements
 XML
 Socket Connection
 ...
 ...
 ...
AS3 Workshop Gregor Sklorz
Content
• Dont´s
o Flash IDE
o AS2
o Design Pattern
o Algorithms
o Performance optimization
AS3 Workshop Gregor Sklorz
Was ist Flash
Flash
SWF
Runtimes
Flex
Compiler
ActionScript
Flex
Flash IDE
( CS )
ActionScript
Timeline
Animations
Client
Browser
Plugin
Flash Player
Stand alone
Player
Flash Player AIR
AS3 Workshop Gregor Sklorz
Flash History
1996: Future
Splash
1997:
Macromedia
Flash 1...4
• Macromedia
Player
2000:
Macromedia
Flash 5...MX
• Actionscript 1
• Shockwave /
Flash Player
2003:
Flash
MX 7...8
• Actionscript 2
• Flash Player ...8
2007:
Adobe Flash
CS3...CS5
• Actionscript 3
• Flash Player
9...10
? 2011:
• Molehill
• Flash Player 11
Actionscript:
Eine ECMA basiert Scriptsprache zur Entwicklung von Flash
Applikationen (SWF).
- Seit Version 3 eine eigenständige Entwicklungsumgebung.
AS3 Workshop Gregor Sklorz
Workflow
movie.fla
• Timeline
Flash IDE
• Tool
movie.swf
• Byte Code
Flashplayer
• Interpreter
main.as
• Text
mxmlc
• Compiler
main.swf
• Byte Code
Flashplayer
• Interpreter
mxmlc main.as
• Flex SDK
• JRE
Flash IDE:
AS3 Workshop Gregor Sklorz
Prepare
• Projektstruktur
o main.as
o Namespaces
• Metatags
o [SWF(width="800", height="600", frameRate="30", backgroundColor="#FFFFFF")]
• Keywords
o var , new, class, Object, function (constructor)
• Konsolenausgabe
o trace
o FlashConnect
• Referenz:
http://help.adobe.com/de_DE/FlashPlatform/reference/actionscript/3/index.html
• Manual:
http://livedocs.adobe.com/flex/3/html/help.html
AS3 Workshop Gregor Sklorz
Task 1
• Actionscript 3 Projekt erstellen
• Leer kompilieren
• Object erstellen
o Werte zuweisen
• Alle Werte auf der Konsole ausgeben
• Debuggen (vorgesetzer Code)
AS3 Workshop Gregor Sklorz
AS3 Workshop Gregor Sklorz
Prepare
AS3 Workshop Gregor Sklorz
Task 2

Contenu connexe

En vedette

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 

AS3 basics Workshop

  • 2. AS3 Workshop Gregor Sklorz Me • Gregor Sklorz o Dipl. Ing. der Medieninformatik o Geb: 26.01.1981 o Stepstones:  Siemens: IT-System Azubi  Fachabitur: Informatik  FH Studium: Informatik (50%)  FH Studium: Medieninformatik  Gameforge: Entwickler
  • 3. AS3 Workshop Gregor Sklorz Content • Day 1 o Flash / AS3  History  Basics  Workflow o Own little Game  Bottom up  Step by step
  • 4. AS3 Workshop Gregor Sklorz Content • Day 2 o Extended prepared Game Elements  XML  Socket Connection  ...  ...  ...
  • 5. AS3 Workshop Gregor Sklorz Content • Dont´s o Flash IDE o AS2 o Design Pattern o Algorithms o Performance optimization
  • 6. AS3 Workshop Gregor Sklorz Was ist Flash Flash SWF Runtimes Flex Compiler ActionScript Flex Flash IDE ( CS ) ActionScript Timeline Animations Client Browser Plugin Flash Player Stand alone Player Flash Player AIR
  • 7. AS3 Workshop Gregor Sklorz Flash History 1996: Future Splash 1997: Macromedia Flash 1...4 • Macromedia Player 2000: Macromedia Flash 5...MX • Actionscript 1 • Shockwave / Flash Player 2003: Flash MX 7...8 • Actionscript 2 • Flash Player ...8 2007: Adobe Flash CS3...CS5 • Actionscript 3 • Flash Player 9...10 ? 2011: • Molehill • Flash Player 11 Actionscript: Eine ECMA basiert Scriptsprache zur Entwicklung von Flash Applikationen (SWF). - Seit Version 3 eine eigenständige Entwicklungsumgebung.
  • 8. AS3 Workshop Gregor Sklorz Workflow movie.fla • Timeline Flash IDE • Tool movie.swf • Byte Code Flashplayer • Interpreter main.as • Text mxmlc • Compiler main.swf • Byte Code Flashplayer • Interpreter mxmlc main.as • Flex SDK • JRE Flash IDE:
  • 9. AS3 Workshop Gregor Sklorz Prepare • Projektstruktur o main.as o Namespaces • Metatags o [SWF(width="800", height="600", frameRate="30", backgroundColor="#FFFFFF")] • Keywords o var , new, class, Object, function (constructor) • Konsolenausgabe o trace o FlashConnect • Referenz: http://help.adobe.com/de_DE/FlashPlatform/reference/actionscript/3/index.html • Manual: http://livedocs.adobe.com/flex/3/html/help.html
  • 10. AS3 Workshop Gregor Sklorz Task 1 • Actionscript 3 Projekt erstellen • Leer kompilieren • Object erstellen o Werte zuweisen • Alle Werte auf der Konsole ausgeben • Debuggen (vorgesetzer Code)
  • 12. AS3 Workshop Gregor Sklorz Prepare
  • 13. AS3 Workshop Gregor Sklorz Task 2