Copy link to clipboard
Copied
Hi all,
I am a fresher in this Action Script world ,well now i am trying to do a project .
I have to show the staff seating arrangement in a compnay ,so i did an interactive presentation in that slide i gave a top view of the seating by an illustration so each cabin is a button .Now when i pressed on each button it will go to another slide showing a detail of people sitting in that cabin ,suppose 4 people are sitting in a cabin .i like to show each persons 1NAME ,2EMAIL ,3PHONE EXTENSION, ...
.
I have to show more than 100 cabin same way .......i tried to give all data in each frame and did it in a static way ...but when new people are coming it is hard to repalce ther name and email ...so i tried to calling data form NOTEPAD ..so by doing that any perosn can easily edit this with out the help of a technical programmer ......hope all of you getting me .....![]()
I just tried a goole search ..i ifnd out a basic one please check the given link below ..
.
http://www.kirupa.com/developer/mx/multiple_dynamictext.htm
In this we have option only to add one data ..simple only a name ..HOW CAN I ADD MULTIPLE DATA IN ONE NOTE PAD ... for the seat 2 i made a notepad it will have the data of NAME ,EMAIL ,AND EXTENSION NUMBER .....
and one more thing if i am able to od all data within a single notepad ..mean if i applied the above logic ,i may need more than 100 notepad files ..if ican add the whole things in 1 file ...IT WILL BE GREAT ...
anybody can help me ??????? ![]()
thanks a lot ,![]()
jobin joseph
here's an example:
var urlLDR:URLLoader=new URLLoader();
urlLDR.addEventListener(Event.COMPLETE,f);
urlLDR.load(new URLRequest("yourtextfile.txt"));
function f(e:Event):void{
trace(e.target.data);
}
p.s. please mark this thread as answered, if you can.
Copy link to clipboard
Copied
use the urlloader class to load a text file.
Copy link to clipboard
Copied
can you please little more clear ...............................![]()
Copy link to clipboard
Copied
here's an example:
var urlLDR:URLLoader=new URLLoader();
urlLDR.addEventListener(Event.COMPLETE,f);
urlLDR.load(new URLRequest("yourtextfile.txt"));
function f(e:Event):void{
trace(e.target.data);
}
p.s. please mark this thread as answered, if you can.
Copy link to clipboard
Copied
thank you so much i will try this ...................
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
How can I load text from my txt file in text area or simple dybamic tex box???????
I do that but with trace fanction I have not view text in my application !!!!!!!!!!
Copy link to clipboard
Copied
Start your own posting and show the code that is not working for you
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more