-
Build your own interactive JavaScript playground
posted in JavaScript on 2018-11-13 code function const console exports editor require file error js -
Recently I spent some time working on my own JavaScript playground called Demoit. Something like CodeSandbox, JSBin or Codepen. I already blogged about why I did it but decided to write down some implementation details. Everything happens at runtime in the browser so it is pretty interesting project.
read more
-
Start your own JavaScript library using webpack and ES6
posted in JavaScript on 2015-12-30 library js webpack babel true var file module exports eslint function build -
Two months ago I published a starter pack for React based on webpack. Today I found out that I need almost the same thing but without the React bit. This simplifies the setup but there are still some tricky parts. So, I made a brand new repository webpack-library-starter and placed all the stuff that we need for creating a JavaScript library.
read more
-
Testing responsiveness
posted in HTML5 on 2014-05-14 width content viewport device browser panel nav href chrome -
We all know what responsive means nowadays. We, as developers, normally develop responsive applications. There is a dozen of instruments helping us achieving our goals. Some of us use extensions and even pay for them. However, I'm using one thing - Google Chrome browser. In this article, we will see what the Chrome's capabilities for testing responsiveness are.
read more
-
Extending Jasmine (BDD framework for testing)
posted in JavaScript on 2013-07-05 function jasmine htmlreporter spec reporter jasmineenv test prototype -
Don't get me wrong, Jasmine is a wonderful framework. I'm using it for testing JavaScript in both places - front-end (in browser) and back-end (Nodejs). However, the client side has some disadvantages, which I just fixed. I hope that someday these changes will be moved to the official version (or at least I'll make a pull request very soon).
read more
-
Flash, nodejs sockets and cross-domain policy file
posted in ActionScript on 2013-06-13 socket port xml policy file server anotherhost error flash player make -
Ok, that was a long journey. I took an already build project and I had to make some changes. It's a complex system involving flex applications, nodejs and a mobile site. Before to start making changes I had to setup the project and make it work on my local machine. I spend few days doing this. At the end I successfully compile the flex application and made the necessary corrections. I uploaded the new swf file and of course it didn't work.
read more
-
Web Highlights #1
posted in HTML5 on 2013-04-05 http things tablets viewport sizes front end architecture pixel mobiles make -
Everyday I'm reading or watching something which I find helpful. Normally I bookmark those things, but at the end I have dozen of folders and subfolders which I never check. So, I decided to make such blog post where I'll share valuable things in the net.
read more
-
Edge Conference 2013
posted in HTML5 on 2013-02-25 edge conference panel web testing browser support complex devices -
Edge Conference is a different kind of conference, for developers with experience to share, who want to see and bring improvements to the web platform. Their emphasis is on creating a good environment for productive debate and discussion, rather than presenting the experiences of a single speaker. The videos from the conference are now available and you should definitely check them out.
read more
-
AS3: Tracing in Flash/Flex
posted in ActionScript on 2011-08-16 import flash public str function debug movieclip void trace swf class -
Inspired by the article of Dru Kepple I decided to share my experience in Debugging processes in flash/flex enviroment.
read more
-
AS3: DataGrid with custom ItemRenderers
posted in ActionScript on 2011-08-11 date data rating datafield var row import mx column private function void datagridcolumn -
One of the big advantages of Flex framework is that you can use a lot of ready components. The DataGrid is really helpful. Especially when you want to list big amount of data and provide ability to edit the information directly in the grid. These days I finished a test task which uses DataGrid and decided to share my experience.
read more
-
AS3: runtime font loading (embedding)
posted in ActionScript on 2011-04-25 font field loader import flash swf public static const format font_export_name string font_file_name class -
Flash is wonderful technology and has many advantages. Before a couple of years it was really popuplar to use it for displaying fonts that are not installed on the user's machine. Flash is still powerfull tool for such kind of tasks. These days I worked on a project which had to use a lot of fonts. It wasn't possible to embed all of them so I decided to implement runtime embedding.
read more
-
Convert Adobe Flash FLA files into HTML and reach more devices
posted in ActionScript on 2011-03-13 html supported wallaby reach -
"Wallaby" is the codename for an experimental technology that converts the artwork and animation contained in Adobe® Flash® Professional (FLA) files into HTML. This allows you to reuse and extend the reach of your content to devices that do not support the Flash runtimes.
read more
-
Creating mp3 player with RobotLegs (basics tutorial)
posted in ActionScript on 2011-02-09 import public function event data preloaderevent robotlegs events class -
Have you ever wondered how to optimize your ActionScript applications? Have you searched for a nice framework that will save you a lot of time and will organize your structure? If yes then RobotLegs is for you. In this article I'll show you how to use it to create a simple mp3 player which loads a configuration xml file, parse it and play mp3 files.
read more
-
How to protect your SWF file
posted in ActionScript on 2010-10-15 function swf protect void check file import flash public ondatafiledtoload onfailed files string -
Is there any way to protect your flash work? To be honest the answer is NO. As you probably know everything that is uploaded on a web server and is accessible from a web browser is downloaded to the users' computers and could be found in the temporary directories. Once someone gets your swf file he could use one of the dozen decompilers to reproduce the .fla and .as files. Anyway, there are still some ways to make stealing difficult.
read more
-
How to create realistic Earth globe in Flash (AS3, Papervision3D)
posted in ActionScript on 2010-09-16 stage globe var import org papervision3d rotationx rotationy moviematerial sphere stage stageheight stage stagewidth -
Papervision3D is a perfect tool for the purpose. As you will see such a task needs only few lines of code. To make the example a little bit more interesting we will add additional code to control the rotation of the globe by the mouse.
read more
-
Export mysql data to SQL script or CSV
posted in PHP on 2010-09-04 server data mysql export good solution phpmyadmin didn t work export data php file mysql exe mysql server received host -
Yesterday I received host name, user name and password for a MySQL server. I needed to export the data from it. I didn't have access to PHPMyAdmin, I tried to connect to the server by mysql.exe on my PC, but it didn't work. And then I found really good solution - PHPMyAdmin in only one php file. I launched it from my localhost and it works. So if you need to export data or just see it, use Adminer. I also uploaded the file on my server, you can download it from here.
read more
-
Duplicate loaded images in AS3
posted in ActionScript on 2010-08-30 duplicate target var rect movieclip function bitmap loader import flash display target parent -
During the creation of the latest changes in my portfolio site, I needed to duplicate a loaded image that has to be placed as a material in papervison3d's cube. We don't have duplicateMovieClip in AS3, so we have to use another technique.
read more
-
How to use Google Maps API in flash
posted in ActionScript on 2010-08-19 import map flash google maps icon private function adding setting mapevent api -
Google offers a lot of free tools for us. One of them is really useful and easy to work with - GoogleMaps API. In this article I will show you how to import a map in Flash and place an icon in a specific place.
read more
-
Papervision3d: Finding 2D coordinates of a 3D object
posted in ActionScript on 2010-07-25 private var 3d number import org papervision3d addsphereandtooltip item mousey mousex basicview displayobject3d event -
Papervision3d is probably the most popular 3D flash engine. There are dozen of applications/sites that use it. These days I also decided to create a 3D effect in my portfolio site. Everything works fine, but I needed a tooltip for each of the 3D objects on my scene. To be able to animate everything I needed 2D coordinates of all my 3D elements.
read more
-
Load MySQL data in Flash with AS3
posted in ActionScript on 2010-07-10 text data city import flash ondatafiledtoload php file onloaddata string url -
There are some things that I'm doing in almost every project. Loading of data in Flash is actually one of them. In this article I'll show you how to load information from MySQL database. We will use PHP as a junction between the Flash and the database. You need an Apache server like XAMPP or EasyPHP installed or just a hosting account that supports php.
read more
-
Customize ComboBox in Flash (AS3)
posted in ActionScript on 2010-06-17 combo tf data import flash dp additem label customcellrenderer function combo textfield setstyle oncombochange cellrenderer movieclip -
In my work as a flash developer very often I receive from the client just one photoshop file with the design of the application/site that has to be coded. In the last project the designer made the ComboBox in the style of the site. So I couldn't use the default look of the Flash's drop down component.
read more
-
SVET - web based project management system
posted in Other on 2010-01-05 project management system based project management web based project svet make detailed reports specific period working time online notebook work basically -
Finally I finished some bugs of my own project management system and I think it's ready for use. SVET is one of my biggest projects and it's a web based project management system, that helps you to organize your work. Basically it's an online notebook which you can use to store the information for your projects. It enables you to track your working time and communicate with your team and clients. You can also make detailed reports of what you've done for a specific period of time. Please check out here.
read more
-
The website is down !
posted in Fun on 2008-09-04 tech support person video clip hilarious fun video clip life - read more