Zurück   Flashforum > Flash > ActionScript > ActionScript 1

Antwort
 
LinkBack Themen-Optionen Ansicht
Alt 02-03-2005, 17:35   #1 (permalink)
Neuer User
 
Registriert seit: Jun 2004
Beiträge: 68
wieso??

function vollbild(){
this.createEmptyMovieClip("voll", 10);
this.voll.loadMovie("Grafiken/Expande.jpg");
this.voll._x = 125;
this.voll._y = 125;
this.voll._visible = false;
trace(voll._visible);
};

vollbild();


wieso funktioniert das nicht?
dat ******teil wird einfach nicht invisible


gruß bourne
Bourne ist offline   Mit Zitat antworten
Alt 02-03-2005, 17:42   #2 (permalink)
Blutsauger
 
Benutzerbild von GrafvonKrolock
 
Registriert seit: Mar 2005
Beiträge: 112
Hallole

In dem Moment, in dem Du den MC unsichtbar machst, ist das Bild noch nicht vollständig geladen. Du solltest also einen Preloader o.Ä. einbauen.

Gruß
Graf
__________________
Carpe Noctem
GrafvonKrolock ist offline   Mit Zitat antworten
Alt 02-03-2005, 18:19   #3 (permalink)
Neuer User
 
Benutzerbild von the binary
 
Registriert seit: Jul 2001
Ort: Berlin | Friedrichshain
Beiträge: 3.561
völlig normal, denn du kannst in einer function mit 'this' keinen mc erstellen..

wenn, dann musst entweder eine referenz auf einen mc übergeben,
oder 'unsauber' auf _root zugreifen.

gruss
__________________
8bm | join ff@BOINC
formpackage.org | audiohunter.de | problematica.de | 8ball-media.de/blog | taikonauten.cn
the binary ist offline   Mit Zitat antworten
Alt 02-03-2005, 19:20   #4 (permalink)
Neuer User
 
Registriert seit: Jun 2004
Beiträge: 68
naja

naja egal has anders gemacht


function vollbild(){
this.createEmptyMovieClip("voll", 10);
this.voll.beginFill(0x000000, 0);
this.voll.lineStyle(1, 0x660000, 100);
this.voll.moveTo(0, 0);
this.voll.lineTo(32, 0);
this.voll.lineTo(32, 32);
this.voll.lineTo(0, 32);
this.voll.moveTo(3, 3);
this.voll.lineTo(3, 29);
this.voll.lineTo(29, 29);
this.voll.lineTo(29, 3);
this.voll.lineTo(3, 3);
this.voll.moveTo(6,6);
this.voll.lineTo(26,26);
this.voll.moveTo(26,6);
this.voll.lineTo(6,26);

this.voll.moveTo(6,6);
this.voll.lineTo(6,12);
this.voll.moveTo(6,6);
this.voll.lineTo(12,6);

this.voll.moveTo(26,6);
this.voll.lineTo(20,6);
this.voll.moveTo(26,6);
this.voll.lineTo(26,12);

this.voll.moveTo(26,26);
this.voll.lineTo(26,20);
this.voll.moveTo(26,26);
this.voll.lineTo(20,26);

this.voll.moveTo(6,26);
this.voll.lineTo(12,26);
this.voll.moveTo(6,26);
this.voll.lineTo(6,20);

this.voll.moveTo(12,12);
this.voll.lineTo(12,18);
this.voll.moveTo(12,12);
this.voll.lineTo(18,12);

this.voll.moveTo(20,12);
this.voll.lineTo(14,12);
this.voll.moveTo(20,12);
this.voll.lineTo(20,18);

this.voll.moveTo(20,20);
this.voll.lineTo(20,14);
this.voll.moveTo(20,20);
this.voll.lineTo(14,20);

this.voll.moveTo(12,20);
this.voll.lineTo(18,20);
this.voll.moveTo(12,20);
this.voll.lineTo(12,14);

this.voll.endFill();
this.voll._x = 125;
this.voll._y = 125;
this.voll._visible = false;

};


so und nun habe ich das problem dass meine maus nicht überall den button berühert wie kann ich das ändern ohne dass man es sieht??

aslo quasi in dem viereckigen bereich von 0,0 bis 32,32 ??


gruß Bourne
Bourne ist offline   Mit Zitat antworten
Alt 03-03-2005, 09:50   #5 (permalink)
.
 
Registriert seit: May 2003
Ort: bayern
Beiträge: 1.117
so, jetzt hast du dir was feines gemalt, und bitte was möchtest du jetzt ganau?
__________________
[mooseMash]
mooseMash 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 15:23 Uhr.

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


Copyright ©1999 – 2012 Marc Thiele