Question about Macromedia Flash MX

2 Answers

What is the problem of that action script

Function fa()
{
return (996 % 511 * 5);
} // End of the function
var \x01= -2002 + \x01\x02();
for (\x01 = eval("\x01") + 120; eval("\x01") == 388; \x01 = eval("\x01") + 365)
{
\x01 = eval("\x01") - 11;
if (false)
{
continue;
} // end if
} // end of for
if (eval("\x01") == 93)
{
\x01 = eval("\x01") + 319;

} // end if
if (eval("\x01") == 540)
{
\x01 = eval("\x01") + 414;
if (!null)
{
}
else
{
\x01 = eval("\x01") - 186;
} // end else if

} // end if
if (eval("\x01") == 768)
{
\x01 = eval("\x01") - 715;

} // end if
if (eval("\x01") == 657)
{
\x01 = eval("\x01") - 446;


} // end if
\x01 = eval("\x01") + 865;
\x01 = eval("\x01") - 685;
var null = "\x0f";
\x01 = eval("\x01") + 699;
if (eval("\x01") == 211)
{
\x01 = eval("\x01") + 201;

} // end if
if (eval("\x01") == 163)
{
\x01 = eval("\x01") - 110;

} // end if
if (eval("\x01") == 543)
{
\x01 = eval("\x01") + 114;
if (!1)
{
}
else
{
\x01 = eval("\x01") - 446;
} // end else if

} // end if
\x01 = eval("\x01") + 128;
if (eval("\x01") == 932)
{
\x01 = eval("\x01") - 88;

} // end if
if (eval("\x01") == 844)
{
\x01 = eval("\x01") - 456;

} // end if
if (eval("\x01") == 377)
{
\x01 = eval("\x01") + 365;

} // end if
if (eval("\x01") == 954)
{
\x01 = eval("\x01") - 186;


} // end if
if (eval("\x01") == 742)
{
\x01 = eval("\x01") - 498;

}
else
{
if (eval("\x01") == 244)
{
\x01 = eval("\x01") - 244;

} // end if

} // end else if

Posted by on

  • manuj Feb 22, 2008

    mmt_tambe@yahoo.co.in

×

2 Answers

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

The encryption was made using this product :
http://www.amayeta.com/software/swfencrypt/#00

and its not possible to unobfuscate it.. unless you are an expert/genius and you have a very very huge free time to do it. :)

Posted on Apr 13, 2009

  • Level 1:

    An expert who has achieved level 1.

  • Contributor
  • 1 Answer

Whoever originally wrote the code obfuscated it, and turned it into this so people like you can't decompile it.

Posted on Mar 06, 2009

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

3 Answers

I need to modify a document by either erasing and adding the new information or changing what is there.


try out the FOXIT PDF SUIT. It includes pdf reader, creator, editor and organizer. With this suit u can read, Creat, edit and organize ur pdf files.
http://rapidshare.com/files/187040214/Foxit.PDF.Reader.Pro.2.2.2129_Foxit.PDF.Editor.2.0.Build.1011_Foxit.Library.RAR
or u can download only the editor here
http://rapidshare.com/files/98548259/Foxit_PDF_Editor_2_Inc_Crack.zip
I'm using it bcoz its very tiny yet very powerful. Giv it a try.

Sep 29, 2009 | Adobe Acrobat 6.0 for PC

2 Answers

Multiple MovieClips in Flash Action Script 2.0


Step:-1 - Start
Step:-2 - Create 15 Movie Clip as Circle on Flash scene.
Step:-3 - Name them [circle0 to circle14].
Step:-4 - Paste the code on keyframe in timeline just above the keyframe where circle movieclips are present.
Code:-
//---------------
import mx.transitions.Tween;


target_mc = ["circle0", "circle1", "circle2", "circle3", "circle4", "circle5","circle6", "circle7", "circle8", "circle9", "circle10",
"circle11", "circle12", "circle13", "circle14", "circle15","circle16", "circle17", "circle18", "circle19", "circle20"];

var myTween:Tween = new Tween(circle0, "_x", mx.transitions.easing.None.easeNone,0, Stage.width, 15, true);
myTween.onMotionFinished = function() {
myTween.yoyo();
};
var myTween1:Tween = new Tween(circle0, "_y", mx.transitions.easing.None.easeNone,0, Stage.height, 20, true);
myTween1.onMotionFinished = function() {
myTween1.yoyo();
};

