» Martin_Fleck
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Martin_Fleck

show on map


Registered since 29/01/05
Last seen never
Forum Profile Martin_Fleck

This is a list of contributions to the website made by user Martin_Fleck. Every revision of a content type created will show up seperately here.

This is a list of contributions to the website made by user Martin_Fleck. Every revision of a content type created will show up seperately here.

Title Type Created date
re: S+H Forum Reply 14 years 49 weeks ago
S+H Forum Post 14 years 49 weeks ago
Output von Contoure/... Forum Post 14 years 49 weeks ago
re: interface control... Forum Reply 14 years 49 weeks ago
re: interface control... Forum Reply 14 years 49 weeks ago
re: improve simple nodes Forum Reply 14 years 49 weeks ago
Renderer Forum Post 14 years 49 weeks ago
Flash XML Socket Security Forum Post 14 years 49 weeks ago
Chat (Fanclub) inside... Forum Post 14 years 49 weeks ago

This is a list of contributions to the website made by user Martin_Fleck. Every revision of a content type created will show up seperately here.

This is a list of contributions to the website made by user Martin_Fleck. Every revision of a content type created will show up seperately here.


Verbesserung von Kommunikation mit Flash

Bisherige Situation:

  • Strings können über die Input-Pins "Set Which Variable?" und "Set Variable to which value?" des Node "Renderer (Flash)" an einen Flashfilm übergeben werden
  • werden dann als Variablen im Root der Flash-Umgebung abgelegt
  • der Zugriff auf die Variablen erfolgt per Frameschleife (onEnterFrame-Event) oder Überwachung (Object.watchOf) => kompliziert & unsexy
  • Strings können über Input-Pin "Get Which Variable?" in Kombination mit dem Output-Pin "Return value" den Wert einer Variable ausgegeben

Zukünftige Situation:

  • Flash Player 8 bietet neue ExternalInterface-Schnittstelle für Kommunikation mit seiner Container-Umgebung
  • dabei werden Methoden im Flashfilm angetriggert
  • mehrere Datentypen können beim Aufruf übergeben werden (nicht nur Strings, sondern auch Arrays (Spreads) und Objekte)
  • Aufrufe sind synchron, d.h. die Rückgabe der Methode steht unmittelbar zur Verfügung
  • Erweiterung der ActiveX-Schnittstelle:
  • flashMovie.FlashCall(): String; // wird aufgerufen, falls ein Methodenaufruf innerhalb von Flash gestartet wurde
  • flashMovie.CallFunction (data: String) : Void; // ruft Methode im Flashfilm auf
  • Datenaustausch erfolgt hierbei per XML:

<invoke name="TheMethod" returntype="xml"><arguments><string>A sample stringparam...</string></arguments></invoke>

Weitere neue Flash 8 Features:

  • Runtime Bitmap Caching
  • Bitmap-API (getPixel, setPixel, ...)
  • Filter (Blur, Glow, Bevel, Gradient, Convolution, DisplacementMap, ColorMatrix, DropShadow, ...)
  • BlendModes (Lighten, Darken, Screen, Multiply, Overlay, Invert, Difference, Layer, ...)

Flash Player Ausblick:

  • Flash Player 8.5, derzeit im Alpha-Stadium
  • Release in der ersten Hälfte des Jahres 2006
  • enthält neugebaute hoch-optimierte ActionScript Virtual Machine (AVM)
  • Performance dann ähnlich Proce55ing/Director
  • ActionScript 3.0-Syntax [2]
  • konform mit ECMAScript Edition 3 (ECMA-262)

- enthält Referenz-Implementation von ECMAScript Edition 4 (ES4)
- Vollständige Unterstützung von W3C standard DOM Level 3 Event Model

Input-/Output-Pins von Node (Flash Renderer):

  • Input-Pins:
  • Methodname
  • String Input
  • Number Input
  • Output-Pins:
  • Version // WIN 8,0,22,0
  • Methodname
  • String Output
  • Number Output
  • Errors // z.B. Rekursionsfehler oder Methode nicht gefunden

Ideen/Anwendungsmöglichkeiten:

  • Plugin-System
  • Flash-Framework/API das Aufruf und Rückgabe automatisiert, so müssen nur die spezifischen Methoden in ActionScript programmiert werden
  • Kompilierung erfolgt dann per OpenSource-Compiler (benötigt keine Flash IDE!)
  • Spiele-Engine coden und Ausgabe per DX9 in VVVV patchen
  • XML-DOM Parser nutzen
  • Hochwertiges Textrendering
  • Robuste 2D-Drawing API (kann z.B. als Subpatch zur Verfügung gestellt werden)
  • Animationen/Timelines benutzen
  • Zugriff auf Formulare/UI-Elemente (Textfelder, Button, Scrollbars, ...)

Zeitplanung:

  • Erste Integration in Delphi: ~2-5 Tage
  • Datenaustausch von mehreren Spread-Datentypen (String, Value, Color, ...) mit ActionScript samt Serialisierung: ~3-10 Tage
  • Flash-Framework für Plugin-System (samt OpenSource-Compiler-Umgebung, benötigt keine Flash IDE!): ~2-5 Tage
  • Demoanwendung mit Flash/VVVV: ~3-10 Tage

Links:
http://labs.macromedia.com/technologies/flashplayer8_5/
http://labs.macromedia.com/technologies/actionscript3/
http://livedocs.macromedia.com/labs/1/flex/langref/flash/external/ExternalInterface.html
http://www.flashmagazine.com/1133.htm

anonymous user login

Shoutbox

~4mth ago

joreg: END OF SHOUTBOX! As this page has is now legacy, it will no longer feature new content. For latest news, see: http://vvvv.org

~5mth ago

joreg: vvvvTv S0204 is out: Custom Widgets with Dear ImGui: https://youtube.com/live/nrXfpn5V9h0

~5mth ago

joreg: New user registration is currently disabled as we're moving to a new login provider: https://visualprogramming.net/blog/2024/reclaiming-vvvv.org/

~5mth ago

joreg: vvvvTv S02E03 is out: Logging: https://youtube.com/live/OpUrJjTXBxM

~5mth ago

~5mth ago

joreg: Follow TobyK on his Advent of Code: https://www.twitch.tv/tobyklight

~5mth ago

joreg: vvvvTv S02E02 is out: Saving & Loading UI State: https://www.youtube.com/live/GJQGVxA1pIQ

~5mth ago

joreg: We now have a presence on LinkedIn: https://www.linkedin.com/company/vvvv-group

~6mth ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~6mth ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/