Highlighted

15 beta: ProgressEvent is not defined

Engaged ,
Aug 09, 2014

Copy link to clipboard

Copied

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

TOPICS
Air beta

Views

389

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

15 beta: ProgressEvent is not defined

Engaged ,
Aug 09, 2014

Copy link to clipboard

Copied

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

TOPICS
Air beta

Views

390

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Aug 09, 2014 0
Aug 11, 2014

Copy link to clipboard

Copied

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.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 11, 2014 1
Engaged ,
Aug 12, 2014

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Aug 12, 2014 0
marcanw LATEST
Engaged ,
Sep 10, 2014

Copy link to clipboard

Copied

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

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 10, 2014 0