PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Graphisme & Infographie > macromedia.flash > scene won't move on due to actionscript
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
scene won't move on due to actionscript

Réponse
 
LinkBack Outils de la discussion
Vieux 24/06/2008, 19h53   #1
homedeeth
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut scene won't move on due to actionscript

copied this code (typewriter effect) which works but the swf file isn't moving
from the scene onto the next. i've only got 2 scenes at the moment but it's not
progressing. please can someone ? thanks
FRAME1
stop();
start_btn.onRelease = function() {
gotoAndStop(5);
};

FRAME3
var q:Number = 1;
var typeSpeed:Number = 100; // time between letters in milliseconds; smaller
numbers dictate faster typing
var copy:String = "Welcome to the CV of :\n Michael Homer";
function type():Void {
textbox = copy.substring(0, q);
q++;
if (q == copy.length) {
textbox = copy;
clearInterval(typeInterval);
}
}
typeInterval = setInterval(this, "type", typeSpeed);


  Réponse avec citation
Vieux 24/06/2008, 23h52   #2
dzedward
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: scene won't move on due to actionscript

why would it go to the next scene? you're telling it to stop on frame 1, then go to and stop on frame 5...
  Réponse avec citation
Vieux 25/06/2008, 06h10   #3
margotdarby
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: scene won't move on due to actionscript

It looks as though you are saying gotoAndStop(5) when you mean gotoAndStop(3)...or else your frame3 code should really be in frame 5, if that's where you've put a textbox.
  Réponse avec citation
Vieux 25/06/2008, 11h16   #4
homedeeth
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: scene won't move on due to actionscript

thaks for that interesting reply. i don't know anything about actionscript
hence me asking about something that is so simple to yourself. i just copied it
into flash and voila it worked but the scene didn't move on......

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 18h34.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09581 seconds with 12 queries