Flash CS3 - Flash CS4

Free tutorials and scripts for all.
Actionscript 3.0

come visualizzare un SWF al 100%

This is a discussion on come visualizzare un SWF al 100% within the Articoli e tutorials forums, part of the Flash CS3 e Actionscript 3.0 category; Grazie !!!...


Go Back   Forum Flash CS3 Flash CS4 > Flash CS3 e Actionscript 3.0 > Articoli e tutorials

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  1 links from elsewhere to this Post. Click to view. #11 (permalink)  
Old 12-12-07, 23:36
Junior Member
 
Join Date: Sep 2007
Posts: 27
Rep Power: 0
floppy is on a distinguished road
Re: come visualizzare un SWF al 100%

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

  #12 (permalink)  
Old 07-01-08, 16:14
Junior Member
 
Join Date: Oct 2007
Posts: 9
Rep Power: 0
giambo is on a distinguished road
Re: come visualizzare un SWF al 100%

Quote:
Originally Posted by Flep View Post
Le immagini non scalano, perchè abbiamo settato la proprietà Scale a no scale, per cui rimangono delle dimensioni originali.
Se nel bg_mc inseriamo una movieclip con dentro un movieclip-immagine (per effetti blur su tween per esempio) le immagini si ridimensionano (con eventuale sgranatura).
Per evitare che con il RESIZE tali immagini si deformino nelle proporzioni:

in init()
Code:
var fatt:Number;
if (stage.stageWidth < stage.stageHeight) {
	fatt=stage.stageWidth/bg_mc.width;
} else {
	fatt=stage.stageHeight/bg_mc.height;
}
bg_mc.width=bg_mc.width*fatt;
bg_mc.height=bg_mc.height*fatt;
ciao
__________________
@quotidianostyle.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #13 (permalink)  
Old 11-03-08, 10:50
Junior Member
 
Join Date: Jan 2008
Posts: 4
Rep Power: 0
totonorthafrica is on a distinguished road
Riferimento: come visualizzare un SWF al 100%

Ciao Flep!
Come faccio ad inserire un preload sulla timeline di questo swf a tutto schermo che sono riuscito a creare grazie al tuo tutorial?
Ho provato ad inserire lo script del preload per principianti che hai messo a disposizione nel tutorial ma mi escono fuori parecchi errori.
Probabilmente devo lavorare sull'assistente di script ma non riesco...
grazie e complimenti!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #14 (permalink)  
Old 15-03-08, 06:25
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: come visualizzare un SWF al 100%

Ciao

Perchè errori ?

Sulla timeline principale devi avere solo il numero di frames come nel mio tutorial del preloader per principianti.
Nell ultimo frame hai tuto il contenuto.
Facci vedere il codice che usi e vediamo se possiamo aiutarti.
__________________

 


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

  #15 (permalink)  
Old 20-03-08, 09:32
Junior Member
 
Join Date: Jan 2008
Posts: 4
Rep Power: 0
totonorthafrica is on a distinguished road
Unhappy Riferimento: come visualizzare un SWF al 100%

Ciao flep
Grazie per la risposta

sul primo frame della timeline ho:
Code:
stop();
//stage.frameRate=31;
this.addEventListener(Event.ENTER_FRAME,checkProgress);

function checkProgress(_progress:Event):void
{
	var bytes_loaded:Number=_progress.target.loaderInfo.bytesLoaded;
	var bytes_total:Number=_progress.target.loaderInfo.bytesTotal;
	var percent:Number=Math.round(bytes_loaded/bytes_total*100);
	info_txt.text=percent.toString()+' %';
	if(percent>=100)
	{
		this.removeEventListener(Event.ENTER_FRAME,checkProgress);
		this.gotoAndPlay(2);
		lets_go();
	}
}

function lets_go():void
{
	trace('ready to start');
}
sul secondo frame ho il contenuto

l'errore è

TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null.
at Main/::init()
at Main$iinit()
ready to start

inserito il preload il filmato nel mio .html non si apre più a tutto schermo.

dove sbaglio?
Grazie!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Flash Multi Gallery
  #16 (permalink)  
