RES: [Flashnewbie] first of many questions 2004-02-24 - By ikey
Back Andreas Your directions seemed to work well, all except (and I really wonder why, because it doesn't look any wrong to me) the code you mentioned:
stop();
7_btn.onRelease = function() {_root.gotoAndStop('pic_7');}
8_btn.onRelease = function() {_root.gotoAndStop('pic_8');}
9_btn.onRelease = function() {_root.gotoAndStop('pic_9');}
(I've changed the names to the labels I have on my file now)
as you see I have three buttons and three frames. Anyways, I get syntax errors from all those lines... tried looking into the help files but that was not really helpful. I can imagine the syntax error is very clear somewhere there, but being a complete newbie to these codes, I'll need your help again. :) thanks in advance ~ikey
> -- --Mensagem original-- -- > De: Andreas Weber [mailto:webweber@(protected)] > Enviada em: segunda-feira, 23 de fevereiro de 2004 13:59 > Para: flashnewbie@(protected) > Assunto: RE: [Flashnewbie] first of many questions > > > should I be using forms? > No! > > > Is using the timeline the best way > Yes! > > Make 3 layers: > > 1. Navigation > 2. Pictures > 3. Code > > Navigation-layer: > the first frame is automatically a keyframe. Select this keyframe, then > place your buttons on the stage. > Your buttons are symbols in the library of the type MovieClip. > For the moment you place 2 buttons and give each an instance name in the > property inspector: 'button1_mc' and 'button2_mc' (without quotes) > > Add a frame (not key-frame) on frame 25 or so. This makes that the > navigation is 'on stage' (visible) from frame 1 through 25 > > > Pictures-Layer: > insert a new key-frame at frame 5 (or so). In the Property Inspector give > it > the frame-label 'pix1' (without quotes) > Repeat the same for frame 10, give it the frame-label pix2 > On frame pix1 you insert the first picture, on pix2 - you'll have guessed > it - the second picture. > > > Code-layer: > stop(); > > button1_mc.onRelease = function(){ > _root.gotoAndStop('pix1'); > } > > button2_mc.onRelease = function(){ > _root.gotoAndStop('pix2'); > } > > If it doesn't work, post again. In this case it might help to publish the > .fla file on the net so that people on the list can download it. > > HTH > -- ---- ------ > Andreas Weber > motiondraw.com > > > > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > Supported by Fig Leaf Software > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > Lower Prices for Certified Training! Check out new lower prices for > Certified Macromedia Training from Fig Leaf Software. Expand your > skill set with courses in ColdFusion, Flash, Rich Internet > Applications and .NET in the new year. Fig Leaf Software provides > the highest caliber instruction at our training centers in Washington > D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at > your location. > > Get the details at http://training.figleaf.com/ > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- > To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) > For additional commands, e-mail: flashnewbie-help@(protected) > >
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Supported by Fig Leaf Software -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ Lower Prices for Certified Training! Check out new lower prices for Certified Macromedia Training from Fig Leaf Software. Expand your skill set with courses in ColdFusion, Flash, Rich Internet Applications and .NET in the new year. Fig Leaf Software provides the highest caliber instruction at our training centers in Washington D.C., Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location.
Get the details at http://training.figleaf.com/ -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe, e-mail: flashnewbie-unsubscribe@(protected) For additional commands, e-mail: flashnewbie-help@(protected)
|
|