There are a lot of "silly" bugs you have to work around with "best practices" - this is common in just about any application development environment.
Jason Merrill Bank of America | www.bankofamerica.com Learning & Organization Effectiveness Technology Solutions -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fitzpatrick, Kevin Sent: Tuesday, May 23, 2006 4:36 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] gotoAndStop and Frame labels as Numbers Matthew, Because in this case "2" would refer to the second of a number of "slides". I know it's not an ideal situation. Jason, As to it being a best practice to start with a non-numeric character, I totally understand the logic behind that. However, I believe that this is flaw in the player that we are being detoured around by the *best practices*. As we all know "2" is very different from 2. If I specify a string "2" why would the player reinterpret that into the Number(2)? Whether I named it a silly name or not, why would the developers have thought that I'd want them to change the datatype of my parameter when I explicitly defined it as a String? We'll probably work around it by calling the frame "Slide 2" or whatever but it does seem like a silly restriction. Of course, there is *always* the chance that I'm doing something incredibly wrong, too :) Thanks, Kevin Kevin Fitzpatrick Flash Designer, SAP.com Web Services Team - SAP Global Marketing SAP Global Solutions Center 3999 West Chester Pike Newtown Square, PA 19073 C (267) 254-6225 E [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew Simpson Sent: Tuesday, May 23, 2006 1:42 PM To: Flashcoders mailing list Subject: RE: [Flashcoders] gotoAndStop and Frame labels as Numbers Just curious, but why would you want to use numerics as frame labels then use frameLabel:String? Why not frameLabel:Number? -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fitzpatrick, Kevin Sent: Tuesday, May 23, 2006 1:33 PM To: Flashcoders mailing list Subject: [Flashcoders] gotoAndStop and Frame labels as Numbers Hey all, A question regarding frame labels. When using the gotoAndStop(frameLabel:String) method in a simple flash movie and the string could be evaluated to a Number (such as the string "2" or "20") it seems that the flash player does evaluate it and sends the playhead to *frame 2* instead of the frame *labeled '2' *. Does everyone else experience this problem and is there anyway around it that still allows one to label a frame with a string that could be a number. Sorry if that was a bit confusing. Thanks, Kevin Kevin Fitzpatrick Flash Designer, SAP.com Web Services Team - SAP Global Marketing SAP Global Solutions Center 3999 West Chester Pike Newtown Square, PA 19073 C (267) 254-6225 E [EMAIL PROTECTED] _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com