You are stalking: Flash Tips

Different variations of clicktags

articles | |

By Zeus Perez ::) | May 10, 2011

Have you ever hand coded an ad to one or more advertising networks? It’s annoying. All the companies that were ‘supposed’ to abide to the iab.net recommendations just get trampled by ad providers. Here’s a great example, Atlas. Instead of using clickTag they use clickTag1 for their network. That is really annoying since usually clickTag1, and clickTag2 are used when more than one link is being used in the ad. Now a long time ago I saw a rendition of an ad that was filled with variations of these flash tags. Now I know why it was created, in order to not have to create 4 or 5 different variations for different networks. The big issue though are Atlas’ ads since they use clickTag1. Thank you Alejandro Delgado for helping me with the AS2 code.

By the way, do not use on (press) instead of on (release) as the press event triggers pop-up blockers.

// allow security inception for domains System.security.allowDomain("."); //zeus' list of clicktags //-----------actionscript 2 clickThis. if (clickTAG.substr(0,5) "http:") { getURL(clickTAG, "_blank"); }else{ //do nothing } if (clickTag.substr(0,5) "http:") { getURL(clickTag, "_blank"); }else{ //do nothing } if (clicktag.substr(0,5) "http:") { getURL(clicktag, "_blank"); }else{ //do nothing } if (clickTag1.substr(0,5) "http:") { getURL(clickTag1, "_blank"); }else{ //do nothing } if (ClickTag.substr(0,5) "http:") { getURL(ClickTag, "_blank"); }else{ //do nothing } if (Clicktag.substr(0,5) "http:") { getURL(Clicktag, "_blank"); }else{ //do nothing } } //This will be your second clickTag, just tell your traffic person to use "clickTag2 and use clickTag1 for the main clickTag if you have too. Email info AT zeusdidit.com for help or leave a message on this post. clickThisToo. //zeus added if (clickTag2.substr(0,5) "http:") { getURL(clickTag2, "_blank"); } } //--------Actionscript 3 function btnClick(e:MouseEvent){ getURL(e.currentTarget.name); } switch (currentLabel) { case "(clickTag.substr(0,5) "http:") { getURL(clickTag, "_blank"); }" : break; case "(clicktag.substr(0,5) "http:") { getURL(clicktag, "_blank"); }" : break; case "(clickTag1.substr(0,5) "http:") { getURL(clickTag1, "_blank"); }" : break; case "(ClickTag.substr(0,5) "http:") { getURL(ClickTag, "_blank"); }" : break; case "(Clicktag.substr(0,5) "http:") { getURL(Clicktag, "_blank"); }" : break; }

Flash Streaming Media Questions and HTML5 with JQUERY Options

articles | |

By Zeus Perez ::) | Jan 20, 2011


Sometimes you want to search online for answers and sometimes you are really, really, really lucky and get to meet a one of a kind individual like Alex. I could probably spend days looking for these answers, searching forums but I have the amazing opportunity to ask a Certified Adobe God -Alex (Alejandro Delgado). In this online chat I discuss with Alex options for Flash streaming media and our discussion turns towards HTML5 but we do get an understanding of what it takes to get a streaming server set up for not just AS2, but AS3 and for users without Flash 10.1. Thanks Alex for all your help. Please note, this took less than 20 minutes instead of days research. Click here to see the full discussion

Flash Animation Example Using FlashEFF 2.0 Components

articles | |

By Zeus Perez ::) | Nov 19, 2010


Get Adobe Flash player

Buy this component today for awesome and easy to use flash effects

Creating animations in Flash CS4 and CS5 has become much more fun, but when you’re in need for some quick down and dirty effect use FlashEFF.

Flash Actionscript 1.0 Starfield

articles | |

By Zeus Perez ::) | Nov 19, 2010

Download the source file

This file will give you the basic principles to building the following ad using Flash Actionscript 1.0 with an animation of a starfield using just 1 keyframe with 8 layers. The stars have a hover effect too. Basically I just took code from some other file I found and created this one. I generally find bunch of bits and pieces to reconstruct my animations and keep reservoirs of my files online so I can reuse them. I hope these help someone. I know they help me quite a bit.

Remember, keep your animations simple but flashy, clean and sweet ;)


Get Adobe Flash player

Flash Actionscript 2.0 Wait Timer Example

articles | |

By Zeus Perez ::) | Nov 19, 2010

Download the source files=

This file will give you the basic principles to building the following ad using Flash Actionscript 2.0 and a wait timer that pauses your animation without having to add extra keyframes to your files.


Get Adobe Flash player

Flash Ads By Zeus In Case Someone Asks...

web-design | |

By Zeus Perez ::) | Nov 10, 2010

I was responsible for the creative direction of the advertisements including selection of photography, grid control, art direction, placement, and execution of static, animated gifs and flash ads.

Flash AS3 RTMP Streaming Video Example

articles | |

By Zeus Perez ::) | Jul 06, 2010

Download the files - Flash CS3 minimum



var nc:NetConnection = new NetConnection();
nc.connect(null);

var ns:NetStream = new NetStream(nc);
theVideo.attachVideo(ns);

ns.setBufferTime(10);

ns. {
trace(info.code);
if(info.code == "NetStream.Buffer.Full") {
bufferClip._visible = false;
} if(info.code == "NetStream.Buffer.Empty") {
bufferClip._visible = true;
}
if(info.code == "NetStream.Play.Stop") {
ns.seek(0);
}
}
ns.play("http://pdl-demo.akamai.com.edgesuite.net/pdl/will/nocc_320x180_548kbps.flv");
//rtmp://domain/app/streamname


Thanks to the ever amazing Flash Pro Alejandro Delgado for giving me the code and helping me get this to work!

Older  

Real Time Web Analytics