Layers
- Started
- Last post
- 11 Responses
- T-B-O-A
How can you make a layer in a flash movie to be invisible?
I know nothing
Thanks
- mg330
Don't put anything in it?
Are you trying to just put code in a layer?
- T-B-O-A0
There are things in the layer but they shouldn't be visible the first time time it goes throuh the timeline but should appear after the second time.
Is this making sense?
- TResudek0
So you have something you want to loop and then the objects in this layer will show up after one loop?
If so, How about using movieclips and loadMovie?
TR
PS - I'm no expert either
- Tara0
click on the eye in that layer
- T-B-O-A0
No flash gurus around?
Come on guys, I'm stuck
- mg330
I would:
Have an MC in the frame you want it to start in.
Make the MC's first frame blank with a STOP action.At the end of the movie in the main timeline, set a variable that is recognized by the MC so it will trigger the MC the second time around and will play it.
Loop the MC, play it once, whatever. If it were to be forever I would have it's last frame loop back to frame 2 and avoid the need for the variable.But either way, having it go back to frame one does the same thing because you are still setting the variable from the main timeline each time it hits the end of the movie.
Hope that helps.
- mg330
good one TaraTara. :D
- lvl_130
put it in an mc and give it an instance name. then put this code on the main timeline
frame 1:
instanceName._visible="0";last frame
instanceName._visible="1";
- lvl_130
wait. sorry i'm slow today. that wouldn't work. it would work if you also put in your last frame
gotoAndPlay(2);so that it skips the visible setting on the loop.
or you could just set up a simple variable...or just do what mg33 said : )
- T-B-O-A0
Thanks guys.
I found a way to get round it without using actionscript.
Messy, but it'll do!
- MLVR0
if you wanna do it without AS use scenes... ie first scene have it as you want it the first loop, and copy/paste first scenes content in to scene 2 but here add that thing you didn't wanna show in scene 1, and then in end frame of scene 2 'gotoandplay("Scene 2", 1);
:-)