Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici

[es] :: Flash :: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici

[ Pregleda: 3536 | Odgovora: 11 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

uchadb
Dusan Stankovic
Okolina Loznice

Član broj: 141412
Poruke: 38
93.87.223.*



Profil

icon Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici22.01.2010. u 21:02 - pre 172 meseci
Evo u čemu je problem:
Da bih imao fullscreen i smallscreen u istom button-u dodao sam AS:

on (release) {
if (!fsc) {
fscommand("fullscreen", true);
fsc = true;
} else {
fscommand("fullscreen", false);
fsc = false;
}
}

To sve radi. Međutim, kada uvezem .swf na html stranicu resize neće da radi. Može li nešto da se učini da bi resize .swf fajla radio?
 
Odgovor na temu

gonzos
Doboj

Član broj: 68687
Poruke: 293
62.68.108.*



+3 Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici23.01.2010. u 10:24 - pre 172 meseci
Treba ti "bridge" sa JavaScriptom.
Najelegantnije rjesenje je http://swffit.millermedeiros.com/
 
Odgovor na temu

uchadb
Dusan Stankovic
Okolina Loznice

Član broj: 141412
Poruke: 38
93.86.47.*



Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici23.01.2010. u 13:06 - pre 172 meseci
Da li može da se uradi nešto u samom swf fajlu, nekakav AS, posto želim da uvezem swf u moodle.
 
Odgovor na temu

deepwhite

Član broj: 92996
Poruke: 559
212.200.70.*



+3 Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici26.01.2010. u 10:01 - pre 172 meseci
Moras u html-u u delu swf fajla da dozvolis koriscenje fullscreen opcije:
allowfullscreen="true"
 
Odgovor na temu

uchadb
Dusan Stankovic
Okolina Loznice

Član broj: 141412
Poruke: 38
109.93.59.*



Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici30.01.2010. u 09:53 - pre 172 meseci
U redu, ali ja ne mogu da pridjem html-u u moodle-u kada ubacim swf. Potrebno mi je da u swf-u nesto uradim da bih imao resize. Kao kod klipova na youtube: nalaze se u okviru stranice ali ih mozes prebaciti u fullscreen pritiskom na dugme, posle vratiti na Esc. Moze li tako nesto da se izvede?
 
Odgovor na temu

deepwhite

Član broj: 92996
Poruke: 559
212.200.70.*



+3 Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici01.02.2010. u 22:43 - pre 172 meseci
ne razumem o kakvom moodle-u pricas?

ovo je as3, napravi dva dugmeta ("full_scr" i "n_scr") kao sto pise i radice ti, ne u editoru nego pokreni swf iz foldera:

Code:

import flash.display.StageDisplayState;

full_scr.addEventListener(MouseEvent.CLICK, fulls);
function fulls(evt:MouseEvent):void {
    stage.displayState=StageDisplayState.FULL_SCREEN;
}

n_scr.addEventListener(MouseEvent.CLICK, nscr);
function nscr(evt:MouseEvent):void {
    stage.displayState=StageDisplayState.NORMAL;
}
 
Odgovor na temu

uchadb
Dusan Stankovic
Okolina Loznice

Član broj: 141412
Poruke: 38
93.86.144.*



Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici02.02.2010. u 09:37 - pre 172 meseci
Evo, ovako: u prilogu je primer u kome na istom dugmetu radi fullscreen i smallscreen. Kada uvezem ovaj swf u html resize ne radi. Da li moze da se doda AS ovom fajlu pa da sve funkcionise i u html prezentaciji? Zelim da postavim swf u Moodle (LMS) i da dozvolim korisnicima da taj fajl imaju i u fullscreem obliku. Radim u Flash 8.
Prikačeni fajlovi
 
Odgovor na temu

deepwhite

Član broj: 92996
Poruke: 559
212.200.70.*



+3 Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici07.02.2010. u 23:39 - pre 172 meseci
ti navalio na fs komandu pa ne odustajes a ja ti lepo napisao.
evo ti i html i swf i fla
Prikačeni fajlovi
 
Odgovor na temu

uchadb
Dusan Stankovic
Okolina Loznice

Član broj: 141412
Poruke: 38
93.87.205.*



Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici11.02.2010. u 19:55 - pre 171 meseci
Ne mogu da otvorim fla. Koristim Flash 8.
 
Odgovor na temu

uchadb
Dusan Stankovic
Okolina Loznice

Član broj: 141412
Poruke: 38
93.87.205.*



Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici12.02.2010. u 19:51 - pre 171 meseci
OK. Fullscreen radi, ali mi fla ostaje istih dimenzija. Kako da dobijem da fla ode u fullscreen?
 
Odgovor na temu

deepwhite

Član broj: 92996
Poruke: 559
212.200.70.*



+3 Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici14.02.2010. u 10:14 - pre 171 meseci
Pa moraces da uzmes novije programe.
 
Odgovor na temu

uchadb
Dusan Stankovic
Okolina Loznice

Član broj: 141412
Poruke: 38
*.dynamic.isp.telekom.rs.



Profil

icon Re: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici17.02.2010. u 09:58 - pre 171 meseci
OK. Hvala.
 
Odgovor na temu

[es] :: Flash :: Problem sa fullscreen-om i smallscreen-om .swf fajla u html stranici

[ Pregleda: 3536 | Odgovora: 11 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.