Показать сообщение отдельно
Старый 15.03.2002, 20:10
Дениска вне форума Посмотреть профиль Отправить личное сообщение для Дениска Посетить домашнюю страницу Дениска Найти все сообщения от Дениска
  № 156  
Дениска
"редиска"

Регистрация: Jun 1999
Адрес: www.cleoag.ru
Сообщений: 1,240
Отправить сообщение для Дениска с помощью ICQ
По умолчанию из flashcoders list

By the way, everybody remember the ASSetPropFlags ??

Still here

But now it got a 4th argument

ASSetPropFlags(Object.prototype,null,8,1);

The last one argument is a true/false value for digging into
Predefined Flash MX objects, the other 3 first arguments are
Used as in flash5.

That pretty cool when you do a:

ASSetPropFlags(_global,null,8,1);
For(p in _global) trace(p);

Or anyother objects =)

Here a quick function:

function metaInfo(name)
{
var target = eval(name);
var CR = "\n";
var sep = "--------------------";
ASSetPropFlags(target,null,8,1);
trace("info: "+name+CR+sep);
for(p in target)
{
trace(p);
}
trace(sep+CR);
}

metaInfo("_global");
metaInfo("system");
metaInfo("video.prototype");
metaInfo("microphone.prototype");
metaInfo("localConnection.prototype");
metaInfo("netConnection.prototype");
metaInfo("netStream.prototype");


// output all that :
info: _global
--------------------
CustomActions
MMSave
Cookie
System
Accessibility
Video
Stage
TextFormat
TextField
Button
Key
Mouse
Selection
XML
XMLNode
Sound
Math
Array
String
Date
Boolean
Number
o
clearInterval
setInterval
isFinite
isNaN
updateAfterEvent
trace
parseFloat
parseInt
unescape
escape
ASSetNative
ASSetPropFlags
LocalConnection
SharedObject
Microphone
Camera
NetStream
NetConnection
Color
AsBroadcaster
XMLSocket
LoadVars
MovieClip
Infinity
NaN
Function
Object
ASconstructor
ASnative
--------------------

info: system
--------------------
security
ShowSettings
Product
Capabilities
__proto__
constructor
--------------------

info: video.prototype
--------------------
clear
attachVideo
__proto__
constructor
--------------------

info: microphone.prototype
--------------------
setUseEchoSuppression
setGain
setRate
setSilenceLevel
__proto__
constructor
--------------------

info: localConnection.prototype
--------------------
domain
close
send
connect
__proto__
constructor
--------------------

info: netConnection.prototype
--------------------
addheader
call
close
connect
__proto__
constructor
--------------------

info: netStream.prototype
--------------------
setBufferTime
send
attachVideo
attachAudio
close
seek
pause
receiveVideo
receiveAudio
play
publish
__proto__
constructor
--------------------
__________________
cleoag.ru