1084: Syntax error: expecting identifier before this
- bachpro89
- Born


- Joined: Oct 06, 2011
- Posts: 3
- Status: Offline
I have used Sothink SWF Decompiler software to decompile a flash files but when I finished and a test run but the error correction and I do not know how? Who can help me detect and correct errors? errors that I encounter is:
1086: Syntax error: expecting semicolon before ")(".
1084: Syntax error: expecting identifier before this.
1084: Syntax error: expecting rightbrace before ")(".
You please help me with
nick yahoo of me: bachpro8
here code:
1086: Syntax error: expecting semicolon before ")(".
1084: Syntax error: expecting identifier before this.
1084: Syntax error: expecting rightbrace before ")(".
You please help me with
nick yahoo of me: bachpro8
here code:
ACTIONSCRIPT Code: [ Select ]
package
{
import com.asual.swfaddress.*;
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class skinned_cathegory_video_player extends controllable_movieclip
{
var tm:Timer;
public var cathegory_list_buttons_:MovieClip;
public var smoothing:Boolean;
public var hide_search:Boolean;
public var repeat_mode:String;
public var default_language:String;
public var fullscreen_only_video:Boolean;
public var cathegory_video_player_:cathegory_video_player;
public var default_volume:Number;
var cathegoty_link:String = "";
public var single_click_play:Boolean;
public var use_languages:Boolean;
public var cathegories_path:String;
var path:Array;
public var cathegories_data:XML;
public var languages_:MovieClip;
public var buffer_time:Number;[code][/code]
public var clock_backward:Boolean;
public var deblocking:Number;
public var logo_path:String;
var video_link:String = "";
public function skinned_cathegory_video_player()
{
<span style="font-weight: bold"> cathegories_data = <data><cathegory_list><cathegories/></cathegory_list></data>")("<data><cathegory_list><cathegories/></cathegory_list></data>;</span>
path = ["0", "0"];
tm = new Timer(100, 1);
addEventListener(Event.ADDED_TO_STAGE, addedToStage);
return;
}// end function
function onResize_(event:Event = null)
{
if (event && event.target != event.currentTarget)
{
return;
}
var _loc_2:* = getChildAt(0) as cathegory_video_player;
if (_loc_2)
{
_loc_2.setSize(stage.stageWidth, stage.stageHeight);
var _loc_3:int = 2;
_loc_2.y = 2;
_loc_2.x = _loc_3;
if (cathegory_list_buttons_)
{
cathegory_list_buttons_.x = stage.stageWidth - 2;
cathegory_list_buttons_.y = stage.stageHeight - 2;
}
}
languages_.x = stage.stageWidth - 10;
languages_.y = stage.stageHeight - 15;
return;
}// end function
function onCathegory(event:Event = null)
{
var _loc_2:* = Number(path[0]);
path[0] = event.target["parent"].getChildIndex(event.target);
if (_loc_2 != path[0])
{
path[1] = "";
}
cathegory_video_player_.path = path;
SWFAddress.setValue(path.join("/"));
return;
}// end function
function set_cathegory_data(param1:Object = null)
{
var _loc_2:XML = null;
var _loc_3:Number = NaN;
var _loc_4:XMLList = null;
if (param1 is Event)
{
cathegories_data = new XML(param1.target.data);
return set_cathegory_data(0);
}
_loc_3 = Number(param1);
if (isNaN(_loc_3))
{
_loc_3 = 0;
}
_loc_4 = cathegories_data.cathegory_list[0].children();
_loc_2 = _loc_4[_loc_3];
cathegory_video_player_.data = _loc_2;
return;
}// end function
function handleSWFAddress(event:Event)
{
var _loc_2:String = "Cathegory Video Player";
var _loc_3:* = SWFAddress.getValue();
path = _loc_3.split("/").slice(1);
cathegory_video_player_.path = path;
SWFAddress.setTitle(_loc_2);
return;
}// end function
function onVideo(event:Event = null)
{
path[1] = event.target["parent"].getChildIndex(event.target);
cathegory_video_player_.path = path;
SWFAddress.setValue(path.join("/"));
return;
}// end function
function addedToStage(event:Event = null)
{
var _loc_2:URLRequest = null;
var _loc_3:URLLoader = null;
removeEventListener(Event.ADDED_TO_STAGE, addedToStage);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
cathegories_path = loaderInfo.parameters.data;
logo_path = loaderInfo.parameters.logo;
smoothing = loaderInfo.parameters.smoothing == "true";
deblocking = Number(loaderInfo.parameters.deblocking);
buffer_time = Number(loaderInfo.parameters.buffer_time);
fullscreen_only_video = loaderInfo.parameters.fullscreen_only_video == "true";
hide_search = loaderInfo.parameters.hide_search == "true";
clock_backward = loaderInfo.parameters.clock_backward == "true";
single_click_play = loaderInfo.parameters.single_click_play == "true";
repeat_mode = loaderInfo.parameters.repeat_mode;
use_languages = loaderInfo.parameters.use_languages == "true";
default_language = loaderInfo.parameters.default_language;
default_volume = Number(loaderInfo.parameters.default_volume);
cathegories_path = cathegories_path ? (cathegories_path) : ("data/data.xml");
logo_path = logo_path ? (logo_path) : ("data/logo.png");
buffer_time = isNaN(buffer_time) ? (1) : (buffer_time);
repeat_mode = repeat_mode ? (repeat_mode) : (repeat.NONE);
default_volume = isNaN(default_volume) ? (50) : (default_volume);
default_language = default_language ? (default_language) : ("en");
video_player.bufferTime = buffer_time;
video_player.smoothing = smoothing;
video_player.deblocking = deblocking;
cathegory_video_player.logo = logo_path;
controlls.clock_backward = clock_backward;
cathegory_video_player.single_click_play = single_click_play;
cathegory_video_player.use_languages = use_languages;
controlls.repeat_mode = repeat_mode;
cathegory_video_player.default_volume = default_volume;
cathegory_video_player.fullscreen_only_video = fullscreen_only_video;
cathegory_video_player.hide_search = hide_search;
cathegory_video_player_.set_language(default_language);
languages_.visible = use_languages;
if (cathegories_path)
{
_loc_2 = new URLRequest(cathegories_path);
_loc_3 = new URLLoader(_loc_2);
_loc_3.addEventListener(Event.COMPLETE, set_cathegory_data);
}
else
{
set_cathegory_data();
}
onResize_();
tm.addEventListener(TimerEvent.TIMER_COMPLETE, onResize_);
tm.start();
stage.addEventListener(Event.RESIZE, onResize_);
addEventListener(cathegory_button.onCathegory, onCathegory, true);
addEventListener(item.onVideo, onVideo, true);
SWFAddress.addEventListener(SWFAddressEvent.CHANGE, handleSWFAddress);
return;
}// end function
}
}
{
import com.asual.swfaddress.*;
import flash.display.*;
import flash.events.*;
import flash.utils.*;
public class skinned_cathegory_video_player extends controllable_movieclip
{
var tm:Timer;
public var cathegory_list_buttons_:MovieClip;
public var smoothing:Boolean;
public var hide_search:Boolean;
public var repeat_mode:String;
public var default_language:String;
public var fullscreen_only_video:Boolean;
public var cathegory_video_player_:cathegory_video_player;
public var default_volume:Number;
var cathegoty_link:String = "";
public var single_click_play:Boolean;
public var use_languages:Boolean;
public var cathegories_path:String;
var path:Array;
public var cathegories_data:XML;
public var languages_:MovieClip;
public var buffer_time:Number;[code][/code]
public var clock_backward:Boolean;
public var deblocking:Number;
public var logo_path:String;
var video_link:String = "";
public function skinned_cathegory_video_player()
{
<span style="font-weight: bold"> cathegories_data = <data><cathegory_list><cathegories/></cathegory_list></data>")("<data><cathegory_list><cathegories/></cathegory_list></data>;</span>
path = ["0", "0"];
tm = new Timer(100, 1);
addEventListener(Event.ADDED_TO_STAGE, addedToStage);
return;
}// end function
function onResize_(event:Event = null)
{
if (event && event.target != event.currentTarget)
{
return;
}
var _loc_2:* = getChildAt(0) as cathegory_video_player;
if (_loc_2)
{
_loc_2.setSize(stage.stageWidth, stage.stageHeight);
var _loc_3:int = 2;
_loc_2.y = 2;
_loc_2.x = _loc_3;
if (cathegory_list_buttons_)
{
cathegory_list_buttons_.x = stage.stageWidth - 2;
cathegory_list_buttons_.y = stage.stageHeight - 2;
}
}
languages_.x = stage.stageWidth - 10;
languages_.y = stage.stageHeight - 15;
return;
}// end function
function onCathegory(event:Event = null)
{
var _loc_2:* = Number(path[0]);
path[0] = event.target["parent"].getChildIndex(event.target);
if (_loc_2 != path[0])
{
path[1] = "";
}
cathegory_video_player_.path = path;
SWFAddress.setValue(path.join("/"));
return;
}// end function
function set_cathegory_data(param1:Object = null)
{
var _loc_2:XML = null;
var _loc_3:Number = NaN;
var _loc_4:XMLList = null;
if (param1 is Event)
{
cathegories_data = new XML(param1.target.data);
return set_cathegory_data(0);
}
_loc_3 = Number(param1);
if (isNaN(_loc_3))
{
_loc_3 = 0;
}
_loc_4 = cathegories_data.cathegory_list[0].children();
_loc_2 = _loc_4[_loc_3];
cathegory_video_player_.data = _loc_2;
return;
}// end function
function handleSWFAddress(event:Event)
{
var _loc_2:String = "Cathegory Video Player";
var _loc_3:* = SWFAddress.getValue();
path = _loc_3.split("/").slice(1);
cathegory_video_player_.path = path;
SWFAddress.setTitle(_loc_2);
return;
}// end function
function onVideo(event:Event = null)
{
path[1] = event.target["parent"].getChildIndex(event.target);
cathegory_video_player_.path = path;
SWFAddress.setValue(path.join("/"));
return;
}// end function
function addedToStage(event:Event = null)
{
var _loc_2:URLRequest = null;
var _loc_3:URLLoader = null;
removeEventListener(Event.ADDED_TO_STAGE, addedToStage);
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
cathegories_path = loaderInfo.parameters.data;
logo_path = loaderInfo.parameters.logo;
smoothing = loaderInfo.parameters.smoothing == "true";
deblocking = Number(loaderInfo.parameters.deblocking);
buffer_time = Number(loaderInfo.parameters.buffer_time);
fullscreen_only_video = loaderInfo.parameters.fullscreen_only_video == "true";
hide_search = loaderInfo.parameters.hide_search == "true";
clock_backward = loaderInfo.parameters.clock_backward == "true";
single_click_play = loaderInfo.parameters.single_click_play == "true";
repeat_mode = loaderInfo.parameters.repeat_mode;
use_languages = loaderInfo.parameters.use_languages == "true";
default_language = loaderInfo.parameters.default_language;
default_volume = Number(loaderInfo.parameters.default_volume);
cathegories_path = cathegories_path ? (cathegories_path) : ("data/data.xml");
logo_path = logo_path ? (logo_path) : ("data/logo.png");
buffer_time = isNaN(buffer_time) ? (1) : (buffer_time);
repeat_mode = repeat_mode ? (repeat_mode) : (repeat.NONE);
default_volume = isNaN(default_volume) ? (50) : (default_volume);
default_language = default_language ? (default_language) : ("en");
video_player.bufferTime = buffer_time;
video_player.smoothing = smoothing;
video_player.deblocking = deblocking;
cathegory_video_player.logo = logo_path;
controlls.clock_backward = clock_backward;
cathegory_video_player.single_click_play = single_click_play;
cathegory_video_player.use_languages = use_languages;
controlls.repeat_mode = repeat_mode;
cathegory_video_player.default_volume = default_volume;
cathegory_video_player.fullscreen_only_video = fullscreen_only_video;
cathegory_video_player.hide_search = hide_search;
cathegory_video_player_.set_language(default_language);
languages_.visible = use_languages;
if (cathegories_path)
{
_loc_2 = new URLRequest(cathegories_path);
_loc_3 = new URLLoader(_loc_2);
_loc_3.addEventListener(Event.COMPLETE, set_cathegory_data);
}
else
{
set_cathegory_data();
}
onResize_();
tm.addEventListener(TimerEvent.TIMER_COMPLETE, onResize_);
tm.start();
stage.addEventListener(Event.RESIZE, onResize_);
addEventListener(cathegory_button.onCathegory, onCathegory, true);
addEventListener(item.onVideo, onVideo, true);
SWFAddress.addEventListener(SWFAddressEvent.CHANGE, handleSWFAddress);
return;
}// end function
}
}
- package
- {
- import com.asual.swfaddress.*;
- import flash.display.*;
- import flash.events.*;
- import flash.utils.*;
- public class skinned_cathegory_video_player extends controllable_movieclip
- {
- var tm:Timer;
- public var cathegory_list_buttons_:MovieClip;
- public var smoothing:Boolean;
- public var hide_search:Boolean;
- public var repeat_mode:String;
- public var default_language:String;
- public var fullscreen_only_video:Boolean;
- public var cathegory_video_player_:cathegory_video_player;
- public var default_volume:Number;
- var cathegoty_link:String = "";
- public var single_click_play:Boolean;
- public var use_languages:Boolean;
- public var cathegories_path:String;
- var path:Array;
- public var cathegories_data:XML;
- public var languages_:MovieClip;
- public var buffer_time:Number;[code][/code]
- public var clock_backward:Boolean;
- public var deblocking:Number;
- public var logo_path:String;
- var video_link:String = "";
- public function skinned_cathegory_video_player()
- {
- <span style="font-weight: bold"> cathegories_data = <data><cathegory_list><cathegories/></cathegory_list></data>")("<data><cathegory_list><cathegories/></cathegory_list></data>;</span>
- path = ["0", "0"];
- tm = new Timer(100, 1);
- addEventListener(Event.ADDED_TO_STAGE, addedToStage);
- return;
- }// end function
- function onResize_(event:Event = null)
- {
- if (event && event.target != event.currentTarget)
- {
- return;
- }
- var _loc_2:* = getChildAt(0) as cathegory_video_player;
- if (_loc_2)
- {
- _loc_2.setSize(stage.stageWidth, stage.stageHeight);
- var _loc_3:int = 2;
- _loc_2.y = 2;
- _loc_2.x = _loc_3;
- if (cathegory_list_buttons_)
- {
- cathegory_list_buttons_.x = stage.stageWidth - 2;
- cathegory_list_buttons_.y = stage.stageHeight - 2;
- }
- }
- languages_.x = stage.stageWidth - 10;
- languages_.y = stage.stageHeight - 15;
- return;
- }// end function
- function onCathegory(event:Event = null)
- {
- var _loc_2:* = Number(path[0]);
- path[0] = event.target["parent"].getChildIndex(event.target);
- if (_loc_2 != path[0])
- {
- path[1] = "";
- }
- cathegory_video_player_.path = path;
- SWFAddress.setValue(path.join("/"));
- return;
- }// end function
- function set_cathegory_data(param1:Object = null)
- {
- var _loc_2:XML = null;
- var _loc_3:Number = NaN;
- var _loc_4:XMLList = null;
- if (param1 is Event)
- {
- cathegories_data = new XML(param1.target.data);
- return set_cathegory_data(0);
- }
- _loc_3 = Number(param1);
- if (isNaN(_loc_3))
- {
- _loc_3 = 0;
- }
- _loc_4 = cathegories_data.cathegory_list[0].children();
- _loc_2 = _loc_4[_loc_3];
- cathegory_video_player_.data = _loc_2;
- return;
- }// end function
- function handleSWFAddress(event:Event)
- {
- var _loc_2:String = "Cathegory Video Player";
- var _loc_3:* = SWFAddress.getValue();
- path = _loc_3.split("/").slice(1);
- cathegory_video_player_.path = path;
- SWFAddress.setTitle(_loc_2);
- return;
- }// end function
- function onVideo(event:Event = null)
- {
- path[1] = event.target["parent"].getChildIndex(event.target);
- cathegory_video_player_.path = path;
- SWFAddress.setValue(path.join("/"));
- return;
- }// end function
- function addedToStage(event:Event = null)
- {
- var _loc_2:URLRequest = null;
- var _loc_3:URLLoader = null;
- removeEventListener(Event.ADDED_TO_STAGE, addedToStage);
- stage.scaleMode = StageScaleMode.NO_SCALE;
- stage.align = StageAlign.TOP_LEFT;
- cathegories_path = loaderInfo.parameters.data;
- logo_path = loaderInfo.parameters.logo;
- smoothing = loaderInfo.parameters.smoothing == "true";
- deblocking = Number(loaderInfo.parameters.deblocking);
- buffer_time = Number(loaderInfo.parameters.buffer_time);
- fullscreen_only_video = loaderInfo.parameters.fullscreen_only_video == "true";
- hide_search = loaderInfo.parameters.hide_search == "true";
- clock_backward = loaderInfo.parameters.clock_backward == "true";
- single_click_play = loaderInfo.parameters.single_click_play == "true";
- repeat_mode = loaderInfo.parameters.repeat_mode;
- use_languages = loaderInfo.parameters.use_languages == "true";
- default_language = loaderInfo.parameters.default_language;
- default_volume = Number(loaderInfo.parameters.default_volume);
- cathegories_path = cathegories_path ? (cathegories_path) : ("data/data.xml");
- logo_path = logo_path ? (logo_path) : ("data/logo.png");
- buffer_time = isNaN(buffer_time) ? (1) : (buffer_time);
- repeat_mode = repeat_mode ? (repeat_mode) : (repeat.NONE);
- default_volume = isNaN(default_volume) ? (50) : (default_volume);
- default_language = default_language ? (default_language) : ("en");
- video_player.bufferTime = buffer_time;
- video_player.smoothing = smoothing;
- video_player.deblocking = deblocking;
- cathegory_video_player.logo = logo_path;
- controlls.clock_backward = clock_backward;
- cathegory_video_player.single_click_play = single_click_play;
- cathegory_video_player.use_languages = use_languages;
- controlls.repeat_mode = repeat_mode;
- cathegory_video_player.default_volume = default_volume;
- cathegory_video_player.fullscreen_only_video = fullscreen_only_video;
- cathegory_video_player.hide_search = hide_search;
- cathegory_video_player_.set_language(default_language);
- languages_.visible = use_languages;
- if (cathegories_path)
- {
- _loc_2 = new URLRequest(cathegories_path);
- _loc_3 = new URLLoader(_loc_2);
- _loc_3.addEventListener(Event.COMPLETE, set_cathegory_data);
- }
- else
- {
- set_cathegory_data();
- }
- onResize_();
- tm.addEventListener(TimerEvent.TIMER_COMPLETE, onResize_);
- tm.start();
- stage.addEventListener(Event.RESIZE, onResize_);
- addEventListener(cathegory_button.onCathegory, onCathegory, true);
- addEventListener(item.onVideo, onVideo, true);
- SWFAddress.addEventListener(SWFAddressEvent.CHANGE, handleSWFAddress);
- return;
- }// end function
- }
- }
Moderator Remark: Please remember to put [actionscript][/actionscript] bbcode around any code to make it easier to read
- Anonymous
- Bot


