Forum FAQForum FAQSearchSearch MemberlistMemberlist Forum ignore listForum ignore list RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in
Flash <->HTML, javascript komunikacija

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash
View previous topic :: View next topic  
Author Message
jeronim



Joined: 06 Mar 2005
Posts: 50
Location: Velika Gorica

PostPosted: 16.02.2006 00:59    Post subject: Flash <->HTML, javascript komunikacija Add user to your forum ignore list Reply with quote

Stranice su u HTML-u.
unutar njih se nalazi mali flash čija je ulogada daje zvučnu podlogu.
Ona se može po potrebi uključiti i isključiti.
Međutim, kad se klikne drugi link on počne ponovo svirati jer je to defaultna postavka.
Ja bi da kad čovjek ugasi da je sound i na svim slijedećim stranicama ugašen i obrnuto.
Znači, trebao bih nekako proslijediti dal i je soun on ili off u flash slijedećih HTML-ova.
Predpostavljam da bi se to moglo i javascriptom ...

Mućkam glavom, ništa smućkao nisam ...
Hvala unaprijed.

_________________
tija i ja na engleskom, al mi neide.
Back to top
View user's profile Send private message Visit poster's website
scip



Joined: 19 May 2005
Posts: 25
Location: osijek

PostPosted: 16.02.2006 05:45    Post subject: Add user to your forum ignore list Reply with quote

mozes preko SharedObject-a u flash-u ..

evo ti primjer
swf
fla

_________________
Let Your Bookmarks Define You ..
Back to top
View user's profile Send private message
jeronim



Joined: 06 Mar 2005
Posts: 50
Location: Velika Gorica

PostPosted: 16.02.2006 10:47    Post subject: Add user to your forum ignore list Reply with quote

Moram priznati da mi nije jasno, flash ništa ne radi od onog što sam naveo (barem meni u Firefoxu), a za .fla mi flash 2004 mx kaže uneexpected file format
Sad

_________________
tija i ja na engleskom, al mi neide.
Back to top
View user's profile Send private message Visit poster's website
scip



Joined: 19 May 2005
Posts: 25
Location: osijek

PostPosted: 16.02.2006 11:29    Post subject: Add user to your forum ignore list Reply with quote

probaj fla sad .. snimio sam ga u MX 2004 format ..

flash je simple demonstracija kako postavljas flash cookie kad kliknes play ili stop.
Kad kliknes play u cookiju se postavi vrijednost TRUE, kad kliknes stop onda FALSE.
Znaci sve sto trebas nakon toga je provjeriti na ucitavanju flasha (npr. na frejmu 1) da li je vrijednost u cookiju TRUE ili FALSE i u skladu s tim svirat/nesvirat Smile

http://www.studioat.hr/users/iweiler/mi3/index.htm
klikaj play/stop i idi sa stranice na stranicu ...

_________________
Let Your Bookmarks Define You ..
Back to top
View user's profile Send private message
Danko



Joined: 16 Sep 2004
Posts: 124
Location: Zagreb

PostPosted: 16.02.2006 13:14    Post subject: Add user to your forum ignore list Reply with quote

Par pitanja u vezi SharedObjecta:

1) Gdje se on točno zapisuje na client računalo?
Jer čini se da se ne zapisuje kao klasični cookie poslan sa server-side-a.

2) Na jednom sajtu sam pročitao da to može biti disejblano na clientu. Gdje se disejbla? Koji postotak ljudi to ima disejblano? Što se dogodi ako je disejblano, mislim dal postoji neka altrenativa ko što se kod normalnih cookija SessionId šalje kao query varijabla ako su disejblani cookiji?

Thx.

_________________
dankokozar.com | Adjungo | UnityHR | eDriven
Back to top
View user's profile Send private message Visit poster's website
budha



Joined: 02 Mar 2004
Posts: 1377
Location: Osijek

PostPosted: 17.02.2006 12:38    Post subject: Add user to your forum ignore list Reply with quote

@danko:

1)
C:\Documents and Settings\USERNAME\Application Data\Macromedia\Flash Player\#SharedObjects

2)
- moze.
- rajt-klik na flash na stranici -> settings... -> 2. tab (local storage) -> podesavas na slideru (100k je default)
- ?
- ?

_________________
I hate to advocate drugs, alcohol, violence, or insanity to anyone, but they've always worked for me.
Back to top
View user's profile Send private message Visit poster's website
jeronim



Joined: 06 Mar 2005
Posts: 50
Location: Velika Gorica

PostPosted: 17.02.2006 12:55    Post subject: Add user to your forum ignore list Reply with quote

tenks scip, spasio si mi votaži!

_________________
tija i ja na engleskom, al mi neide.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    mi3dot.org Forum Index -> Flash All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group