View Full Version : .as files !
birail
06-29-2002, 09:32 AM
I know that is a low level question :)
What is .as files and with what program I can open/edit them?
thnx!
chris
CyanBlue
06-29-2002, 09:52 AM
AS file is a shortcut that directs to the ASSes of the people who lives in the Flash world... :p
Kidding... AS file is a text file that contains AS commands that you can call from the Flash by using '#include' command... Check out the #include in your dictionary...
You can use this with any kind of text editor that supports plain text file such as notepad or textpad...
Let me know if you have questions...
Check this tutorial (it's here on actionscript.org):
http://www.actionscripts.org/tutorials/beginner/Actions_using_external_script/index.shtml
birail
06-29-2002, 11:33 PM
thnx a lot for your answers !
Now I have and a another last question ... :)
I've downloaded a component from flashcomponents.com that was really usefull to me.It was about popUp windows.
It used an content.as file ( :) the previous question)
to load the stuff in a popup window.
Well it works fine when I use English characters.
But when I tried to write in Greek where the info must be enterd:
a) They don't appear correct when I saved the .as file with "ANSI" format
b) They don't appear at all when I saved the .as file with "Unicode" or "Unicode big endian" or "UTF-8" format
If you could help on this, I will be really thankfull!
Thnx again.
chris
Ps: The link for that component if you have time to test is:
http://www.flashcomponents.net/component.cfm?nav=2&id=43
and it's called popUpWinComponent.
bye
Abelius
06-30-2002, 12:44 AM
Make a text file. Call it anyhow.
Inside, write "myVariable=\uXXXXX\uXXXXX\uXXXXX", where the "X"s are a unicode number of any given Greek letter...
The, in the Flash movie load the text file, bu using loadVariables. Next statement is
myDynamictextField = myVariable;
That should do it, if I didn't understand your question worng...
abelius... thanks. that's exactly what i needed.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.