1. http://lifeflash.shaggysmile.com/
  2. http://lifeflash.shaggysmile.com/about/
  3. http://lifeflash.shaggysmile.com/category/2pub/
  4. http://lifeflash.shaggysmile.com/contact/
  5. http://lifeflash.shaggysmile.com/flex/2007/09/05/ribbit_phone_component/
  6. http://lifeflash.shaggysmile.com/2links/2007/09/26/blog_money2/
  7. http://lifeflash.shaggysmile.com/flashcs3/2007/05/16/flash8-and_vista/
  8. http://lifeflash.shaggysmile.com/2links/2007/05/21/flashcs3_books_with_amazone/
  9. http://lifeflash.shaggysmile.com/2links/2007/05/21/getting_started_with_actionscript_cs3/
  10. http://lifeflash.shaggysmile.com/flex/2007/05/22/flex_component_kit_for_flash_cs3/
  11. http://lifeflash.shaggysmile.com/flex/2007/05/28/flex_explorers/
  12. http://lifeflash.shaggysmile.com/vista/2007/05/29/windows_vista_sidebar_and_flashplatform/
  13. http://lifeflash.shaggysmile.com/2links/2007/06/04/swf2xaml_and_xaml/
  14. http://lifeflash.shaggysmile.com/flex/2007/06/05/about_flex3/
  15. http://lifeflash.shaggysmile.com/flex/2007/06/18/youtuberemixer/
  16. http://lifeflash.shaggysmile.com/flex/2007/06/27/flex_win_silverlight/
  17. http://lifeflash.shaggysmile.com/air/2007/07/02/adobe%c2%ae-air-extension-for-flash-cs3/
  18. http://lifeflash.shaggysmile.com/air/2007/07/03/creating_air_p_in_flash_cs3/
  19. http://lifeflash.shaggysmile.com/air/2007/07/04/air-iphone/
  20. http://lifeflash.shaggysmile.com/flex/2007/07/13/flex_3_beta2/
  21. http://lifeflash.shaggysmile.com/2pub/2007/07/30/sflex_debugger_console/
  22. http://lifeflash.shaggysmile.com/flex/2007/08/01/data_grid_feature/
  23. http://lifeflash.shaggysmile.com/2links/2007/08/06/addrequestheader_in_flash/
  24. http://lifeflash.shaggysmile.com/2news/2007/08/22/flash_player_update_h254/
  25. http://lifeflash.shaggysmile.com/2links/2007/08/23/solved-right-click-in-as3/
  26. http://lifeflash.shaggysmile.com/2news/2007/08/24/one_love/
  27. http://lifeflash.shaggysmile.com/2news/2007/08/27/asv5_as_otf_convertor/
  28. http://lifeflash.shaggysmile.com/2links/2007/08/30/bukakusa_ru/
  29. http://lifeflash.shaggysmile.com/2news/2007/08/31/flashdevlop_beta3_release/
  30. http://lifeflash.shaggysmile.com/air/2007/08/31/air_filter_explorer/
  31. http://lifeflash.shaggysmile.com/flex/2007/08/31/fillcolors/
  32. http://lifeflash.shaggysmile.com/2news/2007/08/31/2355270000-flash-player-9-installs-at/
  33. http://lifeflash.shaggysmile.com/2news/2007/09/03/fdt3_in_beta/
  34. http://lifeflash.shaggysmile.com/2news/2007/09/05/flash_player_june_stat/
  35. http://lifeflash.shaggysmile.com/2pub/2007/09/07/fms3_faq/
  36. http://lifeflash.shaggysmile.com/silverlight/2007/09/11/hdvideo_flash_or_silverlight/
  37. http://lifeflash.shaggysmile.com/2links/2007/09/19/blog_money/
  38. http://lifeflash.shaggysmile.com/2links/2007/09/21/flash_surface/
  39. http://lifeflash.shaggysmile.com/2news/2007/09/25/flash_ripper_brithday/
  40. http://lifeflash.shaggysmile.com/2links/2007/09/27/new_blogs/
  41. http://lifeflash.shaggysmile.com/2news/2007/09/28/yahoo_1000000_troyans/
  42. http://lifeflash.shaggysmile.com/flex/2007/10/01/flex_3_beta_2_and_air_beta_2/
  43. http://lifeflash.shaggysmile.com/2news/2007/10/01/flash_lite3_release/
  44. http://lifeflash.shaggysmile.com/2pub/2007/10/01/seo_plus_friends_and_more_plus/

Хитрость в AS2

Хотите знать как сделать класс extends MovieClip без указания этого класса в мувиклипе (я имею в виду поле id и AS2 класс)?

Хм! Есть маленькая хитрость в AS2 (надеюсь еще кто-то на нем пишет). Уже давно не секрет что AS2 при компиляции превращается в AS1… Хотя… Про что я вам рассказываю. Вот вам пример:

class Ball extends MovieClip {
static var id = (id="__Packages.Ball")+ (Object.registerClass(id, Ball)?"":"");
public function Ball() {
trace("Start!");
}

А в первом кадре:

import Ball;
attachMovie(Ball.id, "_mc", 1);

Данный использует минимум статичных переменнух (как минимум одну). Конечно, данный пример работает, если компилятор использует префикс __Packages и скроее всего не будет работать в будущих версиях (не пробывал - надо посмотреть). Но… По любому - забавная хитрость )))

Комментарии:

  1. У меня для этого действа давно McFactory есть и мувиков в либе вообще нет.

  2. я только щас перехожу на такую практику. Убиваю дурацкую привычку присваиать классы непосредсвенно через библиотеку…
    ))






















2007 (с) shaggysmile.com

1