10 errores comunes de programación en Actionscript 2

Publicado por Francisco Cifuentes Silva el 23 de abr de 2008 a las 00:08, visto 775 veces.

A continuación enumero 10 de los errores más comunes que me ha tocado enfrentar en mi vida de programador actionscript (Últimos 6 meses):

  1. utilizar letra del mismo color que el fondo en campos dinámicos (°por qué no escribe esta porquería! :S)

  2. reemplazar clips en la biblioteca que contienen otros clip que están en uso

  3. no agregar la declaración de caracteres irregulares (como la ñ o acentuadas) a las áreas dinámicas de texto ni agregar las fuentes de letra

  4. utilizar en el código una instancia que aun no aparece en la línea de tiempo

  5. no usar funciones de conversión de tipos (el truncamiento no es fiable, una mal apráctica de algunos en muchos lenguajes)

  6. no incluir las bibliotecas tween a los clip animados por código

  7. no usar nombres para los fotogramas en vez de acceder por su nÚmero (ej gotoAndStop(1) = mal; gotoAndStop("f1"), en realidad más una mala práctica que puede conllevar a un error)

  8. cuando cargo XML, al utilizar todo el contenido del archivo dentro del mismo fotograma este no aparece (solución: cargar el archivo XML en un fotograma anterior al que se va a utilizar)

  9. no usar nombres terminados en _mc, _btn, _sound, _txt u otros que otorgan autocompletación y legibilidad del código al programar (mala práctica, no error)

  10. cambiar el color o el alpha interno de un movieclip en vez de cambiar manejar los atributos de la instancia


Esos son 10 de los cuales me han dado más de un dolor de cabeza en mis minutos de micro estrés (cuando las cosas no salen).

¿Cuáles son los suyos?

gravatar image

MuzikManOz ha comentado el jueves, 29-07-10 18:56.

So I took the plunge -- bought myself a Fatman iTube Red and I am very happy to say that I am extremely pleased. I actually listened to one at a friend's house a few months back and just couldn't get that quality out of my head because it blew me away. I searched online everywhere for a great deal and finally found it at Ordio in Westfield Bondi Junction. I telephoned them first and asked every question I could think of and everything was answered to my satisfaction so I went ahead and bought it. Shipping was very fast. Everything was as it should be. I'm pretty darn happy and I'm playing it right now. Not sure if they ship outside of Oz but you won't be sorry if they do.

Really happy...

James

gravatar image

MuzikManOz ha comentado el jueves, 29-07-10 18:56.

So I took the plunge -- bought myself a Fatman iTube Red and I am very happy to say that I am extremely pleased. I actually listened to one at a friend's house a few months back and just couldn't get that quality out of my head because it blew me away. I searched online everywhere for a great deal and finally found it at Ordio in Westfield Bondi Junction. I telephoned them first and asked every question I could think of and everything was answered to my satisfaction so I went ahead and bought it. Shipping was very fast. Everything was as it should be. I'm pretty darn happy and I'm playing it right now. Not sure if they ship outside of Oz but you won't be sorry if they do.

Really happy...

James

gravatar image

MuzikManOz ha comentado el jueves, 29-07-10 18:56.

So I took the plunge -- bought myself a Fatman iTube Red and I am very happy to say that I am extremely pleased. I actually listened to one at a friend's house a few months back and just couldn't get that quality out of my head because it blew me away. I searched online everywhere for a great deal and finally found it at Ordio in Westfield Bondi Junction. I telephoned them first and asked every question I could think of and everything was answered to my satisfaction so I went ahead and bought it. Shipping was very fast. Everything was as it should be. I'm pretty darn happy and I'm playing it right now. Not sure if they ship outside of Oz but you won't be sorry if they do.

Really happy...

James

gravatar image

MuzikManOz ha comentado el jueves, 29-07-10 18:56.

So I took the plunge -- bought myself a Fatman iTube Red and I am very happy to say that I am extremely pleased. I actually listened to one at a friend's house a few months back and just couldn't get that quality out of my head because it blew me away. I searched online everywhere for a great deal and finally found it at Ordio in Westfield Bondi Junction. I telephoned them first and asked every question I could think of and everything was answered to my satisfaction so I went ahead and bought it. Shipping was very fast. Everything was as it should be. I'm pretty darn happy and I'm playing it right now. Not sure if they ship outside of Oz but you won't be sorry if they do.

Really happy...

James

gravatar image

MuzikManOz ha comentado el jueves, 29-07-10 18:54.

So I took the plunge -- bought myself a Fatman iTube Red and I am very happy to say that I am extremely pleased. I actually listened to one at a friend's house a few months back and just couldn't get that quality out of my head because it blew me away. I searched online everywhere for a great deal and finally found it at Ordio in Westfield Bondi Junction. I telephoned them first and asked every question I could think of and everything was answered to my satisfaction so I went ahead and bought it. Shipping was very fast. Everything was as it should be. I'm pretty darn happy and I'm playing it right now. Not sure if they ship outside of Oz but you won't be sorry if they do.

