Skip to main content
Inspiring
August 9, 2014
Question

15 beta: ProgressEvent is not defined

  • August 9, 2014
  • 2 replies
  • 816 views

Thank you for your work on Air. You are doing a wonderfull job 🙂

The new publishing engine is way faster. The ipa seems smaller now.

However I have the following error:

ReferenceError: Error #1065: Variable ProgressEvent is not defined.

This error didn't show up with the previous version (14.0.0.137).

And I have the right include in the code:

import flash.events.*;

Is it a bug or did I make something wrong?

Thank you

This topic has been closed for replies.

2 replies

marcanwAuthor
Inspiring
September 10, 2014

Hi Shankshank,

I get back to this because I had to find a solution with the new release.

It turns out the problem is a bit tricky. PogressEvent is defined on Windows and Android.

In iOS, ProgressEvent is defined except in one class. Don't know why.

I do have a class called ProgressEvent but it didn't create problems before.

Anyway I had to find a quick fix so I replaced ProgressEvent with its value ("progress") in the problematic class and everything was fine.

Just to let you know.

Best

Participating Frequently
August 11, 2014

Hi Marcanw,

Thank you for reporting us issue but we are not able to reproduce it at our end.

Below is the link of sample Hello World Project which we have tried.

Dropbox - ProgressMobile.zip

If you can share us sample program, using which can reproduce this issue, it would be highly appreciated.

Thank you.

marcanwAuthor
Inspiring
August 12, 2014

Hi Shankshank,

Thanlk for your reply.

My problem was with the Sound class.

Not sure it makes a difference but I'll change your test code with the Sound class and keep you posted.

Thank you one more time to the team for your wonderfull job on Air.

Marcan