![]() |
|
||||||||||
|
|||||
|
don't panic!
Регистрация: Aug 2001
Сообщений: 4,121
|
ааагаааа !!!
испугааааались ?!? ![]() |
|
|||||
|
МЕГАФЛЭШЕР
Регистрация: May 1999
Адрес: Россия, Москва
Сообщений: 1,181
|
ВАХ!!!!!!!!!!
System.security.allowDomain Availability: Flash MX Usage: System.security.allowDomain(domain1, domain2,....domainN) Description: Allows Flash MX movies in the identified domains to access objects and variables in the Flash MX movie that calls the allowDomain command. Example: The domains can be formatted in the following ways: domain.com, http://domain.com, or http://IPaddress. Scenario: <http://www.macromedia.com/MovieA.swf> loads <http://www.shockwave.com/MovieB.swf>. MovieA.swf contains the command System.security.allowDomain("shockwave.com") . Therefore MovieB.swf will be able to access MovieA.swf's objects and variables. |
|
|||||
|
непонятно, но волнует
все таки можно соваться в чужой суб домен или нельзя ![]() |
|
|||||
|
Во гады...
триалку слить не дают ![]() |
|
|||||
|
"редиска"
|
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 |
|
|||||
|
МЕГАФЛЭШЕР
Регистрация: May 1999
Адрес: Россия, Москва
Сообщений: 1,181
|
Ну теперь пооооооооооолная ясность
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
|
|||||
|
don't panic!
Регистрация: Aug 2001
Сообщений: 4,121
|
...это надо было так редиской обкуриться
![]() |
|
|||||
|
МЕГАФЛЭШЕР
Регистрация: May 1999
Адрес: Россия, Москва
Сообщений: 1,181
|
function metaInfo(name)
{ var target = eval(name); ASSetPropFlags(target,null,8,1); for(p in target) { if(typeof(target[p])=="object") {metaInfo(name+"."+p)} } } metaInfo("_global"); - - - - - - - - - - - - - - - - - - смотрим переменные - - - - - - - - - - - Global Variables: Variable _global.ASnative = [function 'ASnative'] Variable _global.ASconstructor = [function 'ASconstructor'] Variable _global.Object = [function 'Object'] { prototype:[object #4] { constructor:[function 'Object'], watch:[function], unwatch:[function], addProperty:[function], valueOf:[function], toString:[function], hasOwnProperty:[function], isPrototypeOf:[function], isPropertyEnumerable:[function], toLocaleString:[function 'toLocaleString'] } } Variable _global.Function = [function 'Function'] Variable _global.NaN = NaN Variable _global.Infinity = Infinity Variable _global.MovieClip = [function 'MovieClip'] Variable _global.LoadVars = [function 'LoadVars'] Variable _global.XMLSocket = [function 'XMLSocket'] Variable _global.AsBroadcaster = [function 'AsBroadcaster'] Variable _global.Color = [function 'Color'] Variable _global.NetConnection = [function 'NetConnection'] Variable _global.NetStream = [function 'NetStream'] Variable _global.Camera = [function 'Camera'] Variable _global.Microphone = [function 'Microphone'] Variable _global.SharedObject = [function 'SharedObject'] Variable _global.LocalConnection = [function 'LocalConnection'] { prototype:[object #26, class 'Object'] { constructor:[function 'LocalConnection'], __proto__:[object #4], connect:[function], send:[function], close:[function], domain:[function] } } Variable _global.ASSetPropFlags = [function 'ASSetPropFlags'] Variable _global.ASSetNative = [function 'ASSetNative'] Variable _global.escape = [function 'escape'] Variable _global.unescape = [function 'unescape'] Variable _global.parseInt = [function 'parseInt'] Variable _global.parseFloat = [function 'parseFloat'] Variable _global.trace = [function 'trace'] Variable _global.updateAfterEvent = [function 'updateAfterEvent'] Variable _global.isNaN = [function 'isNaN'] Variable _global.isFinite = [function 'isFinite'] Variable _global.setInterval = [function 'setInterval'] Variable _global.clearInterval = [function 'clearInterval'] Variable _global.o = [object #26, class 'Object'] Variable _global.Number = [function 'Number'] Variable _global.Boolean = [function 'Boolean'] Variable _global.Date = [function 'Date'] Variable _global.String = [function 'String'] Variable _global.Array = [function 'Array'] { prototype:[object #48, class 'Object'] { constructor:[function 'Array'], __proto__:[object #4], push:[function], pop:[function], concat:[function], shift:[function], unshift:[function], slice:[function], join:[function], splice:[function], toString:[function], sort:[function], reverse:[function], sortOn:[function] } } Variable _global.Math = [object #61, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], SQRT2:1.4142135623731, SQRT1_2:0.707106781186548, PI:3.14159265358979, LOG2E:1.44269504088896, LOG10E:0.434294481903252, LN2:0.693147180559945, LN10:2.30258509299405, E:2.71828182845905, abs:[function], min:[function], max:[function], sin:[function], cos:[function], atan2:[function], tan:[function], exp:[function], log:[function], sqrt:[function], round:[function], random:[function], floor:[function], ceil:[function], atan:[function], asin:[function], acos:[function], pow:[function] } Variable _global.Sound = [function 'Sound'] Variable _global.XMLNode = [function 'XMLNode'] { prototype:[object #82, class 'Object'] { cloneNode:[function], removeNode:[function], insertBefore:[function], appendChild:[function], hasChildNodes:[function], toString:[function], attributes:[getter/setter] undefined, childNodes:[getter/setter] undefined, firstChild:[getter/setter] undefined, lastChild:[getter/setter] undefined, nextSibling:[getter/setter] undefined, nodeName:[getter/setter] undefined, nodeType:[getter/setter] undefined, nodeValue:[getter/setter] undefined, parentNode:[getter/setter] undefined, previousSibling:[getter/setter] undefined } } Variable _global.XML = [function 'XML'] { prototype:[object #90, class 'XMLNode'] { < /> } } Variable _global.Selection = [object #91, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], getBeginIndex:[function], getEndIndex:[function], getCaretIndex:[function], getFocus:[function], setFocus:[function], setSelection:[function], broadcastMessage:[function 'broadcastMessage'], addListener:[function 'addListener'], removeListener:[function 'removeListener'], _listeners:[object #101, class 'Array'] [ length:0, constructor:[function 'Array'], __proto__:[object #48, class 'Object'] ] } Variable _global.Mouse = [object #102, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], show:[function], hide:[function], broadcastMessage:[function 'broadcastMessage'], addListener:[function 'addListener'], removeListener:[function 'removeListener'], _listeners:[object #106, class 'Array'] [ length:0, constructor:[function 'Array'], __proto__:[object #48, class 'Object'] ] } Variable _global.Key = [object #107, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], CAPSLOCK:20, BACKSPACE:8, DELETEKEY:46, INSERT:45, ESCAPE:27, SHIFT:16, CONTROL:17, TAB:9, END:35, HOME:36, PGDN:34, PGUP:33, RIGHT:39, LEFT:37, DOWN:40, UP:38, SPACE:32, ENTER:13, ALT:18, getAscii:[function], getCode:[function], isDown:[function], isToggled:[function], broadcastMessage:[function 'broadcastMessage'], addListener:[function 'addListener'], removeListener:[function 'removeListener'], _listeners:[object #113, class 'Array'] [ length:0, constructor:[function 'Array'], __proto__:[object #48, class 'Object'] ] } Variable _global.Button = [function 'Button'] { prototype:[object #115, class 'Object'] { useHandCursor:true, enabled:true, getDepth:[function 'getDepth'] } } Variable _global.TextField = [function 'TextField'] Variable _global.TextFormat = [function 'TextFormat'] Variable _global.Stage = [object #119, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], align:[getter/setter] , scaleMode:[getter/setter] "noScale", height:[getter/setter] 944, width:[getter/setter] 1276, showMenu:[getter/setter] true, broadcastMessage:[function 'broadcastMessage'], addListener:[function 'addListener'], removeListener:[function 'removeListener'], _listeners:[object #121, class 'Array'] [ length:0, constructor:[function 'Array'], __proto__:[object #48, class 'Object'] ] } Variable _global.Video = [function 'Video'] Variable _global.Accessibility = [object #123, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], IsActive:[function], SendEvent:[function] } Variable _global.System = [object #126, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], Capabilities:[object #127, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], hasAccessibility:false, pixelAspectRatio:1, screenColor:"color", screenDPI:72, screenResolutionY:1024, screenResolutionX:1280, hasVideoEncoder:true, hasAudioEncoder:true, hasMP3:true, hasAudio:true, version:"WIN 6,0,21,0", isDebugger:true, serverString:"A=t&MP3=t&AE=t&VE=t&ACC=f&DEB=t&V=WIN%206%2C0%2C21%2C0&M=Macromedia Windows&R=1280x1024&DP=72&COL=color&AR=1.0&I=point&OS=Windows XP&L=ru", manufacturer:"Macromedia Windows", input:"point", os:"Windows XP", language:"en" }, Product:[function 'Product'], ShowSettings:[function 'ShowSettings'], security:[object #130, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], allowDomain:[function] } } Variable _global.Cookie = [object #132, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], getCookie:[function 'getCookie'], setCookie:[function] } Variable _global.MMSave = [function 'MMSave'] Variable _global.CustomActions = [object #136, class 'Object'] { constructor:[function 'Object'], __proto__:[object #4], install:[function], uninstall:[function], list:[function], get:[function] } Level #0: Variable _level0.$version = "WIN 6,0,21,0" Variable _level0.metaInfo = [function 'metaInfo'] Variable _level0.p = "ASnative" |
![]() |
Часовой пояс GMT +4, время: 08:47. |
|
|
« Предыдущая тема | Следующая тема » |
|
|