Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 17-11-2004, 10:10   #1 (permalink)
HiPeople
 
Registriert seit: Apr 2002
Beiträge: 135
mp3 stream

hallo,

kann mir mal jemand sagen warum das hier nicht geht,
wenn im onEnterFrame bereich ein trace machen will, erhalte ich immer 'undefined'.
mein pfade sind doch alle richtig, ODER ?

Code:
_root.createEmptyMovieClip('loop',100);

_root.loop.onLoad=function()
	{
	this.s=new Sound();
	this.s.loadSound('mp3/loop.mp3',true);
	this.s.dur=this.s.duration;
	this.s.pos=this.s.position;
	}

_root.loop.onEnterFrame=function()
	{
	trace(this.s.pos);
	}

danke
superheftig ist offline   Mit Zitat antworten
Alt 17-11-2004, 10:10   #2 (permalink)
HiPeople
 
Registriert seit: Apr 2002
Beiträge: 135
der code

_root.createEmptyMovieClip('loop',100);

_root.loop.onLoad=function()
{
this.s=new Sound();
this.s.loadSound('mp3/loop.mp3',true);
this.s.dur=this.s.duration;
this.s.pos=this.s.position;
}

_root.loop.onEnterFrame=function()
{
trace(this.s.pos);
}
superheftig 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



Alle Zeitangaben in WEZ +1. Es ist jetzt 01:04 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele