

![]() |
![]() |
|
|||||||
![]() |
![]() |
| Web Development Website design and programming, content development. It's all here. |
![]() |
|
|
LinkBack | Thread Tools |
![]() |
![]() |
|
|
#1 (permalink) |
![]() ![]() ![]() ![]() Disciple |
What does the >>> command do in Flash? And what is the PHP equivalent (putting >>> in PHP gives "Parse error: syntax error, unexpected '>'")?
I'm trying to reverse engineer the imeem swf player and this command is used 21 times in it. Example usage; Code:
public function tea_code(arg1:*, arg2:*):*
{
var loc3:*;
var loc4:*;
var loc5:*;
var loc6:*;
var loc7:*;
loc3 = arg1[0];
loc4 = arg1[1];
loc5 = 0;
loc6 = 32;
while (loc6-- > 0)
{
loc3 = loc3 + ((loc4 << 4 ^ loc4 >>> 5) + loc4 ^ loc5 + arg2[(loc5 & 3)]);
loc3 = loc3 | 0;
loc5 = (loc5 = loc5 - 1640531527) | 0;
loc4 = (loc4 = loc4 + ((loc3 << 4 ^ loc3 >>> 5) + loc3 ^ loc5 + arg2[(loc5 >>> 11 & 3)])) | 0;
}
(loc7 = new Array())[0] = loc3;
loc7[1] = loc4;
return loc7;
}
P.S. how would I go about searching for >>> in Google? It says "Your search - >>> - did not match any documents." when I try to search for it. Last edited by Azu : 05-01-2008 at 11:14 AM. |
|
|
|
![]() |
![]() |
![]() |
![]() |
|
|
#2 (permalink) |
|
=)
Senior Member
Retired Staff Member ![]() ![]() ![]() ![]() Messiah |
Bitwise shift operators
The bitwise shift operators take two operands and shift the bits of the first operand to the extent specified by the second operand. All the bitwise shift operators, as listed in the following table, have equal precedence: Operator Operation performed << Bitwise left shift >> Bitwise right shift >>> Bitwise unsigned right shift
__________________
Last edited by K? Pŕo?ćtiόnŹ : 05-01-2008 at 01:18 PM. |
|
|
|
![]() |
![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Converting Flash to Video | Loser777 | Hardware and Software | 10 | 10-18-2007 01:41 AM |
| Flash mp3 player? | SC_Modder | Web Development | 6 | 10-09-2007 04:11 PM |
| Flash Drive as Ram if you use Vista | The_Jelly | Hardware and Software | 10 | 03-31-2007 07:47 PM |
| Flash MX 2004 Professional : Beginners Flash Tutorial (released). | Ganondorf | Graphics Tutorials | 4 | 07-22-2005 09:47 PM |
| Macromedia Flash 2004: ActionScript Tutorial 1 | Ganondorf | Graphics Tutorials | 1 | 05-19-2005 08:51 PM |
| All times are GMT. The time now is 07:54 AM. |

