Skip to main content

Arrays

  • Chapter
  • First Online:
ActionScript 2

Part of the book series: X.media.press ((XMEDIAP))

  • 1361 Accesses

Zusammenfassung

Wie wir gesehen haben, speichern wir in einer Variablen einen Wert, um ihn später wiederverwenden zu können. Doch was geschieht, wenn wir nicht nur einen, sondern mehrere Werte speichern müssen? Für diese Fälle bietet Flash mit dem Array einen eigenen Datentyp an, der als eine Art Variable mit theoretisch unendlich viel Speicherplatz fungiert. In AS 2.0 ist es nicht möglich, wie bei Variablen einen Datentyp vorzugeben, da das Array selbst als Datentyp gilt, der einer Variablen zugewiesen wird.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

eBook
USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Arno Kohl .

Rights and permissions

Reprints and permissions

Copyright information

© 2011 Springer Berlin Heidelberg

About this chapter

Cite this chapter

Kohl, A. (2011). Arrays. In: ActionScript 2. X.media.press. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-35182-5_9

Download citation

Publish with us

Policies and ethics