Posted on 21 September 2011. Tags: capture, Flash, photo, webcam
Two days ago I made a little flash app that will allow anyone to take a picture with a webcam connected to a computer. Everything worked fine in AS3. It was only when I got to the php part of the project when I felt like I should ask for help. And I did, I asked a friend or mine (Mihai Bojin) who in a few minutes explained to me exactly what I needed to know in order to get this project working as it should (a big part of the php code is made by him).

Continue Reading
Posted in Flash, PHP
Posted on 22 June 2011. Tags: Flash
Getting Flash to display dynamic text the way you want it displayed can sometimes be a chore. Recently I had the need to bottom-align a dynamic text field that could vary between 1 and 3 lines high.

Continue Reading
Posted in Flash
Posted on 16 February 2011. Tags: chrome, CSS, safari
CSS to disable resizing
The CSS to disable resizing for all textareas looks like this:
textarea {
resize: none;
}
Continue Reading
Posted in Flash, HTML - XHTML
Posted on 04 January 2011.
You can vary the <font size='20'>font size</font>,<br><font color="#0000FF">color</font>,<br><font face="CourierNew, Courier, Typewriter">face</font>, or<br><font size="18" color="#FF00FF"face="Times, Times New Roman, _serif">any combination of the three.</font>
Continue Reading
Posted in Flash
Posted on 04 January 2011.
Credit for this has to go Daniel Skovli and Jesse Stratford for there work on the original Scripted Typewriter Effect. Their’s is a great place to start, and most of this tutorial uses the same variables as their’s. The difference between their method and this one is that this method doesn’t rely on the timeline. So rather than make the playhead jump around to different scripts, I’m going to type out text using only one frame and a typing speed that can be adjusted by simply changing one number. The biggest advantage of this method is that the speed of the typing is regulated by a variable that can be changed to within milliseconds. Continue Reading
Posted in Flash
Posted on 30 December 2010. Tags: as2, as3, Flash
dynamic references
If you’ve been dealing with actionscript for some time and you still don’t know what this is, pay close attention because sooner or later you’ll need it. You may even have needed it already! Continue Reading
Posted in Flash
Posted on 14 December 2010. Tags: ajax, asual, Flash, seo, swfaddress
Deep linking for Flash and Ajax
SWFAddress is a small but powerful library that provides deep linking for Flash and Ajax. It’s a developer tool, allowing creation of unique virtual URLs that can point to a website section or an application state. SWFAddress enables a number of important capabilities which are missing in today’s rich web technologies including: Continue Reading
Posted in Flash
Posted on 09 November 2010. Tags: as3, Flash
Everybody knows that FlashVars are pretty useful when you want to work with dynamic data being passed from the URL or from the object tags, that gives you a bit of a dynamic touch to your application as well allows you to shorten out your delivery time since you can create your flash object only once, for example you want to publish 100′s of videos like youtube does for example, but you don’t want to create for every clip a single swf.. Believe me there are people out there that are still doing that. If you don’t have a big ass database like most web 2.0 sites have, then flash vars is the intermediate solution. Continue Reading
Posted in Flash
Posted on 26 October 2010. Tags: action script, as2, as3, Flash
Example
The following example resizes the pBar component instance to 100 pixels wide and 100 pixels high:
pBar.setSize(100, 100);
[ad code=4 align=center]
Posted in Flash
Posted on 13 October 2010. Tags: action script, as2, as3, Flash
on (release) {
if (clickTAG.substr(0,5) == “http:”) {
getURL(clickTAG, “_blank”);
}
}
What are the requirements for Flash ads?
Flash is a plug-in for web browsers that allows animation to be added to web page components, including AdWords ads. Flash advertising is allowed for all AdWords advertisers, with some technical restrictions.
Flash ads must be 50K or smaller in size, use Flash versions 4 – 10, and be compiled from ActionScript 3 sources. All Flash ads should support the clickTAG variable.
The clickTAG is the tracking code assigned by Google to an individual ad. It allows Google to register where the ad was displayed when it was clicked, and helps advertisers determine the effectiveness of their campaign. On any click, Flash ads should redirect to the URL specified in the clickTAG argument; there should be no other redirection in between.
The variable name must be spelled “clickTAG” (upper-case TAG; no space between click and TAG) and not “click tag,” “Click Tag,” or any other form. This is the proper code for the clickTAG parameter:
on (release) {
getURL(clickTAG, “_blank”);
}
Posted in Flash