473,472 Members | 2,247 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Writing Arabic Alphabet with Graphic Tablet

145 New Member
Hi,

I want to develop a flash application for learning to write Arabic alphabet. I want to use graphic tablet for writing exercise.

I have a dotted line to guide user to write the alphabet. My problem is how can I set the Flash application to automatically having a pencil/brush for user to write over dotted line when I connect the graphic tablet. I think it use actionscript but Im not sure how.


I include the attachment of the example of dotted arabic alphabet.
Attached Images
File Type: jpg dottedArabic.jpg (4.5 KB, 9535 views)
Jun 18 '10 #1
2 8379
puT3
145 New Member
I found a code for above problem over the internet.

NOw, my second problem is the drawing line is at the back of the dotted alphabet. How can I make it appear in front of the dotted alphabet?

My third problem is I want to give user an alert to let them knowhey are out of border of the alphabet.

So, I create a box (movieclip, name:boundaryBox_mc) located around the alphabet. This box function as the boundary so when user is writing and it goes out, an alert pop - out or writing exercise is restart.

My question is how can I make the alert pop-out or the exercise restart when it happen?

The codes for the line drawing as below:
Expand|Select|Wrap|Line Numbers
  1. var drawingLine:MovieClip = new MovieClip();
  2. addChildAt(drawingLine,0);
  3.  
  4. stage.addEventListener(MouseEvent.MOUSE_DOWN, MouseDown);
  5. stage.addEventListener(MouseEvent.MOUSE_UP, MouseUp);
  6.  
  7. function MouseDown(event:MouseEvent):void{
  8.     drawingLine.graphics.lineStyle(10);
  9.     drawingLine.graphics.moveTo(mouseX, mouseY);
  10.     stage.addEventListener(MouseEvent.MOUSE_MOVE, MouseMove);
  11. }
  12.  
  13. function MouseMove(event:MouseEvent):void{
  14.     drawingLine.graphics.lineTo(mouseX, mouseY);}
  15.  
  16. function MouseUp(event:MouseEvent):void{
  17.     stage.removeEventListener(MouseEvent.MOUSE_MOVE, MouseMove);}
  18.  
Jun 18 '10 #2
ceathehiC
1 New Member
George Strait Drugs Texas , http://www.guardiancanecorso.com/ - propecia finasteride 5mg Food and Drug Administration approved the medication for male pattern baldness, and for this use the drug began being marketed as Propecia. finasteride 5mg
Feb 4 '12 #3

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

Similar topics

17
by: thinkfirst | last post by:
Hello CIWAH ... I want to propose full internationalization of three related websites: http://africadatabase.org/ http://people.africadatabase.org/ http://institutions.africadatabase.org/ My...
2
by: Detlev | last post by:
Hello I am looking for complete example code for an recognizer DLL. The example that is part of the Tablet PC SDK 1.7 is only a skeletton with 3 working functions. I want to write a...
6
by: Mutley | last post by:
I am finding an issue with the current DropDownList and ListBox ASP.NET Web Controls. I had a system set up for Arabic and a string that I put into a drop down had a number. The letters were being...
5
by: Stefan Krah | last post by:
Hello, I am currently writing code where it is convenient to convert char to int . The conversion function relies on a character set with contiguous alphabets. int set_mesg(Key *key, char...
1
by: Hari Shankar | last post by:
Dear all I am supposed to develop a world ready application in C# 2003 (which will run in xp) which should aupport Arabic & Hebrew also. My doubts(Fears) are: 1. Do i have to create all the...
8
by: Jack Addington | last post by:
I want to scroll through the alphabet in order to scroll some data to the closest name that starts with a letter. If the user hits the H button then it should scroll to the letter closest to H. ...
2
by: Michael Sgier | last post by:
Hello how should I proceed for writing a handwritten comment into a database? As if have no clue at the moment about tablet PCs I'm grateful for any help. Thanks and regards Michael
1
by: jrsjrs | last post by:
I have been looking for a solution to this problem for a long time. Any guidance from anyone would be much appreciated. I have a website with a chatroom. I wish to add "tablet and stylus" input...
30
by: mellyshum123 | last post by:
I'm wanting to write an int to a file, and so far I have written: const char buff; int num = 256 //for the sake of the example sprintf(buff, "%d", num); Now my question is what to do next. I...
1
by: orked | last post by:
i made insert data from excel sheet to database , the operation is done successfully but when i went to see the data inserted all english word was fine but arabic word wrote as (??????????) i tried...
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...
1
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...
0
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
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
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 ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.