Really happy...

James

gravatar image

teansiose ha comentado el jueves, 29-07-10 15:28.

hiya


just signed up and wanted to say hello while I read through the posts


hopefully this is just what im looking for looks like i have a lot to read.

gravatar image

Ruittezex ha comentado el jueves, 29-07-10 11:32.

i got virtual dub, and avimux, and dvd styler
i got an avi file
when i tried virtual dub, and saving segemnted avi parts it didnt play the segements right

so i want to know how do i chop the avi up to chapters, so i can pick them on a menu, but still have play movie option to so i can play the how avi file . like a real dvd. help


Resource:
music converter

gravatar image

radissoncruiseorg ha comentado el miércoles, 28-07-10 05:41.

Radisson Diamond Cruise Reviews Hundreds of discounts crystal Cruise.

gravatar image

radissoncruiseorg ha comentado el miércoles, 28-07-10 05:40.

Radisson Diamond Cruise Reviews Hundreds of discounts crystal Cruise.

gravatar image

amongnews ha comentado el martes, 27-07-10 21:42.

Online world and international news, british online service.

gravatar image

amongnews ha comentado el martes, 27-07-10 21:42.

Online world and international news, british online service.

gravatar image

amongnews ha comentado el martes, 27-07-10 21:42.

Online world and international news, british online service.

gravatar image

amongnews ha comentado el martes, 27-07-10 21:42.

Online world and international news, british online service.

gravatar image

amongnews ha comentado el martes, 27-07-10 21:42.

Online world and international news, british online service.

gravatar image

ArchonAbupleCypejub ha comentado el lunes, 26-07-10 11:52.

I created a Starcraft II site found here:

Starcraft 2
http://www.thedarkshrine.com

I am going to be putting on many things to the site, such as replays, vods, fpvods, maps, live streams, tools, esports info and a lot more. There is a wiki there and really could use contributors to assist. I hope you people can register as my goal is for this web site to be one of the coolest SC2 sites on the Internet. Please register soon as there will be a tournament. If you have any suggestions please feel free to let me know!

Thx. Great forum btw!

gravatar image

ArchonAbupleCypejub ha comentado el lunes, 26-07-10 11:52.

I created a Starcraft II site found here:

Starcraft 2
http://www.thedarkshrine.com

I am going to be putting on many things to the site, such as replays, vods, fpvods, maps, live streams, tools, esports info and a lot more. There is a wiki there and really could use contributors to assist. I hope you people can register as my goal is for this web site to be one of the coolest SC2 sites on the Internet. Please register soon as there will be a tournament. If you have any suggestions please feel free to let me know!

Thx. Great forum btw!

gravatar image

ArchonAbupleCypejub ha comentado el lunes, 26-07-10 11:52.

I created a Starcraft II site found here:

Starcraft 2
http://www.thedarkshrine.com

I am going to be putting on many things to the site, such as replays, vods, fpvods, maps, live streams, tools, esports info and a lot more. There is a wiki there and really could use contributors to assist. I hope you people can register as my goal is for this web site to be one of the coolest SC2 sites on the Internet. Please register soon as there will be a tournament. If you have any suggestions please feel free to let me know!

Thx. Great forum btw!

gravatar image

ArchonAbupleCypejub ha comentado el lunes, 26-07-10 11:51.

I created a Starcraft II site found here:

Starcraft 2
http://www.thedarkshrine.com

I am going to be putting on many things to the site, such as replays, vods, fpvods, maps, live streams, tools, esports info and a lot more. There is a wiki there and really could use contributors to assist. I hope you people can register as my goal is for this web site to be one of the coolest SC2 sites on the Internet. Please register soon as there will be a tournament. If you have any suggestions please feel free to let me know!

Thx. Great forum btw!

gravatar image

ArchonAbupleCypejub ha comentado el lunes, 26-07-10 11:51.

I created a Starcraft II site found here:

Starcraft 2
http://www.thedarkshrine.com

I am going to be putting on many things to the site, such as replays, vods, fpvods, maps, live streams, tools, esports info and a lot more. There is a wiki there and really could use contributors to assist. I hope you people can register as my goal is for this web site to be one of the coolest SC2 sites on the Internet. Please register soon as there will be a tournament. If you have any suggestions please feel free to let me know!

Thx. Great forum btw!

gravatar image

breakloancom ha comentado el lunes, 26-07-10 11:44.

Need unsecured loan or business lending? Break Loan called also auto loans, commercial loans, home equity loans, payday loans, personal loans, student loans and va loans.

 

Deja tu comentario:

Bienvenido a mi Blog

Información acerca de mí

Soy Francisco Cifuentes, y este es mi blog, espero te interese o le saques algo de provecho a la información que encuentres en él.

RDF - ATOM - RSS 2.0 - RSS 0.91

Desde Google Reader

Publicidad

- Blogalaxia