| |||||||
Du magst keine Werbung? Wir auch nicht!
Einfach registrieren und die Werbung ist weg. Diese Nachricht sehen nur nicht registrierte Nutzer.
![]() |
| | LinkBack | Themen-Optionen | Ansicht |
| | #1 (permalink) |
| Neuer User Registriert seit: Oct 2009
Beiträge: 4
| Problem mit Remove Child bei Contact Form
Hallo Leute, bin Flash Einsteiger und hab meine erste Flash HP jetzt fast fertig. Hab jetz noch eine Contact Form eingefügt, die auch einwandfrei funktioniert, Problem aber ist: Die Contact Form wird via AS3 erst in der Laufzeit erstellt. Allerdings, wenn ich auf eine andere Unterseite der HP wechsle, dann geht sie auch nicht mehr weg und liegt über allen Unterseiten drüber. Bräuchte also quasi einen Code, der mir erlaubt bei Entern eines anderen Frames ausser dem, in dem die Form erzeugt wird, die Stage auf Instanzen der Contact Form Klasse zu checken und diese dann bei Vorhandensein zu entfernen. Den MC zu entfernen ist kein Problem, bloss ich bekomms einfach nicht hin das ganze in einer If bzw. If-For Schleife zu schreiben. Ich hoffe ihr könnt mir helfen!! Herzlichen Dank schon mal, mfg guitarflow |
| | |
| | #3 (permalink) |
| Neuer User Registriert seit: Oct 2009
Beiträge: 4
| und nochmal mit Code
Ok, folgender Code befindet sich auf Frame 55 in der Timeline: Code: import com.warmforestflash.ContactForm; var contactForm:ContactForm = new ContactForm(); contactForm.x = -200; contactForm.y = -150; // Layout settings contactForm.nameWidth = 400; contactForm.emailWidth = 400; contactForm.messageWidth = 400; contactForm.messageHeight = 200; contactForm.verticalSpacing = 10; // Color settings contactForm.textColor = 0xffffff; contactForm.borderColor = 0x222222; contactForm.backgroundColor = 0x000000; contactForm.selectedBackgroundColor = 0x000000; contactForm.selectedBlurAmount = 50; contactForm.sendButtonTextColor = 0xffffff; contactForm.sendButtonTextRollOverColor = 0xffffff; contactForm.sendButtonColor = 0x05b59a; contactForm.sendButtonRollOverColor = 0xff4400; contactForm.errorColor = 0xff4400; contactForm.confirmationColor = 0x05b59a; contactForm.sendButtonColor = 0xffffff; contactForm.sendButtonTextColor = 0x000000; contactForm.sendButtonRollOverColor = 0x1607A3; contactForm.errorColor = 0xffff00; addChild(contactForm); Meine ganzen anderen Unterseiten befinden sich in der Timeline davor. |
| | |
| | #5 (permalink) |
| Neuer User Registriert seit: Oct 2009
Beiträge: 4
|
Ja, aber das ist ja gerade das Problem! Hab mir gerade deine Seite aus der Signatur angeschaut. Im Endeffekt denke ich habe ich meine Seite ähnlich aufgebaut. Wie hast du das denn gelöst, dass die Contact Form wieder verschwindet?? mfg |
| | |
![]() |
| Lesezeichen |
| Stichworte |
| action script 3, removechild |
| Themen-Optionen | |
| Ansicht | |
| |
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| contact form problem | princepaul | Flash Einsteiger | 2 | 18-09-2008 22:16 |
| Contact Form Das Nicht Funzt | MadNorth | Flash Einsteiger | 0 | 13-05-2008 04:55 |
| contact form geht nicht?! | peili | ActionScript 1 | 3 | 12-05-2004 18:25 |
| contact form geht nicht | peili | ActionScript 1 | 3 | 12-05-2004 15:46 |
| frage zu cgi contact form mit wolfmail | thagame | Flash 4 und Flash 5 | 5 | 27-01-2002 14:29 |