maed
08-26-2006, 09:54 AM
Good morning ...
I was wondering if anyone could give me an idea how to address the contentpane's File (property?).
ie: I have a series of links ... click on each link and load the contentpane with a different text file (according to which link you pressed)
I'm just a beginner but (in learning this arduous actionscript language) I can't figure out how to load a different file (every link would have it's own actionscpript to load it's own file into the content pane)
like...
on(press)
{
contentpane1.File = 'Song1Lyrics.txt';
}
Since it's not working I assume I'm not addressing it correctly... "File"
I managed to load text into the contentpane by using the ".text" parameter. But, can't seem to load a file.
Any help in how to load a text file (Via actionscript) would be appreciated.
And any other obscure tip I may need to know ("oh you actually have to sync up this with this, and create a server before attempting to dynamically load files at runtime...") or whatever... :)
amazing product by the way!!! (KoolMoves)
I was wondering if anyone could give me an idea how to address the contentpane's File (property?).
ie: I have a series of links ... click on each link and load the contentpane with a different text file (according to which link you pressed)
I'm just a beginner but (in learning this arduous actionscript language) I can't figure out how to load a different file (every link would have it's own actionscpript to load it's own file into the content pane)
like...
on(press)
{
contentpane1.File = 'Song1Lyrics.txt';
}
Since it's not working I assume I'm not addressing it correctly... "File"
I managed to load text into the contentpane by using the ".text" parameter. But, can't seem to load a file.
Any help in how to load a text file (Via actionscript) would be appreciated.
And any other obscure tip I may need to know ("oh you actually have to sync up this with this, and create a server before attempting to dynamically load files at runtime...") or whatever... :)
amazing product by the way!!! (KoolMoves)