Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

Fullscreen

This is a discussion on Fullscreen within the Flash CS3 generale forums, part of the Flash CS3 e Actionscript 3.0 category; Ciao a tutti , vorrei un aiuto per riuscire a creare un movie che possa andare in fullscreen naturalmente dal web ...


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 14-03-08, 20:28
Junior Member
 
Join Date: Mar 2008
Posts: 4
Rep Power: 0
grandeorco is on a distinguished road
Fullscreen

Ciao a tutti , vorrei un aiuto per riuscire a creare un movie che possa andare in fullscreen naturalmente dal web browser .
__________________
http://www.abibex.com il mio sito
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #2 (permalink)  
Old 15-03-08, 16:33
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: Fullscreen

Ciao

Prova a dare un' occhiata ( nella sezione downloads puoi scaricarti i files ) come ho eseguito il fullscreen in questa galleria immagini:
http://www.flepstudio.org/forum/util...ll-screen.html
__________________

 


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

  #3 (permalink)  
Old 15-03-08, 20:10
Junior Member
 
Join Date: Mar 2008
Posts: 4
Rep Power: 0
grandeorco is on a distinguished road
Riferimento: Fullscreen

Ciao, il tuo esempi l' ho gia visto ma non č quello che devo fare a me serve una cosa come il bottone fullscreen del flashplayer di youtube. In giro ho trovato un' altro esempio che utilizza la classe flash.events.FullScreenEvent ma il codice che hanno usato non funziona come dovrebbe :)

ora lo scrivo
-------------------------------------------------------------------------------------------------------------------------
//Posizionate il seguente codice sul primo frame del file Flash.
// Importiamo le classi necessarie al funzionamento dello scriptimport flash.display.Stage;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.events.Event;
import flash.events.FullScreenEvent;

// Memorizziamo lo status del FULLSCREEN:
// false = NORMAL(default) | true = FULL SCREEN

var FullScreenStatus:Boolean;

function init():void
{
// Impostiamo le proprietā dello Stage (NO_SCALE allineato in alto a sinistra)
var swfStage:Stage = fullScreen_btn.stage;
swfStage.scaleMode = StageScaleMode.NO_SCALE;
swfStage.align = StageAlign.TOP_LEFT;
}
init()



// ==============================================
// LISTENER e EVENT HANDLER per la modalitā FullScreen:
// ==============================================

function fullScreenRedraw(event:FullScreenEvent):void
{
// Modalitā FullScreen Attivata
if (event.fullScreen)
{
fullScreen_btn.label = "Disattiva FULLSCREEN";
FullScreenStatus = true;
}

// Modalitā FullScreen Disattivata else
{
fullScreen_btn.label = "Attiva FULLSCREEN";
FullScreenStatus = false;
}
}
// Registriamo un listener per la modalitā FULLSCREEN:
// richiamato ogni volta che la variabile FULL_SCREEN viene modificata
fullScreen_btn.stage.addEventListener(FullScreenEv ent.FULL_SCREEN, fullScreenRedraw);

// =======================================
// Pulsante per attivare o meno la modalitā FULLSCREEN
// =======================================

function changeFullScreenStatus(e:MouseEvent):void
{
if(FullScreenStatus)
fullScreen_btn.stage.displayState = StageDisplayState.NORMAL;
else
fullScreen_btn.stage.displayState = StageDisplayState.FULL_SCREEN;

}
fullScreen_btn.addEventListener(MouseEvent.CLICK, changeFullScreenStatus)
------------------------------------------------------------------------------------------------------------------------

nel senso che il bottone non cambia il suo stato e quindi apre il fullscreen ma non lo chiude
__________________
http://www.abibex.com il mio sito
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 Fullscreen e tastiera shork Flash CS3 generale 0 26-07-08 15:43
fullscreen grandeorco Actionscript 3.0 base 0 12-03-08 15:53
fullscreen preload derek_z Flash CS3 generale 1 27-02-08 10:21
jpg fullscreen beppeartz Flash CS3 generale 1 18-02-08 21:37
FullScreen Bugged?? Vudrok Actionscript 3.0 newbies 2 28-09-07 15:45


All times are GMT. The time now is 14:26.


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