Skip to main content
Participant
December 20, 2013
Question

Load swf-version=17 into swf-version=10 - VerifyError: Error #1014.......

  • December 20, 2013
  • 1 reply
  • 682 views

Hi Guys,

I have very interesting situation, and I would like to ask you for any help.

History: I've started the new project for "one" company (my project is small web game). The first and the main requirement for this project was using Stage3D. The company I'm working for, has it's own "SWF-Container" for all projects (about 1000+ small projects). The second requirement was using this "SWF-Container" to load my project inside.

Main Issue: "SWF-Container" can't be changed/modified (a lot of functionality + a lot of project already online). "SWF-Container" wroted using Flex SDK 3.6 ("A long time ago in a galaxy far, far away...."  ) -swf-version=10. When I'm trying to load the new project ("-swf-version=17") into this old container - I'm receiving the error:

[Fault] exception, information=VerifyError: Error #1014: Class flash.display::Stage3D could not be found.

(and I thing the same will be for all new classes like: JSON, Context3D, etc...)

No errors if I'm opening my project stand-alone.

My ideas/suggestions:

1) Ask for new "SWF-Container" - Failed. No resources to support a few "SWF-Container"s.

2) Ask for change "SWF-Container" to be "-swf-version=17" - Failed. No simple way to change SWF version using Flex SDK 3.6 + a lot of conflicts with current projects (at least global class "JSON").

3) Find some solution with loading the new SWF to the old SWF - in progress. Currently - with no success.


Projects:

I've created two project that simulate my situation: https://drive.google.com/file/d/0Bw4xj8VbNvNuZ1gybzFYcEpkLVk/edit?usp=sharing

By using next URL you can find ZIP with two FlashDeveloper projects inside:

a) OldContainer - project that simulate "SWF-Container" (Flex SDK 3.6)

b) NewGame - project that simulate my new project (Flex SDK 4.6).

I will be very grateful for any help in finding a solution for this problem.


With best regards, Vadym.

This topic has been closed for replies.

1 reply

kglad
Community Expert
Community Expert
December 20, 2013

create a new main swf, which supports the needed features, and that loads and controls your swf-container.

Participant
December 20, 2013

Hi kglad,

Thank you for good point. But there are no way to change current mehanisms to embed/load "SWF-Container".

Imaging, that "SWF-Container" is not a simple empty SWF, but it's site core, that display in one time a lot of different widgets - small AS3 projects with really different functionality (one of these widgets should be my small game).

Thanks, Vadym.