07.22.09

Which Browsers Come Preinstalled with Flash Player?

Posted in Adobe, Browser, Flash, Flash 10, Flex at 8:45 pm by Curtis J. Morley

Here is the quiz of the day.
Which Browsers Come Preinstalled with Flash Player?

Icons for IE8, Chrome2, Safari 4, Firefox 3, Opera 9

Icons for IE8, Chrome2, Firefox 3, Safari 4, Opera 9

Which Browsers come preinstalled with the Flash Player plugin pre-installed?

  1. Internet Explorer 8 (8.0.7100.0)
  2. Google Chrome 2 (2.0.172.37)
  3. Firefox 3 (3.51)
  4. Opera 9.7 (9.64)
  5. Safari 4 (4.0.2)
Find out the answer after the break.
Break
If you guessed Internet Explorer 8 you would be right.  The way I found this out is because our computer failed and I took it in to get it fixed at EBC computers who did a great job (a little pricey) and replaced the harddrive and installed Windows 7 as the OS.  The first thing I did (after plugging it into our 25" monitor at home) was to download the various browsers.  I then saw the page on Opera Mobile and wanted to check it out.  Surprisingly none of the browsers (including Opera which was the site I was on requiring Flash Player) had the Flash Player preinstalled  except for Internet Explorer 8.
And here are the screenshots to prove it.
Google Chrome Flash Plugin Screenshot
Google Chrome isn't presintalled with Flash Player
Google Chrome isn't preinstalled with Flash Player
Safari Flash Plugin Screenshot
Safari Browser is not presintalled with Flash Player
Safari Browser is not presintalled with Flash Player but had a detiled pop-up
Firefox  Flash Plugin Screenshot
Firefox Browser is not presintalled with Flash Player.  This was pretty lame.
Firefox Browser is not presintalled with Flash Player. This was pretty lame.
Opera Flash Plugin Screenshot
Opera Browser is not presintalled with Flash Player.  The lamest of all.

Opera Browser is not presintalled with Flash Player. The lamest of all.

So what should you do if you run into this scenario?  Go to Adobe of course and Get the Flash Plugin.

Thanks and as always,

Happy Flashing

Curtis J. Morley

06.22.09

Flash for Android

Posted in Flash 10 at 8:55 am by Curtis J. Morley

So it seems that Android has jumped ahead of iPhone again and the launch of Flash Player 10 will be released in October during the Adobe Max confernce.  Flash for Android is a big step for the mobile industry.  Besides running the SkyFire browser on Windows Mobile and Symbian phones this is the first major release to allow Flash 10 content on mobile.  Leave it to Google to be the first to run Flash Player 10 on mobile devices.  Google seems to really have embraced Flash.

Check out the full article at www.tmonews.com

Flash Player 10 will be available on Android

Flash Player 10 will be available on Android

03.21.09

Presenting at E-Learning DevCon - Cognitive Learning

Posted in Adobe, Computers, Flash, Flash 10, Flex, Speaking at 10:07 pm by Curtis J. Morley

I am excited to say that I will be speaking at the E-Learning DevConE-Learning DevCon is arguably the best Flash E-learning conference around.  This is one of those hidden gems that people talk about long after they are gone.  Some of the most respected E-learning and Interactive Instructional designers will be at this conference. Sign up quickly because it is filling up fast.

Presentation:

Cognitive Learning


Cognitive Learning Screenshot

Cognitive Learning Screenshot

This lecture will engage you and bring to life aspects of learning that are only now being tapped through technology. This style of learning walks through how technology can take learning from a passive experience to an engaged and cognitive experience. We will look at how the use of video and divergent paths can engage learners like never before. Curtis will show the product that has only been shown at one other conference - the Global Chinese Conference for Computing in Education. Come at let your brain be engaged.

Where:
E-Learning DevCon - University of Utah, Salt Lake City, Utah

When:
June 17th-19th 3:30 P.M.

So sign up for E-Learning DevCon and I let's make learning exciting again.

Happy Flashing,

Curtis J. Morley

02.28.09

Update to AS3 Reference Error #1056

Posted in Error, Error, Flash, Flash 10, Flex, errors at 1:09 am by Curtis J. Morley

I added another description and scenario to AS3 Error 1056.  If you didn't see your solution there before you may have the answer now.

Check out ActionScript 3 Error 1056

02.19.09

WARNING: Text field variable names are not supported in ActionScript 3.0

Posted in Adobe, Error, Error, Flash 10 at 11:20 pm by Curtis J. Morley

ActionScript WARNING: Text field variable names are not supported in ActionScript 3.0. The variable 'btnName' used for an unnamed text field will not be exported.

ActionScript Warning Description:

So I was going back to restructure a project that I had done in AS2 and a previous version of Flash.  I thought I had converted all of the old AS2 code, and components, and naming conventions, etc... when this error popped up.  The error made a lot of sense until I went to fix it.  The image below is what I saw when I went to the place that I thought be the resolution to this error.

Text Field Variable Names not displaying in CS4/

Text Field Variable Names not displaying in CS4/AS3

Flex / Flash Text Field  Variable Warning Fix:
I searched around at other buttons and tried to find something else that might have been it even though I knew that this was the correct text field.  The way to solve this is to revert back to AS2 in your publish settings ( FILE >> PUBLISH SETTINGS >> SCRIPT drop down) and then go back to the text field in question and you will be able to delete the variable name. Don't forge to return to ActionScript 3.0 after you delete the variable name.

File >> Publish Settings >> Script Option

File >> Publish Settings >> Script Option

and with this option selected you can then delete the variable name as shown below.

Text Field Variable Names not displaying in AS2

Text Field Variable Names not displaying in AS2

This should help you resolve Flex / Flash Text Field Variable Warning

Thanks and as always Happy Flashing

Curtis J. Morley

01.03.09

AS3 Error #1126: Function does not have a body.

Posted in Adobe, Error, Error, Flash, Flash 10, Flex, errors at 8:26 am by Curtis J. Morley

ActionScript Error 1126: Function does not have a body.

ActionScript Error 1126 Description:

I got this error from one of my UVU students code.  And as promised in honor of her I am thusly naming AS3 Error 1126 the Erin Johnson Error.  This error is given, in this case, because a semicolon is used instead of a colon after the parenthesis.  A colon in the ActionScript language is equivalent to a period in the English Language and so the

Flex / Flash Error #1126 Fix:
Replace the semicolon with a colon.

Bad Code 1:

function someFunc(event:MouseEvent);void
{
doSomething();
}

Good Code 1:

function someFunc(event:MouseEvent):void
{
doSomething();
}

Related Errors:

ActionScript Error 1084: Syntax error: expecting colon before leftparen. This error is a psuedo error in this case because once AS3 Error 1126 is reslved this error will also disappear.

This should help you resolve Flex / Flash Error #1126

Thanks and as always Happy Flashing

Curtis J. Morley

10.16.08

Speaking at Adobe MAX - Flooglytics

Posted in Adobe, Flash, Flash 10, Flex, SEO, Search Engine, Speaking at 10:12 pm by Curtis J. Morley

Flooglytics = Flash + Google Analytics

I am excited to say that I will be speaking one month from today at the FITC Unconference at Adobe MAXFITC has always been one of the leading Flash conferences and has expanded to locations all around the globe.

What:

Flash and Google Analytics = FLOOGLYTICS
Flash has always been considered the ugly step sister in the world of SEO and Analytics. Well now Flash takes “Center Stage”. Using Google Analytics data can be extracted from Flash that could never be pulled from HTML. This session will explore the ins-and-outs of how to setup Google Analytics to work most effectively with your Flash files and how to set up Flash to work most effectively with your Google Analytics account. Go beyond just seeing what users did. See what users meant to do or even wanted to do but didn’t. The most important part of the equation is how to refine this gold that Flash and Google Analytics provide. Walk away from this session armed with the tools you need to implement Floogylitics and make your site effective. Combine this session with the MAX session announcing the new developments at Google Analytics and you will be miles ahead of the competition.

Where: FITC Unconference at Adobe MAX in San Francisco

When: November 19th 3:30 P.M.

So sign up for MAX and I will see you on Wednesday.

Happy Flashing,

Curtis J. Morley

ActionScript Error 1184: Incompatible default value of type int where String is expected.

Posted in Adobe, Error, Error, Flash, Flash 10, Flex, errors at 9:04 pm by Curtis J. Morley

ActionScript Error 1184: Incompatible default value of type int where String is expected.

ActionScript Error 1184 Description:
This error is quite simple.  It just says that you have the wrong type of data in your parameter initializer.  Or in other words you tried to assign a string where you typed the parameter as a uint.

Flex / Flash Error #1184 Fix:
Match the parameter type to the proper data type.

Bad Code 1:

bob(someValue:uint = "Happy")
{
trace(someValue);//error 1184
}

Good Code 1:

bob(someValue:uint = 5)
{
trace(someValue);//output 5
}

Related Errors:

AS3 Error 1047

This should help you resolve Flex / Flash Error #1184

Thanks and as always Happy Flashing

Curtis J. Morley

10.15.08

ActionScript Error 1047: Parameter initializer unknown or is not a compile-time constant.

Posted in Adobe, Error, Error, Flash, Flash 10, Flex, errors at 6:25 am by Curtis J. Morley

ActionScript Error 1047: Parameter initializer unknown or is not a compile-time constant.ActionScript Error 1047

Description:
Let's break down ActionScript Error 1047 into it's various parts.

  1. Parameter = The variable inside the parenthesis of a function
  2. Initializer = An initial value set on the parameter inside the parenthesis
  3. Compile-time Constant = Something Flash knows the value of without evaluating

So long story short - you are trying to assign a value to a parameter that has to be evaluated.  Still don't know what I mean?  Check the code examples.

This is actually a really great feature of AS3.  Say for example you have an event listener that calls a function.  You also want to call this same function without the event. Unless you pass a value in you will get AS3 Error 1136.  AS3 allows you to set the Event parameter to null and therefore accept a call to that function without passing in a parameter.  function myUtilFunc( e:Event = null);

You can initialize and function with any Compile time constant for example a string like "Happy", a constant like null or an int like 5 but you can not throw in anything that needs to be evaluated like a variable, math operation, an in-line array like [a,b,c] or date.

Flex / Flash Error #1047 Fix:
Remove any variable data and use only constants in the initializer such as Strings, Numbers, Null, etc...

Bad Code:

var init:String = "Happy"
function bob(someValue:String = init){
trace(someValue);
}

Good Code:

function bob(someValue:String = "Happy"){
trace(someValue);
}

or

function multiFunction(e:Event = null){
//doSomething;
}

Related Errors:

AS3 Error 1184

This should help you resolve Flex / Flash Error #1047

Thanks and as always Happy Flashing

Curtis J. Morley

10.14.08

Flex / Flash Compiler Error #1023: Incompatible override.

Posted in Adobe, Error, Error, Flash, Flash 10, Flex, errors at 10:40 pm by Curtis J. Morley

AS3 Compiler Error #1023: Incompatible override.

AS3 Error 1023 Description:

This ActionScript error is the most terse error that AS3 has provided us.  It is nothing like the beautiful description of AS3 Warning 1090

It popped up, rearing it's ugly head like a teenager on Halloween. In most cases this error has more to do with AS3 Error 1021 than it does with an "Incompatible override".   The first example below demonstrates this behavior. Example 1 will also give AS3 Error 1021 every time.

The second example is when an "Incompatible override" really is the reason.  Method signatures have to match or you will get this error.  Basically it means that you have not matched everything up properly from the method/Class that you are overriding.  So if you are overriding something that accepts events and you forget to put in events you will get this error.  If you give it a different Type you will get this error. Etc...

Adobe gives a good explanation of my second example.  They say:

"A function marked override must exactly match the parameter and return type declaration of the function it is overriding. It must have the same number of parameters, each of the same type, and declare the same return type. If any of the parameters are optional, that must match as well. Both functions must use the same access specifier (public, private, and so on) or namespace attribute as well."

Flex / Flash Error #1023 Fix:

Make sure that you do not have duplicate names with an object and a function

or

Match the Method Signature of the soon to be overridden class.

Bad Code 1:

var myArray:Array = [1,2,3];

function myArray () {
}

Good Code 1:

var myArray:Array = [1,2,3];

function myArrayFunction () {
}

Bad Code 2:

override protected function draw(event:Event = null):void

Good Code 2:

override protected function draw(event:Event):void

Related Errors:

AS3 Error 3596
AS3 Error 1021
AS3 Error 1023 (Different error same number)

This should help you resolve Flex / Flash Warning #1023

Thanks and as always Happy Flashing

Curtis J. Morley

« Previous entries