-
[RESOLVED] [F8] Two small depth problems, deadline looms Help !
My whiteboard app has two small problems, I just can't sort them out, and my deadline is a few hours from now.
Here's the app:
http://www.evynco.com/wboard_wip.html
http://www.evynco.com/wboard_wip.html
Bugs:
1. palette pops up UNDER drawn lines, should be OVER.
2. black pen leaves an image of itself behind when a new colour is picked.
That's it !
If you think you can help, I'll send you the code.
Thanks guys, you can save me....
Paul Jenkins
-
Not sure what you mean by the black pen staying behind, but for the palette just try swap depths when it is loaded and make sure the value is higher than the pen stripes.
ie:
palette.swapDepths(9999);
-
Thanks Sharkman,
the theory is simple enough, but because the palette_mc is tweening
up the page, if you try to swapDepth before you tween, it stops the tween animation from working.
I've found a few other people who've had similar problems with swapDepth and tween.....
I've done a sort of workaround http://www.evynco.com/wboard_wip.html, but if anyone knows an answer to this issue, I'd be pleased to hear it !
eg attachMovie(palette_mc,999), but then how to animate an attached mc ?
hmm, done 16 hours straight on this, gotta get some sl......
-
yeah you can't tween and code a movie at the same time, but you can use code on a movie clip that contains and animation. So you set the depth on the movieclip that contains the animation of the pallette coming up.
Or you could animate the pallette with code instead of tweening it.
-
Thanks rsm, that's the best idea I've heard, make another movieclip to *contain* the tweening movie clip, then alter *it's* depth. I'll give it a try soon.
Meanwhile the customer has accepted the application as it is, so the pressure's off.
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
|