473,508 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

please helpme

78 New Member
package
{
import flash.display.Shape;
import flash.display.Sprite;

import mx.controls.Alert;

public class Greeter extends Sprite
{
private var size:uint=80;
private var bgColor:uint=0xFFCC00;
private var borderColor:uint=0x666666;
private var borderSize:uint=0;
private var cornerRadius:uint=9;
private var gutter:uint=5;
public function DisplayCircle():void
{
var child:Shape=new Shape();
var halfsize:uint=Math.round(size/2);
child.graphics.beginFill(bgColor,1);
child.graphics.lineStyle(borderSize,borderColor);
child.graphics.drawCircle(halfsize,halfsize,halfsi ze);
child.graphics.endFill();
addChild(child);
Alert.show("This is mycircle","Alert",Alert.OK);
}
}
}
this is my code but The circle was not appear.It is successfully complied but i don't know what happen there any one please help me
Feb 29 '08 #1
0 1291

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

Similar topics

1
2151
by: Numberwhun | last post by:
Hello everyone! I am trying to learn java and have run into kind of a snag. Here is the code that I have so far: ------ <begin_code> ---------- import javax.swing.*; import...
1
1182
by: kalyan | last post by:
if i query like select * from table1 then i will get the following **************************************************** Ticker col2 col3 col4 col5...
2
2343
by: rked | last post by:
I get nameSPAN1 is undefined when I place cursor in comments box.. <%@ LANGUAGE="VBScript" %> <% DIM ipAddress ipAddress=Request.Servervariables("REMOTE_HOST") %> <html> <head> <meta...
7
3570
by: x muzuo | last post by:
Hi guys, I have got a prob of javascript form validation which just doesnt work with my ASP code. Can any one help me out please. Here is the code: {////<<head> <title>IIBO Submit Page</title>...
4
3503
by: pshindle | last post by:
DB2 Team - I just downloaded and unzipped the new Fixpack 9 for DB2 ESE V8 for Windows (FP9_WR21350_ESE.exe). I then burned the unzipped Fixpack files to a CD. I proceded to install this...
2
1211
by: Mr Dutchie | last post by:
Hello, For some reason, my program is locking up on the "New Streamreader(fs)" part in my program.. I doublechecked everything but nothing is changed since the last time I worked on it. and...
1
54452
PEB
by: PEB | last post by:
POSTING GUIDELINES Please follow these guidelines when posting questions Post your question in a relevant forum Do NOT PM questions to individual experts - This is not fair on them and...
0
824
by: Ripka | last post by:
I have creates a project in vb.net.but while debuging the program i am getting the following error."THE FOLLOWING MODULE WAS BUILT EITHER WITH OPTIMIZATIONS ENABLED OR WITHOUT DEBUG INFORMATION.TO...
0
7321
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
7377
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...
1
7036
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
5624
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4705
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3179
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
414
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.