About Orland MediaDevelopmentTrainingBlogRSS FeedContact us
Microphone

TypeError: Error #1006: value is not a function

Date: Monday 20th April 2009
Time: 23:06
Category: ActionScript 3.0
Views: 786
Comments: No comments

Another tip: if you get this error, one possible explanation is that you have tried to declare a variable with the same name as an already declared function – perhaps one which has been inherited from a superclass.

Rate this post
1 star2 stars3 stars4 stars5 stars   (5 votes, average: 3.20 out of 5)

Adobe Flash to be in set top boxes

Date: Monday 20th April 2009
Time: 14:49
Category: Adobe Flash
Views: 106
Comments: 1 Comment

Flash is becoming more and more prevalent on mobile devices and it is now to be built into set top boxes – and we are ready, willing and able to provide the content.

Rate this post
1 star2 stars3 stars4 stars5 stars   (Roll over and click)

ActionScript 3 (AS3) training course in London

Date: Sunday 19th April 2009
Time: 13:55
Category: ActionScript 3.0
Views: 427
Comments: No comments

We have just set the date for our next Applied ActionScript 3.0 course: it will be held on 5th, 6th & 7th May 2009 in London, UK.

The course teaches how to build Flash sites exclusively using ActionScript 3.0.

One or two places are still available if you would like to attend – but be quick!

Rate this post
1 star2 stars3 stars4 stars5 stars   (1 votes, average: 3.00 out of 5)

ProgressEvent.PROGRESS misreports bytesLoaded & bytesTotal

Date: Sunday 19th April 2009
Time: 13:35
Category: ActionScript 3.0
Views: 727
Comments: No comments

One problem we recently ran into involved ProgressEvent.PROGRESS events seeming to misreport the proportion of the file that has loaded.

This would cause the preloader’s bar to extend beyond the 100% mark. While we don’t have time currently to outline the full technical context of the issue, we did spend some time examining it, and we solved it.

The solution to the problem was not to use the bytesLoaded and bytesTotal of the actual ProgressEvent in the event listener, but to instead use the properties of the target (which is a LoaderInfo object). So your code looks like this:

private function update(e:ProgressEvent):void
{
  // causes misreport:
  // var bt:uint = e.bytesTotal;
  // var bl:uint = e.bytesLoaded;

  // prevents misreport:
  var bt:uint = e.target.bytesTotal;
  var bl:uint = e.target.bytesLoaded;

  bar.scaleX = bl/bt;
}

We’ll try to expand on this issue at a later time. In the meantime we hope this helps someone.

Rate this post
1 star2 stars3 stars4 stars5 stars   (3 votes, average: 3.33 out of 5)

iTunes says “Preparing to Install” every time it starts

Date: Friday 10th April 2009
Time: 12:40
Category: Other
Views: 757
Comments: No comments

Here at Orland Media we make full use of iTunes on Vista, having it either on random play or tuning into to any of several hundred radio stations throughout the world while working.

The above mentioned problem can sometimes occur on upgrading iTunes, and it doesn’t go away even on a reboot. The simple cure for it is to make a new shortcut pointing to the iTunes executable file, and dispose of the old shortcut.

Rate this post
1 star2 stars3 stars4 stars5 stars   (5 votes, average: 3.40 out of 5)
Older posts
Lenovo Microsoft Adobe Heart Internet Envirowise
Copyright © 2008 Orland Media Ltd | All rights reserved Company details Ethical policy Terms & conditions Privacy policy