Old 22-03-08, 11:49
Junior Member
 
Join Date: Mar 2008
Posts: 6
Rep Power: 0
alexfieldart is on a distinguished road
Re: come visualizzare un SWF al 100%

Qualcuno mi può aiutare?
Sono una neofita di Flash CS3 e mi sto imbattendo in un problema: io ho un monitor wide 16:10, per cui per realizzare siti in Flash ho bisogno di visualizzare un file sew al 100%. Ho provato questo tutorial ma non ho avuto risultati: a cosa serve l'istruzione import flash.events.Event; ?
E dove la inserisco nel Main.fla o nel Main.as ?
Grazie 1000
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #17 (permalink)  
Old 22-03-08, 11:57
Junior Member
 
Join Date: Mar 2008
Posts: 2
Rep Power: 0
cubalibre is on a distinguished road
Re: come visualizzare un SWF al 100%

Non ho capito bene a cosa serve l'istruzione:
import flash.events.Event;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #18 (permalink)  
Old 22-03-08, 12:16
Junior Member
 
Join Date: Mar 2008
Posts: 2
Rep Power: 0
cubalibre is on a distinguished road
Re: come visualizzare un SWF al 100%

Non ho capito bene a cosa serve l'struzione:
import flash.events.Event;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

  #19 (permalink)  
Old 24-03-08, 07:34
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: Riferimento: come visualizzare un SWF al 100%

Quote:
Originally Posted by totonorthafrica View Post
Ciao flep
Grazie per la risposta

sul primo frame della timeline ho:
Code:
stop();
//stage.frameRate=31;
this.addEventListener(Event.ENTER_FRAME,checkProgress);

function checkProgress(_progress:Event):void
{
	var bytes_loaded:Number=_progress.target.loaderInfo.bytesLoaded;
	var bytes_total:Number=_progress.target.loaderInfo.bytesTotal;
	var percent:Number=Math.round(bytes_loaded/bytes_total*100);
	info_txt.text=percent.toString()+' %';
	if(percent>=100)
	{
		this.removeEventListener(Event.ENTER_FRAME,checkProgress);
		this.gotoAndPlay(2);
		lets_go();
	}
}

function lets_go():void
{
	trace('ready to start');
}
sul secondo frame ho il contenuto

l'errore è

TypeError: Error #1009: Impossibile accedere a una proprietà o a un metodo di un riferimento oggetto null.
at Main/::init()
at Main$iinit()
ready to start

inserito il preload il filmato nel mio .html non si apre più a tutto schermo.

dove sbaglio?
Grazie!
Controlla cha hai un campo di testo con nome istanza info_txt
__________________

 


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

  #20 (permalink)  
Old 24-03-08, 07:37
Administrator
 
Join Date: Jul 2007
Location: Cesena
Posts: 4,486
Rep Power: 6
Flep is on a distinguished road
Re: come visualizzare un SWF al 100%

Quote:
Originally Posted by alexfieldart View Post
Qualcuno mi può aiutare?
Sono una neofita di Flash CS3 e mi sto imbattendo in un problema: io ho un monitor wide 16:10, per cui per realizzare siti in Flash ho bisogno di visualizzare un file sew al 100%. Ho provato questo tutorial ma non ho avuto risultati: a cosa serve l'istruzione import flash.events.Event; ?
E dove la inserisco nel Main.fla o nel Main.as ?
Grazie 1000
CIao e benvenuto

Inseriscilo nel Main.as
__________________

 


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

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 On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads

Thread Thread Starter Forum Replies Last Post
problemi x visualizzare un swf bliyrskel CSS | HTML 6 24-06-08 09:02
Espositore di prodotti: visualizzare swf bliyrskel AIUTO utilità free 23 31-05-08 10:25
Visualizzare immagini caricate da xml Fedepag Actionscript 3.0 base 3 22-04-08 17:25
Visualizzare Pdf all'interno di Flash Alfire Flash CS3 generale 2 21-04-08 12:25
Leggere e visualizzare un RSS con Flash CS3 Flep Articoli e tutorials 4 06-04-08 15:43


All times are GMT. The time now is 12:42.


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