473,394 Members | 1,773 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Not able to debug in Flash CS5

I'm able to create breakpoints in my ActionScript File but when I debug (Shift+Ctrl+Enter) It just prints what it's supposed to without even trying to debug. * are the 2 places I've tried a breakpoint, no-matter where I put it, the computer loops and it prints the numbers from 0 to 10 without pausing or showing anything but the following in the Output window.

Attempting to launch & connect to Player using URL DebugExample.swf
[SWF] DebugExample.swf - 2084 bytes after decompression
[UnloadSWF] DebugExample.swf
Debug session terminated.

Here's the code:
Expand|Select|Wrap|Line Numbers
  1. package {
  2.   import flash.display.*;
  3.   import flash.text.*;
  4.   public class DebugExample extends MovieClip {
  5.     public function DebugExample() {
  6. *     for(var i:int=0;i<10;i++) { 
  7. *     showNumber(i);
  8.       }
  9.     }
  10.     public function showNumber(whichNum:int) {
  11.       var myText:TextField = new TextField();
  12.       myText.text = String(whichNum);
  13.       myText.y = whichNum*20;
  14.       addChild(myText);
  15.     }
  16.   }
  17. }
  18.  
Jan 6 '11 #1
0 1506

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Kuba Florczyk | last post by:
Hi I've got a flash.ocx on a form in which i want play a movie, under this movie i've got a image. Everything is ok, but in flash movie some objects got alpha <> 100 and thru flash i should see...
9
by: Keith Rowe | last post by:
Hello, I am trying to reference a Shockwave Flash Object on a vb code behind page in an ASP.NET project and I receive the following error: Guid should contain 32 digits with 4 dashes...
8
by: Ben Bartsch | last post by:
Looking for opinions on the use of Flash with ASP.NET. Has anyone here seen or conducted any implementations of Flash that are actually useful or otherwise complement ASP.NET?
5
by: Trapulo | last post by:
Hi, I've a big trouble with an asp.net page. Basically, the page has an swf that starts and downloads some data from an other asp.net page. The application works well on my testing IIS 6, but...
4
by: kidalex | last post by:
I'm a programmer but I have never programmed in Action Script or very advanced JavaScript. So, please be gentle :-) I'm looking to develop a simple ( or is it? ) system with 2 parts to it: ...
3
by: William LaMartin | last post by:
I have had the following happen to me for the third time in several months on my laptop but never on my desktop computer while working with a VB.et project in Visual Studio 2005. I was working...
11
by: emailus | last post by:
I am webmaster for the domain <www.alpha1.org.au>. Not being an expert in html, I take advantage of my domain Registrant's web building tool, 'Instant Website'. This tool is provided as part of...
1
by: Sura | last post by:
Hi I have a flash interactive window which has html links and this appears on an html page. This window can be moved with the mouse on the html page. The html page has an iFrame too. When the...
1
by: vinodkus | last post by:
can anybody give me link for debug flash error in google
1
by: mugdhajain | last post by:
Hi, I am working on an independent application to play flash files on Mac. I have already done the same for Linux, and it works flawlessly but on mac for some reason flash is not drawing to my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.