|
From: Bob220867 on 11 Apr 2008 15:36 Well that's pretty comprehensive, thank you. I got yours working but couldn't integrate it into mine. Perhaps there's a difference in the scripts we're accessing? Yours was sitting in a movie script and mine in a cast member behaviour. Is there some sort of difference here about parents and behaviours? Anyway, I'll keep on twiddling with this. You've been a big help, so I'll leave you alone now. Bob
From: CenturyMan1979 on 11 Apr 2008 16:59 Is there a reason you have the script on a cast member instead of in a movie clip?
From: Bob220867 on 12 Apr 2008 18:28
Now that's an interesting question. I'm used to making scripts either by writing them by going thro' a sprite (right click, script, kind of thing) or in the script window (which obviously puts that into the cast and then I apply it to a sprite or whatever). I usually only have one movie script. But then I was reading Tab Julius' book Lingo only last night and it was talking about having multiple movie scripts. I thought I was being tidy but between his comments and your question I'm starting to see that I've got a new step to make and work out what this can do for me. To answer your question I think we might be talking at slightly cross-purposes. I meant that the dynPieceScript was a cast member. The createPiece script (and its other components) was attached to a sprite. I can work how to achieve pretty much anything these days. But I'm working on making the way I achieve them more efficient and elegant script-wise. |