meylo Posted June 26, 2013 Share Posted June 26, 2013 Hey guys, Maybe you can help me out here. I'm needing to move all my symbols to the second frame due to Media Mind's code need for ad clicktrough. See below. I'm getting an error message that says: TypeError: Error #1009: Cannot access a property or method of a null object reference. at BBQsquareV3/init I works fine when I have all my layer's symbols on frame 1 but not frame 2. Thoughts? Link to comment Share on other sites More sharing options...
rob_v_5712 Posted June 26, 2013 Share Posted June 26, 2013 You are getting the error b/c you are trying to reference symbols that do not exist yet. (they exist on frame 2 not frame 1). Sorry - I dont understand why they need to live on frame 2 - but can just alpha everything to 0 on frame 1 - then bring them back on frame 2? 1 Link to comment Share on other sites More sharing options...
meylo Posted June 26, 2013 Author Share Posted June 26, 2013 If you're familiar with MediaMind they host web banners. They ask you to add a few actions on the main timeline. Frame 1 is dedicated to the EBStd.Init(this); on a empty keyframe then they ask that you place all your symbols on frame two. Is there another work around beside alpha? Link to comment Share on other sites More sharing options...
GreenSock Posted June 26, 2013 Share Posted June 26, 2013 As long as your code that references the objects lives on frame 2 (the same as the objects themselves), you should be fine. I think rob_v_5712 is right about the problem being that you've got code trying to reference objects on frame 1 that don't exist. In other words, don't just move your objects to frame 2 - move your code too. Link to comment Share on other sites More sharing options...
judeDamien Posted May 11, 2015 Share Posted May 11, 2015 I had the same problem in AS3. This fixed it- https://support.sizmek.com/hc/en-us/articles/200719349-Working-with-ActionScript Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now