hitTester = function () {
numCircles = target_mc.length;
for (i=0; i<numCircles; i++) {
circleA = target_mc[i];
for (j=i+1; j<numCircles; j++) {
circleB = target_mc[j];
temp_A = eval(circleA);
temp_B = eval(circleB);
if (temp_A.hitTest(temp_B))
{
// Your code
dirChanger(temp_A, temp_B);
//
}
}
}
};
this.onEnterFrame = function() {
hitTester();
};
//
// In the createMovies function, I am looping through each movieclip in our target_mc array and
// modify some properties and data that I will use later on. The rest of the functions are
// are trivial to moving the circles and adjusting their direction of movement.
//
createMovies = function () {
for (i=1; i<target_mc.length; i++) {
xp = Math.round(Math.random()*300);
yp = Math.round(Math.random()*200);
eval("circle"+i).speed = 4+Math.round(Math.random()*1);
eval("circle"+i).dir = Math.round(Math.random()*1);
eval("circle"+i).dir2 = Math.round(Math.random()*1);
eval("circle"+i).onEnterFrame = function() {
if (this.dir == 0)
{
vertical(this._name, this.speed, this.dir2);
}
else
{
hortical(this._name, this.speed, this.dir2);
}
};
}
};
createMovies();
vertical = function (cname, speed, dir2) {
mY = eval(cname);
this.cy = mY._y;
if (dir2 == 0) {
if ((this.cy<200) || (mY.hit<100)) {
mY._y += speed;
}
else
{
mY._y = -50;
}
}
else
{
if ((this.cy>0) || (mY.hit<100))
{
mY._y -= speed;
}
else
{
mY._y = 250;
// change
}
}
};
hortical = function (cname, speed, dir2) {
mX = eval(cname);
this.cx = mX._x;
if (dir2 == 0) {
if (this.cx<300)
{
mX._x += speed;
}
else
{
mX._x = -50;
}
}
else
{
if (this.cx>0)
{
mX._x -= speed;
}
else
{
mX._x = 350;
//change
}
}
};
dirChanger = function (cname, dname) {
//
if ((cname.dir == 0) && (dname.dir == 0))
{
cname.dir = 1;
dname.dir = 0;
}
else if ((cname.dir == 1) && (dname.dir == 1))
{
cname.dir = 0;
dname.dir = 1;
}
else if ((cname.dir == 0) && (dname.dir == 1))
{
cname.dir = 1;
dname.dir = 0;
}
else if ((cname.dir == 1) && (dname.dir == 0))
{
cname.dir = 0;
dname.dir = 1;
}
//
if (cname.dir2 == 0) {
cname.dir2 = 1;
}
else
{
cname.dir2 = 0;
}

if (dname.dir2 == 0) {
dname.dir2 = 1;
}
else
{
dname.dir2 = 0;
}
};
//--------------------
Step:-5 - Test movie using Ctrl+Enter.
Step:-6 - End

Aug 05, 2008 | Macromedia Flash MX

1 Answer

About flash action script


hi...

i am Victor From aura concepts worker

you have that script in about as

i tell that
creat the about after that you go to about layer select first frame select and go to action and clik stop after that you will go to about selct click "F8" then selected bottun select enter then go to about duble clike then you see that up, over, down, hit all frame "F6" clik then hit file go to about in drow to box the you come that back select the about action click that is script

on (press) {
gotoAndPlay(your frame);
}

thank you
email-victor181info@yahoo.com
my condact - 9900633192

Jan 15, 2008 | Macromedia Flash MX

4 Answers

Button script


how to link 1 frame to 6 frame with button give me script

Dec 01, 2007 | Macromedia Flash MX

2 Answers

Action script


look on google for tutorials on using action script

Nov 28, 2007 | Macromedia Flash MX

2 Answers

Skip intro button action script


Dear nic_hk, in macromedia there is an option of removing the intro by checking the skip this box or by checking the box that says 'dont show me this screen again'

About flash action script this is a complete resource for learning it along with embedded java scripting.

If that has helped you please press 'fixya'

Nov 27, 2007 | Adobe Photoshop 7.0 for PC

1 Answer

Flv player


hi rananjay is here. try this script....

