ActionScript 3.0 :: SWF Assembler/disassembler Pair?
Jan 31, 2009Does anyone know of a good SWF assembler/disassembler pair?
View 1 RepliesDoes anyone know of a good SWF assembler/disassembler pair?
View 1 RepliesI have a situation where I might be getting one or both of a pair of characters and I want to match either.
For example: str = 'cddd a dfsdf b sdfg ab uyeroi'
I want to match any "a" or "b" or "ab". If the "ab" comes together I want to catch it as a single match (not as two matches "a" "b"). If I get "ab" it will always be in that order ("a" will always precede "b")
What I have is: /[ab]|ab/
But I'm not sure if the ab is going to be a stronger match term than the [ab].
I'm trying to create a new list from a query using the following code, but I get a script error left side of assignment operator must be variable or property.
mclist add Number(mccounter) = eval("mcid" add i);
I want to end up with a list that looks like "mclist1=somevalue, mclist2=somevalue, mclist3=somevalue, etc etc. ps its nested in a FOR loop.
I am trying to get every possible pair of objects out of an array. I only want unique objects, so the pairs (obj1, obj2) and (obj2, obj1) would be the same and thus not unique. I do not want any repeats either.
View 2 RepliesParse XML to get name and value of tags in Flex.I am able to get the name and value pairs of the <id>,<width> etc XML tags.But I am not able to store them as a name-value pair in Array/ArrayCollection, i.e
id - ""
width - 10
height - 10
name - Person1
I want to use them later in my application. How to do that ?
I'm having trouble updating a property value of a custom class (SubLoader) using a getter and setter. Inside the if() statement of the main fla you can see my attempt to set the percent value. Running a trace() method before the if() statement always outputs '0' for some reason. Tracing after the if() statment outputs an actual value. I can't figure out why the percent property always traces as '0' before the if statement even though I am updating it with each progress event.
[Code]...
I have a php page called userid.php. The code is as follows:
PHP Code:
<?PHP
$username = $_SERVER["REMOTE_USER"];
echo ("&serverResponse=$username");
?>
[Code].....
I believe there is a few things that I am doing wrong in both my php and actionscript that is keeping the textvalue from the variable $username from being passed to flash.
adding additional name-value pairs to my existing object in Flex;
I have an object1 of Object Type and I declare a new object2 = object1 plus some extra name-value pairs, is there a way to attach new name-value pairs to an existing object?
I have a class that holds some constants and will receive an object literal (associative array) with some data like this:
var ConfigObj:Config = new Config({
"Some" : 10,
"Other" : 3,
"Another" : 5
});
The class looks like this:
public dynamic class Config
{
static public const SomeProperty:String = "Some";[code].....
I have a property file (fileProperties.txt) which contains a name value pair like below:
FileLocation1 C:/Test/Lookup.xml
FileLocation2 C:/Test/Multiple/MultiLookup.xml
From my ActionScript code I need to read in the fileProperties.txt and extract the Key/Value pair from this file wherein my key is for eg FileLocation1 & corresponding Value is C:/Test/Lookup.xml.
I have set up a roll_over / roll_out listener that works for me, but the event only applies to "inBulb_mc". As I have it set now, a bunch of squares are blinking through random colors. I want the mouseover to pause this event no matter which mc i mouse over. Is there a way to indicate that this should work for any instancename "inBulb_mc"+number.
using a variable such as i=0; i++ ; won't work because i need it to happen wherever the mouse is.
Quote:
inBulb_mc.addEventListener(MouseEvent.ROLL_OVER, manageMouseOver, false, 0, true);
inBulb_mc.addEventListener(MouseEvent.ROLL_OUT, manageMouseOut, false, 0, true);
Is there a way to set it up so that the listener works for all instances of inBulb_mc, be it inBulb_mc0 inBulb_mc1 inBulb_mc2 etc
I'm developing a multi-player game and I know nothing about how to connect from one client to another via a server. Where do I start? Are there any whizzy open source projects which provide the communication framework into which I can drop my message data or do I have to write a load of complicated multi-threaded sockety code? Does the picture change at all if teh clients are running on phones?
View 4 RepliesIm trying to create the look of a pair of chopsticks working as the mouse cursor, with them moving together when you press the mouse button - just like when you're eating chinese food . However its well buggy, it only recognises the button press and release sometimes.
View 4 RepliesHere's what i do:
[AS]
onClipEvent (load) {
loadText = new LoadVars();[code]...........
As i could read on macromedia 's web site: Use an empty pair of <P></P> tags to insert a line break. Use two pairs to insert a line break and carriage return.But this isn't working... Why?
I'm working on a project which allowing end users to embed a flash in their own HTML pages while we offer different ways so user could choose one that works for their circumstances, for example, most blogs doesn't welcome users to inject JavaScript on their pages, therefore SWFObject wouldn't be possible, we offered two other ways: IFrame and the oldie but goodie Object/Embed pair. Just like old Youtube embedding code:
[Code]...