Sprite Sheet Animation with CSS3

CSS3, Javascript

Kommentare deaktiviert

Sprite Sheet Animation with CSS3

Sometimes i miss the days with my old love Flash. Making small timeline animations to pimp a project was always easy and fun. Since the fall of flash the web is more static then before and it is much more complicated to create nice animations. Today i had to port a bird animation from a [...]

Remote debugging off cordova/phonegap apps

Programming, goodToKnow

Kommentare deaktiviert

Remote debugging off cordova/phonegap apps

Mobile html5 applications are really hard to debug. Sometimes there is a difference between an app ruinning in mobile browser and running in a webview even on the same device. Currently we have a lot weird css display bugs on samsung s4 and they are hardly to find.
Today i found this great tool to [...]

Simple PHP Socket Server for Flash

AS3/Flash/Flex, Programming

Kommentare deaktiviert

Simple PHP Socket Server for Flash

These days i was looking for a really small socket server to send messages between flash movies. All i found doesn’t fits good so i made my own one.
Example download:
socketServerExample

IOS Development Faults - Part 1 - Invalid Launch Image

Programming, iPhone/iPad

Kommentare deaktiviert

IOS Development Faults – Part 1 – Invalid Launch Image

After the upload to itunes connect i received this message: Invalid Launch Image – Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.

heroku rake assets:precompile failed. Invalid CSS.

Today i played with sass and compass in my current rails project. On my local machine everything works fine. But when i want to make an update to my heroku app i got the following error:

Running: rake assets:precompile
rake aborted!
Invalid CSS after ” *”: expected identifier, was “/”
(in /tmp/build_3tizuffxebjqm/app/assets/
stylesheets/application.css.scss)

the funny thing is, [...]

Upload snapshot image from flash to server

AS3/Flash/Flex, goodToKnow

Kommentare deaktiviert

Upload snapshot image from flash to server

Today i wanted to upload a captured image from a movieclip in a flash movie to a rails server. there are some task to complete to to this.
1. Flash Upload
I found a really nice und usefull class this morning. you can capture a bitmap image from a movieclip or from webcam and send it t [...]

Flex 4 sample themes don't work

AS3/Flash/Flex

Kommentare deaktiviert

Flex 4 sample themes don’t work

Today i was playing with the different themes shipped with the FlexSDK. The original spark theme is so ugly. The good thing is – there are some more themes for us, like Arcade, Cobalt, Graphite and Zen. Also there are some CSS-Styled Spark-Themes like spark_cobalt and spark_desert.
For using another theme you have to add a [...]

Flex Bug: swapChildren() doesn't work on UIComponents

AS3/Flash/Flex

Kommentare deaktiviert

Flex Bug: swapChildren() doesn’t work on UIComponents

today i found another weird bug. i wanted to change the order of 2 elemente of a mx.containers.Canvas with swapChildren() but i got the following error:

[Fault] exception, information=ArgumentError: Error #2025: The supplied DisplayObject must be a child of the caller.
bzw.
[Fault] exception, information=ArgumentError: Error #2025: Das angegebene DisplayObject muss ein untergeordnetes Element des Aufrufers sein.

the error [...]

Flex Bug: smoothBitmapContent doesn’t work for reloaded images

SmoothBitmapContent works only for first loaded image. After changing the source of an image smoothing becomes false.
The Solution: attach a loading complete listener and change the smooth property of the loaded image by yourself.

<mx :Script>
< ![CDATA[
 
/**
* Flex Bug: after reloading the image smoothing is false. smoothBitmapContent works only for first loaded image.
* Solution: [...]

AS3 Code Libraries

Hier mal eine super Liste mit OpenSource AS3 Code Libraries
http://www.adrianparr.com/?p=83