Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 06-26-2004, 04:46 AM   #1
Registered User
Join Date: Jun 2004
Posts: 7
Default Adding different AS to each layer

I am a little confused. I'm reading a tutorial book and getting my feet wet.
The instruction tells me to insert an AS code on layer 1 symbol.


Then insert a different AS code on layer 2. But when I click on the frame on layer 2, the same AS code from layer 1 is shown. If I change the AS code on layer 2, the AS code is changed also for layer 1.

So it seems that both layer (tried 3 layers, same thing) are using AS code on the layer. How would I add a new AS code on the second layer?
iKwak is offline   Reply With Quote
Old 06-26-2004, 05:59 AM   #2
Super Moderator
Cota's Avatar
Join Date: Jul 2001
Location: NYC
Posts: 10,175

You need to insert keyframes to prevent that. insert a keyframe on frame 1 of layer 1, enter your code. Insert a keyframe on frame 1 of layer2, enter your code. Notice the two do not overwrite eachother.
Color Wars™ | (kul′ər wôrs) n. - Open conflict between factions. www.theColorWars.com

cota - www.chadworkman.com | http://shavedplatypus.com
occupation: designer | flash developer | server-side developer (php, asp, mssql, mysql)
Cota is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 11:49 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.