View unanswered posts | View active topics

Reply to topic  [ 2 posts ] 
Weird issue in FD using a SWC with all Flash CS6 components 
Author Message

Joined: Sun Mar 27, 2016 9:00 pm
Posts: 11
Reply with quote
OS: Windows 8.1 Pro
Architecture: 64bit
.net Framework: 2.0.50727, 3.0, 3.5, 4.0
Flash Develop:
Java: 8 (build 1.8.0_111-b14)

Hello guys. I think this is my 2nd bug report (if I recall I posted about the Export SWC plugin).

I made a SWC file in Flash Professional CS6 trial, with all components (Button, DataGrid, etc).
I added it in FD to the library. I only have a code in my class to add a Button and a DataGrid.
It works 1 or 2 times when I publish. Then I get an error:
[Fault] exception, information=TypeError: Error #2007: Parameter child must be non-null.

I went to Flash CS6, edited the files to add the latest Flash playerglobal SWC (23.0). Recreated the SWC file with the components.
Issue continues. Then I checked I was using the latest AIR SDK in FD, and that's ok, 23.0. Also I updated the version in the Application Descriptor XML file.
Issue continues. So I stopped debugging yesterday. Today, I came up with the idea of testing the whole thing in Flash CS6. Published like 10 times, and no issues.

So, one of 2 things could possibly be happening:

- A bug in Flash Develop
- A bug in the Flex + AIR SDK

I'm an downloading the AIR only SDK to test at this moment.

The issue's nature it's evidently the use of the components from the SWC file.

One of my attempts to fix this was adding an Event.ADDED_TO_STAGE listener, hoping it had something to do with the stage not being ready to add children on it.

Any ideas on this? Thank you! Happy holidays! :( :?:


I removed the old AIR SDK in FD, and added the new one. I thought the issue was solved because it published like 5 times in a row, but at the 6 or 7 time, bam, error. :cry: :'(

Successful Publish Image

Failed Publish Image

Tue Nov 29, 2016 3:06 am

Joined: Wed Aug 31, 2005 7:27 am
Posts: 12172
Location: London
Reply with quote
SDK's incremental compilation has been known to be somewhat unstable. Often the solution is to Project > Clean and rebuild.

Wed Dec 21, 2016 3:42 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.