Author Message

Posted: Wed Jul 07, 2010 10:47 am   Post subject: Trouble with AS3 sample

I am trying the AS3 sample in as2player_simplest_example.fla, but can not get it to work.

I have investigated a little bit, and it seems that it fails to load in the load() function in the

Exactly what I have figured out is:

public function load(request:URLRequest, securityDomain:SecurityDomain = null):void
   m_commandConnectionName = null;
   m_eventConnectionName = null;
   var loaderContext:LoaderContext = new LoaderContext(false, null, securityDomain);
   var vars:URLVariables = URLVariables(;
   if (vars == null)
      vars = new URLVariables(); = vars;

   vars.commandConnectionName = commandConnectionName;
   vars.eventConnectionName = eventConnectionName;
   m_loader.load(request, loaderContext);

This does not load at all, and I get Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

If i comment out the line:
Code: = vars;

then the sample loads the presentation1.swf, but the buttons will not work.

What is going on?

Profile profile test

Posted: Wed Jul 07, 2010 6:01 pm   Post subject: Re: Trouble with AS3 sample

Please launch the sample using web browser

Profile profile test WWW www ICQ ICQ
Display posts from previous:  Sort by  


Who is online
Who is online In total there are 4 users online :: 0 registered, 0 hidden and 4 guests (based on users active over the past 5 minutes)
Most users ever online was 803 on Sat Dec 12, 2020 9:21 am

Registered users: No registered users