How to pass fashvars using AS3 and Swfobject

Swfobject has become the most popular choice for embedding flash content on the web. They’ve made it extremely easy to pass variable (flashVars) in to flash using two type of syntax. Take a look at the example below:

<script type=”text/javascript”>

var flashvars = {};

swfobject.embedSWF(“myContent.swf”, “myContent”, “300″, “120″, “9.0.0″,”expressInstall.swf”, flashvars);

</script>

Flash on iPhone coming soon via Adobe CS5

The new Adobe CS5 Flash will now give flash developer the ability to publish their flash content as an iPhone application. Flash alread allows developers to publish as SWFs, Projector files, and as QuickTime movies. This does not mean that iPhone users will be able to view flash content through the iPhone’s web browser. That’s Apples restriction. What Adobe has done is allow developers to repackage existing flash content as an iPhone application.

iPhoneAppsFlash

This will increase the number of apps available on iTunes store. This will also give agencies and software companies access to a market place that may have shied away from because of a lack of technical resources or fear of outsourcing.

Flash developers will have to follow the same requirement for deployment as other iPhone app developers. They will have to join Apples iPhone Developers Program and follow their guidelines. One of the requirements is to obtain a certificate from Apple in order to test and distribute your app through the iTunes store.

You can find books on Amizon already geared for Flash iPhone development. There is one by The Essential Guide to iPhone Application Development for Flash Users (Paperback).

If you can’t wait for Adobe and want to dive right in to iPhone application development, here are a few books to help you start building apps.

iPhone Advanced Projects (Paperback)
iPhone Application Development For Dummies

For more info on Apples requirements, you can view them here: http://developer.apple.com/iphon

Att.net Authentication failed in Entourage with POP & SMTP

After switching over from Comcast to ATT I received a free AT&T email account. I already owned a Yahoo POP email account that I setup with my Entourage email client. I tried to include the new ATT/Yahoo email account but I always received this error message:

Authentication failed because Entourage doesn’t support any of the available authentication methods.

I took some time surfing through Google results on the matter but I finally got it working using the following settings.

Setting up your client-based email account

  • Email address: MemberID@att.net
  • Incoming (POP): pop.att.yahoo.com
  • Outgoing (SMTP): smtp.att.yahoo.com
    1. Select SMTP server requires authentication
    2. Use same settings as receiving mail server

Advance Settings:

  • Incoming mail server: POP3
  • Incoming mail port number: 995  (make sure secure connection (SSL) is checked)
  • Outgoing mail port number: 465 (make sure secure connection (SSL) is checked)

IMPORTANT THING TO NOTE!
Do not check the box labeled “Override the default POP port”.
Some users didn’t have to check SSL for the Out going mail.

See screen grabs below:

1) Receiving Mail

Picture 3

2) Sending Mail

Picture 5

How to validate Flash absolute url paths

You may want to dynamically change the way your flash file behaves based on where it’s hosted. To do so, you should utilize the “_url” variable to obtain the absolute path of your flash file. Continue Reading »

MC Tweener Add Glow Filter

If you are using the latest SVN version of Tweener (AS3), you can get the GlowFilter with Tweener to work. Here’s the code sample assuming you have a movie clip named “box” on the stage.
Continue Reading »

Create Empty MovieClip Dynamically in AS3

Here is how to dynamically create a movie clip in ActionScript 3 using the MovieClip class Continue Reading »

Preloaders in AS3

Here are a few way to create a preloader in flash actionscript 3 Continue Reading »

Flash Actionscript 3 Reflection Class Fix

Thanks to Pixelfumes’ AS3 Reflection class, creating reflections on static images and video clips in Flash AS3 is very easy. However there is a problem that many people find in FireFox on a PC. Continue Reading »

Clear or Delete an Array in AS3

Here is how to delete and clear out an array using the Slice method in Flash Actionscript 3 Continue Reading »

AS3 Blur Filter with Tweener class

Here’s how to add blur filters when using Tweener. The example below uses a movie clip with the instants name “mc1″. Make sure you change it to match the movie clip in your flash file. Continue Reading »