Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

AS3 on Flash 8?

New Here ,
Jan 24, 2008 Jan 24, 2008
Is there anyway to get the AS3 libs onto flash 8 or do i have to get flash cs3?

Im trying to find a simple AS to send a message to a socks server thats made in vb6. Basicly i need to know how to connect to it and to send the message.

i have found numerous ways to do it but its all in AS3...like this one.

package {
import flash.display.Sprite;
import flash.events.*;
import flash.net.Socket;
import flash.util.trace;

public class test_sockets extends Sprite{
public var host:String = ' http://127.0.0.1';
public var port:uint = 80;

public function test_sockets(){
super(host,port);
var conn:Socket = new Socket();
conn.connect(host,port);
conn.addEventListener(EventType.CONNECT,connectListener);
}
public function connectListener(event:Event) {
trace(event.type); // output: connect
}
}
}


Thanks in advance if you can help me. If not well thanks for reading this. Good Day.

TOPICS
ActionScript
633
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 28, 2008 Jan 28, 2008
Your going to need to get Flash CS3. Flash CS3 has a new compiler specifically for AS3.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Jan 28, 2008 Jan 28, 2008
LATEST
Or you can use the Flex SDK for free.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines