ActionScript 2.0 :: Making SWFDecompiler To Not Read Array?
Nov 3, 2006
I got an array with much information (just numbers). I don't want the SWFDecompiler to read this array, so how can I deceive it? The array looks like this (not exacly, but):
[[[1,2,32,4,54,6,74],[19,2,23,44,5,3,7]],[[0,4,42,49,9,5,14],[19,2,8,64,1,3,1]]];
But it's way longer than that. Anyway, like I said before, how can I deceive the decompiler so it can't read my array?
View 5 Replies
Similar Posts:
Feb 2, 2009
I have a snippet as the following:
private function clickHandler3(event:ItemClickEvent):void {
switch(String(event.index)){
case "0":
[code].....
View 2 Replies
Oct 27, 2009
I need a way to read the length of my array, automatically create that many frames in the main.fla and read each screen from my array and display it accordingly on each frame. How to do this?
E.g.. In A.xml, I calculated 10 screens, so Ii need to create 10 frames for A.xml....and in my B.xml, I have 25 screens, there Iit should create 25 frames.
View 8 Replies
Jan 14, 2011
I want to read filetext (.txt) and put it in to array. here is my sample text from my file.
22 33
11 22
45 56
How can I read file and put it in to array like a[0] = 22 a[1] = 33 a[4]=11 ... or I should use 2 dimension array ? Is flash AS3.0 has 2 dimension array ?
View 1 Replies
Jan 21, 2009
The trace commands illustrate the problem - The playString function does not seem to be able to read the array created by the getChord function. It reads the default values listed below.
private var chordArray:Array =
["6,0","5,0","4,0","3,0","2,0","1,0"];
private var chordArrayCopy:Array = new Array();
A little background - getChord function is called from one class file and playString function is called from another. I don't know if this has anything to do with it. But that's why these are public functions within a public class.
View 3 Replies
Jan 21, 2010
I'm stuck with a little problem. I've a script to load images from a XML to MovieClips, which have to be displayed on a 3D-Cube.
The whole thing should be interactive, which is so far no problem, but I've no idea how to bridge to my Papervision Cube.[code]...
View 1 Replies
Feb 18, 2009
I have flash file with 5 dynamic textfields which reads everyday from an array 365 (year) inside the file what I want is to read from an xml file instead.
The first layer contains this code the arrays:
function make365() {
arr1[49] = "05:30"
arr2[49] = "12:35"
arr3[49] = "13:10"
arr4[49] = "15:55"
arr5[49] = "18:20"
[Code] .....
The stage contains 5 dynamic textfields each one named respectively quote1 ,quote2 ,quote3, quote4 and quote5. How can I make the function 365() reads from an xml file instead.?
View 1 Replies
Jul 3, 2009
in a flash template i found several buttons with almost the same action script code. on pressing the button a window popup with different text (for each button a unique text). the following code is in the code section of the buttons, only the two last codelines are different for each button.
[Code]...
so i think that the input of the unique text for each button is handled in the last line "_root.READ = 22". i also found in the bibliothek the belonging text parts. my problem now is that i dont know where the connection is set between the text part and the array/variable READ. in this case the connection is 22, but i dont found any property in the text part or in the property of the button where the connection is set to 22. i use flash cs4.
View 3 Replies
Jan 11, 2012
I used var dp:ArrayCollection = new ArrayCollection(container.GetVotesResult); to get the JSON data from GetVotesResult method. I get the values as below.
[Code].....
How do I retrieve the 2nd, 3rd, 4th and so on (if it has) array datas individually and dynamically. Say, I want to take 'Atext' from all the array.
View 3 Replies
Jul 8, 2011
I want to know if is it possible to read values of object nested inside an array.[code]...
View 9 Replies
Feb 8, 2009
I'm creating the action script for a VRC/LRC Program [URL] The program is made up of a 5x5 matrix of input text boxes which is limited to only one character which can be either one or zero. The rows and columns will be XORed.The last column and the last row will show the results. The results will depend if the user wants and even or an odd parity.. I have trouble in XORing the textboxes.
View 8 Replies
Oct 28, 2008
For my work i'm trying to get an Array properly into a text field. The array is being taken out of XML and then turned into the array and fed into a textfield. But it shows up like this:
[Code]...
View 2 Replies
Jan 27, 2009
I am trying to make gallery of images located on server(local folder currently). I put pics in loader or grid. But I wouldlike to make action script which with on button click will takepics names as array from this folder and will great gallery. Thisfolder will be updated very often.
View 1 Replies
Jun 17, 2009
I have a movieClip called "button" within another movieClip called "movie1_mc" I want the "button" movieclip, which also loads XML on frame 12 of "movie1_mc to vanish on or after frame 13
This is the code I have in place but, "button" movieClip isn't disappearing. This is my first time using XML and Flash
//Code to "button movieClip disappear//
if (_root._currentframe == 13) {var linkname:Array = [_visible=false];}
View 1 Replies
Sep 18, 2010
Can I make an array of movieclips, and then make all of them visible? some-thing like:
ActionScript Code:
myArray[1] = new MovieClip();
myArray.visible = true;
[code].....
View 2 Replies
Oct 12, 2006
Is there a way to make a new array like an old one but have it not be a reference?
View 2 Replies
Jan 20, 2010
I want to loop through an array of map tile coordinates, place a tile on the stage for each coordinate, and put a reference to each tile instance in a separate multidimensional array called mapRef, where the tile instances can later be referenced by their coordinates in mapRef. Is this line (excerpt from the code below)... Main.mapRef[i][j] = mapTile;.[code]
View 3 Replies
Jan 20, 2009
I have an object called MenuButton that extends MoveClip.I want to arrange 8 MenuButton objects in a cirle. The easiest way to do this would be to use a for loop and an array of MenuButton objects.The problem is, I'm not exactly sure how to make an array of objects. I've seen some code online, appears to be AS2 and I need 3. It's also not very clear if it does what I need it to.It would also be cool if I was able to name the buttons sequentially, i.e.: button1, button2, etc. I've seen AS2 code for that, but again it's not too clear if that'll work the same in AS3 and if the code I've seen will do what I need it to.
View 2 Replies
Jan 13, 2010
I have 10 movieclips on stage called mc1 mc2 etc ect and then I have one button which makes one of the mc's alpha = 0;The only thing is I would love the evenlistener add the number created by the array to be put after mc & "array number".So what the button should do is create one of the mc's visible whilst all others are not, and this should happen randomly without an mc showing up twice.
View 0 Replies
May 8, 2010
Consider this for a second:
Code:
theState.stateGrowth = 0;
globalVariablesArray.push(theState.stateGrowth);
trace(globalVariablesArray[0]); // traces 0
theState.stateGrowth--;
trace(globalVariablesArray[0]); // still traces 0
Is there anyway to make it so that globalVariablesArray[0] always contains the 'new' value of theState.stateGrowth, even if it changes? In other words, store the property itself in the array, not just the value of it?
View 3 Replies
Jan 26, 2007
I wanted a sprite to move round on the screen when a play button was pushed. I have a left and a right button which store strings "left" or "right" into the next positions of an empty array called history.
When i push the play button i want i want the sprite to move either left or right according to what commands are in the array. My code just seems to play one single command and then stops when i hit play again it just repeats the same command.
Is there any way to make it play through all commands in the array one after another?
Here's the loop that i was trying to use.
[Code]....
View 3 Replies
Sep 16, 2009
Ive been in the lab trying to make this work for 3 days now, and im about to get put out to the couch.
View 9 Replies
Nov 24, 2010
making my image gallery, but it only works as each image in the array is clicked. Now I am trying to make the gallery move automatically to the next image in the array every 5 seconds while still giving the user the ability to click on an image to view the one that they want.Here is my code so far (like i said it works great, but only as a click-able gallery):
import flash.display.Loader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.display.Sprite;
[code].....
View 1 Replies
Aug 4, 2011
As the title says, suppose I have an hypothetical XML containing this:
[Code]....
I can check if a certain speech has a bg change by simply doing this:
if(bgs[i])
{
//true!
}
what should I compare in the case of sounds, I've tried many, like:
[Code]....
View 2 Replies
Apr 13, 2007
I have an array of movie clip instance names:
[Code]...
What I want to know is how I would go about making them all their default colors when you hit a movieClip instance that acts as a reset button. I can't seem to get it.
View 4 Replies
Mar 31, 2010
A friend of mine has a Flash Action script running on a LAMP server that currently reads an xml config file. He's asked me if it's possible to remove the xml file, and replace it somehow with a system (lets call it an 'auto xml generator') that intercepts the request to read that file and generates an output, so it appears to all intents and purposes as if the file still exists and contains the contents that has actually been returned from our auto xml generator'
View 3 Replies
Aug 2, 2010
I have a rollover and rollout effect in my for loop that affects all of the mcs in my array. But when I click on one of the mcs I want all of them to "explode" in all different directions. Obviously I would accomplish this by setting it up in my tween so that they all go in random directions. But I'm not exactly sure how to do it in my for loop. The way I have my onRelease function set up right now only makes the very last mc tween. How do I make my tween affect all of my mcs?
My code:
Code:
import com.greensock.TweenMax;
import com.greensock.easing.*;
var linkageID_array:Array = new Array();
[code]...
View 1 Replies
Feb 19, 2011
So I want to read http streams using flash tcp sockets. I do not really need the http header at all - all I need is body which contains flv. so how to read http response body into byte array using flash sockets?
View 1 Replies
Feb 8, 2011
For a project, I'm making an interactive side scroller.You move the character with the arrow keys and press the space bar to interact with things.So far, I followed DexNote's tutorial on YouTube.I thought that I would make the interactable objects as buttons, while the mouse focus would be on the character and when you press the space bar it make a mouse click in that area.The trouble I'm having now is that I don't know how to make the space bar trigger the "interactions."
View 1 Replies
Jul 12, 2003
I want to generate large text files, basically 4 columns, several thousand rows, of numbers. Making an array with all this info in it occurs farily quickly, it's getting it to a displayable format that takes a really long time. Right now I use something like this:
[Code]...
View 10 Replies