So can I wrap a an if statement that detects the player and do
something like:

if (player9){
flash.net.sendToURL()
}
else {
LoadVars.send()
}

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of greg h
Sent: Friday, January 19, 2007 6:36 PM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] LoadVars.send() in Flash 9 Player

David,

Per the link that follows below, the AS2 LoadVars.send() Method is
changed in AS3 to flash.net.sendToURL()

Source:  ActionScript 2.0 Migration: The following table describes the
differences between ActionScript 2.0 and 3.0.
http://livedocs.macromedia.com/labs/as3preview/langref/migration.html

More:
Note: The ActionScript 2.0 MovieClipLoader and LoadVars classes are not
used in ActionScript 3.0. The Loader and URLLoader classes replace them.

Source:  Class Loader in ActionScript 3.0 Language Reference
http://livedocs.macromedia.com/labs/as3preview/langref/flash/display/Loa
der.html

fyi ... brace yourself, there are quite a few of these "everything is
still the same, but still everything is different" changes.  Just scan
that first link above and you will get a sense.

The good news is that now that ActionScript is tied to a standard
(ECMA-262), I believe Adobe will no longer be making these types of
disruptive changes going forward.

For quick backgrounds on what and why many changes were made with AS3,
following are some good links to articles and presentations by Flash
Player Engineer Gary Grossman:
Devnet Article:
http://www.adobe.com/devnet/actionscript/articles/actionscript3_overview
.html
Connect Recording of Presentation:
 https://admin.adobe.acrobat.com/_a227210/p64058844/
PDF of Slides:
http://www.adobe.com/communities/developerweek/2006_devweek_as3.pdf

hth,

g




On 1/19/07, Waller, David <[EMAIL PROTECTED]> wrote:
>
> I am having trouble with a LoadVars send which refuses to send in the 
> Flash player 9.
>
> The swf works just fine in the 8 version of the player but in 9 it 
> seems to just pass over the command.
>
> I have tried several different things including:
>
> crossdomain.xml
> System.security.allowDomain()
>
> However, nothing seems to work.
>
> Any input would be greatly appreciated.
>
> Dave Waller
>
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training http://www.figleaf.com
http://training.figleaf.com
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to