  | |  | If and statement | If and statement 2005-10-03 - By Ann Zumwinkle
Back Hello folks, I've got this script in a listener movie:
if ((varhit1 > 0) && (varhit2 > 0) && (varhit3 > 0) && (varhit4 > 0) && (varhit5 > 0)) { _level0.gotoAndStop("whatever"); }else{ gotoAndPlay("listenstart")
I want 5 conditions to be met before it jumps to the "whatever" frame. But the movie doesn't jumps to that frame, even when all the variables are set to 1 by default!
Is there a problem with this statement's syntax? Thanks!
-- -- ann zum(winkle) ann@(protected) __ ____ ____ ____
-- ---- ---- ---- ------ Yahoo! Groups Sponsor -- ---- ---- ---- --~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/IHFolB/TM -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -----~->
========================= Pro_Flash: Professional Web Developers Using Macromedia Flash To subscribe: mailto:pro_flash-subscribe@(protected) To UNSUBSCRIBE: mailto:pro_flash-unsubscribe@(protected) Yahoo! Groups Links
<*> To visit your group on the web, go to: http://groups.yahoo.com/group/pro_flash/
<*> To unsubscribe from this group, send an email to: pro_flash-unsubscribe@(protected)
<*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
Earn $52 per hosting referral at Lunarpages.
|
|
 |