Zurück   Flashforum > Flex und AIR > Flex allgemein

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 19-01-2011, 12:19   #1 (permalink)
Neuer User
 
Benutzerbild von Silver_Surfer
 
Registriert seit: Sep 2009
Beiträge: 253
Question Touch Events nur bei AIR?

Moin Freunde,

gibt es die ganzen touch und multitouch events nur in air oder auch in flex?
würde gerne eine kleine demo flex app machen mit touchevents um diese auf nem mac zu testen aber wenn ich ein neues flex projekt anlege, dann fehlen die?

mfg
Silver_Surfer ist offline   Mit Zitat antworten
Alt 19-01-2011, 12:30   #2 (permalink)
undefined
 
Benutzerbild von mildesign
 
Registriert seit: Jul 2001
Ort: Stuttgart
Beiträge: 1.839
Versuch mal den interactionMode zu setzen. Touch Sollte auch im Flash 10.1 funktionieren
Adobe Flex Hero * Handling user input in a mobile application
Zitat:
The way you handle user input in a mobile application differs from the way you handle it for a desktop or browser application. In a desktop application built for AIR, or in a browser application built for Flash Player, the primary input devices are a mouse and keyboard. For mobile devices, the primary input device is a touch screen. There is often some type of keyboard, and some devices also include a five-way directional input method (left, right, up, down, and select).

The mx.core.UIComponent class defines the interactionMode style property that you use to configure components for the type of input used in the application. For the Halo and Spark themes, the default value is mouse to indicate that the mouse is the primary input device. For the Mobile theme, the default value is touch to indicate the primary input is the touch screen.
Edit:
Was für eine SDK Version verwendest du?

Willst du die FlexKomponenten mit Touch steuern oder hast du keinen Zugriff auf die TouchEvents in CodeEditor?
bei Letzterem ist vermutlich die TargetVersion im FlexCompiler zu gering eingestellt (vermutlich 9 oder 10.0 und nicht 10.1)
__________________
mfg Frank

Geändert von mildesign (19-01-2011 um 12:34 Uhr)
mildesign ist offline   Mit Zitat antworten
Alt 19-01-2011, 12:37   #3 (permalink)
Neuer User
 
Benutzerbild von Silver_Surfer
 
Registriert seit: Sep 2009
Beiträge: 253
Vielen Dank, das wars auf 10.1 umstellen jetzt gehts! 100000 dank!!

Edit hab Flex 4.1 AIR 2.5
Silver_Surfer ist offline   Mit Zitat antworten
Antwort

Lesezeichen

Themen-Optionen
Ansicht

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks sind an
Pingbacks sind an
Refbacks sind an


Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
MX 2004 Pro und Touch-Screen-Handy Roland K Flash MX 2004 0 28-02-2010 19:39
Workshop: Stay in Touch - Multi-Touch Anwendungen marc FFK10 2 13-02-2010 22:26
COPIC versus TOUCH Marker Agent-Orange Am Rande 26 07-07-2009 11:46
http://www.touch-ds.jp/fla.html Steven_LS5 Coolsites 3 16-11-2004 06:39
Flash Filme mit Nostalgie-Touch? dermiller Gestaltungstheorien 3 25-01-2004 01:23


Alle Zeitangaben in WEZ +1. Es ist jetzt 09:57 Uhr.

Domains, Webhosting & Vserver von Host Europe
Unterstützt das Flashforum!
Adobe User Group


Copyright ©1999 – 2012 Marc Thiele