Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fix a "initial content not found" error?

Using Flash Builder 4.6 on some code from a client. Clicked on debug (also tried run) and received this error:

Process terminated unexpectedly.

initial content not found

Launch command details:  "C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0
\bin\adl.exe" -runtime "C:\Program Files\Adobe\Adobe Flash Builder 4.6\sdks\4.6.0
\runtimes\air\win" -profile mobileDevice -screensize 640x920:640x960 -XscreenDPI 326 -
XversionPlatform IOS "C:\Users\tstiffler\Adobe Flash Builder 4.6\TP\bin-debug\TP-
app.xml" "C:\Users\tstiffler\Adobe Flash Builder 4.6\TP\bin-debug"

How do I fix this? Please be as detailed as you can as I've never used Flash Builder before. Thanks!

like image 666
boilers222 Avatar asked Nov 20 '12 14:11

boilers222


People also ask

What do I do if the content area is not found?

This article explains what to do if you get the message: “Sorry, the content area was not found in your page. You must call the_content function in the current template, in order for Elementor to work on this page.”

How to fix the word file found unreadable content error?

Open the Word software from the Start menu or open another Word file. In Word, select File on the Ribbon, and then select Open. Click the Browse button and then find the Word file that has the Word found unreadable content error. Highlight the Word file and then click the small triangle arrow icon in the Open button. Click Open and Repair.

What does it mean when a website cannot be found?

In Internet Explorer, the message The webpage cannot be found usually indicates an HTTP 404 error but a 400 Bad Request error is another possibility. You can check to see which error IE is referring to by checking for either 404 or 400 in the title bar.

Why can't I find the page I'm looking for?

The page you're looking for can't be found. These error messages can appear in any browser or any operating system. Most display inside the browser window just as web pages do. In Internet Explorer, the message The webpage cannot be found usually indicates an HTTP 404 error but a 400 Bad Request error is another possibility.


3 Answers

I had Main-app.xml file, in it I changed the following line

<content>[This value will be overwritten by Flash Builder in the output app.xml]</content>

to

<content>{yourAppName}.swf</content>

and initial content problem was solved.

like image 97
Haris ur Rehman Avatar answered Sep 17 '22 17:09

Haris ur Rehman


I went to the app descriptor XML file just like hrehman, but mine just had the SWF file that I've been using - MyGame-iOS.swf - and I tried changing this to any other name (MyGame.swf), then tried building and running and it worked fine.

Not the best solution, but just in case someone goes to do what hrehman did, and doesn't see the square-bracketed message and is still stuck.

like image 24
Cloov Avatar answered Sep 18 '22 17:09

Cloov


I experienced this when my SWF-metadata was invalid. The swf was not even listed in the package content of my project. So, in short, be sure your swf-metadata is valid. I changed the value of backgroundColor from this (which works):

    [SWF(frameRate="60", width="480", height="800", backgroundColor="#000000")]

to

    [SWF(frameRate="60", width="480", height="800", backgroundColor="#0x0")]

The hash sign in backgroundColor should not have been there, and so I experienced the Flash Builder initial content error. Changing the second line to:

    [SWF(frameRate="60", width="480", height="800", backgroundColor="0x0")]

And my swf was once again included in the package.

like image 42
Kramer Avatar answered Sep 16 '22 17:09

Kramer