Solved

How can i Read/write Arabic in .AS File (ActionScript file)

Posted on 2006-11-02
8
477 Views
Last Modified: 2008-01-09
I want to create the online quiz in Macromedia Flash 8 using Arabic as primary Language. In order to so, i used Actionscript file for getting the questions... I have done this only with English... not for other languages... but now i want Arabic text for this ... LIKE

Example in English
Section 1: Describe the image using the word هذا
Section 2: (Image of someone cooking)
Section 3: Options written in Arabic
1. Zainab is cooking
2. Zainab is washing the clothes
3. Zainab is cleaning the house
i.e. above options would all be written in Arabic

Example in Arabic
Question 1:  طويل
Options:
 قصير
بعيد
قريب
بيت

I have tried this by two ways, one from directly type arabic text and typ UNICODES. In both cases i get ???? marks instead of arabic text... Can anybody help me in this regards. How can i store/get arabic text in external actionscripte file

Regards
Naseer
0
Comment
Question by:hennanra3
  • 4
  • 3
8 Comments
 
LVL 13

Expert Comment

by:FLAASHER
ID: 17864747
open new file on  " NotePad " 
you MUST use note pad not other programs
save the file  and when u saving it chose the unicode option as " UTF-8 "
after doing this write what u want in arabic in the file and test

do this steps by the same order i wrote it

i think this will work

have fun

FLAASHER

0
 

Author Comment

by:hennanra3
ID: 17864765
Thanks for quick response...

Can you tell me how can i get multiple text entries in different textboxes....
Like we have question, optoin1, option2 etc textboxes on stage.... now how can i get the records from one file in all fields.

Regards
Naseer
0
 
LVL 13

Expert Comment

by:FLAASHER
ID: 17864786
send me the files and i will fix it to u


my email in my profile


FLAASHER
0
Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

 

Author Comment

by:hennanra3
ID: 17865243
Hi Flaasher,

i have mailed you the sample files.... with the subject : Experts-Exchange :: Need Help for Flash Arabic interaction...

Regards
Naseer
0
 
LVL 11

Expert Comment

by:ch2
ID: 17865649
if you create an xml file using iso encoding then those ascii chars would show up.

0
 

Author Comment

by:hennanra3
ID: 17872218
Can you give me some sample, how can i create XML file regarding this....

Regards
Naseer
0
 

Author Comment

by:hennanra3
ID: 17887194
i faced some problems while accessing the arabic text files created in Flash 8 online ...
"THE TEXT NOT JOINED"
this problem occurs I have the system without arabic and when arabic is enabled, text fine.
At home i have installed Arabic as language on my system so the text is fine... i have checked the same file ONLINE on my friend's computer there Arabic is not installed. it show me the single characters not the complete word.
SAMPLE LINK : http://www.purviewsolutions.net/test/TextFile/test.html ...

Can anybody tell me how can i overcome this problem

Regards
Naseer
0
 
LVL 13

Accepted Solution

by:
FLAASHER earned 500 total points
ID: 17887272
this is the main provblem with arabic text i told u befor ....

sorry ... but no solutions for this problem till now

we hope ADOBE will solve it in the next version of FLASH

FLAASHER
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
How do I change text in a Flash (FLA, SWF) file? 3 1,034
How to display a webpage in a flash 10 365
I'm running a risk by using Adobe Flash in my site ? 9 120
Running Mp4 or Flash Video 1 127
This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question