sorry for the stupid subject name…
this is what I need, I made a 3d model of a PC, What I want is to clic on the monitor and turn on the computer, I have the animation of the computer monitor turning on, but I don´t know how to activate it…thanks!
Hi there, is it 3D imported as .mov, .flv, or is it simulated as such directly in Flash.
Is it keyframe animated?
Or have you already figured it out?
If you have your animation in a MC called monitorMC, and a stop in your first frame, you can use this in a frame:
_root.monitorMC.onRelease=function(){
this.gotoAndPlay(2)
}
or something like that to get it to jump to the frames that play the animation.
**edit-oops, guess divarch beat me to it
Adam
I made the computer in swift and exported into flash, I´ll try that script
ok…This is what happened when I preview…
Scene=Scene 1, Layer=Layer 4, Frame=1: Line 1: Statement must appear within on/onClipEvent handler
_root.monitorMC.onRelease=function(){
You are putting the event on the clip, put it on the timeline, if you define it that way.
If you put it on the clip(monitor_mc):
on(release){
}
But that has nothing to do with your imported anim, just the code isn’t being in the right place
ok, I don´t get the message anymore but still don´t know how to activate it, I have in frame 1 the PC monitor and in frame 2 the PC monitor animation and in another layer the stop in frame one and in another layer the AS, now what?? and thanks for helping me…
Have a look at this, and if you have any questions, let me know.
Adam
Or post here your zipped .fla
woohoo! it worked, thanks Adam and Divarch!!
you’re welcome
Adam