Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

Super simple external class Flash actionscript. please help!
show user profile  9krausec
I know, I know, this a forum for 3ds max! But I also know that there are some coders in here and I'm hoping one of them would be able to explain something to me.

In my flash class, we are working with external class AS files to drive a .fla

I'm having some trouble wrapping my head around how to target something on a basic level.. The Jing below is a video showing my set up. I can get the "main" symbol to run the motion tween, but I cannot seem to figure out how to control the "nested" symbol which is inside of main.

Thanks for any and all help, crunch time with classes and I am struggling a little bit.

As you can see, even with the stop(); action on the frames of "nested" it still feels the need to play through whilst "main" is being called to move to the next frame in the Class doc..

Any ideas? I have a basic understanding of OOP and AS, but this isn't making sense to me.

- Portfolio-

read 285 times
10/26/2011 12:10:23 AM (last edit: 10/26/2011 12:10:23 AM)
show user profile  nemac
I know some AS2. Have been meaning to transition to AS3 so not too familiar with OOP as of yet.

Do you know how to reference objects from root level? eg nested would be, _root.main.nested

I would try..

1) Under "main.nextFrame();" write a new line, "_root.main.nested.gotoAndStop(1);"


2) Instead of "main.nextFrame();" I would use "_root.main.gotoAndPlay(2);" then control how it plays from within main itself.

Could be wrong, but hope I was of help.

read 266 times
10/26/2011 3:14:22 AM (last edit: 10/26/2011 3:14:22 AM)
show user profile  ScotlandDave
If your file is cs4 i could have a look i watched the jing but would prob be faster to just check the fla/as files themselves..

Website | Blog | Contact | Vimeo

read 255 times
10/26/2011 10:07:08 AM (last edit: 10/26/2011 10:07:08 AM)
#Maxforums IRC
Open chat window