{lang: 'de'}
Flashhilfe.de - Flash Community

TypeError beim Start? [AIR 2]

 


AntwortenRegistrieren Seite1  

shadow_zed#1
Benutzerbild von shadow_zed
Beiträge: 90
Registriert: Feb 2007

01.05.2011, 12:49

Hi,
ich hab folgendes Problem:

Ich wollte eine App für mein Android basteln, aber ich bekomme folgenden Fehler schon wenn ich ein start-Projekt debuggen will: TypeError: Error #1009: Cannot access a property or method of a null object reference.

Ich weiß nich was ich da falsch mache =(

Hier meine application.xml:
ActionScript:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="utf-8" ?>
<application xmlns="http://ns.adobe.com/air/application/2.0">
   
   <id>Bla</id>
   <version>1.0</version>
   <filename>Bla</filename>
   <supportedProfiles>mobileDevice</supportedProfiles>
   
   <name>Bla</name>
   <description></description>
   <copyright></copyright>
   
   <initialWindow>
      <title>Bla</title>
      <content>Bla.swf</content>
      <systemChrome>standard</systemChrome>
      <transparent>false</transparent>
      <visible>true</visible>
      <minimizable>true</minimizable>
      <maximizable>true</maximizable>
      <resizable>true</resizable>
   </initialWindow>
   
   <!--
   More options:
   http://livedocs.adobe.com/flex/3/html/File_formats_1.html#1043413
   -->
</application>


und die main.mxml:
ActionScript:
1
2
3
4
5
6
7
8
9
10
11
12
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                       xmlns:s="library://ns.adobe.com/flex/spark"
                       xmlns:mx="library://ns.adobe.com/flex/mx">
   
   <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
   </fx:Declarations>
   
   
   
</s:WindowedApplication>


leeres Projekt eben. Trotzdem wills ned =(
Bitte bitte helft mir

Gruß
shadow_zed
willie33#2
Benutzerbild von willie33
Beiträge: 147
Wohnort: Qo'noS
Registriert: Nov 2009

01.05.2011, 15:25