Jump to content


Flash Media Server classes


  • You cannot reply to this topic
No replies to this topic

#1 dotbart

    Young Padawan

  • Members
  • Pip
  • 141 posts
  • Gender:Male
  • Location:Diepenbeek
  • Interests:Webdesign, Webdeveloppement, DJ, ...

Posted 27 April 2008 - 01:20 PM

Hi,

I'm trying to make use of the new Flash Media Server Interactive Edition. Brought out recently by Adobe.
I've written quite a few classes to make a game in a nice and object oriented way. All of them in Actionscript 2 style:
class myClass{
	private var _aVar:String;

	public get aVar():String{
		return this._aVar;
	}
}

Now when I'm in my 'main.asc' (the file actually executed by FMS. I can't find a way to import these classes.
when using:
import package.Class;
The server can't resolve the package name.
When using:
load("dir/file.asc");
The server doesn't allow me to use the 'class' keyword.


Does anyone have any experience using FMS in this way? A small hint would help me on my way :-)

I find it hard to believe Adobe didn't implement AS2 in their server...




B





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users