About This snippet prevents your swf from being played on another domain other than your own. If someone tries to run it on any other domain, they will be redirected to your domain. Put this code in the beginning of the first frame of your actions layer
//code start
var domain:String = "http://www.yourdomain.com" //enter your domain name here
Explanation _root._url retrieves the url from where the Flash movie is being played. Of course if the flash movie is being played on your website then part of this string returned will contain www.yourdomain.com. On the other hand if it is not being played on your website then the value returned by _root._url will NOT contain your domain name i.e _root._url.indexOf(domain) == -1 will evaluate to true, and hence flash will redirect the browser to your domain.
Exta Security Of course the above method will not prevent the determined from decompiling your swf and altering the above code. That is where obfuscators will come to your rescue. Click one of the links below to find one which suits you.
//trap onload event window.onload = function () { //Determine browser, we only need this for Internet Explorer if (navigator.appName == "Microsoft Internet Explorer") {
//Array of elements to be replaced var arrElements = new Array(3); arrElements[0] = "object"; arrElements[1] = "embed"; arrElements[2] = "applet";
//Loop over element types for (n = 0; n < replaceobj =" document.getElementsByTagName(arrElements[n]);" i =" 0;" parentobj =" replaceObj[i].parentNode;" newhtml =" parentObj.innerHTML;" innerhtml =" newHTML;" appname ="=" arrelements =" new" n =" 0;" replaceobj =" document.getElementsByTagName(arrElements[n]);" i =" 0;" parentobj =" replaceObj[i].parentNode;" newhtml =" parentObj.innerHTML;" innerhtml =" newHTML;" style="font-weight: bold;">Download sample code(http://3l3373.com/dl/tutorials/activeX/ax_.rar)
Macs are now shipped with PC CPUs 'Intel Duo' Haha, as the CPUs they used to use were so slow and didn't compete with PC standards, they cant use AMD CPUs PC only (which will be releasing their new r620 chipsets which will totally rape intel).
You can upgrade PCs a lot more easier without going out and buying a full new system <>
PCs are cheaper and you are more accessible to a wider verity of applications (which again are cheaper as well).
PCs don't look ghey or girly or just plain lame with the Mac white / bubble look exteriors.
Macs can't use DirectX-10 hahahahaha (no next gen games, i.e. Crysis).
Speaking of games what games can a Mac run? (and its meant to be FUN lool).
Online usage of OSX vs WinXP (XP 85.02% OSX 4.34%) linkage
Macs are just for ppl who wanna show off they are not more powerfull! The most resource intensive applications know to computers are games (that's why they use them to benchmark the latest hardware) Macs aren't even compatible with 2year old hardware! on PCs they are backwards.
A common one that comes up, Mac's are easier to use, wahhhh! Hahaha FUCK OFF U NOOBS its not our fault ur so damn computer illiterate!
If you phrase Macintosh for their diverse array of products you have been lead like a lamb into a abattoir blinded by media and pretense.
FACT Flash player (any build) running within a Machintosh OSX enviroment runs atleast 5.FPS slower than in Windows OS.
New one that keeps popping up, VISTA is coppping MAC OSX... how the fuck do they work that out just cos its using more advanced 3d desktop effects (openGL effects) flip3D, glass effect and more animation on opening windows, now its copying... well look here look what a linux can do... PWND:
Macs's can't get viruses/infected HAHAHA!
They say Macs are not vulnerable to viruses and malicious software, I've been reading some forums and articles on the web and I have found these few viruses that can cause loss of data and all the rest of the normal virus infected criteria ...
"Apple macintosh peripherals maker DVForge has cancelled a $25,000 (£13,900) challenge to hackers to write a virus against the mac operating system after being warned by Apple it could encourage real attacks on users."
The thing i find funny is why do they make AV-applications for the Mac if it can't get viruses? Wouldn't make sense …
Its a bit obvious that Macs have such a low market share interest of the online market so no one gives a toss and does bother trying to break them cos how cares about them... pffft
My definition (as I see it not like those stupid fucking Mac adverts u see on TVs etc, to market that 'type' of individual within our everyday society, haha)
Mac User: 'Creative' type person (LMFAO!) laid back poncy show off know fuck all!
Pc User: Pirate of the net, rape pillage destroy! Arhhh WHO THE FUCK DOES SPREAD SHEETS (what a lame marketing stunt ppl are so incompetent they even buy into it) i fucking rape ppls faces off (its a gaming don't be scared ;s)...
Would you like some fries to go with your Mac(shit)? ...
path: Shared objects are stored locally on the users machine here is the path: C:\Documents and Settings\[login name]\Application Data\Macromedia\Flash Player\#SharedObjects\ (within the '#SharedObjects' file browse for a folder 'localhost' for local testing if testing remotely locate URL name i.e. 'servername.com' etc. within that file there will be a file labeled 'fileX.sol').
size: shared objects can only store 100KB from each URL thereafter it overwrites it.
extension: .SOL = Local Shared Object (stands for).
Spent most of my weekend re-completing resident evil 4 on the wii (edition) they have just released the new version which includes all the features from the ps2 version as well as enhanced special effects while an improved utilization of incorporating the wii-mote and nunchucks (wii control system). It really does help with the aiming not you can aim for the head with ease and a more natural feel instead of using control pads I’ve always hated fps / 3rd person shooters using those controls much prefer pc keyboard / mouse configuration and newer wii controller system it really is a pretty neat intuitive device. They have also apparently made the game have more limited ammo then before as of the improvement in the control system.
I have already played about 40hrs of the game and expected to be around 3/4 ‘s through the main game (which will unlock all the sub games with Ada etc).
*On another note Resident Evil 5 release date to be announced but will be out on PS3 / Xbox 360 (looks like I will be purchasing a 360 just for this title and Dead Rising!)
These neat utilities allow you to edit URLs Actionscript on the fly without even opening a FLAs... its a good thing if you don't have the source files and need to update URLs etc esp. if the FLA files are corrupt and you don't have a backup (but then your better off decompiling the SWfs) i use Sothink Decompiler.
New microsoft image technology basically analyzes a collection of photos then displays them reconstructed 3dimensionaly here's a live tech demo: http://labs.live.com/photosynth/
You will need a dynamic driven web host i.e. PHP/ASP
PHP = Apache/Linux ASP = IIS/Windows
You will also need connectivity to a database to store information
MYSQL (Linux based) SQL (Windows based)
Depending which web server you are running.
This website is a good online resource for testing CMS’s before you install on your very own website/server, it can free up allot of configuring time. http://opensourcecms.com
well i'm a graphic/flash designer/developer, i play to much MMORPG/FPS ;o love listening to orchestral style black/death metal. all that are from the electronic world i am the 1NF3C710N.