Обозреватель
-
How Good Is Ryzen 5 5600x for Gaming? – 1440p and 4K - The landscape of gaming hardware has never been as diverse and competitive as it is today. The advent of next-generation consoles and high-performance ga...3 года назад
-
Казино ПинАп: PIN UP casino играть онлайн на реальные деньг - Казино ПинАп: PIN UP casino играть онлайн на реальные деньги Пинап официальный сайт: казино и букмекерская контора pin up bet Content Плюсы и минусы клуба ...3 года назад
-
-
Hello world! - Welcome to WordPress. This is your first post. Edit or delete it, then start writing!4 года назад
-
Продажа сайта - Внимание. Этот сайт продается. По вопросам покупки вы можете написать вк https://vk.com/andreyegoroff Запись Продажа сайта впервые опубликована на сайте ...5 лет назад
-
slot online indonesia - SOCIAL MEDIA MANAGER, WILL NEED TO HAVE THIS 7 SKILLS TO SUCCESS INSIDE THE DIGITAL ENVIRONMENT! It is unquestionable that millennial humans include a li...5 лет назад
-
Ведущий UI/UX дизайнер - Мы приглашаем ведущего UI/UX-дизайнера с опытом принятия решений на завершенных проектах, который сможет выстроить работу над UX частью всех проектов компа...7 лет назад
-
Bathroom Tiles Ennis - Bathroom tiles ennis with design image. Bathroom tiles ennis with inspiration image. Bathroom tiles ennis with inspiration gallery. Bathroom tiles ennis wi...8 лет назад
-
Get the Scoop on Writing Tips Before You’re Too Late - Your articles must be precise and to the point, especially whenever you’re writing for the internet. If you discover that you have some poems on specific t...9 лет назад
-
Links for 2017-02-22 [del.icio.us] - - Sponsored: 64% off Code Black Drone with HD Camera Our #1 Best-Selling Drone--Meet the Dark Night of the Sky!9 лет назад
-
Cергей Грицай: Defense of Egypt: Cleopatra Mission- на Стим. - Хочу представить вам Нашу новую игру "Битва за Египет". Помогите пожалуйста пройти Steam Greenlight ! http://steamcommunity.com/sharedfiles/filedetails/?id=7...10 лет назад
-
-
Приходите на BAFPUG 2015 в субботу 10 октября - Приглашаем всех Flash/Flex девелоперов на встречу BAFPUG 2015. Будут доклады о разработке игр, Stage3D, архитектуре и не только. Список: 1. Иван Шабан -...10 лет назад
-
Flex4.6 + Symfony 2.3 = Авторизация пользователей из Flash приложения - Дали мне тут тестовую задачу, типа, а напишите ко Вы нам, ни много ни мало, приложение, реализующее механизм Авторизации/Регистрации пользователей на flas...11 лет назад
-
Redisson - распределенные и масштабируемые структуры данных Java на основе сервера Redis - Опубликовал первый релиз проекта Redisson. Проект позволяет использвать знакомые всем структуры данных Java (Set, List, Map, Queue, AtomicLong, Lock, Count...12 лет назад
-
Аддиктивность, или простой способ зацепить игрока - Мой доклад для игровой конференции Get IT, которая проходила в ХАрькове в 2013 году12 лет назад
-
Особенности Flash Builder - Вот лично мне в работе крайне мешает регулярно отключающийся Refactor, пункты меню попросту недоступны. Чтобы они вновь стали доступны, надо что-нибудь с т...13 лет назад
-
Биндинг. Трюки. - О том что такое биндинг, зачем он нужен и как его использовать, я уже рассказывал в цикле статей «Биндинг в ActionScript проектах 1, 2, 3». В этих статьях ...13 лет назад
-
UAFPUG-40. Материалы к моему докладу по Mate - На UAFPUG-40 я рассказал немного о Mate и попытался описать как оно работает на принципиальном уровне. Моя презентация на гуглдоках ( исходник презентации ...13 лет назад
-
-
Если у вас не запускается проект в debug mode... - Посмотрите в mm.cfg - возможно FireBug вставил туда две строки: SuppressDebuggerExceptionDialogs=1 PreloadSWF=... После их удаления все должно заработать.15 лет назад
-
WUM Public Alpha - Watch your music online! With WUM, you can: - Become a VJ in 42 seconds! - Visualize any soundtrack using selected Vizi a from the set. - Add any mp3 audio...15 лет назад
-
-
Synchronet.ru - Недавно компания «Синхро системс», в которой я работаю ведущим Flash-разработчиком, объявила о запуске своего нового продукта Synchronet.ru . Synchronet....16 лет назад
-
Realaxy ActionScript Editor - Вот такие вот новости: Realaxy ActionScript Editor будет впервые представлен публике на конференции Creative Future в Москве, 23 апреля, по адресу ул. Новы...16 лет назад
-
JW Player ver. 5 vs Flex - Тем, кто намучался и бросил, но всеже хочет использовать JW Player Ver. 5 в своем Flex приложении, котоый весьма загадочным образом был написан так чтобы н...16 лет назад
-
-
Вращение блудного сильверлайтера - Привет ребята, пишу вам из далёкой Калифорнии, куда забросила судьба меня и мою жену. Так получилось, что я, очень резко, из флексера-страдальца превратилс...16 лет назад
-
Пройти тест на скорость печати - Как быстро вы печатаете на клавиатуре? Владеете слепым методом? Проверь свою скорость набора текста. Есть полезные советы и ссылки на бесплатные обучающие п...17 лет назад
-
Оригинальный фон для Canvas - Придумывая фон для своего сайта, я решил сделать что-то вроде подмалевка, имитацию лессирующих мазков на полотне. Сегодня я поделюсь своим рецептом данного...17 лет назад
-
Аннотирование классов с помощью собственных метатегов. - В этой статье я попробую пролить свет на одну интересную возможность Flex3. А именно, возможность аннотирования классов ActionScript при помощи собственных...17 лет назад
-
-
FSCommand exec и передача параметров - Столкнулся с такой проблемой:необходимо вызывать exe файл c параметрами из flash projector exe.Как известно, параметры передавать в fscommand("exec", "file...18 лет назад
-
Смотрю квартиру 28 февраля в 20:00 - Срочно сдам комнату в 2-х комнатной квартире. Ст. м. Октябрьское поле. 2 мин. от метро (почти напротив...) Вся мебель, ТВ, холодильник отдельный, инет (за ...18 лет назад
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
Observer
-
Flint’s Nice Interactive Linter Error - When I teach treating errors as values, and myself wonder where an error falls on the spectrum of domain vs infra vs panic, what the user and/or developer ...6 дней назад
-
Build a HTML5 game like Geometry Dash using Phaser 4 and TypeScript, with a simple custom physics engine - The cube in Geometry Dash always lands perfectly square. It's not rigid-body physics: the spin is purely cosmetic. The hitbox never rotates, and the game s...неделю назад
-
Dijkstra's Shortest Path Algorithm - Follow a step-by-step walkthrough of Dijkstra's algorithm as it discovers the cheapest route through a weighted graph. Includes interactive diagrams, why B...неделю назад
-
Designing for GenUI: What Changes When AI Builds the UI? - Designing for GenUI: What Changes When AI Builds the UI? Earlier this year, the Flutter team released GenUI: an SDK that enables AI to compose UIs based ...месяц назад
-
-
How deep learning is making OCR smarter than ever - Optical character recognition used to feel like a museum display — clever, but fragile.… The post How deep learning is making OCR smarter than ever appea...3 месяца назад
-
Smashed (#1-5) - 20265″ x 4″ x 2″Bronze The post Smashed (#1-5) first appeared on Doug McCune.4 месяца назад
-
Flash Drives with High IOPS: input/output operations, performance, efficiency - Flash drives with high IOPS (Input/Output Operations Per Second) are engineered for outstanding performance, making them … Flash Drives with High IOPS: inp...7 месяцев назад
-
Stack those faces with Face Stack - It started, as many of my personal projects do, with a bit of yak shaving. A few days ago, I was working on a new version of my website/portfolio. There’s ...год назад
-
4 idéer om hur man förvarar barnkläder - Har du svårt att hålla ordning på dina barns kläder? Om så är fallet behöver du inte oroa dig. De flesta föräldrar gör det! I den här artikeln kommer vi ...4 года назад
-
Everything You Need to Know about RAID Levels - As businesses expand, the demand for stable and robust infrastructure arises. One of the essential characteristics of a scalable system is good memory ma...6 лет назад
-
JavaScript Tip of the Day - Once upon a time I started an AS3 Tip of the Day thread over on the kirupa forums. It helped people to get ramped up with AS3, especially in transition fro...6 лет назад
-
What Do I Need To Know About JavaScript Part I - This is a frequent question I receive from those wishing to parlay a knowledge of Javascript into a long career as a developer. Speaking of long careers, m...6 лет назад
-
Micro Credit For Entrepreneurial Women: Detailed Guidebook - Some women need a little wind to sail to improve their financial situation and living standards, and micro-credit is one of the financing supports tailor...6 лет назад
-
Discrete space notions - A lattice configuration with scale Space is made of tiny (think quark size) discrete sphere-like bubbles in a hex lattice. We’ll call them ‘pockets’. They ...7 лет назад
-
Road to Raybeem – VR Music Visualizer - Raybeem is available on Steam for Oculus Rift & HTC Vive. Raybeem is the first VR project from Sokay. It’s not 2D. It’s not a game. Yet, it’s as close to...8 лет назад
-
Camino de Santiago sketch maps - Back in October in Montréal I finished my term on the NACIS board of directors at the annual conference. (Side note: see video of the conference talks!) Ta...8 лет назад
-
Here’s how to watch beIN Sports outside the Middle East with a VPN - As everyone who has used beIN Sports’ services will easily tell you, the network offers one of the most comprehensive sports packages in the world. Footb...8 лет назад
-
Spark Color Picker - This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file i...8 лет назад
-
Goodbye and thank you, Flash Player, for all that jazz - My adventure with Flash Player had started back in 2002 when I’ve explored the capabilities of this platform for the User Interface prototyping at Philips ...9 лет назад
-
"Sparse Vermiform" Rendering of Fluids with Pressure Based Color - This blog post discusses a technique for rendering SideFX Houdini FLIP fluids as sparse fields of wormlike particles (hence my slightly over-the-top *Sp...9 лет назад
-
-
ds 2.0-beta released - I’ve just uploaded a new version of my data structures library for Haxe to haxelib. Please note that the new version requires Haxe 3.3.0-rc.1 and might not...10 лет назад
-
What are UV coordinates? - Isn’t it amazing how many people in the field do not understand UV coordinates? I thought so too, so back in 2011 I took two images from Senocular article ...10 лет назад
-
Project: WebGL Porsche 911 Showcase - I don’t really get to post much about actual projects for a couple of reasons. My work is usually behind the scenes graphics coding, which typically result...10 лет назад
-
Content Strategy: Why You Should Hire a Journalist - When it comes to the content strategy and ongoing content creation, who is going to be creating your content? We suggest hiring a journalist. Continue Re...10 лет назад
-
The New Particle - I’ve had this idea for a quite time now (few years I guess), but haven’t released it because it felt so stupid. Yes, just good old fashioned stupid, simple...10 лет назад
-
Taking the web offline – Service Worker (Death of the dinosaur) - If you are not interested in the full story watch the result here. If I look at my work for parleys.com it seems like the circle is finally closing. When I...11 лет назад
-
Adobe Creative SDK Update v0.5.2062 - In the latest update to the Creative SDK released this week there are a few changes to look at. First the SDK now requires Xcode 6. There is also updates...11 лет назад
-
write my essay below best school report publishing solution using the internet - An important intention in this course is the roll-out of effective tech writing techniques. To help you to turn out to be an carried out publisher, you can...12 лет назад
-
Unity 5, WebGL and the Plugin-pocalypse - Well it has happened, Unity announced WebGL exporting. This was a much needed announcement and our flash man on the inside, UnitZeroOne / Ralph Hauwert of...12 лет назад
-
On Software Entropy - I know, I know. I’ve been claiming that I’m going to start blogging regularly again for several years now and it hasn’t happened. With the death of Google ...13 лет назад
-
creators of flash announce "explory" - in the "where are they now..." category, the creators of flash & co (Jonathan Gay, Peter Goldie, Gary Grossman, Peter Santangeli, and Robert Tatsumi) just ...13 лет назад
-
How to pick a great brand name - How to pick a great brand name (and domain too) Today I want to share with you our a snippet from our internal company guidelines for picking a new brand n...13 лет назад
-
Factory Reset - Leaving something behind you is never easy when you put your whole heart into it. Five years of Audiotool have shaped me, taught me and left their scars. A...13 лет назад
-
Where to find me - As you probably have noticed, there is not much going on this blog anymore. Most of my activity is now happening on the various social outlets. So if you w...13 лет назад
-
-
WebP decoder for Flash. - Nothing much here, but I thought I’d share a handy little library to decode WebP in Flash. Here’s two demo’s : Lena and V for Vendetta, both encoded using ...14 лет назад
-
Officially Temporary Closed - Over the last months I was watching myself surfing to my own blog hoping that I have written something new. I have not. The last months were filled with a ...14 лет назад
-
Printing Invoices with Flex 4.5 - This is my first attempt at a print preview control for Flex 4.5. I am not a component developer so it does not have a lot of features right now.It current...15 лет назад
-
How to add custom Quick Assist options to FlashBuilder 4.5 ? - Adding custom quick assist options to FlashBuilder 4.5.1 is easy. Here is a sample plugin I created to show how this can be done. Copy this plugin into th...15 лет назад
-
Game Music: Gunbird (ガンバード) - Everybody who knows Shoot’em’ups probably knows Gunbird! This is a classic that doesn’t need much explanation and as so often with this game genre it’s so...15 лет назад
-
Version 0.9 Released - Version 0.9 has been released. Thanks to Cliff Meyers and Nick Matelli for their contributions! What's changed: - Added PropertyGetter tag - Adde...15 лет назад
-
Introducing Summer - The HTML5 Library for Java - Summer is now officially over but we have a new project to announce and apparently it's called Summer. I've been working on it in the past few months and...15 лет назад
-
Android: Create your own sharing app - One of the first applications I did for Android was a very simple application which simply takes a picture using Camera and then send it to a remote server...15 лет назад
-
Spark Path Sound Visualizer - Flex 4 SDK final is out. It’s time to update and post some early Flex 4 prototypes I’ve built with Beta 1 and 2 last year. Here is a simple Spark Path Soun...16 лет назад
-
Moving to http://blog.flexgeek.in - This has been in my mind for quite a while. I have had serious problems with my hosting of files and examples in the past. I was also considering moving to...17 лет назад
-
Moving on - Warning: this website is now closed, and comment writing is disabled. I’m moving the content of this site to zehfernando.com. The new domain name makes for...18 лет назад
-
As3Crypto is now open. Well, *more* open. - As3Crypto has been open-source from the start, but the development, iteration and feedback process isn’t quite as open and collaborative as it should be. T...18 лет назад
-
3rdParty.libraries - as3httpclient - extend HTTP/HTTPS API (Abdul Qabiz) israfil-mojo - Maven 2 plugin (Israfil Consulting Services) xpath-as3 - XPath (Peter Hall) as3-rpclib - a...19 лет назад
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
четверг, 14 августа 2008 г.
Пробуем haxeVideo. //Обзор HaxeVideo
Хорошо написано о том, где скачать, куда распаковать, рабочий пример (на AS3).
Ключевые фразы:
Компилируем приложение и запускаем. В директории установки haxeVideo, в папке videos можно увидеть файл temp.flv, медленно увеличивающего свой размер по мере поступления потока на сервер.
В итоге мы запустили сервер haxeVideo и написали простейшее приложение для него, которое передает поток для записи его на сервере. Также в директории установки haxeVideo можно найти исходники сервера и пример клиентского приложения, написанные на haxe.
Как сделать заливку фона повторяющимся (тайленым) изображением. //Пример кода
В кратце - класс экстендит RectangularBorder и осуществляет программную заливку.
Код прилагается:
http://renaun.com/flex2/posts/repeatedbackground/index.html
Стандарты кодирования в AS3. //Полезно
Стандарты кодирования в AS3. Flash. Flex. AIR. Haxe.
Статья посвящена систематизации стиля кодирования AS3.
http://flash-santer.com/docs/Coding%20Standards.doc - документ, описывающий систему.
четверг, 19 июня 2008 г.
Как узнать параметры компиляции во Flex Builder.
Всё просто:
Открываем файл ".actionScriptProperties" в папке вашего проекта и смотрим:
строчка ноды "‹compiler›" как раз содержит все параметры помпилятора
‹compiler
additionalCompilerArguments="-load-config ../flex-config.xml"
copyDependentFiles="true"
enableModuleDebug="true"
flexSDK="Flex 3"
generateAccessible="false"
htmlExpressInstall="true"
htmlGenerate="true"
htmlHistoryManagement="false"
htmlPlayerVersion="9.0.28"
htmlPlayerVersionCheck="false"
outputFolderPath="bin-debug"
sourceFolderPath="src"
strict="true"
useApolloConfig="false"
verifyDigests="true"
warn="true"›
Создаём в папке проекта файл "flex-config.xml".
За основу берём его же из sdk (flexSDK\frameworks\flex-config.xml).
Убиваем/изменяем что лично вам необходимо.
Не забываем указать используемые библиотеки, но лучше это сделать не конкретно указав каждую, а указать только папки с ними, а компилятор уж сам пусть разбирается, какие юзать:
‹library-path›
‹path-element›libs‹/path-element>
‹path-element›../../frameworks/libs‹/path-element›
‹path-element›../../frameworks/libs/player‹/path-element›
‹path-element›../../frameworks/locale/{locale}‹/path-element›
‹/library-path›
Далее открываем cmd и пишем:
‹url_to_mxmlc.exe› ‹url_to_Main.as› -load-config ‹url_to_flex-config.xml›
Собственно всё :)
Подробнее узнать как писать flex-config.xml и вообще работать с компилятором mxmlc можно узнать из справки к Flex Builder'у.
среда, 14 мая 2008 г.
Повышение производительности AS3 приложений //Очень полезные советы
Здесь представлены некоторые приемы, которые помогут повысить производительность наших приложений:
1) Создавайте константы для часто используемых объектов типа new Point(0,0) или new Rectangle(0,0,320,240)://вызов 100000 раз: 75мс
new Point(0,0);
//или
private static const POINT:Point = new Point(0,0);
//8мс
POINT;
Быстрее на 838%
2) Сократите указания на статические члены классов. Вместо этого старайтесь использовать переменные пакета://15мс
SomeClass.somevar;
package somepackage{
public const somevar:int;
}
//8мс
somevar;
на 66% быстрее
3) Сохраняйте getter свойства в локальных переменных при их использовании более одного раза.somesprite.graphics.clear();
somesprite.graphics.beginFill(0x000000);
somesprite.graphics.drawRect(0,0,10,10);
somesprite.graphics.endFill();
// лучше заменить на
var n:Graphics = somesprite.graphics;
n.clear();
n.beginFill(0x000000);
n.drawRect(0,0,10,10);
n.endFill();
4) Создавайте собственные reflection-методы вместо использования getDefinitionByName(getQualifiedClassName(object))utils reflection
// 503мс
var someclass:Class = getDefinitionByName(getQualifiedClassName(someObject));
// getter reflection
public class SomeClass {
public function get reflect():Class {
return SomeClass;
}
}
// 9мс
var someclass:Class = object.reflect();
быстрее на 5489%
5) Страрайтесь использовать строгое типизирование
6) Приводите к нужным типам, например, при чтении из массива.
Быстрее будет обращаться к imagevar image: BitmapData = images[index];
image.getPixel(x,y)
//чем к
images[index].getPixel(x,y);
7) Где возможно, используйте int вместо Number
8) Операторы побитового сдвига работают быстрее:
Побитовый сдвиг влево быстрее на 300% при умножении на любую степень двойки:x = x * 2;
x = x * 64;
//равно:
x = x << 1;
x = x << 6;
Побитовый сдвиг вправо быстрее на 350% при делении на любую степень двойки:x = x / 2;
x = x / 64;
//равно:
x = x >> 1;
x = x >> 6;
Извлечение компонентов цвета://24bit
var color:uint = 0x336699;
var r:uint = color >> 16;
var g:uint = color >> 8 & 0xFF;
var b:uint = color & 0xFF;
//32bit
var color:uint = 0xff336699;
var a:uint = color >>> 24;
var r:uint = color >>> 16 & 0xFF;
var g:uint = color >>> 8 & 0xFF;
var b:uint = color & 0xFF;
Объединение компонентов цвета://24bit
//24bit
var r:uint = 0x33;
var g:uint = 0x66;
var b:uint = 0x99;
var color:uint = r << 16 | g << 8 | b;
//32bit
var a:uint = 0xff;
var r:uint = 0x33;
var g:uint = 0x66;
var b:uint = 0x99;
var color:uint = a << 24 | r << 16 | g << 8 | b;
9) Обмен значениями численных переменных без использования временной переменной:var t:int = a;
a = b;
b = t;
//равно:
a ^= b;
b ^= a;
a ^= b;
Быстрее на 20%.
10) Инкремент/декремент.
Внимание: это пример понижения производительности, но зато есть возможность понизить читабельность кода для врагов:)i = -~i; // i++
i = ~-i; // i--
11) Смена знака с помощью NOT или XOR (говорят на 300% быстрее):i = -i;
//равно:
i = ~i + 1;
//или
i = (i ^ -1) + 1;
12) Подсчет остатка
Если делитель является степенью двух, то остаток можно подсчитать быстрее на 600% следующим образом:
остаток = делимое & (делитель - 1);x = 131 % 4;
//равно:
x = 131 & (4 - 1);
13) Проверка на четность/нечетность:isEven = (i % 2) == 0;
//равно:
isEven = (i & 1) == 0;
Быстрее на 600%.
14) Абсолютное значение. Версия 1 быстрее на 250%, чем Math.abs(), а версия 2 быстрее на 20%, чем версия 1.//версия 1
i = x < 0 ? -x : x;
//версия 2
i = (x ^ (x >> 31)) - (x >> 31);
15) Сравнение двух числе на равенство знаковeqSign = a * b > 0;
//равно:
eqSign = a ^ b >= 0;
На 35% быстрее.
16) Быстрое конвертирование цвета из R5G5B5 в R8G8B8
R8 = (R5 << 3) | (R5 >> 2)
G8 = (R5 << 3) | (R5 >> 2)
B8 = (R5 << 3) | (R5 >> 2)
17) a++ быстрее, чем a = a + 1 и т.п.
18) Умножение быстрее деления.
Лучше использовать a = b*.5 вместо a = b / 2
19) int(1.5) быстрее, чем Math.floor(1.5)
Аналогично int(1.5) + 1 быстрее, чем Math.ceil(1.5)