Thread View: alt.pl.programy.flash-5
3 messages
3 total messages
Started by mateur
Sat, 02 Dec 2006 19:39
Nazwa własna pliku fla
Author: mateur
Date: Sat, 02 Dec 2006 19:39
Date: Sat, 02 Dec 2006 19:39
5 lines
1290 bytes
1290 bytes
Witam! Mam takie pytanie, czy jest może we flashu 2004 jakaś funkcja, która zwraca nazwę pliku, w którym się ją wywoła? Np.: W pliku master.fla wywołuję funkcję, która zwraca wartość "master" albo "master.fla"
Re: Nazwa własna pliku fla
Author: camel
Date: Sat, 02 Dec 2006 20:38
Date: Sat, 02 Dec 2006 20:38
17 lines
1226 bytes
1226 bytes
On 2006-12-02 20:39:54 +0100, "mateur" <mateur@o2.pl> said: > Witam! > Mam takie pytanie, czy jest może we flashu 2004 jakaś funkcja, która > zwraca nazwę pliku, w którym się ją wywoła? Np.: > W pliku master.fla wywołuję funkcję, która zwraca wartość > "master" albo "master.fla" JSFL - property "name" dokumentu. e.g. var currentDoc = fl.getDocumentDOM(); fl.trace(currentDoc.name); camel[OT] -- -Never suspect conspiracy if incompetence could achieve the same result.
Re: Nazwa własna pliku fla
Author: mateur
Date: Sat, 02 Dec 2006 21:22
Date: Sat, 02 Dec 2006 21:22
20 lines
1846 bytes
1846 bytes
camel napisał(a): > On 2006-12-02 20:39:54 +0100, "mateur" <mateur@o2.pl> said: > > > Witam! > > Mam takie pytanie, czy jest może we flashu 2004 jakaś funkcja, która > > zwraca nazwę pliku, w którym się ją wywoła? Np.: > > W pliku master.fla wywołuję funkcję, która zwraca wartość > > "master" albo "master.fla" > > JSFL - property "name" dokumentu. > > e.g. var currentDoc = fl.getDocumentDOM(); > fl.trace(currentDoc.name); > > camel[OT] > > -- > -Never suspect conspiracy if incompetence could achieve the same result. a czy da się to zrobić za pomocą samego ActionScript?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads