Creative COW SIGN IN :: SPONSORS :: ABOUT US :: CONTACT US
ADOBE FLASH: Adobe Flash ForumAdobe Flash TutorialsAdobe Flash Video TutorialsWeb Streaming ForumAdobe Flash

Problems with the scrolling thumbnail panel from the tutorial

Cow Forums : Adobe Flash
Problems with the scrolling thumbnail panel from the tutorial
by Morraine on Jan 9, 2006 at 8:31:14 pm

Hi there.
I'm using the scrolling thumbnail panel from the tutorials on a flash site.
The panel itself works fine, but I cannot get any of the actionscript assigned to the buttons withn the panel to work.

The script attached to the buttons is..

on (release) {
gotoAndStop("FlashSection", 39);
}

Flashsection is the name of the scene and 39 is the frame number.
The actionscript is attached to the buttons themselves within the thumbnail panel movieclip.
I am guessing there is a problem to do with nested symbols, but my actionscript knowledge doesn't go that far and I am at a loss as to what to do to solve this.
Can anyone help?



Respond to this post   •   Return to posts index

Re: Problems with the scrolling thumbnail panel from the tutorial
by Infected Cell on Jan 10, 2006 at 1:11:49 pm

The same problem (clicking on thumbnails buttons) was in
(Help with Lee's Scrolling Thumbnail app. thread)

Just read this thread, I supose it will help you.

Or may be...

on (release) {
gotoAndStop("FlashSection", 39);
}

what is the "FlashSection" is it movieClip??
if yes,
just try this...

on (release) {
FlashSection.gotoAndStop(39);
}


Hope it helps,




Best regards,
Alexey Kharitonov.
www.infectedcell.com
mailto:contact@infectedcell.com

Respond to this post   •   Return to posts index

Re: Problems with the scrolling thumbnail panel from the tutorial
by lajoiet on Jan 10, 2006 at 2:18:21 pm

step one I would add a trace command into the on (release) function to see if it is even being called when you click on it. My guess is if you are using buttons ( and I assume you are and have this code in the button itself from the way you have it coded ) you should see the message traced when you click on the button, but since the code is in the button, it may be looking for the scene and frame number in the button movie clip since that's where the code is.

My brain breaks down in these situations and I never know what is correct, but I think you would need to change your button's code to on of the following:

on (release) {
_parent.gotoAndStop("FlashSection", 39);
}

on (release) {
_root.gotoAndStop("FlashSection", 39);
}

or something like that. I'm never sure, and I'm even less sure with the code on the buttons, since I've never coded that way.

Respond to this post   •   Return to posts index

<< PREVIOUS THREAD   •   VIEW ALL THREADS   •   PRINT   •   NEXT THREAD >>


FORUMSTUTORIALSMAGAZINEDVDsBOOKSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

© CreativeCOW.net All rights are reserved.

[Top]