View previous topic :: View next topic |
Author |
Message |
martinez
Joined: 27 Mar 2009 Posts: 4
|
Posted: Fri Mar 27, 2009 10:38 am Post subject: Flash nooba problema |
|
Sveiki nesen saku kko lauzit flasha.
taa celms pa celmam un tagad esmu aduries pret vienu neatrisinamu problemu.
sekojoshi lieta tada ka man dinamiski tiek raditas movie instances piemeram randoma rodas kvadratinji uz ekrana ar kkadu nosaukumu
pimeram "kvadratinsh"+n
problema ka tagd es gribu vinjiem visem parbaudit peles eeventu onRollover
kaa lai es to dabuju gatavu
meginu ar
for (var n=0;n<daudzums;n++){
nosaukums:object=new object();
nosaukums=["kvadratinsh"+n];
nosaukums.onRollover=function () trace("peleuz "+nosaukums);}
nesanak man nekas ![Sad](images/smiles/icon_sad.gif) |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
martinez
Joined: 27 Mar 2009 Posts: 4
|
Posted: Fri Mar 27, 2009 2:33 pm Post subject: |
|
ups iskodu jau pats ![Smile](images/smiles/icon_smile.gif) |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
elvman Indago Uzvarētājs
![Indago Uzvarētājs Indago Uzvarētājs](https://forums.gamedev.lv/images/ranks/cup1.gif)
Joined: 09 Apr 2003 Posts: 1278 Location: Kuldiga
|
Posted: Fri Mar 27, 2009 4:11 pm Post subject: |
|
Es gan ieteiktu paariet uz AS3. Buus eertaak kljuudas izkjert un, manupraat, valoda ir daudz logjiskaaka. _________________ long time; /* know C */ |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
martinez
Joined: 27 Mar 2009 Posts: 4
|
Posted: Wed Apr 01, 2009 10:05 am Post subject: |
|
a vinsh pectam swf dod laukaa ?? man jau vairak webam vajag |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
EDDY
Joined: 07 Oct 2005 Posts: 1610 Location: Dzimtā zeme, Latvija
|
Posted: Wed Apr 01, 2009 10:29 am Post subject: |
|
AS3 ir Action Script - programmēšanas valoda priekš flash.
Flash formātu radīja speciāli WEB lapām, jo tas atbalsta vektorgrafiku.
To universitātē jau mācīja. _________________ Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
martinez
Joined: 27 Mar 2009 Posts: 4
|
Posted: Thu Apr 02, 2009 9:23 am Post subject: |
|
aa nu neiebraucu uzreiz :D
nu tieshi actionscriptaa es jau arii rakstiju to shteli :)
ja nukadam gadas ari tada lieta tad instances vardu returno
tada shtele kaa this._name;
piemeram lai muuvis uz peles rolu izdod lauka savu vardu pasha muuvi jaieliek
piemeram
onRollOver = function(){
nosaukums=this._name;
} |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|