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 > Two SWFs Communication
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Two SWFs Communication

Réponse
 
LinkBack Outils de la discussion
Vieux 07/04/2008, 17h54   #1
Magnix
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Two SWFs Communication

How can I have one SWF file to control other SWF. For example, I have a "Home"
button in Flash (header.swf) and when clicked, it loads the HTML page
(index.html) with a Flash Object with an intro Flash (intro.swf), but instead
going through the intro, how do I skip the intro and go directly to the end of
the intro in Flash?

Thanks!


  Réponse avec citation
Vieux 08/04/2008, 10h59   #2
Horus
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Two SWFs Communication

Hello Magnix,

> How can I have one SWF file to control other SWF. For example, I have
> a "Home" button in Flash (header.swf) and when clicked, it loads the
> HTML page (index.html) with a Flash Object with an intro Flash
> (intro.swf), but instead going through the intro, how do I skip the
> intro and go directly to the end of the intro in Flash?
>
> Thanks!
>


Launch this other HTML page with intro flash with a parameter passed.

smth. like:

intro.swf?skip=false // or skip=true;


If generating your HTML pages with php, asp, jsp, cfm or whatever - not a
problem.
If using pure HTML only - create HTML page with javascript.


  Réponse avec citation
Vieux 09/04/2008, 17h20   #3
Magnix
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Two SWFs Communication

Thank you Horus, that's what I was thinking.

But how do I actually emplement this? I can pass the paramater via ASP
easily, but what ActionScript code would I use to read the parameter, then
control the movie with the parameter?

Thanks again for your !

  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 04h04.


É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,07652 seconds with 11 queries