|
-
DOT-INVADER
maybe you remember, i posted a while ago a first version of my fighting game (i'm still working hard on it), and the characters were .swf files loaded in the main file. unfortunately, it didn't work at all, and i just found out why...
maybe it will help you not to do the same mistake (if that's a mistake ^^)
ok, in my previous version, the external files were loaded in a MC, method that didn't worked, or workd more or less (in fact, i had mixed results).
now, i just tried to load the same external files not in an existing MC, but in another level (ie _level2), and it works perfectly (at least for me).
i was also wondering if you had a same kind of problem, or maybe if i have to adjust something, i don't know... maybe the first method i tried doesn't match with online...?
mmmh i have a very newbie question, shame on me
> now my external files are loaded in different levels. so i target them like that, for example:
_level1.character.gotoAndStop("hadoken")
but, how can i write:
_level(SpecifiedValue).character.gotoAndStop("hado ken")
"SpecifiedValue" being a variable that equals 1?
i tried different things like
_level[SpecifiedValue].character.gotoAndStop("hadoken") or
_level[SpecifiedValue+"character"].gotoAndStop("hadoken")
but it never worked (i'm sure the solution is so easy, shame on me, shame on me...)
thanks for your help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|