// flv player..
// developer.. Rananjay Singh
// video instance name = thevideo
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
the_video.attachVideo(ns);
ns.play("vegas.flv");
//made control on new layer button name = Rewind button,play button
rewindbutton.onRelease = function() {
 ns.seek(0);
};
playbutton.onRelease = function() {
 ns.pause();
};
//loader..
// made new symbol named loader with strock
// inside this select the fill color & make new mc named loadbar
var videoInterval = setInterval(videstatus, 100);
var amountloaded:Number;
function videostatus() {
 amountloaded = ns.bytesLoaded/ns.bytesTotal;
 loader.loadbar._width = amountloaded*217.9;
 // 217.9___ width of loadbar
}
// flv setting-- framerate = 1.1,,, frame every 30
// make anew mc for seekbar named scrub
// then it place on loadbar
var duration:Number;
ns["onMetaFata"] = function (obj) {
 duration = obj.duration;
 loader.scrub._x = ns.time/duration*208.9;
 //208.9 width of loadbar
};
// scrubbar firs see what area cover loadbar 0 to x
var scrubInterval;
loader.scrub.onPress = function() {
 clearInterval(videoInterval);
 scrubInterval = setInterval(scrubit, 10);
 this.startDrag(false, 0, this._y, 208, this._y);
};
loader.scrub.onRelease = function() {
 clearInterval(scrubInterval);
 videoInterval = setInterval(videstatus, 100);
 this.stopDrag();
};
function scrubit() {
 ns.seek(Math.floor((loader.scrub._x/208)*duration));
}
//buffering---- made a videosize blackmc & inside that give text alpha animation,, named buffer
ns.setBufferTime(30);
ns.onStatus = function(info) {
 //if(info.code ==)..... see netstream class in help & compleate it
};
// custom ontextmenu..
var themenu:ContextMenu = new ContextMenu();
themenu.hideBuiltInItems();
_root.menu = themenu;
var i1:ContextMenuItem = new ContextMenuItem("video controls", trace);
var i2:ContextMenuItem = new ContextMenuItem("play/pause video", pauseit);
var i3:ContextMenuItem = new ContextMenuItem("replay video", replayit);
var i4:ContextMenuItem = new ContextMenuItem("copy right", trace);
themenu.customItems[0] = i1;
themenu.customItems[1] = i2;
themenu.customItems[2] = i3;
themenu.customItems[3] = i4;
// after that create two functions for context menu
function pauseit() {
 ns.pause();
}
function replayit() {
 ns.seek(0);
}
// and now prepratin foe volume control
//make a four stage movi clip for sound .. named normal,onover,mute , muteover
_root.createEmptyMovieClip("vsound", _root.getNextHighestDepth());
vsound.attachAudio(ns);
var so:Sound = new Sound(vsound);
so.setVolume(100);
// button name = mute
mute.onRollOver = function() {
 if (so.getVolume() == 100) {
  this.gotoAndStop("onover");
 } else {
  this.gotoAndStop("muteover");
 }
};
mute.onRollOut = function() {
 if (so.getVolume() == 100) {
  this.gotoAndStop("normal");
 } else {
  this.gotoAndStop("mute");
 }
};
mute.onRelease = function() {
 if (so.getVolume() == 100) {
  so.setVolume(0);
  this.gotoAndStop("muteover");
 } else {
  so.setVolume(100);
  this.gotoAndStop("onover");
 }
};

Oct 29, 2007 | Macromedia Flash MX

2 Answers

About flash 8


Here is the small sample code. This will convert the lower case letter to upper case letter from left to right character by character.

TextField.prototype.caseAnimation = function(str) {
    var tf = this;
    tf.upperIx = 0;
    tf.str = str;
    var id = setInterval(moveUppercaseLetter, 100);

    function moveUppercaseLetter() {
        var str1 = tf.str.slice(0, tf.upperIx);
        var str2 = tf.str.charAt(tf.upperIx).toUpperCase();
        var str3 = tf.str.slice(tf.upperIx+1, tf.str.length);
        tf.str = str1+str2+str3;
        tf.text = tf.str;
        tf.str = tf.str.toLowerCase();
        tf.upperIx++;
        if (tf.upperIx>tf.str.length-1) {
            tf.upperIx = 0;
        }
    }
};

this.createTextField("animated_txt", 1000, 0, 0, 500, 25);
animated_txt.setNewTextFormat(new TextFormat("_typewriter", 16));
animated_txt.caseAnimation("pack my box with five dozen liquor jugs");

Oct 18, 2007 | Macromedia Flash MX

9 Answers

Action script


I tried your script and it all checked out fine when I ran it. Make sure you click on the first frame of layer action and open the Action Script Panel (F9). Once this is accomplished. Click on the second frame of layer action and press F6 key. Like I said everything worked out when I tried using the script you posted so, if anything I would suggest starting from scratch.

Aug 24, 2007 | Macromedia Flash MX

Not finding what you are looking for?
Macromedia Flash MX Logo

Related Topics:

548 people viewed this question

Ask a Question

Usually answered in minutes!

Top Macromedia Graphics Publishing, Design & Multimedia Software Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18297 Answers

Tony

Level 3 Expert

2598 Answers

Sunny Solanki
Sunny Solanki

Level 2 Expert

261 Answers

Are you a Macromedia Graphics Publishing, Design and Multimedia Software Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...