PDA

View Full Version : Help Flex Problem



nvidia
November 23rd, 2007, 06:19 AM
Hi i have just downloaded Flex Builder 2 and Flash 9 player for Internet Explorer. I added this piece of code in my ProgrammingBasics.as file:




package {
import flash.display.Sprite;

public class ProgrammingBasics extends Sprite
{
public function ProgrammingBasics()
{
var quantity:Number = 9;
trace(quantity);
}
}
}



However, when i clicked on the debug button i get this messag;


Failed to connect; session timed out.
Ensure that:
1. You compiled your Flash application with debugging on.
2. You are running the debug version of the Flash Player.





I downloaded Flex builder 2 but is there anything i need to do, PLEASE HELP GUYS.

Undernet
November 23rd, 2007, 07:42 AM
Sometimes I get a connect to debuger box come up when i'm trying to debug.
If I simply restart flex builder and it usually solves the problem.

I take it your debuging by right clicking on the page and selecting
debug as > flex application.

Try reinstalling flash player, maybe it got corrupted.

nvidia
November 23rd, 2007, 12:37 PM
Hi have just seen your reply. The place i downloaded the Flex builder is from the following link: http://www.adobe.com/products/flex/downloads/

i downloaded the Flex Builder with Charting. Hope that helps in your response to this reply. The file is in an Actionscript project and when i do the debug, i simply click the little bug button to do the debug. I downloaded flash 9 4 times already but still no luck. I have attached the file to let you see.

Edite: i've right clicked the page and debug as > flex app but still it askes me to download flash 9

Hope that helps you out.

Krilnon
November 23rd, 2007, 01:14 PM
I downloaded flash 9 4 times already but still no luck.

Just to clarify, have you been installing the debug player (for IE)? http://www.adobe.com/support/flashplayer/downloads.html

Also, check out this (somewhat) relevant technote. Though the error message is for Mozilla-family browsers, it does fairly explicitly instruct you how to be sure that you have the debug version installed.

http://kb.adobe.com/selfservice/viewContent.do?externalId=758bf58b&sliceId=2

nvidia
November 23rd, 2007, 03:25 PM
YOU ARE A STAR!!!!!!!!!!!!!!!!!!!!

I acted on your reply about 19:00 pm gmt today, Friday, and followed the instructions. By 7:30 i had uninstalled Flash Player 9 and installed the debug player for IE, but that did not work. So after that, i had my dinner. It is now 20:20 and after loading the builder and debugging my file, IT BLOODY WORKED!!!!!

Although i do have a questions for, what is the difference of the debug flash player than the standard if you will, version of Flash Player 9?? Why does it not work with Flash Player 9?

THANKS FOR YOU HELP :)