473,663 Members | 2,726 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

please helpme

78 New Member
package
{
import flash.display.S hape;
import flash.display.S prite;

import mx.controls.Ale rt;

public class Greeter extends Sprite
{
private var size:uint=80;
private var bgColor:uint=0x FFCC00;
private var borderColor:uin t=0x666666;
private var borderSize:uint =0;
private var cornerRadius:ui nt=9;
private var gutter:uint=5;
public function DisplayCircle() :void
{
var child:Shape=new Shape();
var halfsize:uint=M ath.round(size/2);
child.graphics. beginFill(bgCol or,1);
child.graphics. lineStyle(borde rSize,borderCol or);
child.graphics. drawCircle(half size,halfsize,h alfsize);
child.graphics. endFill();
addChild(child) ;
Alert.show("Thi s is mycircle","Aler t",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 1303

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

Similar topics

1
2158
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 javax.swing.JApplet; import javax.swing.JOptionPane; import java.awt.Graphics;
1
1193
by: kalyan | last post by:
if i query like select * from table1 then i will get the following **************************************************** Ticker col2 col3 col4 col5 ---------------------------------------------------- BRK.A 2003-05-02 70400.00 0.00 78500.00 FARM 2003-05-02 326.25 3.60 370.99 GREY 2003-05-02 680.00 4.00 832.00 ----------------------------------------------------------------------- BRK.A 2003-05-09 72700.00 0.00 78500.00
2
2364
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 http-equiv="Content-Type" content="text/html;
7
3598
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> </head> <style type="text/css">
4
3514
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 Fixpack on a test machine running ESE but encountered a serious error during the install. It started 'copying new files' but then stopped cold and displayed a dialog box asking me to "Please insert disk 1". (It all fit on one CD!) I clicked OK...
2
1229
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 then it was working at that time.. Does anyone know why it lockes up on that Streamreader? Dim myfilename As String = "C:\helpme.txt"
1
54496
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 we instruct our experts to ignore any such PMs completely Be sure to give the version of Access that you are working with and the Platform and OS if applicable.
0
834
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 DEBUG THIS MODULE,CHANGE ITS PROJECT BUILD CONFIGUARATION TO DEBUGMODE." I HAVE CHANGED THE SETTINGS BUT THEN TOO IT IS NOT WORKING PLEASE HELP ME OUT WITH THIS.
0
8436
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8345
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8858
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8771
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7371
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6186
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
1
2763
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2000
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1757
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.