- Joined: 25 Feb 2008
- Posts: ?
- Loc: Ozzuland
- Status: Online
October 6th, 2011, 9:55 pm
- Bigwebmaster
- Site Admin


- Joined: Dec 20, 2002
- Posts: 8926
- Loc: Seattle, WA & Phoenix, AZ
- Status: Offline
Try removing this from your code that you posted above:
or fix it to be correct code.
Code: [ Select ]
<span style="font-weight: bold"> cathegories_data = <data><cathegory_list><cathegories/></cathegory_list></data>")("<data><cathegory_list><cathegories/></cathegory_list></data>;</span>
or fix it to be correct code.
Ozzu Hosting - Want your website on a fast server like Ozzu?
- bachpro89
- Born


- Joined: Oct 06, 2011
- Posts: 3
- Status: Offline
please show me how to fix duwoc or not? I did not try to fix that? I do not know the original files up on another forum how the forum is not my vid link up to? someone help me, please add nick yahoo bachpro89 to help me I will send the original files through your link
I used the software Sothink SWF Decompiler to decompile files preview.swf when reverse is an error in
the. please load video at forder data
I used the software Sothink SWF Decompiler to decompile files preview.swf when reverse is an error in
the. please load video at forder data
Attachments:
- Bigwebmaster
- Site Admin


- Joined: Dec 20, 2002
- Posts: 8926
- Loc: Seattle, WA & Phoenix, AZ
- Status: Offline
I am not sure what you are saying, what is duwoc? In the above code that you pasted there is code that I specified in the last post that needs to be modified or removed as its causing syntax errors.
Ozzu Hosting - Want your website on a fast server like Ozzu?
Page 1 of 1
To Reply to this topic you need to LOGIN or REGISTER. It is free.
Post Information
- Total Posts in this topic: 5 posts
- Users browsing this forum: No registered users and 36 guests
- You cannot post new topics in this forum
- You cannot reply to topics in this forum
- You cannot edit your posts in this forum
- You cannot delete your posts in this forum
- You cannot post attachments in this forum
