当前在线人数14044
首页 - 分类讨论区 - 电脑网络 - 闪客一族版 -阅读文章
未名交友
[更多]
[更多]
文章阅读:Re: 请教FLASH网址问题
[同主题阅读] [版面: 闪客一族] [作者:AIRFORCE1] , 2009年06月24日20:08:38
AIRFORCE1
进入未名形象秀
我的博客
[上篇] [下篇] [同主题上篇] [同主题下篇]

发信人: AIRFORCE1 (AIRFORCE1), 信区: Flash
标  题: Re: 请教FLASH网址问题
发信站: BBS 未名空间站 (Wed Jun 24 20:08:38 2009, 美东)

刚下了swf decompiler
打开YV_YEP.swf看了看 还是看不懂
请那位高手来解说解说 这flashVars="id=13749435"该在哪里?
谢谢
package
{
    import flash.display.*;
    import flash.events.*;
    import flash.net.*;

    public class YV_YEP extends Sprite
    {
        private var _loader:Loader;

        public function YV_YEP()
        {
            _loader = new Loader();
            loaderInfo.addEventListener(Event.COMPLETE, onLoad);
            return;
        }// end function

        private function onError(param1:Event) : void
        {
            return;
        }// end function

        private function handleComplete(param1:Event) : void
        {
            return;
        }// end function

        private function onLoad(param1:Event) : void
        {
            var _loc_5:String;
            _loader.contentLoaderInfo.addEventListener(Event.COMPLETE,
handleComplete);
            _loader.contentLoaderInfo.addEventListener(Event.INIT,
handleInit);
            _loader.contentLoaderInfo.addEventListener(Event.OPEN,
handleOpen);
            _loader.contentLoaderInfo.addEventListener(ProgressEvent.
PROGRESS, onProgress);
            _loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR
, onError);
            _loader.contentLoaderInfo.addEventListener(SecurityErrorEvent.
SECURITY_ERROR, onError);
            var _loc_2:* = /([^\?]*\/)([A-Za-z_]+)\.swf/;
            var _loc_3:* = loaderInfo.url;
            var _loc_4:* = _loc_2.exec(_loc_3);
            if (_loc_2.exec(_loc_3) != null)
            {
                _loc_5 = _loc_4[1] + "vyc_player.swf";
                if (loaderInfo.parameters != null && loaderInfo.parameters.
ver != null)
                {
                    _loc_5 = _loc_5 + ("?ver=" + loaderInfo.parameters.ver);
                }// end if
                _loader.load(new URLRequest(_loc_5));
            }// end if
            return;
        }// end function

        private function handleInit(param1:Event) : void
        {
            var event:* = param1;
            var yepPlayer:* = _loader.content;
            try
            {
                yepPlayer.setFlashVars(loaderInfo.parameters);
                stage.addChild(yepPlayer);
            }// end try
            catch (e:Error)
            {
                trace("error while setting flash vars: " + e.toString());
            }// end catch
            _loader.contentLoaderInfo.removeEventListener(Event.COMPLETE,
handleComplete);
            _loader.contentLoaderInfo.removeEventListener(Event.INIT,
handleInit);
            _loader.contentLoaderInfo.removeEventListener(Event.OPEN,
handleOpen);
            _loader.contentLoaderInfo.removeEventListener(ProgressEvent.
PROGRESS, onProgress);
            _loader.contentLoaderInfo.removeEventListener(IOErrorEvent.IO_
ERROR, onError);
            _loader.contentLoaderInfo.removeEventListener(SecurityErrorEvent
.SECURITY_ERROR, onError);
            _loader = null;
            return;
        }// end function

        private function handleOpen(param1:Event) : void
        {
            return;
        }// end function

        private function onProgress(param1:ProgressEvent) : void
        {
            return;
        }// end function

    }
}

--
请大家多多打分,赏个包子
祝大家发财!

※ 来源:·WWW 未名空间站 海外: mitbbs.com 中国: mitbbs.cn·[FROM: 64.252.]

[上篇] [下篇] [同主题上篇] [同主题下篇]
[转寄] [转贴] [回信给作者] [修改文章] [删除文章] [同主题阅读] [从此处展开] [返回版面] [快速返回] [收藏] [举报]
 
回复文章
标题:
内 容:


未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996