Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Gestione degli eventi in una presentazione "Screen"

This is a discussion on Gestione degli eventi in una presentazione "Screen" within the Flash CS3 generale forums, part of the Flash CS3 e Actionscript 3.0 category; Salve a tutti, mi sono appena iscritto al forum per cercare alcuni chiarimenti riguardo una presentazione che vorrei realizzare: 1) ...


Go Back   Forum Flash CS3 Flash CS4 > Flash CS3 e Actionscript 3.0 > Flash CS3 generale

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 18-03-08, 23:35
Junior Member
 
Join Date: Mar 2008
Posts: 8
Rep Power: 0
Federico Fontani is on a distinguished road
Angry Gestione degli eventi in una presentazione "Screen"

Salve a tutti, mi sono appena iscritto al forum per cercare alcuni chiarimenti riguardo una presentazione che vorrei realizzare:

1) ho letto da qualche parte che non si possono fare presentazioni più lunghe di 100 slide, è vero ?

2) non riesco a gestire le "pause" all'interno di una slide, mi spiego meglio: inserisco il comando stop() nell'ultimo frame di ogni slide in modo che l'animazione non vada in loop. Ho bisogno però di gestire le singole animazioni sequenzialmente all'interno della slide, di inserire in pratica degli stop() nella timeline e che ad ogni evento di pressione di un tasto, il filmato riprenda da dove era rimasto e non passare alla slide successiva. Ho fatto varie prove con On e OnClipEvent ma senza ottenere risultati positivi.

Spero che qualcuno possa aiutarmi...

Uno Adobe Flash Cs3 per mac.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 19-03-08, 09:44
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: Gestione degli eventi in una presentazione "Screen"

Ciao Federico e benvenuto

Guarda questo esempio:
Attached Files
File Type: zip bot.zip (7.9 KB, 4 views)

__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !

Last edited by Flep; 13-05-08 at 19:57..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #3 (permalink)  
Old 19-03-08, 11:22
Junior Member
 
Join Date: Mar 2008
Posts: 8
Rep Power: 0
Federico Fontani is on a distinguished road
Re: Gestione degli eventi in una presentazione "Screen"

ti ringrazio, ho visto il file però non riesco a capire come posso applicare quello script al mio caso.
Ho allegato un fla di esempio, vorrei che al frame 9 la presentazione si fermasse in attesa di un input da tastiera... immagina di dover presentare un progetto, con vari oggetti che entrano ed escono, però tutto questo deve essere controllato da tastiera in modo da "stare dietro" alle parole.

Grazie
Attached Files
File Type: fla present.fla (43.9 KB, 5 views)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #4 (permalink)  
Old 19-03-08, 12:27
Seejay's Avatar
Top Member
 
Join Date: Feb 2008
Location: Brescia / Florida
Posts: 59
Rep Power: 1
Seejay is on a distinguished road
Riferimento: Gestione degli eventi in una presentazione "Screen"

Basta che metti uno stop ogni volta che serve che si fermi il movie e sul primo frame metti:
Code:
stage.addEventListener(KeyboardEvent.KEY_DOWN, continua)
function continua (e:Event) {
    play()
}
__________________
Andrea.
La vita è in te oggi e tu crei il tuo domani.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #5 (permalink)  
Old 19-03-08, 12:50
Junior Member
 
Join Date: Mar 2008
Posts: 8
Rep Power: 0
Federico Fontani is on a distinguished road
Re: Gestione degli eventi in una presentazione "Screen"

ho provato con il codice, ma non funziona e mi viene fuori un errore:

DESCRIPTION : The class or interface 'Event' could not be loaded.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #6 (permalink)  
Old 19-03-08, 13:13
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: Gestione degli eventi in una presentazione "Screen"

Importa la classe Event:

Code:
import flash.events.Event;
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #7 (permalink)  
Old 19-03-08, 13:45
Junior Member
 
Join Date: Mar 2008
Posts: 8
Rep Power: 0
Federico Fontani is on a distinguished road
Re: Gestione degli eventi in una presentazione "Screen"

ho inserito la riga nel primo frame ma continua lo stesso messaggio di errore...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #8 (permalink)  
Old 19-03-08, 15:54
Junior Member
 
Join Date: Mar 2008
Posts: 8
Rep Power: 0
Federico Fontani is on a distinguished road
Re: Gestione degli eventi in una presentazione "Screen"

non so dove sbattere la testa, ho provato a inserire gli script che mi avete suggerito, ma continua ad uscire fuori l'errore... non vorrei rassegnarmi ad usare powerpoint....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #9 (permalink)  
Old 20-03-08, 06:25
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: Gestione degli eventi in una presentazione "Screen"

Quote:
Originally Posted by Federico Fontani View Post
non so dove sbattere la testa, ho provato a inserire gli script che mi avete suggerito, ma continua ad uscire fuori l'errore... non vorrei rassegnarmi ad usare powerpoint....
Sicuro di avere le impostazioni settate per Actionscript 3.0 e Flash Player 9 ?
__________________

 


I recommend: Essential Actionscript 3.0

- Non rispondo ai messaggi privati con domande tecniche. Apri una discussione sul forum !
- I do not reply technicians pvt messages. Open a thread !
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #10 (permalink)  
Old 20-03-08, 10:50
Junior Member
 
Join Date: Mar 2008
Posts: 8
Rep Power: 0
Federico Fontani is on a distinguished road
Re: Gestione degli eventi in una presentazione "Screen"

"Screen-based documents must target action script 2.0"

se provo a cambiare da 2.0 a 3.0 mi viene questo errore...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
Actionscript 3 Problema "dinamico":in locale funziona, sul sito no - forse è "fl.transition"? Dexter Actionscript 3.0 base 1 19-09-08 09:24
Actionscript 3 Problema con "evento:MouseEvent" e "evento.target.name" Baro Actionscript 3.0 base 2 02-08-08 20:21
Flash CS3 link sotto una finestra "popup" (swf esterno) funzionanti? come mai??? leopardone Flash CS3 generale 1 01-07-08 13:36
Flash CS3 Aprire un "popup flash" da un bottone e/o caricare un swf esterno leopardone Flash CS3 generale 0 26-06-08 13:35
Windows Xp "don't send report error importing in falsh" alexyz4 Flash CS3 eng 6 12-09-07 08:59


All times are GMT. The time now is 16:59.


Powered by vBulletin versione 3.7.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC4
Forum SiteMap


FlepStudio
by Filippo Lughi
P.IVA 03605860406